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.Linq; using System.Text; using System.Net; using NUnit.Framework; using Kayak; using System.Threading; using Kayak.Tests.Net; using Kayak.Tests; using System.Diagnostics; namespace Kayak.Tests.Net { // TODO // - closes connection if n...
26.9625
85
0.540566
[ "MIT" ]
kayakhttp/kayak
Kayak.Tests/Net/ServerTests.cs
2,159
C#
namespace FoodRecipes.Test.Controllers { using Microsoft.AspNetCore.Mvc.Testing; using System.Threading.Tasks; using Xunit; public class HomeControllerSystemTest : IClassFixture<WebApplicationFactory<Startup>> { private readonly WebApplicationFactory<Startup> factory; public HomeC...
26.892857
89
0.634794
[ "MIT" ]
MihailMilenkov/Food.Recipes.ASP.Net
FoodRecipes.Test/Controllers/HomeControllerSystemTest.cs
755
C#
using leetcodeinterviewquestions.Trees_and_Graphs; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UnitTests.Trees_and_Graphs { public class NumberOfIslandsTest { private NumberOfIslands solution; [SetUp] public voi...
23.545455
103
0.598456
[ "MIT" ]
YLiohenki/leetcodeinterviewquestions
UnitTests/Trees and Graphs/NumberOfIslands.cs
1,038
C#
using DarkSoulsII.DebugView.Core; namespace DarkSoulsII.DebugView.Model.Events { public class MapObjectBonfire : IReadable<MapObjectBonfire>, IFixedSize { public const byte KindledMask = 1; public const byte AscentionLevelMask = 254; public ushort Id { get; set; } public bool ...
28.939394
120
0.609424
[ "MIT" ]
Atvaark/DarkSoulsII.DebugView
DarkSoulsII.DebugView.Model/Events/MapObjectBonfire.cs
957
C#
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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:...
34.847826
87
0.683094
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v3
src/Gallio/Gallio.Tests/Model/Filters/FilterRuleTest.cs
1,603
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("Ag...
38.243243
84
0.74841
[ "MIT" ]
harlandgomez/woc
src/AgentDetails/Properties/AssemblyInfo.cs
1,418
C#
using System.Diagnostics; using System.Net; using Microsoft.AspNetCore.Http; using HotChocolate.AspNetCore.Instrumentation; using HotChocolate.AspNetCore.Serialization; using HotChocolate.Language; using HttpRequestDelegate = Microsoft.AspNetCore.Http.RequestDelegate; namespace HotChocolate.AspNetCore; public sealed ...
37.527273
97
0.619186
[ "MIT" ]
ChilliCream/prometheus
src/HotChocolate/AspNetCore/src/AspNetCore/HttpGetMiddleware.cs
6,192
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Graphics.Printing { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class PrintTaskCompletedEventArgs { #if __ANDROID__ || __IOS_...
32.826087
153
0.762914
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Graphics.Printing/PrintTaskCompletedEventArgs.cs
755
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 Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Razor.Internal; using Microsoft.Extensions.FileProviders; using Moq; namespace Micr...
35.928571
111
0.734592
[ "Apache-2.0" ]
Kartikexp/MvcDotnet
test/Microsoft.AspNetCore.Mvc.RazorPages.Test/TestRazorProjectFileSystem.cs
1,008
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...
26.325
106
0.591168
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/KinesisFirehose/Generated/AmazonKinesisFirehoseConfig.cs
2,106
C#
using System.Security.Claims; using System.Threading.Tasks; using Emeraude.Infrastructure.Identity.Services; using Microsoft.AspNetCore.Authentication; namespace Emeraude.Infrastructure.Identity.ExternalProviders; /// <summary> /// Provides external provider authenticator for registration and consuming external auth...
30.895833
109
0.675657
[ "Apache-2.0" ]
emeraudeframework/emeraude
src/Emeraude.Infrastructure.Identity/ExternalProviders/IExternalProviderAuthenticator.cs
1,485
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Text.Json.Serialization; using Json.Pointer; namespace Json.Schema { /// <summary> /// Handles `allOf`. /// </summary> [Applicator] [SchemaPriority(20)] [SchemaKeyword(Name)] [SchemaDraft(Draft.Draft6)] [Sc...
33.156028
136
0.717005
[ "MIT" ]
ConnectionMaster/json-everything
JsonSchema/AllOfKeyword.cs
4,677
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; namespace Microsoft.AspNetCore.Builder { public static class EndpointRoutingApplicationBuilderExtensions { public static IApplicationBuilder UseEndpointsWithFallbackRoute(this IApplicationBuilder app) { return ...
34.157895
166
0.662558
[ "Apache-2.0" ]
EnergeticApps/Energetic.WebApis.Extensions
Routing/EndpointRoutingApplicationBuilderExtensions.cs
651
C#
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using FsCheck.MsTest.Examples.ClassesToTest; namespace FsCheck.MsTest.Examples { [TestClass] public class SampleTests { [TestMethod] public void RevRev() { Prop.ForAll<int[]>(xs => xs.R...
34.413462
84
0.481419
[ "BSD-3-Clause" ]
Andrea/FsCheck
examples/FsCheck.MsTest.Examples/SampleTests.cs
3,581
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerDeadState : PlayerState { public PlayerDeadState(Player player, PlayerStateMachine stateMachine, PlayerData playerData, string animBoolName) : base(player, stateMachine, playerData, animBoolName) { } }
28.454545
173
0.795527
[ "MIT" ]
SchoolHours/paint-jam-2021
Assets/Scripts/Player/States/SubStates/PlayerDeadState.cs
313
C#
using System; using System.Collections.Generic; using System.Text; namespace Beer.DaAPI.Core.Notifications { public interface INotificationTriggerSource { IEnumerable<NotifcationTrigger> GetTriggers(); void ClearTriggers(); } }
20
55
0.723077
[ "MIT" ]
just-the-benno/Beer
src/DaAPI/Service/Beer.DaAPI.Service.Core/Notifications/INotificationTriggerSource.cs
262
C#
using System.Collections.Generic; using GraphQL.Types; using GreenHouse.GraphQL.schemas.models; namespace GreenHouse.GraphQL.queries { public class RootQuery : ObjectGraphType { public RootQuery(IEnumerable<ISchemaGroup> queries) { Name = "Query"; foreach (var query in q...
24.466667
64
0.66485
[ "MIT" ]
GagiuFilip1/GreenHouse.WebApi
GreenHouse.WebApi/GraphQL/queries/RootQuery.cs
367
C#
#region MIT // // Gorgon. // Copyright (C) 2018 Michael Winsor // // 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,...
39.788889
124
0.631388
[ "MIT" ]
Tape-Worm/Gorgon
Gorgon/Gorgon.Renderers/IO.Gorgon2D/Codecs/_Internal/JsonSize2FConverter.cs
3,583
C#
/* * Created by SharpDevelop. * User: Administrator * Date: 2006-12-16 * Time: 3:11 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; namespace NChardet { /// <summary> /// Description of EUCJPStatistics. /// </summary> public class EUCJPStatistics : EUCSt...
39.588477
82
0.418087
[ "BSD-2-Clause" ]
thinksea/NChardet
EUCJPStatistics.cs
9,622
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SRPApp.Classes; using GRA.SRP.ControlRooms; using GRA.SRP.Core.Utilities; using GRA.SRP.DAL; using GRA.SRP.Utilities.CoreClasses; namespace GRA.SRP.Contro...
33.47619
83
0.515292
[ "MIT" ]
iafb/greatreadingadventure
SRP/ControlRoom/Modules/Setup/SurveyClone.aspx.cs
2,814
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telerik.Data.Core; using Telerik.UI.Xaml.Controls.Grid.Primitives; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; namespace Telerik.UI.Xaml.Controls.Grid.Commands { ...
36.510638
175
0.583333
[ "Apache-2.0" ]
JackWangCUMT/UI-For-UWP
Controls/Grid/Grid.UWP/View/Services/Commands/ColumnHeader/ColumnHeaderActionCommand.cs
3,434
C#
using System; using System.Collections.Generic; using System.Linq; namespace BlazorWorker.Core { /// <summary> /// Options for initializing the worker. /// </summary> public class WorkerInitOptions { /// <summary> /// Creates a new instance of WorkerInitOptions /// </summar...
38.439306
201
0.61188
[ "MIT" ]
Tewr/BlazorWorker
src/BlazorWorker.WorkerCore/InitOptions.cs
6,652
C#
#region Copyright notice and license // Copyright 2019 The gRPC 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...
33.269231
106
0.753757
[ "Apache-2.0" ]
Alibesharat/grpc-dotnet
test/FunctionalTests/Infrastructure/TestConstants.cs
867
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
87.779453
1,301
0.662304
[ "MIT" ]
BurgerZ/azure-powershell
src/KubernetesConfiguration/generated/api/KubernetesConfiguration.cs
92,074
C#
#if NET_2_0 // Book.cs using System; using System.ComponentModel; using System.Security.Permissions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Samples.AspNet.CS.Controls { [ AspNetHostingPermission(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.Minim...
27.071066
72
0.511907
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Tests/Book.cs
5,333
C#
using System; using System.Drawing; using Gwen.Input; namespace Gwen.Control { /// <summary> /// Horizontal scrollbar. /// </summary> public class HorizontalScrollBar : ScrollBar { /// <summary> /// Bar size (in pixels). /// </summary> public override int BarSize ...
28.990244
100
0.504122
[ "MIT" ]
BreyerW/Sharp.Engine
Gwen/Control/HorizontalScrollBar.cs
5,945
C#
using UnityEngine; namespace YooAsset { internal class YooAssetDriver : MonoBehaviour { void Update() { YooAssets.InternalUpdate(); } } }
15.583333
49
0.566845
[ "MIT" ]
zhangfeitao/YooAsset
Assets/YooAsset/Runtime/YooAssetDriver.cs
189
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...
40.971429
125
0.624826
[ "MIT" ]
DInozemtsev/UnitsNet
UnitsNet.NumberExtensions/GeneratedCode/NumberToLuminousFluxExtensions.g.cs
1,436
C#
/************************************************* Copyright (c) 2021 Undersoft System.Instant.Sqlset.SqlDbSchema.cs @project: Undersoft.Vegas.Sdk @stage: Development @author: Dariusz Hanc @date: (05.06.2021) @licence MIT *************************************************/ namespace System....
29.689266
198
0.533968
[ "MIT" ]
undersoft-org/NET.Undersoft.Sdk.Devel
NET.Undersoft.Vegas.Sdk/Undersoft.System.Instant.Sqlset/Schema/SqlDbSchema.cs
5,257
C#
// // RedundantObjectOrCollectionInitializerIssue.cs // // Author: // Mansheng Yang <lightyang0@gmail.com> // // Copyright (c) 2012 Mansheng Yang <lightyang0@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (th...
39.333333
109
0.755778
[ "MIT" ]
4lab/ILSpy
NRefactory/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/RedundantObjectOrCollectionInitializerIssue.cs
2,598
C#
/* * Copyright 2014 Splunk, Inc. * * 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 t...
29.72619
76
0.568682
[ "Apache-2.0" ]
glennblock/splunk-sdk-csharp-pcl
src/Splunk.ModularInputs/Splunk.safe/ModularInputs/EventElement.cs
2,499
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("Eoam.Task8.EmailFi...
39.108108
99
0.76434
[ "MIT" ]
NurAliia/XT-2018Q4
Epam.Task8/Eoam.Task8.EmailFinder/Properties/AssemblyInfo.cs
2,027
C#
#region License /* * File: Program.cs * * The MIT License * * Copyright © 2017 - 2020 AVSP Ltd * * 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 with...
32.918919
117
0.66133
[ "Unlicense" ]
ninjaoxygen/VsIdeBuild
Program.cs
2,439
C#
using System; using System.Collections.Generic; using System.Linq; using Grasshopper.Kernel; using Grasshopper.Kernel.Types; using Grasshopper.Kernel.Parameters; using Rhino.Geometry; using Parametric_FEM_Toolbox.UIWidgets; using Parametric_FEM_Toolbox.HelperLibraries; using Parametric_FEM_Toolbox.Utilities; using...
43.87931
178
0.586149
[ "Apache-2.0" ]
Sonderwoods/Parametric-FEM-Toolbox
Parametric_FEM_Toolbox/Parametric_FEM_Toolbox/Deprecated/Component_RFNodalLoad_GUI_OBSOLETE.cs
10,182
C#
using System; using System.Collections.ObjectModel; using System.Threading.Tasks; using BlissXamarinApp.Interfaces; using BlissXamarinApp.Models; using BlissXamarinApp.Utils; using Xamarin.Forms; namespace BlissXamarinApp.ViewModels { public class MainViewModel : BaseViewModel { private readonly IBlis...
29.23125
117
0.496258
[ "MIT" ]
ejastre/BlissXamarinApp
BlissXamarinApp/BlissXamarinApp/ViewModels/MainViewModel.cs
4,679
C#
using ASTRA.EMSG.Business.Entities.Mapping; using ASTRA.EMSG.Common.Enums; namespace ASTRA.EMSG.Business.Entities.Common { [TableShortName("TUI")] public class TestUserInfo : Entity { public const string IntegrationTestUserName = "Test"; public virtual string Us...
30.9
104
0.61165
[ "BSD-3-Clause" ]
astra-emsg/ASTRA.EMSG
Master/ASTRA.EMSG.Business/Entities/Common/TestUserInfo.cs
618
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using HelseID.Common.Crypto; using HelseID.Common.Extensions; using IdentityModel; using Microsoft.IdentityModel....
41.609467
254
0.616468
[ "MIT" ]
uringeller/HelseID.Samples
HelseId.Common/Jwt/JwtGenerator.cs
7,034
C#
using System; using System.Collections.Generic; using System.Text; namespace Tensorflow.Keras.Losses { public abstract class Loss { } }
13.636364
33
0.72
[ "Apache-2.0" ]
mahedee/TensorFlow.NET
src/TensorFlowNET.Keras/Losses/Loss.cs
152
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ISAAR.MSolve.PreProcessor.Interfaces; using System.IO; using System.Globalization; using System.Diagnostics; namespace ISAAR.MSolve.PreProcessor.Stochastic { public class LognormalPCFileStochasticCoefficientsProvider : ISt...
44.611765
235
0.592695
[ "Apache-2.0" ]
Ambros21/MSolve
ISAAR.MSolve.PreProcessor/Stochastic/LognormalPCFileStochasticCoefficientsProvider.cs
7,586
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TreeGP { public class Constants { /// <summary>Maximum log on the machine.</summary> public const double LogMax = 7.09782712893383996732E2; /// <summary>Square root of 2: sqrt(2).</summary>...
27.208333
73
0.664625
[ "MIT" ]
chen0040/cs-tree-genetic-programming
cs-tree-genetic-programming/Constants.cs
656
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Game.Items.Weapons { abstract class Weapon : Item { public int Damage { get; protected set; } } }
17.571429
49
0.703252
[ "MIT" ]
Rinkton/console_game-forest_demon
NewRpgGame/Game/Items/Weapons/Weapon.cs
248
C#
using System; using DynamicData.Tests.Domain; using FluentAssertions; using Xunit; namespace DynamicData.Tests { public class EnumerableExFixtures { private readonly Person _person1 = new Person("One", 1); private readonly Person _person2 = new Person("Two", 2); private readonly Person...
32.833333
78
0.57665
[ "MIT" ]
CaseNewmark/DynamicData
src/DynamicData.Tests/EnumerableExFixtures.cs
1,972
C#
using EddiDataDefinitions; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EddiEvents { public class ShipSoldEvent : Event { public const string NAME = "Ship sold"; public const string DESCRIPT...
32.978261
167
0.603823
[ "Apache-2.0" ]
draconas1/EDDIWithMissionTrack
Events/ShipSoldEvent.cs
1,519
C#
using System; using System.Net.Http; using System.Collections.Generic; using System.Threading.Tasks; using System.Text; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Full...
28.653846
127
0.716779
[ "MIT" ]
hubity/PostManager-dotnet
Client/Program.cs
745
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using ThScoreFileConverter.Models; using ThScoreFileConverter.Models.Th13; using IClearData = ThScoreFileConverter.Models.Th13.IClearData< ThScoreFileConverter.Mod...
39.673469
114
0.647977
[ "BSD-2-Clause" ]
armadillo-winX/ThScoreFileConverter
ThScoreFileConverterTests/Models/Th13/PracticeReplacerTests.cs
5,834
C#
using static System.Console; namespace Debugging { class Program { static double Add(double a, double b) { return a + b; // deliberate bug! } static void Main(string[] args) { double a = 4.5; // or use var double b = 2.5; double answer = Add(a, b); ...
20.142857
50
0.51773
[ "MIT" ]
PacktPublishing/CSharp-8.0-and-.NET-Core-3.0-Modern-Cross-Platform-Development-Third-Edition
Chapter04/Debugging/Program.cs
425
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("R...
34.560976
84
0.744531
[ "Apache-2.0" ]
karlgrz/rethinkdb-net
rethinkdb-net-newtonsoft/Properties/AssemblyInfo.cs
1,420
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Threading; using TXTCommunication.Fischertechnik.Txt.Command; using TXTCommunication.Fischertechnik.Txt.Response; using TXTCommunication.Utils; namespace TXTCommunication.Fisch...
30.481781
131
0.496879
[ "MIT" ]
Bennik2000/FtApp
FtApp/FtApp/Fischertechnik/Txt/TxtCommunication.cs
7,531
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
46.986807
161
0.603324
[ "BSD-3-Clause" ]
SignpostMarv/opensim
OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs
17,808
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace StarterProjec...
32.673913
109
0.669993
[ "MIT" ]
LHGames-2017/AtLeastYouTried
LHGames/Startup.cs
1,505
C#
using Firk.Core; namespace Movselex.Core.Models { public interface IMovselexAppConfig : IAppConfig { string MpcExePath { get; } int ScreenNo { get; } bool IsFullScreen { get; } } }
19.818182
52
0.619266
[ "MIT" ]
finalstream/Movselex
Movselex.Core/Models/IMovselexAppConfig.cs
220
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. #nullable disable using System.Collections; using System.ComponentModel; using System.Diagnostics; namespace Syste...
25.990536
117
0.451632
[ "MIT" ]
GrabYourPitchforks/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupCollection.cs
8,239
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using WDE.Common.Database; using WDE.Common.Services.MessageBox; using WDE.MVVM.Observable; using WDE.SmartScriptEditor.Data; using WDE.SmartScriptEditor.Models.Helpers; namespace WDE.SmartScriptEditor.M...
36.228916
140
0.516545
[ "Unlicense" ]
T1ti/WoWDatabaseEditor
WDE.SmartScriptEditor/Models/SmartScriptBase.cs
12,030
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Northwind.Dal.Abstract; using Northwind.Entities; namespace Northwind.Dal.Abstract.ICategory { public interface ICategoryDal { List<Category> GetAll(); } }
18.75
42
0.75
[ "MIT" ]
erhankiyakk/Northwind_ASP.NET
Northwind.Dal/Abstract/ICategory/ICategoryDal.cs
302
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using NewLife; using NewLife.Collections; using NewLife.Data; namespace XCode.DataAccessLayer { internal class PostgreSQL...
42.133038
1,807
0.569572
[ "MIT" ]
qaz734913414/X
XCode/DataAccessLayer/Database/PostgreSQL.cs
19,998
C#
//--------------------------------------------------------------------- // <copyright file="GlobalSuppressions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //--------------------------------------------------------------------- // This file is used by Code A...
155.509804
235
0.799647
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/DataWebControls/GlobalSuppressions.cs
7,931
C#
namespace UnravelTravel.Services.Data.Contracts { using System.Collections.Generic; using System.Threading.Tasks; using UnravelTravel.Models.ViewModels.Countries; public interface ICountriesService { Task<IEnumerable<CountryViewModel>> GetAllAsync(); } }
22.307692
58
0.737931
[ "MIT" ]
EmORz/Simple_Example_Projects
UnravelTravel-master/src/Services/UnravelTravel.Services.Data/Contracts/ICountriesService.cs
292
C#
using UnityEngine; public static class MeshGenerator { public static MeshData GenerateTerrainMesh(float[,] heightMap, float heightMultiplier, AnimationCurve meshHeightCurve, int levelOfDetail) { int width = heightMap.GetLength(0); int height = heightMap.GetLength(1); float topLeftX = (...
32.056338
151
0.592267
[ "MIT" ]
pwroff/landmass-generetor
Assets/Scripts/MeshGenerator.cs
2,278
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayTradePayModel Data Structure. /// </summary> public class AlipayTradePayModel : AlipayObject { /// <summary> /// 支付模式类型,若值为ENJOY_PA...
34.171053
272
0.584007
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradePayModel.cs
10,753
C#
#nullable enable using Lidgren.Network; using Robust.Shared.Network; namespace Content.Shared.Preferences { /// <summary> /// The client sends this to delete a character profile. /// </summary> public class MsgDeleteCharacter : NetMessage { #region REQUIRED public const MsgGroups ...
23.470588
78
0.636591
[ "MIT" ]
GalacticChimp/space-station-14
Content.Shared/Preferences/MsgDeleteCharacter.cs
800
C#
using Xunit; using DotNetCoreKoans.Engine; namespace DotNetCoreKoans.Koans { public class AboutAsserts : Koan { //We shall contemplate truth by testing reality, via asserts. [Step(1)] public void AssertTruth() { Assert.True(true); //This should be true } ...
26.958333
81
0.564142
[ "MIT" ]
icole/DotNetCoreKoans
Koans/AboutAsserts.cs
1,294
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Microsoft.TeamFoundation.SourceControl.WebApi; using Microsoft.TeamFoundation.Build.WebApi; using Microsoft.VisualStudio.Services.Common; using Microsoft.VisualStudio.Services.WebApi; using System; using System.Collections.Generic; using System....
39.902439
156
0.692543
[ "MIT" ]
cveld/PipelineCacher
PipelineCacher/Server/Controllers/BuildController.cs
1,638
C#
//----------------------------------------------------------------------- // <copyright file="ISupportsPrefabSerialization.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Li...
41.333333
86
0.605645
[ "MIT" ]
coding2233/UnityGameFramework
Libraries/OdinSerializer/Unity Integration/SerializedUnityObjects/ISupportsPrefabSerialization.cs
1,240
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. //...
43.574468
84
0.58252
[ "Apache-2.0" ]
RetroRabbit/CDS-Core
CDS.Core.Client.DataAccessLayer/DB/Readonly/VW_OrderInventoryHistory.cs
4,096
C#
 using DotNetNuke.Entities.Modules; public class NZSolutionSettingsBase : ModuleSettingsBase { }
14.142857
56
0.818182
[ "MIT" ]
EL-BID/Nexso
VS2013_PROJECT/NZPortalWeb/DesktopModules/Nexso/NZSolution/NZSolutionModuleSettingsBase.cs
101
C#
// Copyright (c) 2021 homuler // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. using System.Collections.Generic; using UnityEngine; namespace Mediapipe.Unity { public class CuboidListAnnotation : ListAnnotation<C...
27.840278
135
0.671988
[ "MIT" ]
62-26Nonny/MuscleLand
Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Annotation/CuboidListAnnotation.cs
4,009
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Get a route point's holiday service settings. /// The response is either a Gr...
31.162791
129
0.65597
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupRoutePointHolidayServiceGetRequest20.cs
1,340
C#
using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using System.Text; namespace ASF.Internal.Security { public static class RSA { //encoded OID sequence for PKCS #1 rsaEncryption szOID_RSA_RSA = "1.2.840.113549.1.1.1" private static byte[] Seq...
41.548747
168
0.523599
[ "MIT" ]
AClumsy/ASF
src/ASF.Core/Internal/Security/RSA.cs
15,170
C#
using CourseTracker.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace CourseTrackerApi { public class WebApiApplication : System.Web....
29.035714
90
0.726937
[ "MIT" ]
MichaelGustavsson/8440-20486
Mod13/CourseTrackerApi/Global.asax.cs
815
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
31.051724
83
0.629095
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Monitor/V20180724/Models/DataPoint.cs
1,921
C#
namespace Xtrimmer.SqlDatabaseBuilder { internal class NVarChar : VariableCharacterSet { internal NVarChar() { } internal NVarChar(int n) { if (n == -1) { isMax = true; } else { N = n; ...
20.68
67
0.45648
[ "Apache-2.0" ]
Xtrimmer/SqlDatabaseBuilder
src/SqlDatabaseBuilder/DataTypes/CharacterSet/NVarChar.cs
519
C#
using System; namespace LINE_Webhook.Areas.HelpPage.ModelDescriptions { /// <summary> /// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMulti...
31.277778
136
0.667851
[ "MIT" ]
Jutha1234/linebotTest
LINE-Webhook/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs
563
C#
#pragma checksum "C:\Users\seda3\source\repos\BookStore3\BookStore3\Views\Books1\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1d0a25611d6bde0d2e2de31299f5787e9c5c836e" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(As...
72.912736
351
0.736148
[ "MIT" ]
AkarSeda/BookStore3
BookStore3/obj/Debug/net5.0/Razor/Views/Books1/Create.cshtml.g.cs
30,915
C#
using System; namespace NullArgumentExceptions.Classes; public class MyClassDotNet6 { private readonly string paramName; public MyClassDotNet6(string paramName) { ArgumentNullException.ThrowIfNull(paramName); this.paramName = paramName; } public static string MyMethod(string par...
20.095238
53
0.708531
[ "MIT" ]
DamirsCorner/20211224-dotnet-null-argument-exceptions
NullArgumentExceptions/Classes/MyClassDotNet6.cs
424
C#
using System.Net; using System.Threading.Tasks; using NUnit.Framework; using SnelStart.B2B.V2.Client.Operations; namespace SnelStart.B2B.V2.Client.IntegrationTest { public abstract class CrudTest<T> where T : IIdentifierModel { protected abstract Task<T> CreateNewModelAsync(); protected abstr...
32.361111
139
0.608155
[ "MIT" ]
BeyondDefinition/B2B.client.v2.net
SnelStart.B2B.V2.Client.IntegrationTest/CrudTest.cs
2,332
C#
using Kadmium_sACN.MulticastAddressProvider; using Kadmium_Udp; using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Text; namespace Kadmium_sACN.SacnReceiver { public class MulticastSacnReceiverIPV4 : MulticastSacnReceiver { internal MulticastSacnReceiverIPV4(I...
26.16129
161
0.789149
[ "MIT" ]
iKadmium/kadmium-sacn
Kadmium-sACN/SacnReceiver/MulticastSacnReceiverIPV4.cs
813
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("AttachmentsSampleSystem.Core")] [assembly: ComVisible(false)]
31.2
58
0.801282
[ "MIT" ]
Luxoft/BSSFramework.Attachments
src/_AttachmentsSampleSystem/AttachmentsSampleSystem.Core/Properties/AssemblyInfo.cs
154
C#
using System; namespace Senai.Tsushi.MVC.ViewModel { public class ProdutoViewModel : BaseViewModel { public string Descricao {get; set;} public float Preco {get; set;} public string Categoria {get; set;} } }
22.181818
49
0.651639
[ "MIT" ]
matheusamaralima/Tsushi
ViewModel/ProdutoViewModel.cs
244
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("Ne...
37.916667
84
0.748718
[ "MIT" ]
vladislav-karamfilov/TelerikAcademy
Hybrid Mobile Applications Projects/Newster/Newster.Services/Properties/AssemblyInfo.cs
1,368
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using System.Threading; namespace Baseline { p...
32.673025
121
0.532316
[ "Apache-2.0" ]
JasperFx/Baseline
src/Baseline/StringExtensions.cs
11,991
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Practices.DataPipeline.Logging { using Microsoft.Practices.DataPipeline.Logging.NLog; /// <summary> /// Generic pluggable logger facto...
24.727273
101
0.511555
[ "MIT" ]
averyspa/data-pipeline
src/Implementation/Shared/Core/Logging/LoggerFactory.cs
1,906
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using S...
43.45098
286
0.558664
[ "MIT" ]
KolesnichenkoDS/intrinio-netcore
Intrinio/Model/StockPriceAdjustment.cs
8,864
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Audio; using osu.Framework.Audio.Track; using osu.Framework.Graphics.Textures; using osu.Framework.Graphics....
34.229412
208
0.486853
[ "MIT" ]
Luxiono/osu
osu.Game/Beatmaps/BeatmapManager_WorkingBeatmap.cs
5,652
C#
//------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </自動產生的> //------------------------------------------------------------------------------ namespace Questionnaire1029.SystemAdmin { public ...
25.269841
81
0.458543
[ "MIT" ]
thousandtw/Questionnaire
Questionnaire1029/Questionnaire1029/SystemAdmin/Detail.aspx.designer.cs
2,116
C#
using System; namespace DomainBlocks.Serialization { public interface IEventPersistenceData<out TRawData> { Guid EventId { get; } string EventName { get; } string ContentType { get; } TRawData EventData { get; } TRawData EventMetadata { get; } } }
23.153846
56
0.624585
[ "MIT" ]
JohnCgp/domain-blocks
src/DomainBlocks.Serialization/IEventPersistenceData.cs
303
C#
namespace ASPCore.Angular.EntityFrameworkCore.Seed.Host { public class InitialHostDbBuilder { private readonly AngularDbContext _context; public InitialHostDbBuilder(AngularDbContext context) { _context = context; } public void Create() { ...
26.130435
61
0.62396
[ "MIT" ]
nhungsky/KBook
aspnet-core/src/ASPCore.Angular.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/InitialHostDbBuilder.cs
603
C#
using MTGAHelper.Lib.IoC; using MTGAHelper.Lib.OutputLogParser.EventsSchedule; using MTGAHelper.Lib.OutputLogParser.InMatchTracking; using MTGAHelper.Lib.OutputLogParser.InMatchTracking.GameEvents; using MTGAHelper.Lib.OutputLogParser.Models.GRE.ClientToMatch; using MTGAHelper.Lib.OutputLogParser.OutputLogProgress; us...
48
135
0.721888
[ "MIT" ]
DuncanmaMSFT/MTGAHelper-Windows-Client
MTGAHelper.Lib.OutputLogParser/IoC/SimpleInjectorRegistrations.cs
3,986
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SMSPortalCross { public class Messages { public const int LOGGER_FILE_CREATE = 101; public const int WEBSERVICE_ADD_TO_QUEUE = 201; public const int WE...
22.372093
65
0.659044
[ "MIT" ]
eabasir/sms-portal
SMSPortalCross/Messages.cs
964
C#
// Dragon6 API Copyright DragonFruit Network <inbox@dragonfruit.network> // Licensed under Apache-2. Refer to the LICENSE file for more info using System; namespace DragonFruit.Six.Api.Exceptions { public class UbisoftErrorException : Exception { public UbisoftErrorException() : base("A U...
28.625
132
0.700873
[ "Apache-2.0" ]
dragonfruitnetwork/Dragon6-API
DragonFruit.Six.Api/Exceptions/UbisoftErrorException.cs
460
C#
using Basket.API.Entities; using System.Threading.Tasks; namespace Basket.API.Repositories.IRepository { public interface IBasketRepository { Task<ShoppingCart> GetBasket(string userName); Task<ShoppingCart> UpdateBasket(ShoppingCart basket); Task DeleteBasket(string userName); } }...
24.692308
61
0.732087
[ "MIT" ]
dwivedi-ankita/AspnetMicroservices
src/Services/Basket/Basket.API/Repositories/IRepository/IBasketRepository.cs
323
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace systemDaemon { public class DaemonService : IHostedService, IDisposable { private readonly ILogger _logger; ...
27.552632
90
0.64852
[ "Apache-2.0" ]
Kcils360/systemDaemon
systemDaemon/lib/daemon/DaemonService.cs
1,049
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("Da...
38.891892
84
0.752606
[ "MIT" ]
vladislav-karamfilov/TelerikAcademy
Web Services Projects/Homework-WindowsCommunicationFoundation/DayOfWeekInBulgarianConsoleClient/Properties/AssemblyInfo.cs
1,442
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Couchbase.Linq.QueryGeneration.MethodCallTranslators { class StringTrimMethodCallTranslator : IMethodCallTranslator { pr...
34.285714
134
0.557576
[ "Apache-2.0" ]
amccool/Linq2Couchbase
Src/Couchbase.Linq/QueryGeneration/MethodCallTranslators/StringTrimMethodCallTranslator.cs
2,642
C#
namespace EmailHeaderInspector.Models { public class IPGeolocationResult { [ValidIPAddress] public string ip { get; set; } public string city { get; set; } public string state { get; set; } public string country { get; set; } public string asn { get; set; } } }
21.307692
37
0.685921
[ "MIT" ]
eragonriddle/emailheaderinspector
Models/IPGeolocationResult.cs
277
C#
/** *┌──────────────────────────────────────────────────────────────┐ *│ 描 述:数据库连接选项 *│ 作 者:yilezhu *│ 版 本:1.0 *│ 创建时间:2018/12/16 22:08:46 ...
33.857143
69
0.227848
[ "MIT" ]
RookieBoy666/Czar.Cms-master
src/Czar.Cms.Core/Options/DbOption.cs
1,570
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 ...
29.188679
75
0.575953
[ "Apache-2.0" ]
0xAAE/npoi
testcases/main/POIFS/Storage/LocalProperty.cs
1,549
C#
using System.Collections.Generic; namespace Nomad.DotNet.Model { public class TaskDiff : ApiObject<TaskDiff> { public string Type { get; set; } public string Name { get; set; } public IList<FieldDiff> Fields { get; set; } = new List<FieldDiff>(); public IList<ObjectDiff> Object...
34.307692
80
0.627803
[ "MIT" ]
pedrostc/nomad-dotnet-sdk
src/Nomad.DotNet/Model/TaskDiff.cs
448
C#
using NetWork.Utilities; using ProtoBuf; using System; using System.Collections.Generic; using System.ComponentModel; namespace Package { [ForRecv(768), ForSend(768), ProtoContract(Name = "RoleAttrChangedNty")] [Serializable] public class RoleAttrChangedNty : IExtensible { [ProtoContract(Name = "AttrPair")] [S...
20.245283
133
0.687791
[ "MIT" ]
corefan/tianqi_src
src/Package/RoleAttrChangedNty.cs
2,146
C#
using System; namespace L03.VariationsNoRepetition { internal class Program { private static int K; private static string[] Input; private static string[] Variations; private static bool[] IsUsed; static void Main(string[] args) { Input = Console.Re...
24.581395
64
0.441816
[ "MIT" ]
vassdeniss/software-university-courses
csharp-algorithms-fundamentals/02.CombinatorialProblems/L03.VariationsNoRepetition/Program.cs
1,059
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.PerformanceManagement { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerSt...
20.868852
136
0.729772
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.PerformanceManagement/Question_CategoryObjectIDType.cs
1,273
C#