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.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("Si...
37.810811
84
0.744103
[ "MIT" ]
MisterDr/silence
Silence.Macro/Properties/AssemblyInfo.cs
1,402
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("SQ0...
37.945946
84
0.744302
[ "MIT" ]
spzvtbg/Data-Structures-January-2018
01. Linear DS/SQ06. Sequence N-M/Properties/AssemblyInfo.cs
1,407
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
28
98
0.816667
[ "MIT" ]
saludnqn/prosane
RIS_Publico/RIS_Publico/generated/FacPadronController.cs
420
C#
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApp1 { public class Node<T> { T data; Node<T> link; public Node(T data, Node<T> link) { this.data = data; this.link = link; } } }
16.222222
41
0.523973
[ "MIT" ]
jonjelliott1/Data-Structures-and-Algorithms
ConsoleApp1/ConsoleApp1/Node.cs
294
C#
using LaplacianHDR.Helpers; using System; using System.Drawing; using System.Windows.Forms; using UMapx.Imaging; namespace LaplacianHDR { public partial class Form5 : Form { #region Private data ExposureFusion fusion; Bitmap[] images; #endregion #region Form voids ...
26.935897
93
0.526416
[ "MIT" ]
UMapx/Local-Laplacian-filters
sources/forms/Form5.cs
2,103
C#
using System; using System.Data; using System.Reflection; using Autofac.Extras.IocManager; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using Stove.Data; using Stove.Extensions; namespace Stove.EntityFrameworkCore { public class EfCoreActiveTransactionProvider : IActiveTran...
33.93617
106
0.725392
[ "MIT" ]
eraydin/Stove
src/Stove.EntityFrameworkCore/EntityFrameworkCore/EfCoreActiveTransactionProvider.cs
1,597
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Rich.HaoDanKu.Response { /// <summary> /// 定时拉取API返回参数 /// </summary> public class TimingItemsResponse: HaoDanKuResponse { [JsonPropertyName("data")] public List<TimingItemsData > Data { get; set; } ...
26.139098
159
0.502085
[ "MIT" ]
Jesn/Rich.HaoDanKu
Rich.HaoDanKu/Response/Storage/TimingItemsResponse.cs
7,689
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.NetworkFunction.Models { /// <summary> Emission destination type. </summary> public readonly parti...
47.102041
142
0.699307
[ "MIT" ]
v-kaifazhang/azure-sdk-for-net
sdk/networkfunction/Azure.ResourceManager.NetworkFunction/src/Generated/Models/EmissionDestinationType.cs
2,308
C#
using Alabo.Cloud.Cms.BookDonae.Domain.Entities; using Alabo.Domains.Repositories; using MongoDB.Bson; namespace Alabo.Cloud.Cms.BookDonae.Domain.Repositories { public interface IBookDonaeInfoRepository : IRepository<BookDonaeInfo, ObjectId> { } }
26
84
0.792308
[ "MIT" ]
tongxin3267/alabo
src/05.cloud/09-Alabo.Cloud.Cms/BookDonae/Domain/Repositories/IBookDonaeInfoRepository.cs
260
C#
using System.Collections.Generic; using System.Text; namespace Automated.Arca.Libraries { public static class StringExtensions { public static string JoinWithFormat( this IEnumerable<string> texts, string format, string separator ) { StringBuilder sb = new StringBuilder(); var enumerator = texts.GetEnume...
20.366667
104
0.692308
[ "MIT" ]
georgehara/Arca
Automated.Arca.Libraries/StringExtensions.cs
613
C#
// <auto-generated> // 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. // </auto-generated> namespace Microsoft.Azure.Management.Network.Fluent.Mod...
36.45
293
0.594193
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/Network/Generated/Models/VirtualRouterPeeringInner.cs
4,374
C#
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
26.09375
65
0.717365
[ "Apache-2.0" ]
MaxKsyunz/opensearch-net
tests/Tests/Mapping/Types/Specialized/Shape/ShapeAttributeTests.cs
1,670
C#
using System; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; using LVK.Configuration; using LVK.Core.Services; using LVK.Logging; namespace WinFormsSandbox { internal class MyBackgroundService : IBackgroundService { [NotNull] private readonly ILogger _Logge...
30.615385
121
0.678392
[ "MIT" ]
FeatureToggleStudy/LVK
WinFormsSandbox/MyBackgroundService.cs
1,194
C#
/* * Copyright (c) 2007 by Michael L. Taylor * All rights reserved. */ #region Imports using System; using System.Collections.Generic; using System.ComponentModel; using Microsoft.VisualStudio.TestTools.UnitTesting; using FluentAssertions; using P3Net.Kraken.ComponentModel; using P3Net.Kraken.UnitTesting; #endre...
25.482014
78
0.527103
[ "MIT" ]
CoolDadTx/Kraken
Tests/Tests.P3Net.Kraken/ComponentModel/NotifyPropertyChangeTests.cs
3,542
C#
using System; using System.Collections.Generic; using System.Linq; public class BasicStackOperations { public static void Main() { string[] commands = Console.ReadLine() .Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); var n = double.Parse(commands[0]); var s ...
24.348837
104
0.509074
[ "MIT" ]
ChrisPam/CSharpAdvanced
02.StacksAndQueuesExcercise/02.BasicStackOperations/Program.cs
1,049
C#
// // Copyright (C) 2017 Trinidad Sibajas Bodoque // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, ...
38.918699
266
0.654481
[ "MIT" ]
Trisibo/Unity-delayed-asset
Assets/Trisibo/Delayed asset/Editor/DelayedAssetDrawer.cs
4,789
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.ServiceFab...
42.51567
155
0.574616
[ "MIT" ]
aL3891/service-fabric-client-dotnet
src/Microsoft.ServiceFabric.Client.Http/PropertyManagementClient.cs
14,923
C#
//Write a program that finds all prime numbers in the range [1...10 000 000]. Use the Sieve of Eratosthenes algorithm. using System; using System.IO; class PrimeNumbers { static void Main() { int[] nums = new int[10000001]; int[] primeNumbers = new int[664579]; for (int i = 1; i <= 1...
27.0625
125
0.492687
[ "MIT" ]
NikolaiMishev/Telerik-Academy
Module-1/02.CSharp Part 2/Arrays/15.Prime numbers/PrimeNumbers.cs
1,301
C#
namespace PowerRunner.Settings { using System.ComponentModel; using System.Xml.Serialization; /// <summary> /// User settings /// </summary> [XmlRootAttribute(ElementName = "PowerRunner", IsNullable = false)] public class GlobalSettings { #region Fields internal static...
20.163636
89
0.532011
[ "Apache-2.0" ]
mechgt/power-runner
PowerRunner/Settings/GlobalSettings.cs
1,111
C#
using System; using System.ComponentModel; using System.Threading; using System.Threading.Tasks; namespace RockLib.Messaging { /// <summary> /// Defines extension methods for implementations of the <see cref="IReceiverMessage"/> /// interface. /// </summary> public static class ReceiverMessageExte...
48.33557
142
0.639267
[ "MIT" ]
Finity/RockLib.Messaging
RockLib.Messaging/ReceiverMessageExtensions.cs
7,204
C#
namespace TestSetControlLibrary { partial class MasterDataDisplay { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summ...
54.435294
122
0.654096
[ "ECL-2.0", "Apache-2.0" ]
demirelcan/dnp3
windows/TestSetControlLibrary/MasterDataDisplay.Designer.cs
18,510
C#
using System; using UnityEngine; namespace Mirror { // message packing all in one place, instead of constructing headers in all // kinds of different places // // MsgType (2 bytes) // Content (ContentSize bytes) public static class MessagePacking { // message header size...
38.957983
179
0.553063
[ "MIT" ]
jacktoka/Mirror
Assets/Mirror/Runtime/MessagePacking.cs
4,636
C#
using System.IO; namespace DioDocs.FastReportBuilder { public class ReportBuilderFactory : IReportBuilderFactory { public IReportBuilder<TReportRow> Create<TReportRow>(Stream template) { return new ReportBuilder<TReportRow>(template); } } }
24.166667
77
0.682759
[ "MIT" ]
nuitsjp/DioDocs.FastReportBuilder
Source/DioDocs.FastReportBuilder/ReportBuilderFactory.cs
292
C#
using System; using System.Reflection; namespace BLToolkit.Common { using Reflection; /// <summary> /// Converts a base data type to another base data type. /// </summary> /// <typeparam name="T">Destination data type.</typeparam> /// <typeparam name="P">Source data type.</typeparam> public static ...
31.813793
127
0.649469
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v5/bltoolkit.3.2.dev/Common/ConvertT.cs
4,613
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Typeracer.Core.Data { public struct QuoteData { public static string Quote { get; } = "Hello, my name is Rek'Sai"; public static string Written { get; set; } = string.Empty; ...
17.85
45
0.717087
[ "Apache-2.0" ]
VectorArtGames/Typeracer
src/Typeracer/Typeracer/Core/Data/QuoteData.cs
359
C#
namespace RatioMaster.Core { using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; internal class ProcessMemoryReader { [DllImport("kernel32.dll")] internal static extern int CloseHandle(IntPtr hObject); [DllImport("kernel32.dll"...
28.236111
160
0.581407
[ "MIT" ]
xas/RatioMaster.NET
Source/RatioMaster.Core.WinApp/ProcessMemoryReader.cs
2,033
C#
using FluentAssertions; using Moq; using RestSharp; using System; using System.Net.Http; using WeatherTest.Services; using Xunit; namespace WeatherTest.ServicesTests { public class BbcWeatherSourceTests { [Fact] public void GivenNullLocationThenThrowArgumentNullException() { ...
32.761905
128
0.573038
[ "Apache-2.0" ]
MooneyHussain/WeatherTest
tests/WeatherTest.ServicesTests/BbcWeatherSourceTests.cs
2,754
C#
using UnityEngine; using UnityEditor; using UnityEngine.TestTools; using NUnit.Framework; using System.Collections; using Chisel; using Chisel.Core; using UnityEditor.SceneManagement; namespace FoundationTests { public sealed class TestUtility { public static Material GenerateDebugColorMaterial(Color ...
33.914894
104
0.618883
[ "MIT" ]
cr4yz/Chisel.Prototype
Packages/com.chisel.core.tests/Chisel/Core/Tests/CoreTests/TestUtility.cs
3,190
C#
#if !DISABLE_DHT using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using System.Net.BitTorrent.Dht.Messages; using System.Net.BitTorrent.BEncoding; using System.Net; using System.Threading; using System.Net.BitTorrent.Dht.Tasks; namespace System.Net.BitTorrent.Dht { [TestFix...
31.61157
89
0.555817
[ "MIT" ]
kanggaogang/BitTorrent
test/BitTorrent.Tests/Dht/MessageHandlingTests.cs
3,825
C#
 namespace Sparkle.NetworksStatus.Data.Repositories { using System; using System.Collections.Generic; using System.Linq; /// <summary> /// The base of all repository. /// </summary> public interface IRepository { } /// <summary> /// Entity-centric repository...
30.236842
115
0.542646
[ "MPL-2.0" ]
SparkleNetworks/SparkleNetworks
src/Sparkle.NetworksStatus/Data/Repositories/IRepository.cs
2,300
C#
/* * Copyright (c) Contributors, http://virtual-planets.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or wit...
42.628205
81
0.67218
[ "MIT" ]
johnfelipe/Virtual-Universe
Universe/Modules/World/BannedViewersModule/PresenceInfo.cs
3,325
C#
using System.ComponentModel.DataAnnotations; namespace dotnetHelloWorld.Models { public class Visitor { [Key] public int Id { get; set; } public string Name { get; set; } } }
19.272727
45
0.617925
[ "Apache-2.0" ]
Appdynamics/cloudfoundry-apps
cf-net-linux/src/dotnetHelloWorld/Models/Visitor.cs
214
C#
/* ##HEADER## namespace GameCreator.Core { using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [AddComponentMenu("")] public class __CLASS_NAME__ : ICondition { public bool satisfied = true; public override bool Check(GameObject target) { return th...
18.36
64
0.699346
[ "MIT" ]
SK0P3iN/Rapid-Prototyping-Unity-Game
Assets/Plugins/GameCreator/Extra/ScriptTemplates/SimpleConditionTemplate.cs
461
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
40.142857
93
0.745996
[ "MIT" ]
mawasi/WPFSample
PaintTool/Properties/AssemblyInfo.cs
2,251
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; using Pulumi.Utilities...
32.354331
198
0.618155
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Datastream/V1/GetPrivateConnection.cs
4,109
C#
using System; namespace CRial.xbmcgui { public class Window : WindowBase { public Window(string name) : base(name) { } public Window(int existingWindowId = -1) : base() { Utils.Call(_name + " = Window(" + existingWindowId + ")"); Ut...
24.111111
71
0.488479
[ "MIT" ]
CRialDev/KSHarp
KSharp/xbmcgui/Window.cs
436
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Threading; using System.Threading.Tasks; using Dapper; namespace Dommel { public static partial class DommelMapper { /// <summary> /// Retrieves the entity of type <typeparamref name="TReturn"/> w...
67.709538
281
0.639825
[ "MIT" ]
bornlogic/bornlogic-dapper-dommel
src/Bornlogic.Dapper.Dommel/MultiMap.cs
46,855
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由T4模板自动生成 // 生成时间 2020-02-04 21:25:26 // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失 // 作者:Harbour CTS // </auto-generated> //---------------------------------------------------------------------...
21.541667
84
0.470019
[ "MIT" ]
haitongxuan/LQExtesion
LQExtension.BLL/T4.DapperExt/Sys_WarehouseBLL.cs
627
C#
/* MIT License Copyright(c) 2020 Evgeny Pereguda Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
31.57037
153
0.612623
[ "MIT" ]
AreebaAroosh/CaptureManagerSDK
Demo/CSDemo/WPFDemo/WPFDeviceInfoViewer/MainWindow.xaml.cs
4,264
C#
using System; using System.IO; using System.Threading.Tasks; namespace LogJoint.Persistence { public class ContentCacheManager: IContentCache, IDisposable { public ContentCacheManager(ITraceSourceFactory traceSourceFactory, Implementation.IStorageManagerImplementation impl) { this.trace = traceSourceFactory.C...
24.851064
122
0.735445
[ "MIT" ]
sergey-su/logjoint
trunk/model/persistence/ContentCacheManager.cs
2,336
C#
using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; namespace Microsoft.Recognizers.Text.Choice.French { class FrenchBooleanExtractorConfiguration : IBooleanExtractorConfiguration { public static readonly Regex TrueRegex = ...
33.673913
107
0.715946
[ "MIT" ]
Josverl/Recognizers-Text
.NET/Microsoft.Recognizers.Text.Choice/French/Extractors/FrenchBooleanExtractorConfiguration.cs
1,551
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> //----------------------------------------...
32.529412
84
0.500904
[ "Apache-2.0" ]
jbwilliamson/MaximiseWFScaffolding
RandomSchool/RandomSchool/Site.Master.designer.cs
1,108
C#
using System.Linq; using FluentAssertions; using NUnit.Framework; using SqlParser.Analysis; using SqlParser.Ast; using SqlParser.SqlServer.Parsing; namespace SqlParser.SqlServer.Tests.Examples { [TestFixture] public class EFQuery1Tests { // sample query generated by EF, with some details removed/a...
41.617284
440
0.595966
[ "Apache-2.0" ]
Whiteknight/SqlParser
Src/SqlParser.SqlServer.Tests/Examples/EFQuery1Tests.cs
3,373
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> //-----------------------------------------...
46.68
327
0.652099
[ "BSD-3-Clause" ]
KiaArmani/XurSuite
Libraries/MadReflection.BungieApi/MadReflection.BungieNetApi.Entities/Generated_/Destiny/Entities/Inventory/DestinyInventoryComponent.cs
1,169
C#
namespace System { /// <summary> /// Provides an extensible interface for generic configuration. /// </summary> public interface IConfiguration<out T> { /// <summary> /// Provides an instance of the specified <typeparamref name="T"/>. /// </summary> T Confi...
25.923077
76
0.554896
[ "MIT" ]
TylerKendrick/Sugar.Core
Sugar/IConfiguration.cs
339
C#
using System; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Net.Http; using Microsoft.Extensions.Logging; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Polly; using FhirImporter.Extensions; using Flurl.Http; using ...
39.430556
146
0.534226
[ "MIT" ]
pjirsa/fhir-server-samples
src/FhirImporter/FhirImport.cs
8,517
C#
namespace Ripple.WebSocketClient.Model.Transaction.Interfaces { public interface ISetRegularKeyTransaction : ITransactionCommon { string RegularKey { get; set; } } }
26.571429
67
0.731183
[ "Apache-2.0" ]
MaintenanceExperts/Ripple.NET.WebSocketClient
src/RippleDotNet/Model/Transaction/Interfaces/ISetRegularKeyTransaction.cs
188
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Membership.OpenAuth; namespace WebAppHola.Account { public partial class Register : Page { protected void Page_Lo...
28.967742
100
0.667038
[ "MIT" ]
mglezh/visual-studio-2012
WebAppHola/WebAppHola/Account/Register.aspx.cs
900
C#
using System; using Microsoft.Maui.Controls; namespace Maui.Controls.Sample.Pages.SwipeViewGalleries { public partial class SwipeItemPositionGallery { public SwipeItemPositionGallery() { InitializeComponent(); ModePicker.SelectedIndex = 0; } void OnModePickerSelectedIndexChanged(object sender, Event...
25.15
162
0.77336
[ "MIT" ]
Mu-L/maui
src/Controls/samples/Controls.Sample/Pages/Controls/SwipeViewGalleries/SwipeItemPositionGallery.xaml.cs
505
C#
/* Copyright 2013 Vistaprint 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 writing, software distrib...
26.965517
72
0.727621
[ "Apache-2.0" ]
vistaprint/automobile
Mobile/Framework/Commands/CommandMode.cs
784
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace Compilator { public class ParameterList : Types { public List<Types> parameters = new List<Types>(); ...
41.972426
265
0.407743
[ "Unlicense" ]
Natsu13/Pyr2
Types/ParameterList.cs
22,835
C#
using System; using System.IO; using CoreADT.ADT.MCALData; namespace CoreADT.ADT.Chunks.Subchunks { public class MCAL : Chunk { public override uint ChunkSize { get; } public MCALAlphaMap[] AlphaMaps { get; set; } public MCAL(byte[] chunkBytes, MCNK parentChunk, WDT.WDT wdt) : base(...
28.509091
88
0.496173
[ "MIT" ]
Kaev/CoreADT
CoreADT/ADT/Chunks/Subchunks/MCAL.cs
1,570
C#
/* Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a> 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, ...
43.789474
221
0.698718
[ "MIT" ]
JaCraig/Craig-s-Utility-Library
UnitTests/IO/Logging/Manager.cs
2,498
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...
36.739837
154
0.595264
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECR/Generated/Model/Internal/MarshallTransformations/SetRepositoryPolicyRequestMarshaller.cs
4,519
C#
/* ------------------------------------------------------------------------------ Copyright (c) 2020 Christopher Whitley 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 re...
41.38
82
0.618173
[ "MIT" ]
10Drenth/monogame-aseprite
source/MonoGame.Aseprite.ContentPipeline/Processors/ProcessorSheetType.cs
2,071
C#
using LCU.NET.API_Models; using RestSharp; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Threading.Tasks; using static LCU.NET.LeagueClient; namespace LCU.NET.Plugins.LoL { public interface IPerks { Task<LolPerksPerkPageResource> ...
39.859649
146
0.625
[ "MIT" ]
pipe01/LCU.NET
Plugins/LoL/Perks.cs
4,544
C#
using System; namespace c_sharp_fundamentals { /// <summary> /// Program.cs is a static class that contains only one static method - Main() method which is required to start an app /// </summary> class Program { /// <summary> /// The Main() method is required in every C# app. It sp...
45.482234
173
0.52606
[ "MIT" ]
karina6188/C_Sharp_Fundamentals
c_sharp_fundamentals/c_sharp_fundamentals/Program.cs
17,922
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using Xunit; namespace Microsoft.Azure.SignalR.Common.Tests { publ...
48.563636
189
0.669038
[ "MIT" ]
Andy9FromSpace/azure-signalr
test/Microsoft.Azure.SignalR.Common.Tests/ClaimsUtilityTests.cs
2,671
C#
namespace DevTeam.Patterns.IoC { using System; internal class ContainerDescription { public ContainerDescription(IContainer parentContainer, object key) { if (parentContainer == null) throw new ArgumentNullException(nameof(parentContainer)); ParentContainer = paren...
27
124
0.619259
[ "MIT" ]
DevTeam/patterns
DevTeam.Patterns.IoC/ContainerDescription.cs
677
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
41.823293
371
0.498848
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/Synapse/Synapse.Autorest/generated/runtime/Customizations/IJsonSerializable.cs
10,166
C#
using System; using System.Linq; using System.Text; using MinionSuite.Tool.Extensions; using MinionSuite.Tool.Helpers; namespace MinionSuite.Tool.Generators { /// <summary> /// Generates an API controller with CRUD operations for a model /// </summary> public class ApiControllerGenerator : IGenerator ...
49.468254
148
0.545323
[ "MIT" ]
printezisn/minionsuite
MinionSuite/MinionSuite.Tool/Generators/ApiControllerGenerator.cs
6,235
C#
using System; using GestionaleFitstic.Data; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; [assembly: HostingStartup(typeof(G...
30.857143
91
0.762346
[ "MIT" ]
FITSTIC/Hackathon_Team2_19_21
GestionaleFitstic/GestionaleFitstic/Areas/Identity/IdentityHostingStartup.cs
650
C#
using System; using BEPUphysics.Entities; using BEPUphysics.Entities.Prefabs; using BEPUphysics.UpdateableSystems.ForceFields; using BEPUphysicsDemos.SampleCode; using BEPUphysics.NarrowPhaseSystems; using BEPUutilities; using FixMath.NET; namespace BEPUphysicsDemos.Demos { /// <summary> /// Boxes...
33.322222
176
0.517506
[ "MIT" ]
RossNordby/bepuphysics1int
BEPUphysicsDemos/Demos/PlanetDemo.cs
3,001
C#
using FluentPOS.Shared.Core.Domain; using FluentPOS.Shared.Core.EventLogging; using FluentPOS.Shared.Core.Settings; using FluentPOS.Shared.Infrastructure.Extensions; using MediatR; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using System.Threading; using System.Threading.Tasks; using Fluen...
34.233333
107
0.685492
[ "MIT" ]
abdul-qadirdeveloper/fluentpos
src/server/Shared/Shared.Infrastructure/Persistence/ModuleDbContext.cs
2,056
C#
namespace TokanPages.Backend.Shared.Dto.Content { using Base; public class NotFoundDto : BaseClass { public string Code { get; set; } public string Header { get; set; } public string Description { get; set; } public string Button { get; set; } } }
19.933333
47
0.605351
[ "MIT" ]
TomaszKandula/TokanPages
TokanPages.Backend/TokanPages.Backend.Shared/Dto/Content/NotFoundDto.cs
299
C#
using Liru3D.Models.Data; using Microsoft.Xna.Framework.Graphics; namespace Liru3D.Models { /// <summary> A single mesh of a <see cref="SkinnedModel"/>. </summary> public class SkinnedMesh { #region Dependencies private readonly GraphicsDevice graphicsDevice; #endregion #r...
45.850746
198
0.670573
[ "MIT" ]
LiruJ/MonoGame-Skinned-Mesh-Importer
Liru3D/Models/SkinnedMesh.cs
3,074
C#
using System; using System.Diagnostics; using System.Resources; using System.Windows; using System.Windows.Markup; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using GymBooster.WindowsSilverPhone.Resources; using GymBooster.WindowsSilverPhone.ViewModels; namespace GymB...
40.527344
127
0.613976
[ "MIT" ]
PawelSzczygielski/DajSiePoznac
src/GymBooster.WindowsSilverPhone/App.xaml.cs
10,377
C#
using System; using FluentAssertions; using Xunit; namespace Light.GuardClauses.Tests.ComparableAssertions; public static class MustBeLessThanOrEqualToTests { [Theory] [InlineData(10, 9)] [InlineData(-42, -1888)] public static void ParameterGreater(int first, int second) { Action act = ()...
36.315789
140
0.671981
[ "MIT" ]
feO2x/Light.GuardClauses
Code/Light.GuardClauses.Tests/ComparableAssertions/MustBeLessThanOrEqualToTests.cs
2,072
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace Riganti.Selenium.Coordinator.Service { public class Program { public static void Main(string[] args) { var host = new WebH...
22.92
64
0.586387
[ "Apache-2.0" ]
JTOne123/selenium-utils
src/Coordinator/Riganti.Selenium.Coordinator.Service/Program.cs
575
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IBufferInternal.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license inform...
44.666667
120
0.49403
[ "MIT" ]
hugener/Sundew.Base
Source/Sundew.Base.Memory/Internal/IBufferInternal.cs
672
C#
using System; using System.Diagnostics; using System.Threading; namespace Hudl.FFmpeg.Extensions { public static class ProcessExtensions { public static bool WaitForProcessStart(this Process process) { return process.WaitForProcessStart(null); } public static bool W...
32.847222
132
0.579281
[ "Apache-2.0" ]
alex6dj/HudlFfmpeg
Hudl.FFmpeg.Core/Extensions/ProcessExtensions.cs
2,367
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.030303
153
0.603028
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/WorkbookFunctionsIsLogicalRequestBody.cs
1,189
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 System; using System.Text.RegularExpressions; using Xunit; public class GroupNamesAndNumber { /* Test...
31.478571
172
0.465941
[ "MIT" ]
benjamin-bader/corefx
src/System.Text.RegularExpressions/tests/GroupNamesAndNumbers.cs
22,035
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.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Analyzer.Utilities.Extensions; using Analyzer.Utilities.FlowAn...
58.347518
201
0.497994
[ "Apache-2.0" ]
dkalbertson/roslyn-analyzers
src/Microsoft.NetCore.Analyzers/Core/Security/SourceTriggeredTaintedDataAnalyzerBase.cs
8,229
C#
// Copyright (c) IxMilia. 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.Generic; using IxMilia.Iges.Entities; namespace IxMilia.Iges { internal class IgesReaderBinder { privat...
29.382979
159
0.564084
[ "Apache-2.0" ]
RSchwarzwald-Hexagon/iges
src/IxMilia.Iges/IgesReaderBinder.cs
1,383
C#
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("Password Hasher")] [assembly: Assemb...
36.547619
139
0.736156
[ "Apache-2.0" ]
austins/PasswordHasher
PasswordHasher/Properties/AssemblyInfo.cs
1,538
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependency...
28.604167
106
0.672251
[ "MIT" ]
shumantt/ClusterClient.Chaos
ExampleServer/Startup.cs
1,373
C#
using System.Collections.Generic; namespace Sitecore.CH.Base.Features.SDK.Services.Config { public class MClientOptions { public string Host { get; set; } public string ClientId { get; set; } public string ClientSecret { get; set; } public string UserName { get; set; } ...
29.8
81
0.635347
[ "Apache-2.0" ]
Sitecore/-ContentHub-VS-Solution-Example
src/Sitecore.CH.Base/Features/SDK/Services/Config/MClientOptions.cs
449
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
34.375
97
0.488485
[ "MIT" ]
3quanfeng/azure-powershell
src/ADDomainServices/generated/runtime/Parser/Exceptions/ParseException.cs
804
C#
using System; using System.Collections.Generic; using System.Linq; namespace MaxProfitJobsInTime { class Job { public string Name { get; private set; } public int Deadline { get; private set; } public int Profit { get; private set; } public Job(string name, int deadline, int pr...
27.490196
124
0.444365
[ "MIT" ]
CaptainUltra/IT-Career-Course
Year 3/Module 10 - Algorithms and Data Structures/Greedy Algorithms/MaxProfitJobsInTime/Program.cs
1,404
C#
 using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; namespace GuiltyPleasures.Models { public class ApplicationDbContext : IdentityDbContext<ApplicationUser> { public DbSet<UserWithGoal> UsersWithGoals { get; set; } p...
32.860465
76
0.640481
[ "MIT" ]
VangelisSaranteas/Plan_Eat
GuiltyPleasures/Models/ApplicationDbContext.cs
1,415
C#
namespace OlympicGames.Olympics.Enums { public enum BoxingCategory { Flyweight, Featherweight, Lightweight, Middleweight, Heavyweight } }
15.916667
38
0.596859
[ "MIT" ]
AlxxlA/OOPWorkshops
04. Dependency Inversion/Olympics-Task/OlympicGames/OlympicGames/Olympics/Enums/BoxingCategory.cs
193
C#
using OriinDic.Models; namespace OriinDic.Store.Users { public record UsersPasswordChangeAction { public string Token { get; } = string.Empty; public UserPwdUpdate User { get; } = new(); public string UserPasswordChangeMessage { get; } = string.Empty; public UsersPassw...
30.555556
108
0.64
[ "MIT" ]
kierepka/OriinDictionary
Store/Users/UsersPasswordChangeAction.cs
552
C#
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("UnitTest.Rollbar")] namespace Rollbar { using Rollbar.Diagnostics; using Rollbar.DTOs; using System; using System.Collections.Generic; internal class PayloadQueue { private readonly object _syncLock = null; private...
23.846939
94
0.479675
[ "MIT" ]
PancakeTeam/Rollbar.NET
Rollbar/PayloadQueue.cs
2,339
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; using ZR.Admin.WebApi.Extensions; using ZR.Admin.WebApi.Filters; using ZR.Admin.WebApi.Framework; using Infrastructure.Model; using I...
36.039548
148
0.6037
[ "MIT" ]
samisgod/ZrAdmin.NET
ZR.Admin.WebApi/Controllers/System/SysLoginController.cs
6,601
C#
namespace Buildit.Web.TestMethodsMsTets.SearchControllerTestMethods { internal interface IPublicationsService { } }
21.333333
68
0.78125
[ "MIT" ]
Aimanan/BuildItRepo
Buildit/Buildit.Web.TestsMsTets/SearchControllerTests/IPublicationsService.cs
130
C#
using System; namespace MarkdownToGist.Configs { public class GithubConfig { public string GistApi { get; set; } } }
15.333333
43
0.644928
[ "MIT" ]
superwalnut/markdown-gist-transform
Configs/GithubConfig.cs
140
C#
namespace ResXManager.VSIX { using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using Sys...
38.101382
200
0.572811
[ "MIT" ]
amse2000/ResXResourceManager
src/ResXManager.VSIX/MyToolWindow.cs
16,538
C#
using OnlineShop.Common.Constants; using OnlineShop.Models.Products.Components; using OnlineShop.Models.Products.Peripherals; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OnlineShop.Models.Products.Computers { abstract class Computer : Product, IComputer { privat...
30.059259
169
0.720552
[ "MIT" ]
kristiyanivanovx/SoftUni-Programming-Basics-March-2020
04 - CSharp-OOP/10 - CSharp OOP Exams/06 - Exam 16 August 2020/OnlineShop/OnlineShop/Models/Products/Computers/Computer.cs
4,060
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFrameworkCore.Internal; using Microsoft.EntityFrame...
50.462777
144
0.599801
[ "MIT" ]
FelicePollano/efcore
src/EFCore/Query/Internal/QueryOptimizingExpressionVisitor.cs
25,080
C#
//============================================================== // Copyright (C) 2020 Inc. All rights reserved. // //============================================================== // Create by 种道洋 at 2020/8/26 13:23:02. // Version 1.0 // 种道洋 //============================================================== using...
22.744186
105
0.350131
[ "Apache-2.0" ]
bingwang12/Spider
Develop/Api/Cdy.Api.SpiderMqtt.Develop/ApiConfigViewModel.cs
6,860
C#
/* Copyright 2010-2014 MongoDB 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 to in writi...
27.297872
92
0.637568
[ "Apache-2.0" ]
EvilMindz/mongo-csharp-driver
MongoDB.BsonUnitTests/Jira/CSharp147Tests.cs
1,285
C#
// Copyright 2018 Esri. // // 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 writing, software ...
46.652174
184
0.644688
[ "Apache-2.0" ]
Esri/arcgis-runtime-samples-dotne
src/UWP/ArcGISRuntime.UWP.Viewer/Samples/Network analysis/ClosestFacility/ClosestFacility.xaml.cs
8,584
C#
using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; namespace PierresBakery.Models { public class Order { public string Title { get; set; } public string Description { get; set; } public double Price { get; set; } public string Date { get; set; } public int Id { get; } private...
22.384615
77
0.61512
[ "MIT" ]
AnthonyGolovin/C-MVCBakery
C-MVCBakery/Models/Order.cs
873
C#
/* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
36.952741
299
0.434981
[ "MIT" ]
mungojam/dotnetrdf-fork
Libraries/core/net40/Parsing/Tokens/TsvTokeniser.cs
19,548
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using AdaptiveExpressions.Properties; using Newtonsoft.Json; namespace Microsoft.Bot.Builder.Dialogs.Adaptive.Acti...
41.423529
176
0.621414
[ "MIT" ]
BetaLixT/botbuilder-dotnet
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Actions/GotoAction.cs
3,523
C#
/* * The MIT License (MIT) * * Copyright (c) 2012-2013 Brno University of Technology - Faculty of Information Technology (http://www.fit.vutbr.cz) * Author(s): * Vladimir Vesely (mailto:ivesely@fit.vutbr.cz) * Martin Mares (mailto:xmares04@stud.fit.vutbr.cz) * Jan Plusal (mailto:xplusk03@stud.fit.vutbr.cz) * ...
33.427119
129
0.523679
[ "Apache-2.0" ]
mvondracek/NetfoxDetective
Framework/CModels/PmLib/PmPacket.cs
19,724
C#
#nullable disable using System; using System.Linq; using PasPasPas.Globals.Options.DataTypes; using PasPasPas.Globals.Types; using PasPasPasTests.Common; namespace PasPasPasTests.Types { /// <summary> /// test for structural properties /// </summary> public class StructuralTests : Typ...
55.435484
201
0.602657
[ "Apache-2.0" ]
prjm/paspaspas
PasPasPasTests/src/Types/StructuralTests.cs
10,313
C#
#pragma checksum "..\..\..\..\..\VideoInfoPanel\View\VideoInfoPanel.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2B247A235EB67C0857E448ABA8C306D51C44366F" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Ver...
40.639676
161
0.630504
[ "MIT" ]
sste9512/YoutubeDownloader
YoutubeDownloader.Wpf.App/obj/Debug/net5.0-windows/VideoInfoPanel/View/VideoInfoPanel.g.cs
10,040
C#
#define G_LOG using System; using System.Collections.Generic; using ShipDock.Testers; using ShipDock.Tools; namespace ShipDock.FSM { /// <summary> /// /// 有限状态机类 /// /// add by Minghua.ji /// /// </summary> public class StateMachine : IStateMachine { #region 静态属性 ...
27.505219
115
0.457154
[ "MIT" ]
firefishes/FWGame
Assets/Scripts/ShipDock/StateMachine/StateMachine.cs
13,697
C#