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 System; using System.Collections.Generic; using System.Collections; namespace OmiyaGames.Settings { ///----------------------------------------------------------------------- /// <copyright file="SingleSettingsGeneratorArgs.cs" company="Omiya Games"> /// The MIT License (MIT) /// ...
41.06875
161
0.561406
[ "MIT" ]
OmiyaGames/everybody-plays-golf
Assets/Omiya Games/Scripts/Singleton/Settings/FileGenerators/SettingsGeneratorArgs.cs
6,573
C#
namespace Examples.ElasticSearch.Consumer { using Examples.ElasticSearch.Consumer.Consumers; using MassTransit; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; using Microsoft.Extensions.Configuration; using Microsoft.AspNetCore.Hosting; public class Program {...
24.56
64
0.760586
[ "MIT" ]
thorstenalpers/.Net-Examples
ElasticSearch/Consumer/Program.cs
614
C#
using System; namespace MultiPlayer.Games.TicTacToe { public class Mark : Move { public int X { get; set; } public int Y { get; set; } public Field Marking { get; set; } public Mark(int x, int y, Field marking) { X = x; Y = y; Markin...
22.633333
73
0.500736
[ "MIT" ]
andszk/MultiPlayer
MultiPlayer/Games/TicTacToe/Mark.cs
681
C#
using System; using System.Drawing; using System.Windows.Forms; using Johnny.Library.Helper; using Johnny.CodeGenerator.Core; namespace Johnny.CodeGenerator.Controls.VSTempTree { /// <summary> /// Summary description for Nodes. /// </summary> public class BaseNode : TreeNode { public NodeType Node...
27.289855
81
0.631439
[ "MIT" ]
SammyEnigma/code-generator-winform
Johnny.CodeGenerator.Controls/VSTempTree/Nodes.cs
1,883
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace NotificationService.UnitTests.Controllers.V1.MeetingInviteController { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using Moq; using Noti...
41.75
148
0.686101
[ "MIT" ]
tech4GT/notification-provider
NotificationService/NotificationService.UnitTests/Controllers/V1/MeetingInviteController/SendMeetingNotificationsTest.cs
3,175
C#
using Microsoft.Extensions.Configuration; using DtpCore.Workflows; using DtpStampCore.Extensions; using DtpStampCore.Interfaces; using MediatR; using DtpCore.Repository; using DtpCore.Model; using DtpCore.Extensions; using Microsoft.Extensions.Logging; using System.Collections.Generic; using DtpCore.Interfaces; using ...
38.155405
277
0.650257
[ "MIT" ]
DigitalTrustProtocol/DtpSolution
DtpStampCore/Workflows/CreateProofWorkflow.cs
5,649
C#
// Copyright (c) Imazen LLC. // No part of this project, including this file, may be copied, modified, // propagated, or distributed except as permitted in COPYRIGHT.txt. // Licensed under the Apache License, Version 2.0. using System; using System.Collections.Generic; using System.Text; using ImageResizer.Resizing; u...
40.660477
199
0.549547
[ "MIT" ]
jiangshide/resizer
Core/Plugins/Basic/Image404.cs
15,331
C#
namespace MeasureUnitManagement.Infrastructure.Query.Models { public class FormulatedMeasureUnitResponse { public string Symbol { get; set; } public string Title { get; set; } public string TitleSlug { get; set; } public string ConvertFormulaFromBasicUnit { get; set; } p...
31.75
63
0.674541
[ "MIT" ]
MohammadrezaTaghipour/MeasureUnitManagement
Code/Src/MeasureUnitManagement/Infrastructure/Query/Models/FormulatedMeasureUnitResponse.cs
383
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.Azur...
48.943396
151
0.610833
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Network/V20190601/ExpressRouteGateway.cs
10,376
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioManager : MonoBehaviour { public AudioSource audioSource; public List<AudioClip> songs; int index; public bool canPlay; private void Update() { if(!audioSource.isPlaying && canPlay){ ...
22.851852
50
0.606159
[ "MIT" ]
Vandermaesenpi/gameoff2020
Unity Project/Assets/SCRIPT/AudioManager.cs
619
C#
namespace Maquina { public enum LogEntryLevel { Info, Warning, Error } }
11
29
0.5
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
FranklinDM/Maquina
src/LogEntryLevel.cs
112
C#
namespace State { class Water { public IWaterState State { get; set; } public Water(IWaterState ws) { State = ws; } public void Heat() { State.Heat(this); } public void Frost() { State.Frost(this); ...
15.227273
46
0.414925
[ "MIT" ]
Kropisha/DesignPatterns
State/Water.cs
337
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
37.6875
128
0.588723
[ "MIT" ]
TruyenLam/C-WPF
QuanLyKho/QuanLyKho/QuanLyKho/Model/Unit.cs
1,206
C#
using System.Data; using Accord.Statistics.Analysis; namespace Webyneter.ComponentsAnalysis.Core.Analysis { public interface IAnalysisOptions { DataTable InputData { get; } AnalysisAlgorithm Algorithm { get; } AnalysisMethod Method { get; } } }
20.285714
52
0.690141
[ "MIT" ]
webyneter/Components-Analysis
Core/Analysis/IAnalysisOptions.cs
286
C#
 namespace NHS111.Web.Authentication { using System; using System.Linq; using System.Net; using System.Text; using System.Web; using System.Web.Mvc; public class BasicAuthenticationAttribute : ActionFilterAttribute { public string Realm { get; set; } public B...
31.686869
128
0.620657
[ "Apache-2.0" ]
111Online/web-stack
NHS111/NHS111.Web/Authentication/BasicAuthenticationModule.cs
3,139
C#
namespace Entity { public class Users { #region "Consteractor" public Users() { } public Users(string _User, string _Pass) { User = _User; Pass = _Pass; } #endregion #region "Property" public string User { get; set...
17.863636
48
0.475827
[ "MIT" ]
Sabermotamedi/DentistCRUD
Entity/Users.cs
395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Peg.Samples; using Peg.Base; using System.IO; using System.Diagnostics; namespace BERTree { class BERConvertDefiniteLength : IParserPostProcessor { #region Data members TreeContext context_; Dic...
38.231638
125
0.544702
[ "Apache-2.0" ]
JamieDixon/dotless
lib/PEG_GrammarExplorer/PEG_GrammarExplorer/PegSamples/BasicEncodingRules/BERConvert.cs
13,536
C#
using Confluent.Kafka; namespace Coretech9.Kafkas; /// <summary> /// Context for each consume operation /// </summary> /// <typeparam name="TMessage">Type of the consuming message</typeparam> public class ConsumeContext<TMessage> { /// <summary> /// Consuming message /// </summary> public TMessage Me...
29.466667
114
0.641026
[ "Apache-2.0" ]
coretech9/kafkas
Coretech9.Kafkas/ConsumeContext.cs
1,328
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Telerik.Charting; using Telerik.Core; using Telerik.UI.Xaml.Controls.Chart; using Telerik.UI.Xaml.Controls.Chart.Primitives; using Windows.Devices.Input; using Windows.Foundation; using Windows.UI; using Windows.UI.Xaml; ...
34.938728
223
0.552578
[ "Apache-2.0" ]
ChristianGutman/UI-For-UWP
Controls/Chart/Chart.UWP/Visualization/Behaviors/Trackball/ChartTrackBallBehavior.cs
30,222
C#
// <copyright file="TypeHandlerFactory.cs" company="Fubar Development Junker"> // Copyright (c) 2016 Fubar Development Junker. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; using...
49.788301
167
0.634721
[ "MIT" ]
FubarDevelopment/beanio-net
src/FubarDev.BeanIO/Internal/Util/TypeHandlerFactory.cs
17,874
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> //--...
36.786885
151
0.548425
[ "MIT" ]
swvincent/dsub
DsubGui/Properties/Settings.Designer.cs
6,734
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UniRx; namespace Game.Components { [Game] public class SnakePosition : Entitas.IComponent { public List<Vector2> positions; } }
18.307692
51
0.718487
[ "MIT" ]
mmatvein/snake
Snake/Assets/Game/Scripts/Game/Components/SnakePosition.cs
240
C#
using System.Collections.Generic; namespace PrincipleStudios.OpenApi.Transformations { public interface ISourceProvider { IEnumerable<SourceEntry> GetSources(OpenApiTransformDiagnostic diagnostic); } }
24.777778
83
0.780269
[ "BSD-2-Clause" ]
mdekrey/principle-studios-openapi-generators
lib/PrincipleStudios.OpenApi.Transformations/ISourceProvider.cs
225
C#
namespace MassTransit.ActiveMqTransport.Topology.Entities { using MassTransit.Topology.Entities; public interface QueueHandle : EntityHandle { Queue Queue { get; } } }
17.75
58
0.638498
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/Transports/MassTransit.ActiveMqTransport/Topology/Entities/QueueHandle.cs
213
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> //---...
47.192308
177
0.691932
[ "MIT" ]
miladxandi/AdvancesPhonebook
AdvancePhonebook/obj/Debug/netcoreapp3.1/AdvancePhonebook.RazorTargetAssemblyInfo.cs
1,227
C#
using System; using Commands; using Messages; using NServiceBus; public class CommandSender { public static void Start(IBus bus) { Console.WriteLine("Press 'C' to send a command"); Console.WriteLine("Press 'R' to send a request"); Console.WriteLine("Press 'E' to send a mess...
27.730435
142
0.529633
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
samples/unobtrusive/Core_4/Client/CommandSender.cs
3,075
C#
[assembly: System.Reflection.AssemblyVersion("1.0.0")] static class Program { static void Main() { System.Console.WriteLine("This is a place-holder project just to make file management easier"); } }
34
122
0.740196
[ "Apache-2.0" ]
IlincescuMihai/StackExchange.Redis
Docs/Program.cs
206
C#
using System; using System.Collections.Generic; namespace SoftUniParking { public class StartUp { public static void Main(string[] args) { var car = new Car("Skoda", "Fabia", 65, "CC1856BG"); var car2 = new Car("Audi", "A3", 110, "EB8787MN"); Console.WriteL...
28.209302
69
0.563067
[ "MIT" ]
NeSh74/Advanced-CSharp-May-2021
06. Defining Classes/06. CSharp-Advanced-Defining-Classes-Exercises_1_2_3_4_5_6_10/10.SoftUniParking/StartUp.cs
1,215
C#
//----------------------------------------------------------------------- // <copyright file="ExtensionMethods.cs" company="Lost Signal LLC"> // Copyright (c) Lost Signal LLC. All rights reserved. // </copyright> //----------------------------------------------------------------------- #if USING_UNITY_ADDRESSABLE...
27.264706
97
0.514563
[ "Unlicense", "MIT" ]
LostSignal/Lost-Library
Lost/Lost.Addressables/Runtime/ExtensionMethods.cs
929
C#
using System; namespace Deveel.OpenAmat.Client { static class KnownServiceEndPoints { public const string TransitLandV1 = "https://transit.land/api/v1/"; } }
20.5
69
0.75
[ "Apache-2.0" ]
deveel/openamat.net
src/OpenAmat.Net/Deveel.OpenAmat.Client/KnownServiceEndPoints.cs
166
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 26.11.2020. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
28.993671
156
0.558612
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Add/Complete/Int64/Decimal_15_1/TestSet_001__fields.cs
4,583
C#
using Blockcore.Web.Bip39; using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.RootComponents.Add<App>("#app"); builder.RootComponents.Add<HeadOutlet>("head::after"); builder.Services.AddScoped(sp => ne...
37.916667
112
0.804396
[ "MIT" ]
seniorblockchain/blockcore-tools
src/Blockcore.Web.Bip39/Program.cs
455
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace EPiServer.Reference.Commerce.Shared.Models { public class ApiProductResult { public string ResultId { get; set; } public string ResultDate { get; set; } public string ResultDay { get; set; } ...
23.357143
52
0.685015
[ "Apache-2.0" ]
simerc/QuicksilverPlus
Sources/EPiServer.Reference.Commerce.Shared/Models/ApiProductResult.cs
329
C#
using System.Collections.Generic; using System.Linq; using org.ohdsi.cdm.framework.core.Base; using org.ohdsi.cdm.framework.entities.Omop; using org.ohdsi.cdm.framework.shared.Extensions; namespace org.ohdsi.cdm.builders.cprd { /// <summary> /// Implementation of PersonBuilder for CPRD, based on CDM Build spec...
47.317164
163
0.643719
[ "Apache-2.0" ]
OHDSI/ETL-CDMBuilder
CDMv4/source/Builders/org.ohdsi.cdm.builders.cprd/CprdPersonBuilder.cs
12,683
C#
namespace devdeer.CoffeeCupApiAccess.Logic.Models.Enumerations { using System; using System.Linq; /// <summary> /// Defines valid values for user employments. /// </summary> public enum EmploymentType { Employee = 0, Freelancer = 1, FormerEmployee = 2 } }
18.529412
63
0.609524
[ "MIT" ]
DEVDEER/CoffeeCupApiAccess
Logic/Logic.Models/Enumerations/EmploymentType.cs
317
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using System; using System.IO; namespace Persistence { public abstract class DesignTimeDbContextFactoryBase<TContext> : IDesignTimeDbContextFactory<TContext> where TContext : DbContext...
45.934783
148
0.681969
[ "MIT" ]
emrealper/order-event-processing
source/OrderConsumer/Persistance/DesignTimeDbContextFactoryBase.cs
2,115
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool // Changes to this file will be lost if the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ /*Copy...
28.093023
81
0.626656
[ "Apache-2.0" ]
HiP-App/HiPDomainmodel
HiPDomainModelLib/GeneratedCode/StringElement.cs
1,212
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Mover : MonoBehaviour { Camera camera; GameObject audioAnalyser; Analyser analyser; float speed; // Use this for initialization void Start () { speed = Random.Range(400f, 600f); transform.fo...
26.129032
83
0.660494
[ "MIT" ]
RustedBot/Game-Engines-Assignment
Game Engines Assignment/Assets/Scripts/Mover.cs
812
C#
using Microsoft.AspNetCore.Razor.TagHelpers; using Util.Ui.Angular.AntDesign.Tests.XUnitHelpers; using Util.Ui.Configs; using Util.Ui.Enums; using Util.Ui.Zorro.Dividers; using Util.Ui.Zorro.Menus; using Xunit; using Xunit.Abstractions; using String = Util.Helpers.String; namespace Util.Ui.Angular.AntDesign.Tests.Zor...
33.913386
166
0.529603
[ "MIT" ]
12321/Util
test/Util.Ui.Angular.AntDesign.Tests/Zorro/Menus/MenuTagHelperTest.cs
4,435
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-ge...
44.54955
129
0.629727
[ "MIT" ]
AlexBurmatov/NewPlatform.Flexberry.ORM
NewPlatform.Flexberry.ORM.Test.Objects/InformationTestClass3.cs
5,081
C#
using Senparc.Weixin.MP.Helpers; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Com.ChinaPalmPay.Platform.RentCar.Common { public class NotifyHandler { /// <summa...
25.970588
86
0.467044
[ "MIT" ]
gp15237125756/Blog
Com.ChinaPalmPay.Platform.RentCar/Com.ChinaPalmPay.Platform.RentCar.Common/NotifyHandler.cs
4,589
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// <summary>Azure backup recoveryPoint based restore request</summary> public partial class AzureBackupRecoveryPointBasedRestoreRequest ...
67.173554
305
0.690576
[ "MIT" ]
AverageDesigner/azure-powershell
src/DataProtection/generated/api/Models/Api202101/AzureBackupRecoveryPointBasedRestoreRequest.json.cs
8,008
C#
using Extenso.AspNetCore.Mvc.ExtensoUI; using Extenso.AspNetCore.Mvc.ExtensoUI.Providers; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Demo.AspNetCore.Mvc.ExtensoUI.Bootstrap4 { public cl...
31.568182
106
0.637149
[ "MIT" ]
gordon-matt/Extenso
Demos/Demo.AspNetCore.Mvc.ExtensoUI.Bootstrap4/Startup.cs
1,391
C#
using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using RafaelaColabora.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RafaelaColabora.Data { public static class ContextSeed { public static async Task SeedRoles...
39.112676
133
0.586604
[ "MIT" ]
MauroCominotti/TP_Grupo4_IngWeb
Data/ContextSeed.cs
2,779
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; using System.Runtime.InteropServices; using Xunit; namespace System.IO.Tests { public partial class FileStream_ctor_str_fm_fa_fs { [Fa...
41.326667
169
0.594289
[ "MIT" ]
71221-maker/runtime
src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs.delete.cs
6,199
C#
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace FunK.Tests { using static F; public class ResultTest { Func<int, int> doubleTheIn = x => x * 2; Func<int, Func<int, Result<int>>> checkGreaterThan = x => val => val > x ? Result(val) : Result<int>(new...
27.911111
169
0.521497
[ "MIT" ]
juanpablocruz/FunK
Tests/Result/ResultTest.cs
1,258
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using PlasticMetal.MobileSuit; using PlasticMetal.MobileSuit.Core; namespace PlasticMetal.MobileSuitDemo { [SuitInfo("Demo")] public class Client { /// <summary> /// Initialize a client /// ...
26.743421
103
0.483149
[ "MIT" ]
Plastic-Metal/MobileSu
demo/Client.cs
4,067
C#
using System.Linq; using System.Threading.Tasks; using DShop.Common.Handlers; using DShop.Common.RabbitMq; using DShop.Messages.Events.Customers; using DShop.Services.Storage.Framework; using DShop.Services.Storage.Models.Customers; using DShop.Services.Storage.Repositories; using DShop.Services.Storage.Services; name...
34.382979
93
0.620668
[ "MIT" ]
devmentors/DNC-DShop.Services.Storage
src/DShop.Services.Storage/Handlers/Customers/ProductAddedToCartHandler.cs
1,616
C#
namespace _04_FixEmails { using System; using System.Collections.Generic; using System.Linq; public class StartUp { public static void Main() { var result = new Dictionary<string, string>(); string name = Console.ReadLine(); while (name!="stop")...
22.487179
65
0.415051
[ "MIT" ]
MrPIvanov/SoftUni
02-Progr Fundamentals/18-Dictionaries, Lambda Expressions and LINQ - Exercises/18-DicLambdEx/04-FixEmails/StartUp.cs
879
C#
using AutoMapper; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.AspNetCore.Mvc.ModelBinding; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; ...
37.838323
180
0.576832
[ "Apache-2.0" ]
ZHENGZHENGRONG/SF-Boilerplate
SF.Web/Base/Mappers/ModelBinders/MappedBodyModelBinder.cs
6,321
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Events; namespace REAccess...
30
111
0.631579
[ "Apache-2.0" ]
brokensnow/Marven
code/backend/REAccess.Mobile.Api/Program.cs
1,140
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
43.729614
174
0.585533
[ "MIT" ]
FosterMichelle/azure-powershell
src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.ApplicationPackages.cs
9,959
C#
namespace DesignPatterns { public interface IPagamento { Pagamento RealizarPagamento(Pedido pedido, Pagamento pagamento); } }
20.857143
72
0.712329
[ "MIT" ]
YuriSiman/fundamentals-software-architecture
DesignPatterns/02 - Structural/2.2 - Facade/Domain/IPagamento.cs
148
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Glean.App { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { }...
17.944444
42
0.69969
[ "MIT" ]
armadilloNik/Glean
src/Glean.App/App.xaml.cs
325
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.Azur...
30.926829
90
0.65142
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerService/V20200101/Inputs/ManagedClusterAPIServerAccessProfileArgs.cs
1,268
C#
namespace BTCTrader.APIClient.Models { public class UserTransInput { public string Sort { get; set; } // sorting by desc, asc public int Offset { get; set; } // number of skiping records public int Limit { get; set; } // number of limit query } }
28.4
68
0.623239
[ "MIT" ]
BTCTrader/broker-api-csharp
APIClient/Models/UserTransInput.cs
286
C#
using System; namespace _03.Ferrari { public class StartUp { public static void Main() { string ferrariName = typeof(global::Ferrari).Name; string iCarInterfaceName = typeof(ICar).Name; bool isCreated = typeof(ICar).IsInterface; if (!isCreated) ...
23.6
69
0.542373
[ "MIT" ]
IvelinMarinov/SoftUni
06. OOP Advanced - Jul2017/01. Interfaces and Abstraction - Exercise/03. Ferrari/StartUp.cs
592
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// KbItemInfo Data Structure. /// </summary> public class KbItemInfo : AlipayObject { /// <summary> /// 店铺人气值,共4个等级,1,2,3,4 /// </summary> [JsonPropertyName("...
24.707965
52
0.487106
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbItemInfo.cs
3,014
C#
using System; namespace Accretion.Intervals.Tests { public readonly struct DoubleComparerByExponent : IBoundaryValueComparer<double> { public int Compare(double x, double y) { static double Normalize(double exp) => exp switch { double.PositiveInfinity =>...
34.694444
180
0.576461
[ "MIT" ]
SingleAccretion/Accretion.Intervals
Accretion.Intervals.Tests/TestingTypes/TestTypes/DoubleComparerByExponent.cs
1,251
C#
namespace ScottPlot { public enum ErrorAction { Render, SkipRender, DebugLog, ShowErrorOnPlot, ThrowException } }
13.916667
27
0.550898
[ "MIT" ]
Jmerk523/ScottPlot
src/ScottPlot/Enums/ErrorAction.cs
169
C#
using System; using System.Globalization; namespace RssClient { public static class StringParser { /// <summary> /// Method for converting string to DateTime /// </summary> public static DateTime? TryParseDateTime(string dateTime, CultureInfo cultureInfo = null) { ...
30.769231
102
0.5375
[ "MIT" ]
mynameiskate/RSS-client
RssClient/FeedParsers/StringParser.cs
2,002
C#
// Generated by Fuzzlyn v1.2 on 2021-08-16 12:33:10 // Run on .NET 6.0.0-dev on X64 Windows // Seed: 9553480996520307401 // Reduced from 6.6 KiB to 0.5 KiB in 00:00:12 // Debug: Outputs 0 // Release: Outputs 1 struct S0 { public bool F0; } struct S1 { public bool F1; public int F2; public byte F7; ...
16.285714
51
0.574561
[ "MIT" ]
jakobbotsch/Fuzzlyn
examples/reduced/9553480996520307401.cs
684
C#
namespace Toe.Transformations { public class TransformationZY : AbstractTransformation { public static readonly TransformationZY Instance = new TransformationZY(); public static readonly Quaternion Quaternion = new Quaternion(0.5f, 0.5f, 0.5f, 0.5f); public static readonly Matrix4 Matri...
26.76087
119
0.547522
[ "MIT" ]
gleblebedev/Toe.Math
src/Toe.Math/Transformations/TransformationZY.cs
1,231
C#
//http://blogs.microsoft.co.il/blogs/alex_golesh/archive/2008/07/15/silverlight-tip-how-to-reflect-scriptobject-content-in-runtime.aspx #if SILVERLIGHT namespace Caliburn.PresentationFramework.ApplicationModel { using System; using System.Collections.Generic; using System.Windows.Browser; using...
31.957364
167
0.480291
[ "MIT" ]
chrismcv/caliburn
src/Caliburn.PresentationFramework/ApplicationModel/DeepLinkStateManager.silverlight.cs
8,245
C#
using HttpPaymentRequiredException = Saklient.Errors.HttpPaymentRequiredException; namespace Saklient.Cloud.Errors { /// <summary>お客様のご都合により操作を受け付けることができません。 /// </summary> public class PaymentPaymentException : HttpPaymentRequiredException { /// <summary> /// <param name="status" /> /// <param name="cod...
24.458333
179
0.678024
[ "MIT" ]
223n/saklient.cs
src/Saklient/Cloud/Errors/PaymentPaymentException.cs
695
C#
namespace IcIWare.NamedIndexers { /// <summary> /// A named indexer which only has a getter. (read-only) /// </summary> /// <typeparam name="Tkey">The type of the indexer's key.</typeparam> /// <typeparam name="Tvalue">The type of the getter's output.</typeparam> public class NamedGetter<Tkey, ...
42.655172
99
0.610348
[ "MIT" ]
DAud-IcI/NamedIndexers
NamedIndexer/NamedGetter.cs
1,239
C#
using System; using Metrics.MetricData; namespace Metrics { /// <summary> /// Represents a logical grouping of metrics /// </summary> public interface MetricsContext : IDisposable, Utils.IHideObjectMembers { /// <summary> /// Exposes advanced operations that are possible o...
63.644628
164
0.645241
[ "Apache-2.0" ]
AzVedi/microdot
Metrics/MetricsContext.cs
7,709
C#
using System; using System.Collections.Generic; using System.Text; namespace Encoder { public class EncoderProcessor { public StringBuilder sb = new StringBuilder(); public string Encode(string message) { //Implement your code here! string lowerMessage = message...
29.822581
108
0.386966
[ "Apache-2.0" ]
mani779/as-dotnet-string-encoder
Encoder/Encoder.cs
3,698
C#
 namespace LottoDataManager.Forms.Reports { partial class ProfitAndLossFrm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
49.729885
174
0.619785
[ "CC0-1.0" ]
AngelsSoftwareOrg/LottoDataManager
Forms/Reports/ProfitAndLossFrm.Designer.cs
8,655
C#
/*** * Lockstep Platform SDK for C# * * (c) 2021-2022 Lockstep, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Lockstep Network <support@lockstep.io> * @copyright 2021-2022 Lockstep, Inc. * @link https:...
52.613333
307
0.672833
[ "MIT" ]
Lockstep-Network/lockstep-sdk-csharp
src/clients/InvoiceHistoryClient.cs
3,946
C#
 namespace ChangeFeedProcessor { using System; using System.Configuration; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.ChangeFeedProcessor; using Microsoft.Azure.Documents.ChangeFeedProcessor.Logging; using Micro...
44.868132
156
0.639848
[ "MIT" ]
chrispike01/azure-documentdb-dotnet
samples/code-samples/ChangeFeedProcessorV2/Program.cs
8,168
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using TelegramBotBase.Args; using TelegramBotBase.Controls; using TelegramBotBase.Controls.Hybrid; using TelegramBotBase.Form; namespace TelegramBotBaseTest.Tests.Controls { ...
25.84
112
0.606295
[ "MIT" ]
MajMcCloud/TelegramBotFramework
TelegramBotBaseTest/Tests/Controls/ButtonGridPagingForm.cs
1,940
C#
namespace FluentNHibernate.Specs.PersistenceModel.Fixtures { class UnionEntity { public int Id { get; set; } } }
19.857143
60
0.625899
[ "BSD-3-Clause" ]
BrunoJuchli/fluent-nhibernate
src/FluentNHibernate.Specs/PersistenceModel/Fixtures/UnionEntity.cs
141
C#
// // Copyright (c) Microsoft and contributors. 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. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
28.305556
76
0.701668
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ServiceManagement/StorSimple/StorSimple/Generated/Models/AppType.cs
1,019
C#
using DotNetRevolution.Core.Base; using System; using System.Diagnostics.Contracts; namespace DotNetRevolution.EventSourcing { public class AggregateRootType : ValueObject<AggregateRootType> { private readonly Type _type; public Type Type { get { ...
25.764706
81
0.576104
[ "MIT" ]
DotNetRevolution/DotNetRevolution-Framework
src/DotNetRevolution.EventSourcing/AggregateRootType.cs
1,316
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; namespace XrmFramework { public delegate void LogServiceMethod(string methodName, string message, params object[] args); pub...
55.287129
125
0.715795
[ "MIT" ]
cgoconseils/XrmFramework
src/XrmFramework/Utils/Statics.cs
11,170
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Elu_application.Service; using ZXing.Mobile; using Xamarin.Forms; [ass...
25.522727
78
0.615316
[ "MIT" ]
DTI-tudengite-tarkvaraprojektid/summer_project
Elu_application.Android/Services/QrScanningService.cs
1,125
C#
#pragma checksum "D:\MyLearnMate\iCLASS\comptest.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DB030F7CB052EDD5F95BA98C14238FCF" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // /...
44.932773
136
0.631569
[ "MIT" ]
VikramadityaJakkula/MyLearnMateCode
iCLASS/obj/Release/comptest.g.cs
5,349
C#
using System; using System.Collections.Specialized; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Solutions.Dialogs; using Microsoft.Bot.Solutions.Extensions; using Microsoft.Bot.Solutions.Skills; using Microsoft.Bot.Solution...
44.607623
172
0.584418
[ "MIT" ]
AllcryptoquickDevelopment/AI
solutions/Virtual-Assistant/src/csharp/skills/todoskill/todoskill/Dialogs/AddToDo/AddToDoItemDialog.cs
19,897
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _004WeddingDecoration { class Program { static void Main(string[] args) { double budget = double.Parse(Console.ReadLine()); double flowersSum =...
32.239437
159
0.473569
[ "MIT" ]
kalintsenkov/SoftUni-Software-Engineering
CSharp-Programming-Basics/Exams/ExamNovember2018/004WeddingDecoration/Program.cs
2,291
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LockZ : MonoBehaviour { private Transform trans; // Start is called before the first frame update void Awake() { trans = GetComponent<Transform>(); } // Update is called once per frame void...
20.2
55
0.655941
[ "MIT" ]
cortstar/AlbertaGameJam2019
AlbertaGameJam2019/Assets/LockZ.cs
406
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementOrStatementStatementOrStatementStatementOrStatementStatement")] public class Wafv2WebAclRuleStatementOrStatementStatementOrStatementStatementOrStatementStatement : aws....
59.945946
304
0.731515
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2WebAclRuleStatementOrStatementStatementOrStatementStatementOrStatementStatement.cs
4,436
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("Lu...
37.75
84
0.74908
[ "Apache-2.0" ]
NielsKuhnel/NrtManager
source/LuceneManager/Properties/AssemblyInfo.cs
1,362
C#
using System; namespace Musoq.Parser.Nodes { public class IsNullNode : Node { public IsNullNode(Node expression, bool isNegated) { IsNegated = isNegated; Id = $"{nameof(IsNullNode)}{isNegated}"; Expression = expression; } public Node Express...
24.09375
107
0.565499
[ "MIT" ]
JTOne123/Musoq
Musoq.Parser/Nodes/IsNullNode.cs
773
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 "license" fi...
32.188034
115
0.616835
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CustomerProfiles/Generated/Model/PutProfileObjectRequest.cs
3,766
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.166667
153
0.599392
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IGraphServiceGroupSettingsCollectionRequestBuilder.cs
1,645
C#
using FileExplorerGallery.Common; using FileExplorerGallery.Helpers; using FileExplorerGallery.Settings; using FileExplorerGallery.ViewModelContracts; using System.ComponentModel.Composition; using System.Reflection; using System.Windows.Input; namespace FileExplorerGallery.ViewModels { [Export(typeof(ISettingsVi...
27.48913
121
0.51206
[ "MIT" ]
ScriptBox99/FileExplorerGallery
FileExplorerGallery/ViewModels/SettingsViewModel.cs
5,060
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Amido.Stacks.DependencyInjection { public static class AssemblyExtensions { /// <summary> /// Returns a dictionary with the Implemented Interface as key and the type that implements it ...
44.947368
151
0.483021
[ "MIT" ]
amido/stacks-dotnet-packages-dependencyinjection
src/Amido.Stacks.DependencyInjection/AssemblyExtensions.cs
1,708
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nextt_Gestao_Compra.Aplicacao.ViewModel { public class EntradaNFPackPedidoSalvarVM { public string IDNFFornecedorPack { get; set; } public string Agrupamento { get; set...
27.73913
90
0.677116
[ "MIT" ]
Philipe1985/NexttWeb
Nextt_Gestao_Compra/Nextt_Gestao_Compra.Aplicacao/ViewModel/EntradaNFPackPedidoSalvarVM.cs
640
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
28.315789
80
0.48513
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
gj86/mixerp2
MixERP.Net.FrontEnd/Purchase/Invoice.aspx.designer.cs
538
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace HyperlinkText.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding)...
34.5
98
0.678442
[ "MIT" ]
JaridKG/xamarin-forms
HyperlinkText/HyperlinkText.iOS/AppDelegate.cs
1,106
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
39.033333
85
0.567891
[ "MIT" ]
SamRibes/2019-09-c-sharp-labs
labs/lab_47_API_framework/Models/Alphabetical_list_of_product.cs
1,171
C#
#if !NET40PLUS namespace System.Runtime.CompilerServices { using System.Threading.Tasks; /// <summary>Provides a base class used to cache tasks of a specific return type.</summary> /// <typeparam name="TResult">Specifies the type of results the cached tasks return.</typeparam> internal class ...
43.739837
126
0.575651
[ "MIT" ]
JTOne123/MinimumAsyncBridge
src/MinimumAsync/MinimumAsyncBridge/Runtime/CompilerServices/AsyncMethodTaskCache.cs
5,382
C#
/* * Copyright 2010-2014 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 "l...
27.1125
107
0.602121
[ "Apache-2.0" ]
Melvinerall/aws-sdk-net
sdk/src/Services/ApplicationDiscoveryService/Generated/AmazonApplicationDiscoveryServiceConfig.cs
2,169
C#
using Interpidians.Catalyst.Core.ApplicationService; using Interpidians.Catalyst.Core.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Interpidians.Catalyst.Client.Web.Controllers { public partial class EmployeeController : BaseController...
23.617647
63
0.65878
[ "MIT" ]
prashantkakde31/Catalyst
app/SRC/Interpidians.Catalyst/Interpidians.Catalyst.Client.Web/Controllers/EmployeeController.cs
805
C#
using System.Collections.Generic; using SchoolSystem.CLI.Core.Contracts; using SchoolSystem.CLI.Models; using SchoolSystem.CLI.Models.Enums; namespace SchoolSystem.CLI.Core.Commands { public class CreateStudentCommand : ICommand { private static int id = 0; public string Execute(IList<string>...
29.407407
77
0.607053
[ "MIT" ]
BogdanDimov/HQC-2-HW
Topics/Exam/Task/Exam/SchoolSystem.CLI/Core/Commands/CreateStudentCommand.cs
796
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("Se...
38.243243
84
0.74841
[ "Apache-2.0" ]
0xAAE/npoi
examples/hssf/SetPrintSettingsInXls/Properties/AssemblyInfo.cs
1,418
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 "license" fi...
41.436508
190
0.652749
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Appflow/Generated/Model/Internal/MarshallTransformations/DescribeConnectorEntityResponseUnmarshaller.cs
5,221
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
27.253165
149
0.509522
[ "MIT" ]
Squidex/caching
Squidex.Caching/AsyncLocalCache.cs
2,155
C#
// 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 limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell...
34.82
98
0.76077
[ "Apache-2.0" ]
121468615/mono
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/BindingsCollectionTest.cs
3,482
C#