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.Collections.Generic; using UnityEngine; public class Test : MonoBehaviour { [FancyList] public List<string> testVariable; }
19.25
41
0.714286
[ "CC0-1.0" ]
sarisman84/Doing-the-thing
Assets/Editor/Test.cs
156
C#
// Copyright(c) 2007 Andreas Gullberg Larsen // https://github.com/anjdreas/UnitsNet // // 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 ...
41.843373
99
0.73222
[ "MIT" ]
Egor92/UnitsNet
UnitsNet.Tests/CustomCode/RotationalSpeedTests.cs
3,475
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...
35.136364
146
0.60414
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Textract/Generated/Model/Internal/MarshallTransformations/BoundingBoxUnmarshaller.cs
3,865
C#
using System; using UnityEngine; using RealtimeCSG; using RealtimeCSG.Components; using GeometryUtility = RealtimeCSG.GeometryUtility; namespace InternalRealtimeCSG { [Serializable] internal enum HandleConstraints { Straight, // Tangents are ignored (used for straight lines) Broken, // Both tangents are assum...
23.939759
83
0.747358
[ "MIT" ]
Cheebang/high-stakes
Assets/Plugins/RealtimeCSG/Editor/Scripts/Control/BrushUtility.cs
1,989
C#
using System; using System.ComponentModel.DataAnnotations; namespace OnlineWallet.Infrastructure.Commands.Transactions { public class Withdraw : IAuthenticatedCommand { public Guid UserId { get; set; } [Required] [RegularExpression(@"[0-9]+(\.[0-9][0-9]?)?", ErrorMessage = "invalid va...
25.75
86
0.643204
[ "MIT" ]
webprasanth/online-wallet
OnlineWallet.Infrastructure/Commands/Transactions/Withdraw.cs
414
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
47.868502
418
0.61937
[ "MIT-feh" ]
AIKICo/UnitsNet
UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/FuelEfficiency.g.cs
31,306
C#
namespace IndustryLP.Utils.Enums { public enum CellNeighbour { UP, DOWN, LEFT, RIGHT } }
13.75
33
0.609091
[ "MIT" ]
NEKERAFA/CS-IndustryLP
IndustryLP/Utils/Enums/CellNeighbour.cs
112
C#
using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using Dapper; using Repository.Interface; using Repository.Schema; namespace Repository.Implementation { public class GameTypeRepository : IGameTypeRepository { public GameTypeRepository() { ...
28.022727
88
0.538524
[ "MIT" ]
charleyza/DunkMe
Repository/Implementation/GameTypeRepository.cs
1,235
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
31.036885
147
0.580747
[ "MIT" ]
0xced/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Linq/JPropertyTests.cs
7,575
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.ML.Core.Data; using Microsoft.ML.Runtime.Data; using Microsoft.ML.Runtime.KMeans; using Microsoft.M...
36.526012
126
0.510999
[ "MIT" ]
DAXaholic/machinelearning
test/Microsoft.ML.Tests/TrainerEstimators/TrainerEstimators.cs
6,321
C#
namespace AnnoSavegameViewer.Structures.Savegame.Generated { public class RecommendedPosition { } }
17.5
60
0.8
[ "MIT" ]
Veraatversus/AnnoSavegameViewer
src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Empty/RecommendedPosition.cs
105
C#
using UnityEngine; using System.Collections; using thelab.core; public class TweenExample01 : MonoBehaviour { public Transform target; public Transform position; // Use this for initialization void Start () { } void Update() { if(Input.GetKeyDown(K...
22.923077
85
0.54698
[ "Apache-2.0" ]
xiaogangliu/shangduli
shangduli/Assets/thelab/core/examples/tween/TweenExample01.cs
896
C#
/* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ using System.Collections.Generic; using Antlr4.Runtime.Sharpen; using Antlr4.Runtime.Tree; using Antlr4.Runtime.Tree.Xpath;...
27.1
70
0.624846
[ "BSD-3-Clause" ]
charwliu/antlr4
runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Tree/Xpath/XPathWildcardAnywhereElement.cs
813
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; namespace Alarm_Clock_App { public class WorldClockClass { public string Place { get; set; } ...
31
115
0.501861
[ "MIT" ]
RefinedDev/Alarm-Clock-App
Classes/WorldClock.cs
1,614
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Diagnostics; using Kitware.VTK; namespace ActiViz.Examples { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void renderWindowCont...
28.984375
79
0.56496
[ "Apache-2.0" ]
FlorianFritz/VTKExamples
src/CSharp/GeometricObjects/Pyramid.cs
1,855
C#
// <auto-generated /> using System; using IdentityServer4.EntityFramework.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage...
34.793103
118
0.561447
[ "MIT" ]
hdnebat/Microservices
Identity/Identity.Server/Migrations/PersistedGrantDb/20180705071639_InitialSetup.Designer.cs
2,020
C#
/*============================================================================== Copyright (c) 2016-2018 PTC Inc. All Rights Reserved. Copyright (c) 2015 Qualcomm Connected Experiences, Inc. All Rights Reserved. Vuforia is a trademark of PTC Inc., registered in the United States and other countries. * ==============...
36.231707
137
0.664759
[ "MIT" ]
ACT-ZUT/OrbitVue
Unity/ArSatelite/Assets/SamplesResources/SceneAssets/UserDefinedTargets/Scripts/UDTEventHandler.cs
5,942
C#
using System.IO; namespace Plethora.Context.Help.Streaming { public interface IDataStreamCapture<TData> { TData CaptureDataFromStream(Stream stream); } }
17.6
51
0.715909
[ "MIT", "BSD-3-Clause" ]
mikebarker/Plethora.NET
src/Plethora.Context/Help/Streaming/IDataStreamCapture.cs
178
C#
using MnistDigits.Models; using Models.MnistDigits; using OxyPlot; using OxyPlot.Series; using System; using System.Collections.Generic; using Vec = MathNet.Numerics.LinearAlgebra.Vector<double>; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Th...
27.888889
114
0.620186
[ "MIT" ]
MartonBot/mnist-demo
LogisticRegressionForm.cs
3,014
C#
namespace AMSExplorer { partial class EncodingZenium { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
56.517799
172
0.637712
[ "Apache-2.0" ]
asolanki/Azure-Media-Services-Explorer
AMSExplorer/EncodingZenium.Designer.cs
17,466
C#
using AzR.Core.Config; using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations.Schema; namespace AzR.Core.IdentityConfig { public class ApplicationUserRole : IdentityUserRole<int>, IBaseEntity { [ForeignKey("UserId")] public virtual ApplicationUser User { g...
26.75
73
0.712617
[ "MIT" ]
ashiquzzaman/azr-admin
Development/AzRAdmin/Libraries/AzR.Core/IdentityConfig/ApplicationUserRole.cs
428
C#
namespace MassTransit.Configuration { using ConsumePipeSpecifications; using Topology; using Topology.Observers; public class ConsumePipeConfiguration : IConsumePipeConfiguration { readonly ConsumePipeSpecification _specification; public ConsumePipeConfiguration(IConsumeT...
34.965517
132
0.748521
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/MassTransit/Configuration/Configuration/ConsumePipeConfiguration.cs
1,016
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associadas a um assembly. [assembly: AssemblyTitle("AgendaBas...
38.189189
95
0.753008
[ "MIT" ]
WalissonRodrigo/Agenda-B-sica
AgendaBasica/Properties/AssemblyInfo.cs
1,438
C#
using System; using System.Drawing; using System.IO; using System.Xml; using System.Text; using System.Windows.Forms; namespace SmartOCR { /// <summary> /// Application configuration /// </summary> public class Configuration { public Point mainWindowLocation = new Point(100, 50); pu...
37.53012
101
0.521669
[ "Apache-2.0" ]
alatabbi/TexE
TexEditor/Code/Configuration.cs
6,230
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
47.142857
166
0.625926
[ "MIT" ]
fj-gruenewald/repo.history
WPF Applications/autoStarter/autoStarter/obj/Debug/netcoreapp3.1/GeneratedInternalTypeHelper.g.cs
2,974
C#
using System; namespace Aula35 { //Parecido com private, um membro protegido (protectec) é acessível dentro de sua classe e também por instâncias da classe derivada, esta é a diferença dentre protected e private. class Veiculo{ public int velAtual; private int velMax; protected bool...
27.5
183
0.548918
[ "MIT" ]
Drlazinho/Linguagem-C-Sharp---CFBCursos
Aula36/Program.cs
1,165
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...
35.932331
143
0.596359
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/DataPipeline/Generated/Model/Internal/MarshallTransformations/CreatePipelineRequestMarshaller.cs
4,779
C#
// <auto-generated /> using System; using IdentityExtension.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace...
35.075949
125
0.488993
[ "Unlicense" ]
kokyiphyocho/ASP.NET-Core-2.1-Customize-Login-Form
IdentityExtension/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
8,313
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Codezu. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------...
39.939394
525
0.649469
[ "MIT" ]
GaryWayneSmith/mozu-dotnet
Mozu.Api/Contracts/ProductAdmin/PublishingScope.cs
1,318
C#
using Nethereum.JsonRpc.Client; using Nethereum.RPC.Infrastructure; using Newtonsoft.Json.Linq; namespace Nethereum.Parity.RPC.Network { /// <Summary> /// parity_netPeers /// Returns number of peers. /// Parameters /// None /// Returns /// Object - Number of peers ...
30.043478
125
0.542692
[ "MIT" ]
6ara6aka/Nethereum
src/Nethereum.Parity/RPC/Network/ParityNetPeers.cs
1,382
C#
using System; using System.Collections.Generic; using System.Net.Http.Headers; using KeyPayV2.Sg.Models.Common; using KeyPayV2.Sg.Enums; namespace KeyPayV2.Sg.Models.PayRateTemplate { public class PayRateTemplateExportModel { public int Id { get; set; } public string Name { get; set;...
31.45
87
0.669316
[ "MIT" ]
KeyPay/keypay-dotnet-v2
src/keypay-dotnet/Sg/Models/PayRateTemplate/PayRateTemplateExportModel.cs
629
C#
using System.Linq; using UnityEditor.IMGUI.Controls; using UnityEngine; using UnityEngine.Timeline; namespace UnityEditor.Timeline { abstract class TimelineTrackBaseGUI : TreeViewItem, IBounds { static class Styles { public static readonly GUIContent s_LockedAndMuted = EditorGUIUtil...
38.700461
236
0.583591
[ "MIT" ]
AJ213/8-Bit-Battles
8-Bit Battles/Library/PackageCache/com.unity.timeline@1.1.0/Editor/treeview/TimelineTrackBaseGUI.cs
8,398
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; usin...
49.766017
195
0.62174
[ "MIT" ]
Manny27nyc/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/TopLevelDomainCollection.cs
17,866
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Runtime.CompilerServices; using System.Security.Claims; using System.Threading.Tasks; using EntityGraphQL.Authorization; using EntityGraphQL.Compiler; using EntityGraphQL.Compiler.Util...
47.836653
282
0.596541
[ "MIT" ]
anilbabukb/EntityGraphQL
src/EntityGraphQL/Schema/SchemaProvider.cs
36,021
C#
using RestWithASPNET.Model; using RestWithASPNET.Model.Context; using RestWithASPNET.Repository.Generic; using System; using System.Collections.Generic; using System.Linq; namespace RestWithASPNET.Repository { public class PersonRepository : GenericRepository<Person>, IPersonRepository { public Perso...
31.915254
98
0.536909
[ "Apache-2.0" ]
dschaly/RESTWithASP-NET5
02_RestWithASPNET_Person/RestWithASPNET/RestWithASPNET/Repository/PersonRepository.cs
1,885
C#
using System.Windows.Input; namespace Infinity.Commands; public abstract class CommandBase : ICommand { public static bool DefaultUseCommandManager { get; set; } = true; public abstract bool CanExecute(object? parameter); public abstract void Execute(object? parameter); public abstract event EventH...
28.928571
76
0.751852
[ "MIT" ]
Khaled-Janada/AC_Charts
toolkits/Infinity.Mvvm/Commands/CommandBase.cs
812
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...
41.666667
81
0.625
[ "MIT" ]
dradoslavov/Technology-Fundamentals
07. Objects-and-Classes-Lab/04. Songs/obj/Debug/netcoreapp2.1/04. Songs.AssemblyInfo.cs
1,000
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 // ass...
41.160714
97
0.738829
[ "MIT" ]
slgrobotics/TrackRoamer
src/Hardware/ProximityModule/WpfProximityModuleDemo/WpfProximityModuleDemo/Properties/AssemblyInfo.cs
2,308
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace XtoX { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
17.666667
42
0.698113
[ "MIT" ]
ZacharyWalsh57/XtoX
XtoX/App.xaml.cs
320
C#
using Newtonsoft.Json; namespace RiotGamesApi.Libraries.Lol.v3.StaticEndPoints.Runes { public class ImageDto { // [JsonProperty("full")] public string full { get; set; } // [JsonProperty("group")] public string group { get; set; } // [JsonPrope...
19.823529
61
0.488131
[ "MIT" ]
msx752/RiotGamesAPI
RiotGamesApi/Libraries/Lol/v3/StaticEndPoints/Runes/ImageDto.cs
676
C#
// **************************************************************** // Copyright 2008, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org. // **************************************************************** using System; namespac...
28.414894
88
0.507301
[ "MIT" ]
acken/AutoTest.Net
lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/core/Logger.cs
2,673
C#
using Kara.Framework.Common.Mvc.JsUpload; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; namespace Kara.Framework.Common.Mvc.Helpers { public static class JsUploadHtmlHelper { public static MvcHtmlString JsUploa...
51.206897
132
0.513468
[ "MIT" ]
student-accommodation-one/Kara.Framework.Common.Mvc
Helpers/JsUploadHtmlHelper.cs
2,972
C#
using SubterfugeCore.Core.Entities; using SubterfugeCore.Core.Entities.Positions; using SubterfugeCore.Core.GameEvents.Base; using SubterfugeCore.Core.Interfaces; using SubterfugeCore.Core.Timing; namespace SubterfugeCore.Core.GameEvents.NaturalGameEvents { /// <summary> /// Friendly sub arrival /// </sum...
35.56962
145
0.590391
[ "CC0-1.0" ]
pandabear15/Remake-Core
Core/SubterfugeCore/Core/GameEvents/NaturalGameEvents/combat/FriendlySubArrive.cs
2,812
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...
49.379032
189
0.693778
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/RAM/Generated/Model/ResourceShareInvitationAlreadyAcceptedException.cs
6,123
C#
namespace Veruthian.Library.Collections { public interface IMutableIndex<K, V> : IIndex<K, V>, IMutableLookup<K, V> { } public interface IMutableIndex<V> : IMutableIndex<int, V>, IIndex<V> { } }
19.083333
77
0.624454
[ "MIT" ]
Veruthas/Dotnet-Veruthian.Library
Solution/Projects/Veruthian.Library/Collections/IMutableIndex.cs
229
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 // //...
37.213368
205
0.716151
[ "Apache-2.0" ]
flcdrg/Windsor
src/Castle.Windsor.Tests/MicroKernelTestCase.cs
14,476
C#
using System; using System.Collections.Generic; using UnityEngine.Experimental.Input.Controls; using UnityEngine.Experimental.Input.Layouts; using UnityEngine.Experimental.Input.LowLevel; using UnityEngine.Experimental.Input.Utilities; namespace UnityEngine.Experimental.Input.LowLevel { public struct JoystickState...
32.343511
140
0.590748
[ "MIT" ]
DrPaulRobertson/custom-controller-demos
DistanceDemo/Library/PackageCache/com.unity.inputsystem@0.2.0-preview/InputSystem/Devices/Joystick.cs
4,237
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Internal { using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; // <summary> // Extends <see c...
36.165441
132
0.519162
[ "Apache-2.0" ]
Cireson/EntityFramework6
src/EntityFramework/Internal/ObservableBackedBindingList`.cs
9,837
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; namespace SoftwareEstimation.Authentication.JwtBearer { public static class JwtTokenMiddleware { public static IApplicationBuilder UseJwtTokenMiddleware(this IApplication...
31.962963
149
0.573581
[ "MIT" ]
makonhakony/Software-Estimation
aspnet-core/src/SoftwareEstimation.Web.Core/Authentication/JwtBearer/JwtTokenMiddleware.cs
865
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\dxva.h(898,5) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential, Pack = 1)] public partial struct _DXVA_Deblock_H264__union_0__struct_0 { [MarshalAs(UnmanagedType.ByValArray,...
85.043478
190
0.690184
[ "MIT" ]
riQQ/DirectN
DirectN/DirectN/Generated/_DXVA_Deblock_H264__union_0__struct_0.cs
1,958
C#
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Text; using System.Xml; using System.IO; using Oranikle.Report.Engine; namespace Oranikle.ReportDesigner { /// <summary> /// Summary description for DialogDataSourceRef. /// </summary...
42.441704
222
0.635269
[ "Apache-2.0" ]
hnjm/rdlc.report.engine
Oranikle.ReportDesigner/DialogDataSources.cs
37,858
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.Collections; namespace CodeGenerator.HttpUtilities; // C code for Algorithm L (Lexicographic combinations) in Section 7.2.1.3 of The Art of Computer Programming, Volum...
22.95283
155
0.531032
[ "MIT" ]
Akarachudra/kontur-aspnetcore-fork
src/Servers/Kestrel/tools/CodeGenerator/HttpUtilities/CombinationsWithoutRepetition.cs
2,433
C#
using System; using Xunit; namespace Confluent.Kafka.IntegrationTests { public partial class Tests { [Theory, MemberData(nameof(OAuthBearerKafkaParameters))] public void OAuthBearerToken_PublishConsume(string bootstrapServers) { LogToFileStartTest(); if (string....
36.716981
97
0.561151
[ "Apache-2.0" ]
3schwartz/confluent-kafka-dotnet
test/Confluent.Kafka.IntegrationTests/Tests/OauthBearerToken_PublishConsume.cs
7,784
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Foundation; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; using ElementType = P42.Uno.Controls.TargetedPopup; namespace P42.Uno.Con...
53.241206
148
0.796791
[ "MIT" ]
baskren/P42.Uno.Controls
P42.Uno.Controls/Popups/Extensions/TargetedPopupExtensions.shared.cs
10,597
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Concurrent; using System.IO; using System.Runtime.InteropServices.ComTypes; using System.Text; using System.Text.RegularExpressions; using System.Threading; using Umbraco.Cms.Core; using Umbraco.Cms.C...
32.074074
140
0.561316
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
JohanPlate/uSync
uSync.AutoTemplates/TemplateWatcher.cs
8,662
C#
// Title: HTTP Tools // Author: Emily Heiner // // MIT License // Copyright(c) 2017-2018 Emily Heiner (emilysamantha80@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 withou...
44.59596
111
0.618573
[ "MIT" ]
EmilySamantha80/ESH
ESH/Utility/HttpTools.cs
4,417
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace MCloudServer.Migrations { public partial class list_visibility : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<int>( name: "visibility", ...
27.041667
72
0.548536
[ "MIT" ]
Leao9203/MusicCloudServer
Migrations/20200918065115_list_visibility.cs
651
C#
using TwitchLib.Client.Models; namespace Twitcher.Controllers { public class Controller { public TwitcherClient Client { get; set; } public ChatMessage Message { get; set; } public string MentionPattern { get; } = "@{DisplayName}, "; protected void Send(string message) ...
27.689655
124
0.630137
[ "MIT" ]
LiphiTC/Twitcher
src/Twitcher.Controllers/Controller.cs
803
C#
using Brilliancy.Soccer.Common.Helpers; using Microsoft.EntityFrameworkCore.Migrations; namespace Brilliancy.Soccer.DbAccess.Migrations { public partial class NlogTableCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.Sql(Resource...
32.947368
119
0.728435
[ "MIT" ]
marcinjarczewski/Soccer
Brilliancy.Soccer.DbAccess/Migrations/20220331140702_NlogTableCreate.cs
628
C#
using Autofac; using Raven.Client; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Raven.Client.Extensions; using Raven.Client.Document; using Autofac.Integration.Mvc; using AspNet.Iden...
37.163636
174
0.667319
[ "MIT" ]
petedavis/AspNet.Identity.RavenDB
samples/AspNet.Identity.RavenDB.Sample.Mvc/Global.asax.cs
2,046
C#
using System.Collections.Generic; namespace ShoelessJoeWebApi.Core.CoreModels { public class CoreSchool { public int SchoolId { get; set; } public string SchoolName { get; set; } public CoreAddress Address { get; set; } public int AddressId { get; set; } public List<C...
24
76
0.630208
[ "MIT" ]
TClaypool00/ShoelessJoeApiV2
ShoelessJoeWebApi.Core/CoreModels/CoreSchool.cs
386
C#
#region License // // MIT License // // CoiniumServ - Crypto Currency Mining Pool Server Software // // Copyright (C) 2013 - 2017, CoiniumServ Project // Copyright (C) 2017 - 2021 The Merit Foundation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this ...
38.177215
150
0.645557
[ "MIT" ]
meritlabs/CoiniumServ
src/CoiniumServ/Daemon/Responses/BlockTemplateTransaction.cs
3,018
C#
// Universal Cross-Platform Voice Chat MeoPlay Copyright (C) 2021 MeoPlay <contact@meoplay.com> All Rights Reserved. using System; using System.IO; using UnrealBuildTool; using System.Collections.Generic; public class UniversalVoiceChatPro : ModuleRules { public UniversalVoiceChatPro(ReadOnlyTargetRules Target) : b...
31.918033
124
0.637648
[ "MIT" ]
GamerGambit/SpaceBois
Plugins/UniversalVoiceChatPro/Source/UniversalVoiceChatPro/UniversalVoiceChatPro.build.cs
3,894
C#
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. using System; using System.Collections; using System.Collections.Generic; namespace Xtensive.Sql.Dml { [Serializable] public class SqlQueryExpression : SqlStatement, ISql...
24.158333
117
0.659883
[ "MIT" ]
SergeiPavlov/dataobjects-net
DataObjects/Sql/Dml/Statements/SqlQueryExpression.cs
2,899
C#
using System; namespace MORR.Core.CLI.Output { /// <summary> /// The ConsoleFormat formats any output to the CMD console. It prints /// additional indications for error or debug messages for the user. /// </summary> public class ConsoleFormatter : IConsoleFormatter { /// <summary> ...
32
96
0.570313
[ "MIT" ]
insightmind/MORR
application/Core/CLI/Output/ConsoleFormatter.cs
1,794
C#
using System.Collections.Generic; using FluentAssertions; using Moq; using NUnit.Framework; using Tailviewer.BusinessLogic.DataSources; using Tailviewer.Settings; using Tailviewer.Ui.Controls.MainPanel.Raw.QuickNavigation; namespace Tailviewer.Test.Ui.Controls.QuickNavigation { [TestFixture] public sealed class Qui...
30.92
129
0.741527
[ "MIT" ]
hezlog/Tailviewer
src/Tailviewer.Test/Ui/Controls/QuickNavigation/QuickNavigationViewModelTest.cs
3,867
C#
#region Copyright & License /* Copyright (c) 2022, Integrated Solutions, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, t...
43.707865
754
0.749871
[ "BSD-3-Clause" ]
ISI-Extensions/ISI.Extensions
src/ISI.Extensions.Telephony.MessageBus/Calls/DataTransferObjects/OnOutboundVoiceRequest.cs
3,890
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.DynamicData; using System.Web.UI; using System.Web.UI.WebControls; namespace Chapter12Dynamic { public partial class Default_EditEntityTemplate : System.Web.DynamicData.EntityTemplateUserControl { private Met...
29.588235
100
0.719682
[ "MIT" ]
julielerman/ProgrammingEntityFrameworkBook
Programming EF 2nd Edition/2e Chapter 12 ASPNET Apps/Chapter12Dynamic/DynamicData/EntityTemplates/Default_Edit.ascx.cs
1,511
C#
// MIT License // // Copyright (c) 2016-2018 Wojciech Nagórski // Michael DeMond // // 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 wit...
33.74
81
0.737996
[ "MIT" ]
SuricateCan/ExtendedXmlSerializer
src/ExtendedXmlSerializer/ReflectionModel/ArrayDimensions.cs
1,690
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.259259
151
0.601887
[ "MIT" ]
HenocEtienne2512/Git
29-07-2019 a 20-08-2019/TabelaDeVisualizacaoDeValores/TabelaDeVisualizacaoDeValores/Properties/Settings.Designer.cs
1,062
C#
using Microsoft.Xna.Framework; namespace Nez.UI { public interface IInputListener { void OnMouseEnter(); void OnMouseExit(); /// <summary> /// if true is returned then onMouseDown/Up will be called else they will not be called /// </summary> /// <returns><c>true</c>, if mouse pressed was oned, <c>fals...
32.135135
141
0.70143
[ "Apache-2.0", "MIT" ]
Paramecium13/Nez
Nez.Portable/UI/Base/IInputListener.cs
1,191
C#
// ----------------------------------------------------------------------- // <copyright file="ServiceDataException.cs" company="Plantarium Co."> // Plantarium, MIT // </copyright> // ----------------------------------------------------------------------- namespace Plantarium.Service.Common.Exceptions { using ...
40.554054
188
0.594469
[ "MIT" ]
Plantarium-Co/Plantarium
src/Service/Plantarium.Service.Common/Exceptions/ServiceDataException.cs
3,003
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request to get a sip device type. /// See Also: SystemDeviceTypeGetRequest ...
31.531915
131
0.653171
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemSIPDeviceTypeGetRequest19.cs
1,482
C#
using Agiil.Domain.TicketCriterionConvertionStrategies; using Agiil.Domain.Tickets.Specs; using Agiil.Domain.TicketSearch; using Agiil.Tests.Attributes; using Moq; using NUnit.Framework; using AutoFixture.NUnit3; using System; using System.Collections.Generic; using System.Linq; using CSF.Collections; namespace Agiil...
36.789855
157
0.626551
[ "MIT" ]
csf-dev/agiil
Tests/Agiil.Tests.Domain/TicketCriterionConvertionStrategies/HasAllLabelsConversionStrategyTests.cs
5,079
C#
// HO=False using System; // using System; using System.Collections.Generic; // using System.Collections.Generic; using System.Linq; // using System.Linq; using System.Text; // using System.Text; // namespace Charlotte // namespace Charlotte { // { public struct AccessCustomNeonRoute // public struct I2Point { //...
61
385
0.838339
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Confused_01/tmpsol_mid/Elsa20200001/Commons/I2Point.cs
16,716
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using EncompassRest.Utilities; namespace EncompassRest.Loans.Associates { /// <summary> /// The Loan Associates Apis. /// </summary> public interface ILoanAssociates : ILoanApiObject { ///...
63.848624
215
0.677491
[ "MIT" ]
Oxymoron290/EncompassRest
src/EncompassRest/Loans/Associates/LoanAssociates.cs
13,921
C#
namespace Apex.ConnectApi { using ApexSharp; using ApexSharp.ApexAttributes; using ApexSharp.Implementation; using global::Apex.System; /// <summary> /// https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ConnectAPI_QuestionAndAnswers_static_methods.htm#apex_ConnectAP...
34.764706
184
0.681331
[ "MIT" ]
apexsharp/apexsharp
Apex/ConnectApi/QuestionAndAnswers.cs
1,773
C#
// Copyright 2016 SerilogTimings Contributors // // 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...
53.278481
144
0.680447
[ "Apache-2.0" ]
EamonHetherton/serilog-timings
src/SerilogTimings/Extensions/LoggerOperationExtensions.cs
4,211
C#
namespace BlockChanPro.Model.Contracts { public class TransactionSigned { public Transaction Data { get; } public Hash Sign { get; } public TransactionSigned(Transaction data, Hash sign) { Data = data; Sign = sign; } } }
17.214286
55
0.688797
[ "MIT" ]
iZakaroN/BlockChainPro
Model/Contracts/TransactionSigned.cs
241
C#
 #pragma warning disable 649 // We don't care about unused fields here, because they are mapped with the input file. namespace GitHubLabeler.DataStructures { internal class GitHubIssueTransformed { public string ID; public string Area; //public float[] Label; // -> Area...
30.666667
115
0.641304
[ "MIT" ]
27theworldinurhand/machinelearning-samples
samples/csharp/end-to-end-apps/MulticlassClassification-GitHubLabeler/GitHubLabeler/GitHubLabelerConsoleApp/DataStructures/GitHubIssueTransformed.cs
646
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #region Using directives using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Management.Automation; using System.Management.Automation.Runspaces; using System.Globalization; using Microsoft.Managem...
34.041316
190
0.537715
[ "MIT" ]
BluPerf/PowerShell
src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionOperations.cs
44,492
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; namespace DotNext.Linq.Expressions { /// <summary> /// Represents <c>for</c> loop as expression. /// </summary> /// <seealso href="https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/for">for Stat...
42.971429
146
0.598848
[ "MIT" ]
GerardSmit/dotNext
src/DotNext.Metaprogramming/Linq/Expressions/ForExpression.cs
9,024
C#
using Binance.Net.Objects.Spot.SpotData; using Kucoin.Net.Objects; using SolBo.Shared.Domain.Enums; using SolBo.Shared.Extensions; using System; namespace SolBo.Shared.Domain.Statics { public static class LogGenerator { public static string ValidationSuccess(string ruleAttribute) => $"Vali...
56.735714
202
0.617525
[ "MIT" ]
CryptoDevTV/SolBo
SolBo/SolBo.Shared/Domain/Statics/LogGenerator.cs
7,945
C#
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
37.147059
82
0.625099
[ "MIT" ]
baetz-daniel/Toolkit
Source/Toolkit/SharpDX.Toolkit/Graphics/SpriteFontData.Glyph.cs
2,528
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.970588
153
0.643478
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/DeviceAppManagementWdacSupplementalPoliciesCollectionResponse.cs
1,495
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class CTests { [TestMethod] public void TestMethod1() { var input = @"3 3 5 -1"; var output = @"12 8 10"; Tester.InOutTest(() => Tasks.C.Solve(), input, outpu...
17.808511
67
0.494624
[ "CC0-1.0" ]
AconCavy/AtCoder.Tasks.CS
ABC/ABC092/Tests/CTests.cs
837
C#
using Godot; using System; public class ColorListEntryEditor : HBoxContainer { [Signal] public delegate void deleted(ColorListEntryEditor node); [Signal] public delegate void changed(ColorListEntryEditor node, Color color); public override void _Ready() { GetNode<ColorPickerButton>("Co...
25.607143
113
0.684798
[ "MIT" ]
spacechase0/StardewEditor3
Util/ColorListEntryEditor.cs
717
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...
39.884615
213
0.756991
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementAndStatementStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentGetArgs.cs
1,037
C#
using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.Ajax.Utilities; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DllUnitTest { /// <summary> /// Summary description for SourceDirective /// </summary> [TestClass] public c...
36.910256
136
0.53074
[ "MIT" ]
Microsoft/ajaxmin
DllUnitTest/SourceDirective.cs
5,760
C#
using System; namespace MIMP.Window { public class ScreenEventArgs : EventArgs { public IScreen Screen { get; } public ScreenEventArgs(IScreen screen) { Screen = screen ?? throw new ArgumentNullException(nameof(screen)); } } }
16.055556
79
0.602076
[ "MIT" ]
DavenaHack/WIMP
src/MIMP.Window/ScreenEventArgs.cs
291
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.Collections.Immutable; using System.Diagnostics; using System.Reflection.Metadata; using System.Runtime.InteropServices; using Sys...
29.465517
161
0.548274
[ "Apache-2.0" ]
HaloFour/roslyn
src/Debugging/Microsoft.DiaSymReader.PortablePdb/PortablePdbReader.cs
3,420
C#
using LogicAPI.Server.Components; using LogicLog; using System; namespace potatochips { public class HexDisplay : LogicComponent { private bool _data0 { get { return base.Inputs[0].On; } } private bool _data1 { get { return base.Inputs[1].On; } } private ...
17.113043
89
0.477134
[ "MIT" ]
Vandesm14/Potato-Chips
src/server/HexDisplay.cs
1,968
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public partial class IdentifierType: ICommonType { public object GetValue() { return this.Value; } public void SetValue(object fieldValue) { this.Value = fieldValue...
16.630208
79
0.569057
[ "MIT" ]
WEBCON-BPS/BPSExt-PEF
WebCon.BpsExt.PEF/CustomActions/XmlHelper/xsd_output_ext.cs
3,195
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using JMW.Collections; using JMW.IO; namespace JMW.Networking.Junos.Parser { public class Tokenizer { private readonly string _objectStart = @"{"; private readonly string _object...
29.245823
122
0.431288
[ "MIT" ]
walljm/JMW.Extensions
JMW.Networking/Junos/Parser/Tokenizer.cs
12,256
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Examples.Entities { public class GroupLegacyEntity { public virtual int Id { get; set; } public virtual int GroupNo { get; set; } public virtual string Name {...
20.4
65
0.671569
[ "MIT" ]
rungwiroon/QSS.Base
src/Examples/Entities/GroupLegacyEntity.cs
410
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using ByteBee.Framework.Configuring.Abstractions; using ByteBee.Framework.Configuring.Abstractions.DataClasses; namespace ByteBee.Framework.Configuring { public sealed class StandardConfigProvider : IConfigProvider { ...
31.966102
84
0.61983
[ "MIT" ]
ByteBee/ByteBee
Configuring/StandardConfigProvider.cs
1,888
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ namespace StarForce { /// <summ...
20.447368
63
0.384813
[ "MIT" ]
963148894/StarForceOrign
Assets/GameMain/Scripts/UI/UIFormId.cs
818
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...
37.025424
171
0.607691
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.ElasticBeanstalk/Model/Internal/MarshallTransformations/CheckDNSAvailabilityResponseUnmarshaller.cs
4,369
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "RamenDish", menuName = "ScriptableObjects/HiraganaCharacters/RamenDish", order = 4)] public class RamenDishes : ScriptableObject { [SerializeField] string dishName; [SerializeField] List<Character> listO...
22.777778
113
0.677073
[ "MIT" ]
aantonb2018/LearnWithRamenRepository
LearnWithRamen/Assets/Scripts/RamenDishes.cs
1,025
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
28.362963
463
0.708801
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.Web/System.Web.UI.WebControls.DataBoundControl.cs
3,829
C#