content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using IoTWork.Contracts; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace IoTWork.Samples.Sensors { [Serializable] public class SensorTimeUpSample: IIoTSample ...
23.815385
105
0.440891
[ "MIT" ]
samnium/IoTWork.Reader
IoTWork.Samples.net4/Sensors/TimeUp.cs
3,098
C#
// <OWNER>[....]</OWNER> namespace Microsoft.Win32.SafeHandles { using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.ConstrainedExecution; using System.Runtime.Versioning; using System.Security; // Introduce this handle to replace ...
32.176471
89
0.637843
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/clr/src/BCL/system/security/safesecurityhandles.cs
5,470
C#
using System; namespace Netcore.BackgroundTask.Core.Entities { public class Customer : EntityBase { public Customer() : base() { } public Customer(Guid id) : base(id) { } public string Name { get; set; } public string LastName { get; set; } public string FullName => $"{...
23.2
55
0.591954
[ "MIT" ]
andreslon/NetCore.BackgroundTask
Netcore.BackgroundTask.Core/Entities/Customer.cs
350
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.Win32; namespace joystick_feedback { public static class SteamPath { // FROM https://stackoverflow.com/questions/54...
44.130841
115
0.40449
[ "MIT" ]
mhwlng/joystick-feedback
joystick-feedback/SteamPath.cs
4,724
C#
singleton Material(Cliff_01_LayeredGrayStone001) { mapTo = "LayeredGrayStone001"; diffuseMap[0] = "3TD_LayeredGrayStone_001.JPG"; specular[0] = "0.9 0.9 0.9 1"; specularPower[0] = "56"; translucentBlendOp = "None"; normalMap[0] = "3TD_LayeredGrayStone_001_NRM.png"; pixelSpecular[0] = "1";...
26.130435
54
0.633943
[ "Unlicense" ]
Torque3D-Games-Demos/FreeRPG
art/shapes/CaveFeatures/Cliff_01/materials.cs
579
C#
using System.Collections.Generic; namespace ServiceStack.DesignPatterns.Command { public interface ICommandIList<T> : IList<T> { } }
18.125
48
0.731034
[ "BSD-3-Clause" ]
Dashboard-X/ServiceStack
src/ServiceStack.Interfaces/DesignPatterns/Command/ICommandIList.cs
145
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System.Collections.Generic; namespace EdFi...
25.018868
86
0.645551
[ "Apache-2.0" ]
milanatedufied/Ed-Fi-ODS-Implementation
Application/EdFi.Ods.Api.IntegrationTestHarness/TestHarnessConfiguration.cs
1,328
C#
// *********************************************************************** // Assembly : StarMath // Author : MICampbell // Created : 05-14-2015 // // Last Modified By : MICampbell // Last Modified On : 07-16-2015 // *********************************************************************** // ...
38.352025
157
0.487227
[ "MIT" ]
DesignEngrLab/StarMath
StarMath.NET Standard/Sparse Matrix/SparseMatrix.cs
49,246
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
27.666667
88
0.691566
[ "ECL-2.0", "Apache-2.0" ]
XBeg9/pulumi-databricks
sdk/dotnet/Outputs/JobNewClusterClusterLogConf.cs
830
C#
using System; using System.Collections.Generic; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using rhoruntime; n...
26.273585
105
0.623339
[ "MIT" ]
esskar/rhodes
lib/commonAPI/printing_zebra/ext/platform/wp8/src/PrintingZebra_impl.cs
2,785
C#
using UnityEngine; using UnityEditor; namespace RealtimeCSG { [CustomPropertyDrawer(typeof(EnumAsFlagsAttribute))] [System.Reflection.Obfuscation(Exclude = true)] public sealed class EnumAsFlagsPropertyDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent la...
27.4375
99
0.792711
[ "MIT" ]
Cheebang/high-stakes
Assets/Plugins/RealtimeCSG/Editor/Scripts/View/GUI/PropertyDrawers/EnumAsFlags.PropertyDrawer.cs
441
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace EddiEvents { public class CrewFiredEvent : Event { public const string NAME = "Crew fired"; public const string DESCRIPTION = "Triggered when you fire crew"; public const string SAMPLE = "{\"timestamp\":\"...
30.428571
134
0.618545
[ "Apache-2.0" ]
Juggernaut93/EDDI
Events/CrewFiredEvent.cs
854
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
41.575
157
0.60448
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.480
Source/Krypton Components/ComponentFactory.Krypton.Navigator/View Draw/ViewDrawNavOutlookMini.cs
6,655
C#
using System; using System.Collections.Generic; using System.Text; namespace GameSalesProject { public interface ISalesService { void DiscountRate(Game game); } }
16.333333
38
0.673469
[ "MIT" ]
yilmaziscoding/CustomerManager
ISalesService.cs
198
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using StockMarketClient.StockMarketService; namespace StockMarketClient { class Program { static async Task Main(string[] args) { var client = new StockI...
33.069767
95
0.507736
[ "MIT" ]
VisualReCode/VSToolboxDemo
StockMarketConsole/Program.cs
1,424
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// StoreOrderDTO Data Structure. /// </summary> public class StoreOrderDTO : AlipayObject { /// <summary> /// 买家id /// </summary> [JsonPr...
24.439394
63
0.508369
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/StoreOrderDTO.cs
1,701
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Wolf.Utility.Core.Exceptions; using Wolf.Utility.Core.Logging; using Wolf.Utility.Core.Logging.Enum; namespace Wolf.Util...
37.727778
168
0.535856
[ "MIT" ]
andr9528/Wolf.Utility.Core
Wolf.Utility.Core/Transport/JsonManipulator.cs
6,793
C#
namespace MercadoPagoCore.Client.Preference { /// <summary> /// Item information related to the category. /// </summary> public class PreferenceCategoryDescriptorRequest { /// <summary> /// Passenger information. /// </summary> public PreferencePassengerRequest Passe...
25.421053
65
0.592133
[ "MIT" ]
cantte/MercadoPagoCore
MercadoPagoCore/Client/Preference/PreferenceCategoryDescriptorRequest.cs
485
C#
using CasaDoCodigo.Models; using Microsoft.EntityFrameworkCore; namespace CasaDoCodigo.Repositories { public class BaseRepository<T> where T : BaseModel { protected readonly ApplicationContext contexto; protected readonly DbSet<T> dbSet; public BaseRepository(ApplicationContext contex...
22.631579
58
0.660465
[ "MIT" ]
danielnagami/Alura
dotNet/Asp.Net Core Parte 1/Aulas/Aula1/CasaDoCodigo/Repositories/BaseRepository.cs
432
C#
/** * Copyright 2017 The Nakama Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
32
87
0.618421
[ "Apache-2.0" ]
auroraland-vr/auroraland-client
Assets/Nakama/Plugins/Nakama/NSpaceJoinAck.cs
1,824
C#
using Abp.Configuration; using Abp.Net.Mail; using Abp.Net.Mail.Smtp; using Abp.Runtime.Security; namespace YiHan.Cms.Emailing { public class CmsSmtpEmailSenderConfiguration : SmtpEmailSenderConfiguration { public CmsSmtpEmailSenderConfiguration(ISettingManager settingManager) : base(settingManager) ...
28.588235
137
0.761317
[ "MIT" ]
Letheloney/YiHanCms
src/YiHan.Cms.Core/Emailing/CmsSmtpEmailSenderConfiguration.cs
488
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
42.392857
98
0.706403
[ "MIT" ]
benkostr/ImageSort-CSharp
ImageSort/Properties/AssemblyInfo.cs
2,377
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
14.413361
70
0.508691
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameResponse.cs
6,904
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
32.496599
135
0.511199
[ "MIT" ]
LigangSun/AppCenter
source/Apps/Math/RapidCalculation/Question_a_b_c_PrintControl.xaml.cs
4,779
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.925926
151
0.585343
[ "MIT" ]
tsankoandreev/CustomBarcode
CustomBarcode.Generator/Properties/Settings.Designer.cs
1,080
C#
using LimitedLiability.Content; using LimitedLiability.Descriptors; using System; using System.Collections.Generic; using System.Linq; namespace LimitedLiability.Agents { public class JobFactory { private readonly Random random = new Random(); private readonly List<Job> jobs = new List<Job>(); public JobFact...
31.735294
202
0.728916
[ "MIT" ]
babelshift/LimitedLiability
LimitedLiability/Agents/JobFactory.cs
2,160
C#
// Copyright (c) Christophe Gondouin (CGO Conseils). All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading; using System.Windows.Forms; using DefinitionManager; namespace XrmFramework.DefinitionMan...
30.864198
104
0.5464
[ "MIT" ]
PeteGuy/XrmFramework
src/XrmFramework.DefinitionManager/Utils/CustomListViewItem.cs
2,502
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
46.90099
241
0.637904
[ "MIT" ]
Mogikan/timetrack
TimeTrack.Client.UWP/Service References/TimeTrackService/Reference.cs
18,950
C#
using SunokoLibrary.Web.GooglePlus; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; namespace Metrooz.Models { public class StreamManager { ...
31.698113
114
0.58631
[ "MIT" ]
namoshika/Metrooz
Metrooz/Models/Stream/StreamManager.cs
1,682
C#
#region Header // // Copyright 2003-2021 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limi...
37.789474
171
0.731662
[ "MIT" ]
ricaun/RevitLookup
RevitLookup/Commands/SearchCommand.cs
2,156
C#
using SRDP.Application.Repositories; using SRDP.Domain.Depositos; using SRDP.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SRDP.Persitence.InMemoryDataAccess.Repositories { public class DepositoRepository : IDepositoR...
32.295082
93
0.619797
[ "MIT" ]
guidoblado/declaraciones-patrimoniales
src/SRDP/SRDP.Persitence/InMemoryDataAccess/Repositories/DepositoRepository.cs
1,972
C#
namespace Motor.Extensions.Hosting.RabbitMQ.Options { public record RabbitMQPublisherOptions<T> : RabbitMQBaseOptions { public RabbitMQBindingOptions PublishingTarget { get; set; } = new(); public byte? DefaultPriority { get; set; } = null; } }
30.333333
77
0.695971
[ "MIT" ]
rageagainsthepc/motornet
src/Motor.Extensions.Hosting.RabbitMQ/Options/RabbitMQPublisherOptions.cs
273
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace Microsoft.Protocols.TestManager.RDPClientPlugin { public enum TriggerMethod { Powershell, Manual, ...
32.269231
101
0.671633
[ "MIT" ]
G-arj/WindowsProtocolTestSuites
TestSuites/RDP/Client/src/Plugin/RDPClientPlugin/Types.cs
1,678
C#
// A single tile in a map. public class MapTile { public MapTile( float height, MapTileType type, AbstractBuilding building = null ) { Height = height; Type = type; Building = building; } public float Height { get; } public MapTileType Type { get; } // The b...
22.935484
72
0.528129
[ "MIT" ]
toklinke/IGDSS20
Assets/Scripts/Code/Map/MapTile.cs
1,422
C#
namespace DomainServices.Abstractions { /// <summary> /// Interface INamedEntity /// </summary> /// <typeparam name="TId">The type of the identifier.</typeparam> public interface INamedEntity<out TId> : ISecuredEntity<TId> where TId : notnull { /// <summary> /// Gets the...
28.2
84
0.560284
[ "MIT" ]
larsmichael/DomainServices
Source/DomainServices/Abstractions/Entities/INamedEntity.cs
425
C#
using System.Collections.Generic; namespace SIS.Framework.Security.Contracts { public interface IIdentity { string Email { get; set; } bool IsAuthenticated { get; set; } string PasswordHash { get; set; } IEnumerable<string> Roles { get; set; } string Username { get; set; } } }
21.214286
42
0.690236
[ "MIT" ]
AscenKeeprov/CSharp-Web-Basics
Exercise10-ViewEngineAndSecurity/SIS.Framework/Security/Contracts/IIdentity.cs
299
C#
using System.Windows; using System.Threading; using System.Windows.Threading; using System; using System.Linq; using System.IO; using System.Windows.Controls; using System.Collections.ObjectModel; using System.Security.Cryptography; //using Neo.Wallets; using AntShares.Wallets; namespace AddressGenerator { publi...
31.295082
126
0.477737
[ "MIT" ]
mgao6767/NEOAddressGenerator
NEOAddressGenerator/MainWindow.xaml.cs
7,638
C#
using ProtoBuf; using avaness.PluginLoader.GUI; using Sandbox.Graphics.GUI; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Text.RegularExpressions; using System.Windows.Forms; using System.Xml.Serialization; using VRage.Utils; using VRag...
32.410788
210
0.525797
[ "MIT" ]
sepluginloader/PluginLoader
PluginLoader/Data/PluginData.cs
7,813
C#
using System; namespace Tizen.NUI.Xaml { internal interface IXamlNodeVisitor { TreeVisitingMode VisitingMode { get; } bool StopOnDataTemplate { get; } bool VisitNodeOnDataTemplate { get; } bool StopOnResourceDictionary { get; } void Visit(ValueNode node, INode parentNo...
39.480769
187
0.679981
[ "Apache-2.0", "MIT" ]
MoonheeChoi/TizenFX
src/Tizen.NUI/src/internal/Xaml/XamlNodeVisitor.cs
2,055
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Lumbricus Shared")] [assembly: AssemblyDescription("Shared files for the Lumbricus IRC bot")] [as...
37.892857
81
0.749293
[ "MIT" ]
BenjaminNolan/lumbricus
LumbricusShared/Properties/AssemblyInfo.cs
1,063
C#
namespace Dayo { public interface IStore { Note ReadMemoryList(); void StoreMemoryList(Note note); } }
16.375
40
0.603053
[ "MIT" ]
GDMaster113/Dayo
src/Dayo/IStore.cs
133
C#
using UnityEngine; public class OptionsDriver : MonoBehaviour { [SerializeField] private OptionsController controller; [SerializeField] private OptionsView view; private void Start() { this.controller.View = this.view; } }
19.416667
44
0.76824
[ "MIT" ]
Software-Developers-Association/maze
Assets/App/Scripts/UI/Menus/Options/OptionsDriver.cs
235
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using JetBrains.Annotations; us...
45.097923
135
0.598237
[ "Apache-2.0" ]
EricStG/efcore
src/EFCore.InMemory/Storage/Internal/InMemoryTable.cs
15,198
C#
using OOP.Objetos; using System; namespace OOP { public static class VerificarCor { public static void FormaECor(Retangulo ret) { var tipo = "retangulo"; if (ret is Quadrado) { tipo = "quadrado"; } Co...
20.047619
93
0.47981
[ "Apache-2.0" ]
gcacars/mentoria-mais1code-projeto-cs
OOP/VerificarCor.cs
424
C#
using System.Threading.Tasks; using Acme.BookStore.BookManagement.Controllers; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Volo.Abp; namespace Acme.BookStore.BookManagement.Samples { [RemoteService] [Route("api/BookManagement/sample")] public class SampleController : Bo...
26.314286
79
0.669924
[ "MIT" ]
271943794/abp-samples
BookStore-Modular/modules/book-management/src/Acme.BookStore.BookManagement.HttpApi/Samples/SampleController.cs
923
C#
using System; using System.Linq.Expressions; using System.Reflection; using FubuCore.Reflection; using FubuMVC.Core.Registration.Nodes; namespace FubuMVC.Core.Registration.Querying { public interface IChainResolver { BehaviorChain Find(Type handlerType, MethodInfo method, string category = n...
28.807692
132
0.632176
[ "Apache-2.0" ]
DarthFubuMVC/fubumvc
src/FubuMVC.Core/Registration/Querying/IChainResolver.cs
1,500
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace WebAPI.Models.AccountViewModels { public class ExternalLoginViewModel { [Required] [EmailAddress] public string Email { get; set; } ...
20.3125
44
0.72
[ "MIT" ]
StefanDeWitHR/PartyCoins
WebAPI/Models/AccountViewModels/ExternalLoginViewModel.cs
325
C#
// The MIT License (MIT) // // Copyright(c) 2016 Vitaliy Tsivanyuk <tsivanyukve@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without ...
45.256604
265
0.510715
[ "MIT" ]
TsivanyukVE/Ranger
source/Ranger.Library/sources/VirtualRange/VirtualRange.cs
23,986
C#
namespace StinkyEngine.Pipelines.SpriteFactoryPipeline { public class SpriteFactoryCycle { public int[] Frames { get; set; } public bool IsLooping { get; set; } public float FrameDuration { get; set; } public SpriteFactoryCycle(bool isLooping, int[] frames, float frameDuration)...
22.105263
78
0.657143
[ "MIT" ]
shmellyorc/SpriteFactoryProcessor
SpriteFactoryPipeline/SpriteFactoryCycle.cs
420
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System.Collections; #endregion namespace DotNetNuke.Services.Search { /// ----------------------------------------------------...
45.876404
246
0.629194
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/Library/Services/Search/SearchContentModuleInfoCollection.cs
8,168
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Enums.cs" company="Whem"> // Enum class // </copyright> // <summary> // Defines the Enums type. // </summary> // --------------------------------------------------------------...
24.301587
120
0.344219
[ "MIT" ]
Whem/lotteryGuesser
src/LotteryGuesserFrameworkWpf/LotteryGuesserFrameworkLib/Tools/Enums.cs
1,533
C#
using System; using System.Threading.Tasks; using Settings; using UniRx; using UnityEngine; namespace Units.Movement { public class EnemyMover : MonoBehaviour { [SerializeField] private float _speed; [SerializeField] private Transform _player; [SerializeField] private Transform _formati...
35.25
111
0.603159
[ "MIT" ]
Volodej/GalagaTestProject
Assets/Scripts/Units/Movement/EnemyMover.cs
3,102
C#
// "Therefore those skilled at the unorthodox // are infinite as heaven and earth, // inexhaustible as the great rivers. // When they come to an end, // they begin again, // like the days and months; // they die and are reborn, // like the four seasons." // // - Sun Tsu, // "The Art of War" using System; using Avalon...
41.518699
175
0.606877
[ "MIT" ]
Solexid/Avalonia.HtmlRenderer
HtmlControl.cs
25,534
C#
namespace LHelper.Web.Infrastructure.Extensions { using Microsoft.AspNetCore.Mvc.ViewFeatures; public static class TempDataDictionaryExitensions { public static void AddSuccessMessage(this ITempDataDictionary tempData, string message) { tempData[WebConstants.TempDataSuccessMess...
27.461538
95
0.719888
[ "MIT" ]
k0ma/LHelper
LHelper/LHelper.Web/Infrastructure/Extensions/TempDataDictionaryExitensions.cs
359
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel { using System.ServiceModel.Channels; public enum MsmqEncryptionAlgorithm { RC4St...
29.542857
110
0.526112
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/WCF/ServiceModel/System/ServiceModel/MsmqEncryptionAlgorithm.cs
1,034
C#
// <copyright file="TelemetryDispatchMessageInspector.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
39.349398
161
0.583742
[ "Apache-2.0" ]
mic-max/opentelemetry-dotnet-contrib
src/OpenTelemetry.Instrumentation.Wcf/TelemetryDispatchMessageInspector.cs
6,534
C#
using AutoMoqCore; using Moq; using NUnit.Framework; namespace UnitTests { public abstract class With_an_automocked<T> { public T ClassUnderTest { get; set; } private AutoMoqer mocker; [SetUp] public void WithAnAutoMockedSetup() { mocker = new AutoMoqer(); ...
20.433333
66
0.549755
[ "MIT" ]
allan-stewart/star-wars-character-of-the-day
UnitTests/With_an_automocked.cs
613
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer { public class Star...
32
101
0.742188
[ "MIT" ]
Benny1007/PowerShellEditorServices
src/PowerShellEditorServices.Protocol/LanguageServer/StartDebuggerEvent.cs
512
C#
using System.Collections.Generic; using WABA360Dialog.ApiClient.Payloads.Enums; using WABA360Dialog.Common.Converters.Base; namespace WABA360Dialog.ApiClient.Payloads.Converters { internal class MessageStatusConverter : EnumConverter<MessageStatus> { protected override MessageStatus GetEnumValue(strin...
38.627451
102
0.611675
[ "MIT" ]
yuenkik6/360Dialog.NET
WABA360Dialog.NET/ApiClient/Payloads/Converters/MessageStatusConverter.cs
1,972
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { using System; using System.Collections.Generic; using System.Composition; using System...
31.021277
101
0.661866
[ "MIT" ]
AArnott/vs-mef
test/Microsoft.VisualStudio.Composition.Tests/BaseGenericTypeTests.cs
1,460
C#
using RinnaiPortal.FactoryMethod; using RinnaiPortal.Repository.Sign.Forms; using RinnaiPortal.Tools; using RinnaiPortal.ViewModel.Sign.Forms; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls;...
44.891304
157
0.485472
[ "MIT" ]
systemgregorypc/Agatha-inteligencia-artificial-
agathaIA-voice/agathaiaportal/Area/Sign/Forms/TrainData.aspx.cs
4,216
C#
using System; using System.Threading.Tasks; using System.Linq; using EmailService.Dtos.Requests; using EmailService.Dtos.Responses; using EmailService.Dtos.Responses.Factories; using EmailService.Models; using EmailService.Service; using EmailService.Utils; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json.Linq; ...
32.226891
116
0.745502
[ "MIT" ]
ourstudio-se/email-service
EmailService/Controllers/EmailLogController.cs
3,837
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------...
41.391304
80
0.64916
[ "Apache-2.0" ]
FairyFox5700/AniDate
src/Services/Account/Account.Entities/obj/Debug/netcoreapp3.1/Account.Entities.AssemblyInfo.cs
966
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
25.970588
81
0.663647
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/Cognito/Outputs/UserPoolInviteMessageTemplate.cs
883
C#
using Xamarin.Forms; using Xamvvm; namespace DLToolkitControlsSamples.SamplesFlowListView { public partial class GroupingAdvancedPage : ContentPage, IBasePage<GroupingAdvancedPageModel> { public GroupingAdvancedPage() { InitializeComponent(); } public void FlowScrollTo(o...
22.105263
97
0.711905
[ "Apache-2.0" ]
TingtingAn/DLToolkit.Forms.Controls-master
Samples/DLToolkitControlsSamples/SamplesFlowListView/GroupingAdvancedPage.xaml.cs
422
C#
namespace Evol.Ant.Web.Startup { public class PageNames { public const string Home = "Home"; public const string About = "About"; public const string Tenants = "Tenants"; public const string Users = "Users"; public const string Roles = "Roles"; } }
25.25
48
0.60396
[ "MIT" ]
supernebula/ant-saas
aspnet-core/src/Evol.Ant.Web.Mvc/Startup/PageNames.cs
305
C#
using AAS.API.Discovery.Models; using AAS.API.Services.ADT; using AAS.API.WebApp.Filters; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Exten...
42.394118
156
0.557652
[ "MIT" ]
JMayrbaeurl/opendigitaltwins-aas-azureservices
src/aas-api-webapp-discovery/Startup.cs
7,207
C#
namespace ArduinoDriver.SerialProtocol { public class PinModeResponse : ArduinoResponse { public int Pin { get; private set; } public PinMode Mode { get; private set; } public PinModeResponse(byte pin, PinMode mode) { Pin = pin; Mode = mode; ...
22.533333
54
0.547337
[ "MIT" ]
RickLuiken/ArduinoDriver
Source/ArduinoDriver/SerialProtocol/PinModeResponse.cs
340
C#
namespace BGLib.SDK.V4.System { public class Info { public Info(ushort major, ushort minor, ushort patch, ushort build, ushort llVersion, byte protocolVersion, byte hw) { Major = major; Minor = minor; Patch = patch; Build = build; LLVe...
27.066667
124
0.477011
[ "MIT" ]
yanshouwang/BGLib.NET
BGLib.SDK/V4/System/Info.cs
1,220
C#
using Synology.SurveillanceStation; using Synology.Extensions; using Synology.Interfaces; namespace Synology { /// <summary> /// /// </summary> public static class SynologyConnectionSurveillanceStationExtension { /// <summary> /// /// </summary> /// <param name="connection"></param> /// <returns></re...
23.75
142
0.730526
[ "Apache-2.0" ]
mitch-b/Synology
Synology/SurveillanceStation/SynologyConnectionSurveillanceStationExtension.cs
477
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.EntityFrameworkCore.Query.Pipeline { public abstract class EntityQueryableTranslatorFactory : IEntityQueryableTranslatorFactory...
40.272727
111
0.799097
[ "Apache-2.0" ]
Wrank/EntityFrameworkCore
src/EFCore/Query/Pipeline/EntityQueryableExpressionVisitorsFactory.cs
445
C#
using Captura.Audio; using Captura.FFmpeg; using Captura.Models; using Captura.Video; namespace Captura.Fakes { public class FakesModule : IModule { public void OnLoad(IBinder Binder) { Binder.Bind<IMessageProvider, FakeMessageProvider>(); Binder.Bind<IRegionProvider>((...
34.96
82
0.660183
[ "MIT" ]
121986645/Captura
src/Captura.Fakes/FakesModule.cs
876
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
40.369863
144
0.571089
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/ActivationUnmarshaller.cs
5,894
C#
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; using System.Collections.Generic; using System.Globalization; using System.Runtime.CompilerServices; u...
42.669078
128
0.578996
[ "MPL-2.0" ]
a-s-dev/glean
glean-core/csharp/Glean/Glean.cs
23,598
C#
using DocuSign.CodeExamples.Models; using Microsoft.AspNetCore.Mvc; using eSignature.Examples; namespace DocuSign.CodeExamples.Controllers { [Area("eSignature")] [Route("eg009")] public class Eg009UseTemplateController : EgController { public Eg009UseTemplateController(DSConfiguration config, ...
39.396226
117
0.618774
[ "MIT" ]
BrenoRidolfi/poc_docuSign
launcher-csharp/eSignature/Controllers/Eg009UseTemplateController.cs
2,090
C#
namespace Manatee.Trello.Internal.Searching { internal class TextSearchParameter : ISearchParameter { public string Query { get; } public TextSearchParameter(string text) { Query = text; } } }
18.25
55
0.689498
[ "MIT" ]
Muhammad1Nouman/Manatee.Trello
Manatee.Trello/Internal/Searching/TextSearchParameter.cs
221
C#
using System.Text; using DN.WebApi.Application.Common.Constants; using DN.WebApi.Application.Common.Interfaces; using DN.WebApi.Application.Multitenancy; using DN.WebApi.Domain.Constants; using DN.WebApi.Infrastructure.Persistence.Contexts; using DN.WebApi.Shared.DTOs.Multitenancy; using Mapster; using Microsoft.Extens...
29.981818
100
0.648878
[ "MIT" ]
bbday/dotnet-webapi-boilerplate
src/Infrastructure/Multitenancy/TenantService.cs
3,298
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp....
22.360775
161
0.58484
[ "Apache-2.0" ]
OceanYan/roslyn
src/EditorFeatures/CSharpTest/Diagnostics/UseImplicitOrExplicitType/UseExplicitTypeTests_FixAllTests.cs
9,237
C#
namespace SupermarketCheckout.WebAPI.Tests.V1.Models.Automapper { using AutoMapper; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using SupermarketCheckout.WebAPI.V1.Models.Automapper.Profiles; [TestFixture] public class Au...
28.83871
71
0.665548
[ "MIT" ]
thorstenalpers/Kata_Supermarketcheckout
tests/SupermarketCheckout.WebAPI.Tests/V1/Models/Automapper/AutomapperTests.cs
896
C#
using RegistryPluginBase.Interfaces; namespace RegistryPlugin.MountedDevices { public class ValuesOut:IValueOut { public ValuesOut(string deviceName, string deviceData) { DeviceName = deviceName; DeviceData = deviceData; } public string DeviceName { get...
29.954545
64
0.634294
[ "MIT" ]
sjosz/RegistryPlugins
RegistryExplorer.MountedDevices/ValuesOut.cs
661
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("So...
38.783784
84
0.747735
[ "Apache-2.0" ]
nicholaspei/SoleCloudNet
SolrNet.Cloud.Unity/Properties/AssemblyInfo.cs
1,438
C#
using ooohCar.Shared.Settings; using System.Threading.Tasks; namespace ooohCar.Shared.Managers { public interface IPreferenceManager { Task SetPreference(IPreference preference); Task<IPreference> GetPreference(); } }
19.153846
51
0.722892
[ "MIT" ]
codeBalok/ooohcarBlazor-backend
ooohCar.Shared/Managers/IPreferenceManager.cs
251
C#
#region Copyright //////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Dynastream Innovations Inc. // The software is being provided on an "as-is" basis and a...
40.058824
92
0.596916
[ "Apache-2.0" ]
linal/FitFilePreviewer
FitFilePreviewer.Decode/Fit/Types/LeftRightBalance.cs
1,362
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Animation; namespace Roslyn.Hosting...
36.426471
160
0.677029
[ "Apache-2.0" ]
0x53A/roslyn
src/Test/Diagnostics/PerfMargin/StatusIndicator.xaml.cs
2,477
C#
using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Response { /// <summary> /// AlipayMarketingCardBenefitModifyResponse. /// </summary> public class AlipayMarketingCardBenefitModifyResponse : AopResponse { /// <summary> /// 权益修改结果;true成功:false失败 /// </summary> ...
23.352941
71
0.622166
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Response/AlipayMarketingCardBenefitModifyResponse.cs
421
C#
using System; using System.Collections.Generic; using System.Linq; using System.Collections; namespace UnEngine { /// <summary> /// provides a dictionary where the key is an integer, but provides array-time lookups /// TODO: implement a trimming function /// TODO: implemnt ICollections interface /...
30.448669
146
0.488761
[ "MIT" ]
Phantasm-Studios/unity.dll
src/UnEngine/Engine/IntDictionary.cs
8,010
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace FibonacciUnitTests { [TestClass] public class FibonacciUnitTest { static List<int> FibonacciSequenceExpected = new List<int>() { 0,1,1,2,3,5,8,13,21,34,55,89,144 }; ...
26.97619
84
0.575463
[ "MIT" ]
fredericaltorres/FibonacciMemoizationDynamicProgramming
FibonacciUnitTests/FibonacciUnitTests.cs
1,133
C#
using System.ComponentModel.Composition; using System.Windows.Controls; namespace Plainion.RI.Editors { [Export] public partial class XmlEditorView : UserControl { [ImportingConstructor] internal XmlEditorView(XmlEditorViewModel viewModel) { InitializeCompone...
21.555556
61
0.626289
[ "BSD-3-Clause" ]
ronin4net/Plainion.Windows.Editors
src/Plainion.RI/Editors/XmlEditorView.xaml.cs
390
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.PowerFx.Core.Types; using Microsoft.PowerFx.Core.Utils; namespace Microsoft.PowerFx.Core.Public.Types { /// <summary> /// Base class for type of...
32.72093
135
0.584696
[ "MIT" ]
Grant-Archibald-MS/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Public/Types/FormulaType.cs
4,223
C#
using EasyEventSourcing.EventSourcing.Handlers; using EasyEventSourcing.Messages; namespace EasyEventSourcing.Application { public class CommandDispatcher : ICommandDispatcher { private readonly ICommandHandlerFactory factory; public CommandDispatcher(ICommandHandlerFactory factory) {...
28.5
78
0.673684
[ "MIT" ]
SneakyPeet/EasyEventSourcing
src/EasyEventSourcing.Application/CommandDispatcher.cs
572
C#
/* * MundiAPI.Standard * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ using System; using MundiAPI.Standard.Controllers; using MundiAPI.Standard.Http.Client; using MundiAPI.Standard.Utilities; namespace MundiAPI.Standard { public partial class MundiAPIClient: IMundiAPICl...
24.403614
82
0.493212
[ "MIT" ]
mundipagg/MundiAPI-NetStandard
MundiAPI.Standard/MundiAPIClient.cs
4,051
C#
using Paillave.Etl.Core.Aggregation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Paillave.Etl.Core.Aggregation.AggregationInstances { public class FirstAggregationInstance : IAggregationInstance { private object _first =...
22.928571
64
0.595016
[ "MIT" ]
fossabot/Etl.Net
src/Paillave.Etl/Core/Aggregation/AggregationInstances/FirstAggregationInstance.cs
644
C#
using System; using System.Linq.Expressions; namespace RattrapDev.DDD.Block.Specification { public class AndNotSpecification<T> : CompositeSpecification<T> { private readonly ILinqSpecification<T> left; private readonly ILinqSpecification<T> right; public AndNotSpecification(ILinqSpecification<T> left, ILinqS...
22.416667
85
0.734201
[ "MIT" ]
rattrapdev-public/Domain-Block-.net
RattrapDev.DDD.Block/Specification/AndNotSpecification.cs
538
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------...
22.740113
136
0.654161
[ "MIT" ]
ASE-Blast/unity3dgames
Space Game/Library/PackageCache/com.unity.ide.visualstudio@2.0.0/Editor/Messaging/Messenger.cs
4,027
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TranscriptSegmentDeserializationTests.cs" company="CodeBlueDev"> // All rights reserved. // </copyright> // <summary> // Tests deserialization of PluralSight Transcript Segmen...
36.506849
145
0.537711
[ "MIT" ]
CodeBlueDev/CodeBlueDev.PluralSight.Core.Models
Source/CodeBlueDev.PluralSight.Core.Models.Test/TranscriptSegmentDeserializationTests.cs
2,667
C#
using System.Threading.Tasks; using Ducode.Wolk.Application.Exceptions; using Ducode.Wolk.Application.Interfaces; using Ducode.Wolk.Application.Interfaces.Identity; using Ducode.Wolk.Domain.Entities; using Microsoft.EntityFrameworkCore; namespace Ducode.Wolk.Identity.Impl { public class TokenRenewalManage...
31.212121
92
0.652427
[ "MIT" ]
dukeofharen/wolk
src/Ducode.Wolk.Identity/Impl/TokenRenewalManager.cs
1,030
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SOFTTEK.SCMS.Entity.Shared { public class ApiError { /// <summary> /// Message to the user. /// </summary> public string Message { get; set; } /...
25.242424
53
0.536615
[ "MIT" ]
ingscarrero/dotNet
SOFTTEK/softtek.scms.net/SOFTTEK.SCMS.Entity/Shared/ApiError.cs
835
C#
using System.Linq; using AutoMapper; using DatingApp.API.Dtos; using DatingApp.API.Models; namespace DatingApp.API.Helpers { public class AutoMapperProfiles : Profile { public AutoMapperProfiles() { CreateMap<User, UserForListDto>() .ForMember(opt => opt.PhotoUrl, op...
38.097561
96
0.579385
[ "MIT" ]
pavanbadempet/Dating-App
DatingApp.API/Helpers/AutoMapperProfiles.cs
1,562
C#
using SharpDX; using SharpDX.Direct2D1; using SharpDX.DirectWrite; using System; namespace Microsoft.Maui.Graphics.SharpDX { public class DXCanvasState : CanvasState { private readonly DXCanvasState _parentState; private readonly RenderTarget _renderTarget; private float _alpha = 1; ...
33.584932
140
0.5176
[ "MIT" ]
antonfirsov/Microsoft.Maui.Graphics
src/Microsoft.Maui.Graphics.SharpDX.Shared/DXCanvasState.cs
24,519
C#
namespace Cosmos.Security.Cryptography.Core { /// <summary> /// The entry used to trim the result of the Hash operation. /// </summary> internal class TrimOptions { /// <summary> /// Trim the ending character when decrypting /// </summary> public bool TrimTerminatorW...
28.25
64
0.587611
[ "Apache-2.0" ]
CosmosLoops/OneMore
src/Cosmos.Security.Cryptography/Cosmos/Security/Cryptography/Core/TrimOptions.cs
603
C#