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.Net.Http; using System.Threading.Tasks; using Grpc.Net.Client; using Grpc.Net.Client.Web; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using MudBlazor...
42.765957
120
0.656219
[ "MIT" ]
nameofSEOKWONHONG/JW2Library
JW2Library.Implement/JBlazorWasm/Program.cs
2,010
C#
using System; using System.IO; using YamlDotNet.Serialization; public class Configuration { public string GameServerIp { get; set; } public int GameServerApiPort { get; set; } public Configuration() { GameServerIp = "127.0.0.1"; GameServerApiPort = 13345; } public static Conf...
21.875
74
0.638095
[ "Apache-2.0" ]
lostinplace/sample-empyrion-mod
Empyrion Mod/Configuration.cs
527
C#
using System.Collections.Generic; using System.IO; namespace AzureDevOpsWikiToPdf { public interface IWikiEntry { string FullName { get; } string MarkdownName { get; } string ReViewName { get; } IReadOnlyList<IWikiEntry> WikiEntries { get; } void Write(TextWriter te...
18.777778
54
0.647929
[ "MIT" ]
nuitsjp/Azure-DevOps-Wiki-to-PDF
Source/AzureDevOpsWikiToPdf/IWikiEntry.cs
340
C#
using System; namespace Faster.Ioc.Zero.Benchmark.Complex { public interface ISubObjectThree { } public class SubObjectThree : ISubObjectThree { public SubObjectThree(IThirdService thirdService) { if (thirdService == null) { throw ne...
17.5
70
0.553846
[ "MIT" ]
Wsm2110/Faster.Ioc.Zero
src/Faster.Ioc.Zero.Benchmark/Complex/SubObjectThree.cs
457
C#
#if !NETCOREAPP using System; using System.Data.OleDb; using FileHelpers.DataLink; using NUnit.Framework; namespace FileHelpers.Tests.DataLink { [TestFixture] [Explicit] [Category("Advanced")] public class DataLinks { private FileDataLink mLink; #region " FillRecord...
38.35743
571
0.554706
[ "MIT" ]
DillonBroadus/FileHelpers
FileHelpers.Tests/Tests/DataLink/DataLinkTests.cs
9,551
C#
using System; using System.IO; using Microsoft.AspNetCore.Http; using Sikiro.Tookits.Base; using Sikiro.Tookits.Extension; namespace Sikiro.Common.Utils { public static class UploadHelper { /// <summary> /// 存放路径 /// </summary> /// <param name="path"></param> /// <param...
27.653846
80
0.477747
[ "MIT" ]
364988343/Sikiro.RBAC
src/GS.Common.Utils/UploadHelper.cs
1,472
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using LiftoffRMAV.Models; namespace LiftoffRMAV.Data { public class ApplicationDbContext : IdentityDbContext<RmavUser,RmavRole,int> { public ...
27.37037
83
0.682003
[ "MIT" ]
AJacobs94/LiftoffRMAV
Data/ApplicationDbContext.cs
741
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CollectionStudy { public class Class1 { static void Main() { var a = new List<int>(); a.TrimExcess(); var stringList = new List<string>() { ...
22.827586
66
0.471299
[ "Apache-2.0" ]
flxwhy/.NetStudy
repos/CollectionStudy/CollectionStudy/Class1.cs
664
C#
using Il2CppSystem.Collections.Generic; using UnityEngine; namespace AudicaModding { internal static class RandomSong { private static int historySize = 10; private static List<string> currentSongs = new List<string>(); private static List<string> currentSongsFull = new ...
30.905405
75
0.484915
[ "MIT" ]
MeepsKitten/SongBrowser
AudicaMod/src/RandomSong/RandomSong.cs
2,289
C#
using System; using System.Drawing; namespace ChromaWrapper.Sdk { /// <summary> /// Represents a special case of <see cref="ChromaColor"/> used in custom keyboard effects that implement the <see cref="IKeyGridEffect"/> interface. /// </summary> /// <remarks> /// The Razer Chroma SDK's keyboard eff...
40.777251
171
0.579847
[ "MIT" ]
poveden/ChromaWrapper
src/Sdk/ChromaKeyColor.cs
8,606
C#
/* * Created by Alexandre Rocha Lima e Marcondes * User: Administrator * Date: 28/09/2005 * Time: 16:13 * * Description: An SQL Builder, Object Interface to Database Tables * Its based on DataObjects from php PEAR * 1. Builds SQL statements based on the objects vars and the builder methods. * 2. acts as a d...
29.017964
105
0.662196
[ "MIT", "BSD-3-Clause" ]
MonoBrasil/CsDO
CsDO.Drivers/SqlServerDriver.cs
4,846
C#
using CertificateManager.Entities; using CertificateManager.Logic; using CertificateManager.Logic.ActiveDirectory; using CertificateManager.Logic.ActiveDirectory.Interfaces; using CertificateManager.Logic.Interfaces; using CertificateManager.Repository; using Microsoft.AspNetCore.Mvc; using System; using System.Collec...
28.255814
147
0.609877
[ "MIT" ]
corymurphy/CertificateManager
CertificateManager/Controllers/ScriptController.cs
2,432
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Protocols.TestTools.StackSdk.Asn1; namespace Microsoft.Protocols.TestTools.StackSdk.Security.KerberosLib { /* KERB-AD-RESTRICTION-ENTRY ::= SEQ...
31.72973
101
0.616269
[ "MIT" ]
0neb1n/WindowsProtocolTestSuites
ProtoSDK/KerberosLib/Asn1Code/Kile/KERB_AD_RESTRICTION_ENTRY.cs
2,348
C#
#if !NETSTANDARD13 /* * 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 ...
34.85
101
0.713056
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/_bcl45+netstandard/IDescribeAutomationExecutionsPaginator.cs
1,394
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="WhenParsingFeatureFiles.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed und...
37.172676
137
0.635988
[ "Apache-2.0" ]
Lordsauron/pickles
src/Pickles/Pickles.Test/WhenParsingFeatureFiles.cs
19,592
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v9/resources/feed_item_target.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protob...
42.107831
509
0.672276
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V9/Types/FeedItemTarget.g.cs
32,802
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> //--...
40.315217
217
0.591264
[ "BSD-3-Clause" ]
CIR2000/Amica.Models
Models/Resources/TransportModeResources.Designer.cs
3,711
C#
// // relationType.cs.cs // // This file was generated by XMLSPY 2004 Enterprise Edition. // // YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE // OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION. // // Refer to the XMLSPY Documentation for further details. // http://www.altova.com/xmlspy // using System; using System...
20.62117
128
0.654194
[ "MIT" ]
Zenithcoder/SCORM-LearningManagementSystem
SCORM_XMLObjects/V1_2/imsmd_rootv1p2p1/relationType.cs
7,403
C#
namespace WildFarm.Models.Animals.Mammals.Felines { using System; using System.Collections.Generic; public class Cat : Feline { private const double IncreaseWeight = 0.30; private List<string> eatableFood = new List<string> { "Vegetable", "Meat", }; public Cat(string name, dou...
30
85
0.657576
[ "MIT" ]
ivanov-mi/SoftUni-Training
03CSharpOOP/05Polymorphism/03WildFarm/Models/Animals/Mammals/Felines/Cat.cs
662
C#
using System; using System.Collections.Generic; using System.Text; namespace EFFC.Frame.Net.Module.Extend.WebGo.Logic { public abstract partial class GoLogic { Extentions _ext = null; public Extentions ExtFunc { get { if (_ext == null) _ext = new...
18.40625
62
0.490662
[ "BSD-2-Clause" ]
redwolf0817/EFFC.Frame.Net.Core
EFFC.Frame.Net.Module.Go/Logic/GoLogic.Extention.cs
591
C#
using MathNet.Numerics; using MathNet.Numerics.LinearAlgebra; using RecSys.Numerical; using System; using System.Collections.Generic; using System.Linq; namespace RecSys.Core { /// <summary> /// This class implements core functions for item recommendations. /// </summary> public class ItemRecommendati...
41.643564
122
0.584879
[ "MIT" ]
wubin7019088/RecSys
src/RecSys/Core/ItemRecommendationCore.cs
4,208
C#
using System.Web.Mvc; using Microsoft.Practices.Unity; using Unity.Mvc5; using Services; namespace InsurerWebApplication { public static class UnityConfig { public static void RegisterComponents() { var container = new UnityContainer(); // register all y...
30.136364
84
0.631976
[ "MIT" ]
petronerd/purus
InsurerWebApplication/App_Start/UnityConfig.cs
663
C#
using Newtonsoft.Json; namespace Ptv.Timetable { [JsonObject()] public class Gps : Item { [JsonProperty(PropertyName = "longitude", NullValueHandling = NullValueHandling.Include)] public double Longitude { get; set; } [JsonProperty(PropertyName = "latitude", NullValueHandling = Nu...
26.6
97
0.671679
[ "Apache-2.0" ]
huming2207/Ptv.Net
Ptv/Timetable/gps.cs
401
C#
using System.Collections.Generic; using System.Linq; namespace UniDi { [NoReflectionBaking] public class FactoryArgumentsToChoiceBinder<TParam1, TParam2, TParam3, TParam4, TParam5, TContract> : FactoryToChoiceBinder<TParam1, TParam2, TParam3, TParam4, TParam5, TContract> { public FactoryArgumentsTo...
51.138889
210
0.712928
[ "Apache-2.0" ]
UniDi/UniDi
Source/Binding/Binders/Factory/FactoryArgumentsToChoiceBinder/FactoryArgumentsToChoiceBinder5.cs
3,682
C#
namespace ProductShop.App.Models { using System.Collections.Generic; public class ShortUserProductsModel { public string FirstName { get; set; } public string LastName { get; set; } public List<ShortProductModel> Products { get; set; } } }
21.769231
61
0.65371
[ "MIT" ]
thelad43/Databases-Advanced-Entity-Framework-SoftUni
10. Exercise JSON Processing/Product Shop/ProductShop/ProductShop.App/Models/ShortUserProductsModel.cs
285
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microsoft C...
37.87619
92
0.625597
[ "Apache-2.0" ]
andrewdbond/CompositeWPF
sourceCode/compositewpf/V2.2/trunk/Quickstarts/Modularity/Modularity.Tests.AcceptanceTest/Modularity.Tests.AcceptanceTest/TestEntities/Assertion/ShellAssertion.cs
3,977
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AdditionalInfo : MonoBehaviour { [SerializeField] string header; //[SerializeField] //string line1; //[SerializeField] //string line2; //[SerializeField] //string line3; //[SerializeField] ...
17.625
45
0.589835
[ "Apache-2.0" ]
InconstantUA/CastleBite
Castle Bite/Assets/Script/Generic/AdditionalInfo.cs
848
C#
using Mono.Addins; using System.Reflection; 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("Addin.XSLT")] [assembly...
34.365854
84
0.745209
[ "MIT-0", "MIT" ]
MaxMood96/wesay
src/Addin.Transform/Properties/AssemblyInfo.cs
1,410
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
31.6
84
0.481013
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
web/studio/ASC.Web.Studio/Products/CRM/Controls/Settings/VoipSettings/VoipCalls.ascx.designer.cs
790
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementOrStatementStatementOrStatementStatementXssMatchStatementFieldToMatchMethod), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementOrStatementStatementOrStatementSt...
52.3
272
0.835564
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2WebAclRuleStatementOrStatementStatementOrStatementStatementXssMatchStatementFieldToMatchMethod.cs
1,046
C#
using DbStatute.Fundamentals.Multiples; using DbStatute.Interfaces; using DbStatute.Interfaces.Multiples; using RepoDb; using RepoDb.Enumerations; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Threading.Tasks; namespace DbStatute.Multiples { public class Multip...
36.489362
217
0.66414
[ "MIT" ]
alper-atay/DbStatute
DbStatute/DbStatute/Multiples/MultipleSelectByIds.cs
1,717
C#
using System; using Sitecore.Data; using Sitecore.Data.Fields; using Sitecore.Data.Items; using Sitecore.Layouts; using Sitecore.SecurityModel; namespace Sitecore.Demo.Edge.Foundation.BranchPresets { public static class LayoutHelper { /// <summary> /// Helper method that loops ...
47.714286
203
0.628743
[ "MIT" ]
MadhavJ/Sitecore.Demo.Edge
Website/src/Foundation/BranchPresets/LayoutHelper.cs
4,908
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TRFDControl.FDEntryTypes { public class TR3MinecartRotateRightEntry : FDEntry { } }
17.230769
54
0.767857
[ "MIT" ]
chreden/TR2-Rando
TRFDControl/FDEntryTypes/TR3MinecartRotateRightEntry.cs
226
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("Gil...
37.675676
84
0.746772
[ "MIT" ]
mosarsh/Gilded-Rose-API
GildedRose.DL/Properties/AssemblyInfo.cs
1,397
C#
/* * Copyright 2016-2017 Mohawk College of Applied Arts and Technology * * 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 requ...
24.741667
80
0.6194
[ "Apache-2.0" ]
MohawkMEDIC/patient-generator
PatientGenerator.Core.Model/Common/Patient.cs
2,971
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------------------------------...
42.715909
294
0.732908
[ "MIT" ]
GaryWayneSmith/mozu-dotnet
Mozu.Api.Test/Factories/Commerce/Catalog/Admin/PublishingScopeFactory.cs
11,277
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Xunit; namespace Avatars.AcceptanceTests { partial class ...
35.338462
130
0.61515
[ "MIT" ]
atifaziz/avatar
src/Avatar.IntegrationTests/AvatarGeneration.Helpers.cs
2,299
C#
// Copyright (c) 2021 Ezequias Silva. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. using SunEngine.GL; using System; using System.Collections.Generic; using Syst...
29.809917
109
0.558913
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ezequias2d/SunEngine
SunEngine/Graphics/Shader.cs
3,609
C#
using System.Threading.Tasks; using BookLovers.Base.Domain.Services; using BookLovers.Base.Infrastructure; using BookLovers.Base.Infrastructure.Commands; using BookLovers.Base.Infrastructure.ModuleCommunication; using BookLovers.Publication.Application.Commands.Publishers; using BookLovers.Publication.Domain.Publisher...
38.102564
103
0.742934
[ "MIT" ]
kamilk08/BookLoversApi
BookLovers.Publication.Application/CommandHandlers/Publishers/ArchivePublisherHandler.cs
1,488
C#
namespace IntruderLib.Models.Rooms { using Newtonsoft.Json; /// <summary> /// Match set score. /// </summary> public class SetScore { /// <summary> /// Gets or sets the score for the Guards. /// </summary> [JsonProperty("guards")] public int Guards { get;...
22.391304
53
0.526214
[ "MIT" ]
BloonBot/IntruderLib
IntruderLib/Models/Rooms/SetScore.cs
515
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...
32.597403
120
0.656175
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ElasticLoadBalancingV2/Generated/Model/ForwardActionConfig.cs
2,510
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Threading.Tasks; using System.Windows.Forms; using CollectionManager.DataTypes; using OsuMemoryDataProvider; using StreamCompanionTypes; using StreamCompanionTypes.DataTypes; using StreamCompanionTypes.En...
37.534392
131
0.54384
[ "MIT" ]
cadon0/StreamCompanion
plugins/OsuMemoryEventSource/FirstRunMemoryCalibration.cs
7,094
C#
using System.Data.Entity.ModelConfiguration; using Core.DomainModel.Organization; namespace Infrastructure.DataAccess.Mapping { public class OrganizationTypeMap : EntityTypeConfiguration<OrganizationType> { public OrganizationTypeMap() { // Properties Property(x => x.Nam...
27.111111
80
0.635246
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Strongminds/kitos
Infrastructure.DataAccess/Mapping/OrganizationTypeMap.cs
488
C#
using System; using Harmony; using Overload; using UnityEngine; namespace GameMod { class MPPickupCheck { public static bool PickupCheck = true; } // Allow picking up items in MP when item is adjacent to an inverted segment. Items also no longer get stuck inside grates. by Terminal [Harmo...
30
179
0.631034
[ "MIT" ]
DissCent/olmod
GameMod/MPPickupCheck.cs
872
C#
using Foundation; using UIKit; using Avalonia; using Avalonia.Controls; using Avalonia.iOS; using Avalonia.Media; namespace DirectPackageInstaller.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and...
28.882353
98
0.753564
[ "Unlicense" ]
marcussacana/DirectPackageInstaller
DirectPackageInstaller/DirectPackageInstaller.iOS/AppDelegate.cs
491
C#
using System; namespace EPPlusEnumerable { /// <summary> /// Use this attribute to denote that the property is to be excluded and not outputted in the Excel worksheet. /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class SpreadsheetExclud...
22.52381
114
0.661734
[ "MIT" ]
aricept/EPPlusEnumerable
EPPlusEnumerable/SpreadsheetExcludeAttribute.cs
475
C#
/* * Copyright 2018 JDCLOUD.COM * * 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 to in...
25.731707
76
0.726066
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Ossopenapi/Apis/AbortHistoricalReplicatTaskResult.cs
1,093
C#
namespace SharedTrip.ViewModel { public class UserLoginForm { public string UserName { get; set; } public string Password { get; set; } } }
17
44
0.611765
[ "MIT" ]
Anzzhhela98/C-Web
C# Web Basics/Exam Preparation/SharedTrip/ViewModel/UserLoginForm.cs
172
C#
using UnityEngine; using System.Collections; using FastCollections; using System; using System.Text; namespace RTSLockstep { public class DefaultData : ICommandData { public DefaultData() { } public DefaultData(DataType dataType, object value) { Value = val...
28.80597
107
0.442228
[ "MIT" ]
mrdav30/LockstepRTSEngine
Assets/Core/Game/Player/Commands/Default/DefaultData.cs
3,862
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using OmniPay.Core.Utils; using OmniPay.Wechatpay.Middleware; namespace OmniPay.Wechatpay.Extensions { public static class WeChatPayApplicationBuilderExtensions { //public static IEndpo...
36.709677
127
0.676626
[ "MIT" ]
hueifeng/AspNetCore.Free.Pay
src/OmniPay.Wechatpay/Extensions/WeChatPayApplicationBuilderExtensions.cs
1,144
C#
using System; using System.Collections.Generic; using System.Linq; namespace Logs_Aggregator { public class LogsAggregator { public static void Main() { int n = int.Parse(Console.ReadLine()); var users = new SortedDictionary<string, Logs>(); for (int i = 0;...
28.690909
95
0.458175
[ "MIT" ]
Koceto/SoftUni
Old Code/Programming Fundamentals/Dictionaries, Lambda and LINQ - Exercises/Logs Aggregator/Logs Aggregator/Program.cs
1,580
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TargetRadar : MonoBehaviour { void Start () { } private bool enemyInRange = false; /// <summary> /// Checks if enemy is in range. /// </summary> /// <param name="other">Other.</param> void OnTrig...
21.735849
104
0.607639
[ "MIT" ]
OskariV/DeepSpaceGame
TargetRadar.cs
1,154
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 Y...
49.408791
162
0.627508
[ "Apache-2.0" ]
Arch/Npoi.Core
test/Npoi.Core.OpenXml4Net.Tests/TestRelationships.cs
22,481
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.784689
164
0.608458
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/VirtualEndpointCloudPCsCollectionRequest.cs
9,151
C#
using System; using System.Collections.Generic; using Shouldly.Tests.TestHelpers; namespace Shouldly.Tests.Dictionaries.ShouldContainKeyAndValue { public class GuidScenario : ShouldlyShouldTestScenario { private readonly Dictionary<Guid, Guid> _dictionary = new Dictionary<Guid, Guid> { ...
37.235294
195
0.687204
[ "BSD-3-Clause" ]
asgerhallas/shouldly
src/Shouldly.Tests/Dictionaries/ShouldContainKeyAndValue/GuidScenario.cs
1,268
C#
using System; using System.Collections.Generic; using System.Text; public class EnduranceDriver : Driver { public EnduranceDriver(string name, Car car) : base(name, car, 1.5) { } }
15.769231
49
0.668293
[ "MIT" ]
mmihaylov82/CSharp-OOP-Basics
09. Exam Retake - Grand Prix - 5 September 2017/GrandPrix/Models/EnduranceDriver.cs
207
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace UnityEditor.VFX.Block { enum AttributeCompositionMode { Overwrite, Add, Multiply, Blend } enum TextureDataEncoding { UnsignedNormalized,...
39.028986
177
0.552079
[ "Apache-2.0" ]
CrazyJohn16/JoaoArena
Library/PackageCache/com.unity.visualeffectgraph@7.3.1/Editor/Models/Blocks/Implementations/VFXBlockUtility.cs
10,772
C#
namespace Coevent.Entities; using System; public class Account : AuditColumns { #region Properties public long Id { get; set; } public string Name { get; set; } public string Description { get; set; } public AccountType AccountType { get; set; } public bool IsDisabled { get; set; } p...
25.305556
87
0.630077
[ "Apache-2.0" ]
FosolSolutions/coevent
api/libs/entities/Account.cs
1,824
C#
using Andtech.Common; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Andtech.Gooball { internal class UnityProcess { public int ExitCode { get; set; } private readonly...
24.209302
105
0.659942
[ "BSD-3-Clause" ]
andtechstudios/gooball
src/Gooball/Core/Unity/UnityProcess.cs
2,084
C#
/*=============================================================================== EntitySpaces Studio by EntitySpaces, LLC Persistence Layer and Business Objects for Microsoft .NET EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC http://w...
24.47619
81
0.575875
[ "Unlicense" ]
EntitySpaces/EntitySpaces-CompleteSource
Samples/Silverlight_RiaServices_Hierarchical_CS/Silverlight_RiaServices.Web/Generated/Employees.Shared.cs
1,542
C#
using QSP.Utilities.Units; namespace QSP.UI.UserControls.TakeoffLanding.Common { public class AircraftRequest { public string Aircraft { get; private set; } public string Registration { get; private set; } public double TakeOffWeightKg { get; private set; } public double Landin...
31.258065
59
0.595459
[ "MIT" ]
JetStream96/QSimPlanner
src/QSP/UI/UserControls/TakeoffLanding/Common/AircraftRequest.cs
971
C#
/* TODO: Is this class actually used???? */ using System; namespace Core.Networking { class PacketStack { private byte[] buffer; public PacketStack() { buffer = new byte[0]; } public void Append(OutPacket p) { byte[] packetBuffer = p.BuildEncrypted(); ...
27.88
110
0.545194
[ "MIT" ]
Darkr4ptor/WCPStandard
Core/Networking/PacketStack.cs
697
C#
using System.Threading; using Assets.Scripts.InMaze.Networking.Jsonify; using Assets.Scripts.InMaze.Networking.UDP; using UnityEngine; namespace Assets.Scripts.InMaze.Multiplayer { public abstract class AbsServerController : MonoBehaviour { // Should be instantiated for this class public stati...
29.315789
64
0.601436
[ "Apache-2.0" ]
myze/Unity-App
Assets/Scripts/InMaze/Multiplayer/AbsServerController.cs
1,116
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.041667
80
0.648731
[ "MIT" ]
almirtavares/softplanapi
SoftplanAPI1/obj/Debug/netcoreapp3.1/SoftplanAPI1.AssemblyInfo.cs
985
C#
namespace SistemaControleEstoque.Migrations { using System; using System.Data.Entity.Migrations; public partial class Estoque : DbMigration { public override void Up() { CreateTable( "dbo.Estoques", c => new { ...
32.264706
84
0.449407
[ "MIT" ]
Brunobagesteiro/Aula70483
SistemaControleEstoque/SistemaControleEstoque/Migrations/201912170035055_Estoque.cs
1,097
C#
// Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT License. See LICENSE.txt in the project root for license information. using System; using System.IO; using System.Linq; using RulesEngine; using Newtonsoft.Json; using System.Collections.Generic; namespace Microsoft.AppInspector { /// <s...
39.29148
160
0.590048
[ "MIT" ]
dezsiszabi/ApplicationInspector
AppInspector/Commands/TagTestCommand.cs
8,764
C#
using RogueSharp.Random; namespace RogueSharp.DiceNotation { /// <summary> /// The Dice class is a static class that has convenience methods for parsing and rolling dice /// </summary> public static class Dice { private static readonly IDiceParser _diceParser = new DiceParser(); /// <summary...
43.255814
126
0.662366
[ "MIT" ]
FaronBracy/RogueSharp
RogueSharp/DiceNotation/Dice.cs
1,860
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------------------...
25.288136
99
0.548257
[ "MIT" ]
HFX-93/luban_examples
Projects/Csharp_Unity_Editor_json/Assets/Gen/limit/MonthlyLimit.cs
1,492
C#
using CapFrameX.Data.Session.Classes; using CapFrameX.Data.Session.Contracts; using CapFrameX.Statistics.NetStandard.Contracts; using System; using System.Collections.Generic; using System.Linq; namespace CapFrameX.Statistics.NetStandard { public static class SessionExtensions { public static IList<do...
45.691057
235
0.588256
[ "MIT" ]
CXWorld/CapFrameX
source/CapFrameX.Statistics.NetStandard/SessionExtensions.cs
11,242
C#
using System; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using Microsoft.Azure.KeyVault; using Microsoft.IdentityModel.Clients.ActiveDirectory; namespace AspNetCoreSpa.STS.Services.Certificate { public class KeyVaultCertificateService : ICertificateService { pri...
40.209302
110
0.720648
[ "MIT" ]
Anberm/AspNetCoreSpa
src/AspNetCoreSpa.STS/Services/Certificate/KeyVaultCertificateService.cs
1,731
C#
namespace Unamit.Models { public class User { public string Id; public string Password; public string Partner; } }
14.777778
27
0.669173
[ "MIT" ]
coenvdwel/unamit
Unamit/Models/User.cs
135
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.5.0.0 // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will...
47.228426
238
0.518594
[ "Unlicense", "MIT" ]
AdnanAsotic/SimpleCQRS
src/Tests/EventStores/SimpleCqrs.EventStore.SqlServer.Tests/Features/GetEvents.feature.cs
18,608
C#
using System; using System.Linq; // using System.Collections.Generic; // using System.IO; // // using CPU = Cosmos.Assembler.x86; // using System.Reflection; using Cosmos.Assembler; using Cosmos.IL2CPU.ILOpCodes; using XSharp.Compiler; using static XSharp.Compiler.XSRegisters; using CPUx86 = Cosmos.Assembler...
41.89697
177
0.560538
[ "BSD-3-Clause" ]
ERamaM/Cosmos
source/Cosmos.IL2CPU/IL/Ldfld.cs
6,913
C#
using System.IO; using Super.Model.Selection.Stores; namespace Super.Runtime { sealed class BytesToStreamSelector : ActivatedStore<byte[], MemoryStream> { public static BytesToStreamSelector Default { get; } = new BytesToStreamSelector(); BytesToStreamSelector() {} } }
23.25
85
0.767025
[ "MIT" ]
SuperDotNet/Super.NET
Super/Runtime/BytesToStreamSelector.cs
281
C#
namespace _2.单行重复渲染示例 { public class StudentInfo { public string Name { get; set; } public bool Gender { get; set; } public string Class { get; set; } public string RecordNo { get; set; } public string Phone { get; set; } public string Email { get; set; } } }
26.666667
44
0.5625
[ "MIT" ]
Nokecy/ExcelReport
examples/2.单行重复渲染示例/StudentInfo.cs
338
C#
#region using System; using System.IO; using System.Linq; using System.Net; using ComponentAce.Compression.Libs.zlib; #endregion namespace LegendaryClient.Patcher.Logic { internal class LeagueDownloadLogic { public static string ReleaseListing = ""; public static string SolutionManifest = ""...
31.985915
125
0.56539
[ "BSD-2-Clause" ]
nongnoobjung/Legendary-Garena
LegendaryClient.Patcher/Logic/LeagueDownloadLogic.cs
2,273
C#
using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; using Virgil.SDK.Web.Authorization; namespace Virgil.SDK.Tests.Shared { [TestFixture] public class CachingJwtProviderTests { [Test] public async System.Threading.Tasks.Task CachingJwtProvider_Should_R...
36.363636
107
0.6925
[ "BSD-3-Clause" ]
VirgilSecurity/virgil-net
SDK/Source/Tests/Virgil.SDK.Tests.Shared/CachingJwtProviderTests.cs
1,202
C#
namespace EWSEditor.ExchangeReports { partial class TotalEmailsSentAndReceivedPerDayAndSize { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being ...
34.319149
107
0.593304
[ "MIT" ]
manoj75/o365-EWS-Editor
EWSEditor/ExchangeReports/TotalEmailsSentAndReceivedPerDayAndSize.Designer.cs
1,615
C#
using System; using System.Collections.Generic; namespace _08._Balanced_Parentheses { class Program { static void Main(string[] args) { var charParenthesis = new char[] { '[', '(', '{', ']', ...
24.333333
71
0.285062
[ "Apache-2.0" ]
Vladimir-Dodnikov/CSharp---Advanced
01. StacksAndQueues - Exercises/08. Balanced Parentheses/Program.cs
1,535
C#
using Microsoft.Extensions.DependencyInjection; using TypedRest.Endpoints; namespace TypedRest; public class DependencyInjectionTest { [Fact] public void TestGetRequiredService() { var services = new ServiceCollection(); services.AddTypedRest(new Uri("http://example.com/")); var pr...
27.166667
65
0.683027
[ "MIT" ]
1and1-webhosting-infrastructure/TypedRest
src/UnitTests/DependencyInjectionTest.cs
489
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. namespace System.Windows.Forms { using System.Diagnostics; using System; /// <include file='doc\IWin3...
40.653846
205
0.687796
[ "MIT" ]
OliaG/winforms
src/System.Windows.Forms/src/System/Windows/Forms/IWin32window.cs
1,057
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
40.941667
195
0.638917
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/Model/Internal/MarshallTransformations/ListSqlInjectionMatchSetsResponseUnmarshaller.cs
4,913
C#
namespace Microsoft.VisualStudio.Shell.Interop { public interface SVsRegisterNewDialogFilters { } }
15.25
48
0.688525
[ "Apache-2.0" ]
JetBrains/JetBrains.EnvDTE
Shell.Interop/Shell/Interop/SVsRegisterNewDialogFilters.cs
124
C#
using System.Collections.Generic; using System.Security.AccessControl; using System.Text; #if NETCOREAPP2_0 using System.Threading.Tasks; using System.Threading; #endif namespace System.IO.Abstractions { /// <inheritdoc cref="File"/> [Serializable] public abstract class FileBase : IFile { pro...
70.059701
530
0.67925
[ "MIT" ]
fedoranimus/System.IO.Abstractions
System.IO.Abstractions/FileBase.cs
46,942
C#
using UnityEngine; namespace SoftBody.Collision { /// <summary> /// Base interface for spheres that handle collision responses. /// </summary> public interface ISphereCollisionResponder : ICollisionResponder { Vector3 Position { get; } float Radius { get; } } }
23.230769
68
0.655629
[ "MIT" ]
nielsdos/UnityClothSimulation
Assets/Scripts/SoftBody/Collision/ISphereCollisionResponder.cs
302
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 regener...
36.033333
129
0.550416
[ "Apache-2.0" ]
RandomLyrics/aaabbbcdefgh
PromosiMVC/City.cs
1,081
C#
using Jint.DebuggerExample.Commands; using Jint.DebuggerExample.Debug; using Jint.DebuggerExample.UI; using Jint.DebuggerExample.Utilities; using Jint.Native; using Jint.Native.Array; using Jint.Native.Object; using Jint.Runtime.Debugger; using System; using System.Collections.Generic; using System.Text; using System....
33.349442
120
0.549103
[ "MIT" ]
Jither/Jint.AbandonedDebuggerExample
Jint.DebuggerExample/Program.cs
8,973
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> //---...
40.833333
80
0.646939
[ "MIT" ]
harith-a/dotnetcore-vue-starter
dotnetcore/obj/Debug/netcoreapp2.1/dotnetcore.AssemblyInfo.cs
980
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.311111
153
0.615187
[ "MIT" ]
MIchaelMainer/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IGroupMembersCollectionWithReferencesRequestBuilder.cs
1,949
C#
// *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.ApiExtensions.V1 { /// <sum...
45.865169
172
0.653356
[ "Apache-2.0" ]
RichardWLaub/pulumi-kubernetes
sdk/dotnet/ApiExtensions/V1/CustomResourceDefinitionList.cs
4,082
C#
using MediatR; using Net6WebApiTemplate.Application.Categories.Dto; using Net6WebApiTemplate.Application.Common.Interfaces; using Net6WebApiTemplate.Domain.Entities; namespace Net6WebApiTemplate.Application.Categories.Commands.CreateCategory; public class CreateCategoryCommandHandler : IRequestHandler<CreateCategoryC...
31.342105
109
0.72712
[ "MIT" ]
marlonajgayle/Net6WebApiTemplate
src/Content/src/Net6WebApiTemplate.Application/Categories/Commands/CreateCategory/CreateCategoryCommandHandler.cs
1,193
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 osu.Framework.Configuration; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.UI.Scrolling.Algorithms; namespace osu.Game.Rulesets.UI.Scrolling { ...
29.964286
86
0.607867
[ "MIT" ]
Shawdooow/osu-sym
osu.Game/Rulesets/UI/Scrolling/IScrollingInfo.cs
814
C#
using Microsoft.Practices.Unity.Configuration; using System; using System.Collections.Generic; using Unity; using Unity.Injection; using Unity.Interception.PolicyInjection; namespace Microsoft.Practices.Unity.InterceptionExtension.Configuration { /// <summary> /// A shortcut element to enable the policy injec...
39.866667
114
0.651059
[ "Apache-2.0" ]
unitycontainer/interception-configuration
src/PolicyInjectionElement.cs
1,796
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CMoveSTFaceTargetFacing : IMoveTargetStee...
32.521739
135
0.755348
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CMoveSTFaceTargetFacing.cs
748
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Reflection; namespace XUCore.Script { /// <summary> /// Member access expressions for "." property or "." method. /// </summary> public cl...
35.4375
128
0.535935
[ "MIT" ]
xuyiazl/XUCore.NetCore
src/XUCore.Script/Expressions/MemberAccessExpression.cs
4,538
C#
using MediatR; using R.Systems.Lexica.Core.Common.Models; namespace R.Systems.Lexica.Core.Sets.Queries.GetSet; public class GetSetQuery : IRequest<Set> { public string SetName { get; set; } = ""; } public class GetSetQueryHandler : IRequestHandler<GetSetQuery, Set> { public GetSetQueryHandler(IG...
24.96
92
0.698718
[ "MIT" ]
lrydzkowski/R.Systems.Lexica
R.Systems.Lexica.Core/Sets/Queries/GetSet/GetSetQuery.cs
626
C#
using System; using AoLibs.Navigation.iOS.Navigation.Attributes; using AoLibs.Navigation.iOS.Navigation.Controllers; using AoLibs.Sample.Shared; using AoLibs.Sample.Shared.Models; using AoLibs.Sample.Shared.NavArgs; using AoLibs.Sample.Shared.ViewModels; using AoLibs.Utilities.iOS; using AoLibs.Utilities.iOS.Extension...
32.934783
111
0.690429
[ "MIT" ]
Drutol/AoLibs
AoLibs.Sample.iOS/ViewControllers/TestPageBViewController.cs
1,517
C#
using UnityEngine; using System.Threading; using System.Collections.Generic; public class LoadChunks : MonoBehaviour { World world; int deleteTimer = 0; int chunkGenTimer = 0; void Start() { world = World.instance; } // Update is called once per frame void Update() { ...
31.577143
142
0.535469
[ "Apache-2.0" ]
Hengle/Voxelmetric1
Assets/Voxelmetric/Code/World/LoadChunks.cs
5,528
C#
using System; using System.Net.Sockets; using System.Net.Security; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; namespace Bytewizer.TinyCLR.Sockets.Channel { /// <summary> /// Represents an authenticated ssl stream builder for server side applications. /// </s...
32.910256
110
0.577328
[ "MIT" ]
PervasiveDigital/microserver
src/Bytewizer.TinyCLR.Sockets/Channel/SslStreamBuilder.cs
2,569
C#
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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....
44.309278
86
0.465333
[ "Apache-2.0" ]
WPG/Cube.Pdf
Libraries/Tests/Sources/PdfVersionTest.cs
4,346
C#