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
namespace YourWaifuWPF.Services { using System; using System.Collections.Generic; using System.Linq; using Contracts.Services; using Helpers; using Microsoft.UI.Xaml.Controls; public class NavigationViewService : INavigationViewService { private readonly INavigationService navigatio...
36.85
102
0.63365
[ "MIT" ]
Aloento/Waifu2x-Vulkan-Reunion
YourWaifuWPF/Services/NavigationViewService.cs
2,948
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
29.8125
84
0.484277
[ "MIT" ]
InstantBusinessNetwork/IBN
Source/Server/WebPortal/Apps/ListApp/Pages/ListInfoMove.aspx.designer.cs
954
C#
using System; using UnityEngine; using UdonSharp; public class MapStratum : UdonSharpBehaviour { public int nTilesX; public int nTilesY; public Mesh[] library; public MeshFilter rendererFilter; /** Implementation */ private int maskX; private int maskY; public int[] map; /* F...
25.867704
84
0.588448
[ "MIT" ]
vr-voyage/vrchat-map-maker
Assets/MapMaker/Scripts/MapStratum.cs
6,648
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Collections; using System.Diagnostics; using System.Threading; using System.Windows.Forms; using System.Xml; using System.Web; using System.Net; using O...
28.048951
130
0.700573
[ "MIT" ]
augustoproiete-forks/OpenLiveWriter--OpenLiveWriter
src/managed/OpenLiveWriter.BlogClient/Clients/BloggerCompatibleClient.cs
4,011
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
35.665882
212
0.487773
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/61850/LNNodes/LNGroupY/YPSH.cs
45,476
C#
using Godot; using JoyGodot.Assets.Scripts.World; namespace JoyGodot.Assets.Scripts.States { public class WorldDestructionState : GameState { protected IWorldInstance m_OverWorld; protected IWorldInstance m_NextWorld; public WorldDestructionState(IWorldInstance overworld, IWorldInstan...
24.692308
88
0.597352
[ "MIT" ]
Nosrick/JoyGodot
Assets/Scripts/States/WorldDestructionState.cs
1,286
C#
using EFCore.Lib.Base; using EFCore.Lib.Config; using EFCore.Lib.Model; using Microsoft.EntityFrameworkCore; namespace EFCore.Lib.Data { public class CommonDbContext : DbContext { // Must not be null or empty for running initial create migration private string _connectionString = "ConnectionSt...
28.078947
78
0.668229
[ "MIT" ]
mvelosop/EFCoreLib
src/EFCore.Lib/Data/CommonDbContext.cs
1,069
C#
using UnityEngine; //assertのためだけ namespace Kayac { public interface IIntrusiveLinkedListNode // 継承して使ってね! { IIntrusiveLinkedListNode prev{ get; set; } IIntrusiveLinkedListNode next{ get; set; } } #if false // 番兵なし版 // こいつのためにnewしたくないだろうしstruct public struct IntrusiveLinkedList<T> where T : IIntrusiveLinkedL...
23.436975
77
0.660093
[ "MIT" ]
hiryma/UnitySamples
Misc/IntrusiveLinkedList.cs
6,360
C#
using System; using System.Diagnostics; using CommandLine; namespace ExamplesGenerator { internal class Program { private static int Main(string[] args) => Parser.Default.ParseArguments<AsciiDocOptions, CSharpOptions>(args) .MapResult( (AsciiDocOptions opts) => RunAsciiDocAndReturnExitCode(opts), ...
25.814815
112
0.702056
[ "Apache-2.0" ]
AnthAbou/elasticsearch-net
src/Examples/ExamplesGenerator/Program.cs
2,093
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Poker { public class Bets { public int Chips { get; set; } = 1000; public int Bet { get; set; } public int MinimumBet { get; set; } // public int HandsCompleted { get; set...
24.815385
75
0.49783
[ "MIT" ]
Donahill/PokerClassic_Vitiaz
Poker/Bets.cs
1,615
C#
// ----------------------------------------------------------------------- // <copyright file="MainForm.cs" company="Secondnorth, Inc."> // All Rights Reserved. // </copyright> // ----------------------------------------------------------------------- namespace PBEM { using System; using System.Collections.Ge...
37.708511
170
0.490041
[ "MIT" ]
runmbrun/pbem
PBEM/MainForm.cs
17,725
C#
// <auto-generated /> namespace Lpp.Dns.Data.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.1-30610")] public sealed partial class ...
29.333333
115
0.645455
[ "Apache-2.0" ]
Missouri-BMI/popmednet
Lpp.Dns.Data/Migrations/201409162145550_UpdateTVFForFilteredRequestList2.Designer.cs
880
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using Ambiesoft; namespace testBrowser { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [S...
24.5
66
0.591837
[ "BSD-2-Clause" ]
ambiesoft/mdview
testBrowser/Program.cs
590
C#
using Common.Collections; using System; namespace VirtualFileSystem.Model.Implementation { internal sealed class FileSystemItemChildItemSet : ItemSet<IFileSystemItem> { private readonly IFileSystemItem owner; public FileSystemItemChildItemSet(IFileSystemItem owner) { if ...
23.2
79
0.562931
[ "MIT" ]
andreigit/VirtualFileSystem
VirtualFileSystem.Model/Implementation/FileSystemItemChildItemSet.cs
1,162
C#
using Northwind.Core.Domain.Entities; using System; using System.Collections.Generic; namespace Northwind.Core.Domain { public class OrderDetails { public int OrderId { get; set; } public int ProductId { get; set; } public decimal UnitPrice { get; set; } public short Quantity {...
24.947368
46
0.626582
[ "MIT" ]
yousefataya/HRMS
Northwind.Core-master/Northwind.Core.Domain/Entities/OrderDetails.cs
476
C#
// <copyright file="StorageTest.cs" company="3M"> // Copyright (c) 3M. All rights reserved. // </copyright> using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Ex...
38.211916
154
0.468255
[ "MIT" ]
JonathanAsbury-SPS/azure-iot-platform-dotnet
test/services/config/Services.Test/StorageTest.cs
50,669
C#
using LiveCharts; using LiveCharts.Configurations; using LiveCharts.Defaults; using LiveCharts.Definitions.Charts; using LiveCharts.Uwp; using System; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 namespace UWP.CartesianChart.LogarithmS...
33.403846
94
0.552677
[ "MIT" ]
A36664-joingame/LiveCharts
Examples/UWP/CartesianChart/LogarithmScale/LogarithmScaleExample.xaml.cs
1,739
C#
using System; using System.Collections.Generic; using System.Text; namespace CarRental.Core.CrossCuttingConcerns.Logging.Log4Net.Loggers { public class DatabaseLogger : LoggerServiceBase { public DatabaseLogger() : base("DatabaseLogger") { } } }
20.285714
69
0.697183
[ "Apache-2.0" ]
kdrkrgz/Kiralamax
src/api/CarRental.Core/CrossCuttingConcerns/Logging/Log4Net/Loggers/DatabaseLogger.cs
286
C#
using FlightNode.Identity.Domain.Entities; using FlightNode.Identity.Services.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace FlightNode.Identity.UnitTests.Domain.Managers.UserDomainManagerTests { public class ChangeForgottenPassword ...
29.288136
116
0.516011
[ "MIT" ]
FlightNode/FlightNode.Api
Identity/test/Domain/Managers/UserDomainManagerTests/ChangeForgottenPassword.cs
5,186
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.Collections.Generic; using System.Data; using System.Data.SqlTypes; using System.Diagnost...
46.386025
389
0.600247
[ "MIT" ]
EngRajabi/SqlClient
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
40,495
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VAdmin; namespace VAdmin { public class ArgInputStatus { public CommandArg Arg { get; set; } public bool InProgress { get; set; } public ArgValidation Validation { get; set; } = ArgValid...
17.789474
70
0.739645
[ "MIT" ]
civilgamers/vrp
code/VAdmin/ArgInputStatus.cs
340
C#
using RPA.Interfaces.Nupkg; using RPA.Shared.Configs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace RPA.Services.Nupkg { public class PackageExportSettingsService : IPackageExportSettingsService { private...
26.967742
87
0.50319
[ "BSD-3-Clause" ]
RPA-ai/rpastudio-book
samples/RPAStudio/RPA.Services/Nupkg/PackageExportSettingsService.cs
2,510
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("Co...
37.810811
84
0.745533
[ "MIT" ]
VProfirov/Telerik-Academy
Module 1/[02] CSharp Advanced/[performance improvement versions] C# Advanced/C# Advanced v0.1/Arrays/CompareArrays/Properties/AssemblyInfo.cs
1,402
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Base { public partial class NewClient : Form { pr...
34.19802
219
0.582513
[ "MIT" ]
mariayurchenko/FitnessPro
Base/NewClient.cs
3,541
C#
namespace _04._Cities_by_Continent_and_Country { using System; using System.Collections.Generic; public class StartUp { public static void Main() { int number = int.Parse(Console.ReadLine()); Dictionary<string, Dictionary<string, List<string>>> geography = new ...
30.188679
136
0.47125
[ "MIT" ]
AntoniyaIvanova/SoftUni
C#/C# Advanced/C# Advanced/03. Sets and Dictionaries Advanced/LAB/04. Cities by Continent and Country/StartUp.cs
1,602
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...
44.500549
160
0.653381
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/OpenSearchService/Generated/ServiceEnumerations.cs
80,991
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Joobie.Data; using Joobie.Models.JobModels; using Joobie.Utility; using Microsoft.AspNetCore.Authorization; namespace Joobie.Controllers { [Authorize(Roles = Strings.AdminUser + "," + String...
26.774648
91
0.48606
[ "MIT" ]
JoobieTeam/Jobie
Joobie/Joobie/Controllers/CategoriesController.cs
3,804
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BinaryQuest.Framework.Core.Data { public class SettingKey { [Key] ...
25.169811
89
0.563718
[ "MIT" ]
binaryquest/bqstart
aspnet/src/bqStart/Binaryquest.Framework.Core/Data/SettingKey.cs
1,336
C#
using AvDe.Contracts.Models; using AvDe.Demo.Tests.Services.XUnitUtilities; using AvDe.Demo.Tests.Services; using AvDe.Persistence.Repositories; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; using System; namespace AvDe.Demo.Tests.UnitTest...
30.709677
105
0.630777
[ "MIT" ]
matjazbravc/AvDe.Sales.Demo
test/AvDe.Demo.Tests/UnitTests/OrderRepositoryTests.cs
1,906
C#
using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Controllers; using JsonApiDotNetCore.Services; using Microsoft.Extensions.Logging; namespace JsonApiDotNetCoreMongoDbExampleTests.IntegrationTests.ReadWrite { public class WorkItemGroupsController : JsonApiController<WorkItemGroup, string> { ...
35.3125
94
0.775221
[ "MIT" ]
alastairtree/JsonApiDotNetCore.MongoDb
test/JsonApiDotNetCoreMongoDbExampleTests/IntegrationTests/ReadWrite/WorkItemGroupsController.cs
565
C#
using System; class CompareArrays { static void Main() { int n = int.Parse(Console.ReadLine()); int[] arr1 = new int[n]; int[] arr2 = new int[n]; bool areEqial = true; for (int i = 0; i < n; i++) { arr1[i] = int.Parse(Console.ReadLine()); } ...
23.206897
60
0.401189
[ "MIT" ]
kaneva91/belongs-to-kali
Telerik Academy/C#/1.C#Basics/Homeworks/07Arrays/02CompareArrays/CompareArrays.cs
675
C#
// Please go to the ClrMD project page on github for full source and to report issues: // https://github.com/Microsoft/clrmd using System; using Microsoft.Diagnostics.Runtime; using System.IO; static class Program { public static void PrintDict(ClrRuntime runtime, string args) { bool failed = fal...
33.286624
194
0.585917
[ "MIT" ]
WillVan/dotnet-samples
Microsoft.Diagnostics.Runtime/CLRMD/DumpDict/Program.cs
5,228
C#
namespace AzureMapsControl.Components.Atlas.FormatOptions { using System.Diagnostics.CodeAnalysis; [ExcludeFromCodeCoverage] public sealed class HyperLinkFormatOptions { /// <summary> /// Specifies the text that should be displayed to the user. /// If not specified, the hyperli...
35.0625
128
0.608734
[ "MIT" ]
ADefWebserver/AzureMapsControl.Components
src/AzureMapsControl.Components/Atlas/FormatOptions/HyperLinkFormatOptions.cs
1,124
C#
#region License and Warranty Information // ========================================================== // <copyright file="Group.cs" company="iWork Technologies"> // Copyright (c) 2015 All Right Reserved, http://www.iworktech.com/ // // This source is subject to the iWork Technologies Permissive License. // Plea...
29.845528
94
0.516753
[ "Apache-2.0" ]
iWorkTech/xapi-wrapper-xamarin-core
component/src/TinCan/Group.cs
3,673
C#
using Microsoft.AspNetCore.Mvc; namespace ClaimManager.Web.Views.Shared.Components.Logout { public class LogoutViewComponent : ViewComponent { public IViewComponentResult Invoke() { return View(); } } }
21
57
0.646825
[ "MIT" ]
seungilpark/ClaimManager
ClaimManager.Web/Views/Shared/Components/Logout/LogoutViewComponent.cs
254
C#
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2010, 2011 Oracle and/or its affiliates. All rights reserved. * */ using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using BerkeleyDB; namespace CsharpAPITest { [TestFixture] public class ...
34.940711
114
0.53405
[ "MIT" ]
UncleBitcoin/doge
db-5.1.29.NC/test/csharp/TransactionCommitTokenTest.cs
8,840
C#
using System; using System.IO; using System.Reflection; // The unmanaged size_t is UInt32 in 32bit processes and UInt64 in 64bit processes // For simplicity and CLS compliancy we generally use Int32, but where it matters Int64 using Size_t = System.Int32; using Size_T = System.Int64; // just some aliases fo...
36.759445
194
0.593913
[ "MIT" ]
malware-dev/DirectXTexNet
DirectXTexNet/DirectXTexNet.cs
47,679
C#
using System; using Eto.Forms; using System.Collections.Generic; using System.Linq; namespace Pablo.Sauce.Types.Bitmap { public enum BitmapFileType { Gif = 0, // (CompuServe Graphics Interchange format) Pcx = 1, // (ZSoft Paintbrush PCX format) LbmIff = 2, // (DeluxePaint LBM/IFF format) Tga = 3, // ...
28.057143
69
0.648676
[ "MIT" ]
blocktronics/pablodraw
Source/Pablo/Sauce/Types/Bitmap/DataTypeInfo.cs
1,964
C#
using Hl7.Fhir.ElementModel.Adapters; using Hl7.Fhir.Model; using Hl7.Fhir.Serialization; using Hl7.Fhir.Specification; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tasks = System.Threading.Tasks; namespace Hl7.Fhir.ElementModel.Tests { [TestClass] public class TypedElementToSourceNodeAdapterTest...
45.303797
169
0.664711
[ "BSD-3-Clause" ]
FirelyTeam/fhir-net-api
src/Hl7.Fhir.ElementModel.Tests/TypedElementToSourceNodeAdapterTests.cs
3,581
C#
using NebzzClient; using NebzzClient.Handlers; using NebzzClient.Messages; using System; using System.Collections.ObjectModel; using System.Threading.Tasks; using System.Windows; using System.Windows.Interop; namespace NebzzClientFront { public partial class MainWindow : Window { internal ObservableCo...
34.912281
116
0.61005
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
michalusio/NebzzChatClient
NebzzClientFront/MainWindow.xaml.cs
1,992
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using TCPingInfoView.Collection; using TCPingInfoView.Forms; namespace TCPingInfoView.Model { public class MainTable : INotifyPropertyChanged { private int Timeout => MainForm.Timeout; private int...
15.242537
82
0.575031
[ "MIT" ]
HMBSbige/TCPingInfoView
TCPingInfoView/Model/MainTable.cs
4,087
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FourDigits { class DigitPlay { static void Main(string[] args) { int number = Int32.Parse(Console.ReadLine()); byte lengthDigit = 4; ...
29.295082
85
0.573027
[ "MIT" ]
singularity0/CSharpBasics
OperatorsExpressions/06.DigitPlay.cs
1,789
C#
#nullable enable using Elffy.Effective; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Elffy.Features.Internal { internal readonly struct LazyApplyingList<T> { private readonly List<T> _list; private readonly List<T> _addedList; private...
29.284553
88
0.526652
[ "MIT" ]
ikorin24/Elffy
src/Elffy.Engine/Features/Internal/LazyApplyingList.cs
3,604
C#
using System.Configuration; namespace Contoso.GenericBus.Config { /// <summary> /// BusConfigurationSection /// </summary> public class BusConfigurationSection : ConfigurationSection { /// <summary> /// Initializes a new instance of the <see cref="BusConfigurationSection"/...
28.162162
110
0.552783
[ "MIT" ]
BclEx/BclEx-Abstract
src/ServiceBuses/Contoso.GenericBus/Config/BusConfigurationSection.cs
1,042
C#
namespace Azure.Monitor.Query { public partial class LogsBatchQuery { public LogsBatchQuery() { } public virtual string AddWorkspaceQuery(string workspaceId, string query, Azure.Monitor.Query.QueryTimeRange timeRange, Azure.Monitor.Query.LogsQueryOptions options = null) { throw null; } } ...
75.865979
383
0.728122
[ "MIT" ]
Kevan-Y/azure-sdk-for-net
sdk/monitor/Azure.Monitor.Query/api/Azure.Monitor.Query.netstandard2.0.cs
29,436
C#
using Seal.Helpers; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace Seal.Model { /// <summary> /// Exception that should not be logged or audited /// </summary> public class Valid...
45.252747
529
0.642545
[ "Apache-2.0" ]
destevetewis/Seal-Report
Projects/SealLibrary/Model/Audit.cs
8,238
C#
using System; using System.Threading.Tasks; namespace Passingwind.Blog.Widgets { public interface IWidget { void ConfigureServices(WidgetConfigureServicesContext context); void Configure(WidgetConfigureContext context); //Task InstallAsync(WidgetInstallContext context); //Task UninstallAsync(WidgetUninstall...
22.176471
65
0.809019
[ "MIT" ]
jxnkwlp/Passingwind.Blog
Passingwind.Blog.Widgets/IWidget.cs
377
C#
using System; using System.Text; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Tests.Logging; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using OpenQA.Selenium; using Xunit; namespace BTCPayServer.Tests { public static class Extensions ...
36.176991
165
0.517613
[ "MIT" ]
Cr4zylive/btcpayserver
BTCPayServer.Tests/Extensions.cs
4,088
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TriggerDescriptiveClose : MonoBehaviour { private TriggerDescriptiveMessage messageTrigger; private void Start() { messageTrigger = GetComponentInChildren<TriggerDescriptiveMessage>(); } private void ...
30.333333
82
0.712716
[ "Apache-2.0", "MIT" ]
austin-j-taylor/Invested
Assets/Scripts/Environment/Triggers/TriggerDescriptiveClose.cs
639
C#
/* * Copyright (c) Dominick Baier. All rights reserved. * see license.txt */ using System; using System.IdentityModel.Services; using System.IdentityModel.Tokens; using System.Linq; using System.Security.Claims; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Web; using T...
34.816667
128
0.656295
[ "BSD-3-Clause" ]
YouthLab/Thinktecture.IdentityModel.45
IdentityModel/Thinktecture.IdentityModel/Web/ClaimsAuthenticationHttpModule.cs
2,091
C#
using System; using System.Collections.Generic; using System.Text; namespace SubSonic { public class Sql2005Query:SqlQuery { } }
14.3
40
0.72028
[ "BSD-3-Clause" ]
BlackMael/SubSonic-2.0
SubSonic/SqlQuery/Sql2005Query.cs
143
C#
using Khooversoft.Toolbox; namespace Khooversoft.Net { public class EventDataHeader : IHttpHeaderProperty { public EventDataHeader(string value) { Verify.IsNotEmpty(nameof(value), value); Value = value; } public EventDataHeader(string[] values) ...
22.058824
66
0.566667
[ "MIT" ]
khoover768/Khooversoft
Src/Common/Khooversoft.Toolbox/Khooversoft.Net/Headers/Properties/EventDataHeader.cs
752
C#
// This file was generated from LLVM 3.6.1 llvm-c API using ClangSharp // it was further modified in the following ways: // - removed most uses of the partial keyword except for LLVMNative static class and LLVMBool // - added warning disable to avoid benign compiler warnings about fields only set by native code /...
82.57906
339
0.771111
[ "MIT" ]
NETMF/llilum
Zelig/Zelig/CompileTime/Llvm.NET/Llvm.NET/LLVM/Generated.cs
268,960
C#
using System; using System.Collections.Generic; using System.Text; namespace OKExSDK.Models.Spot { public class SpotOrderMarket : SpotOrder { /// <summary> /// 买入金额,市价买入是必填notional /// </summary> public string notional { get; set; } } }
18.866667
44
0.618375
[ "Apache-2.0" ]
yellow001/CoinAPP_Server
OKExSDK/Models/Spot/SpotOrderMarket.cs
309
C#
namespace Novell.Directory.Ldap.Sasl { public class SaslCramMd5Request : SaslRequest { public SaslCramMd5Request() : base(SaslConstants.Mechanism.CramMd5) { } public SaslCramMd5Request(string username, string password) : this() { Auth...
24.611111
80
0.586907
[ "MIT" ]
dogguts/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/Sasl/SaslCramMd5Request.cs
445
C#
namespace Intro.Api.Web.Areas.HelpPage { /// <summary> /// Indicates whether the sample is used for request or response /// </summary> public enum SampleDirection { Request = 0, Response } }
20.909091
68
0.604348
[ "MIT" ]
Miruken-DotNet/Presentation-AspNet-Intro
Intro.Api.Web/Areas/HelpPage/SampleGeneration/SampleDirection.cs
230
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.ReverseProxy.Abstractions; using Microsoft.ReverseProxy.RuntimeMode...
54.07947
172
0.682709
[ "MIT" ]
jrunyen/reverse-proxy
test/ReverseProxy.Tests/Service/HealthChecks/ConsecutiveFailuresHealthPolicyTests.cs
8,166
C#
// Decompiled with JetBrains decompiler // Type: Diga.WebView2.Interop.COREWEBVIEW2_KEY_EVENT_KIND // Assembly: Diga.WebView2.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: E0C0240C-E7D7-45C8-B13A-ACBB49432772 // Assembly location: O:\webview2\V9622\Diga.WebView2.Interop.dll namespace Diga.We...
33.352941
89
0.811287
[ "MIT" ]
ITAgnesmeyer/Diga.WebView2
Archive/V109634/Diga.WebView2.Interop.V109634/COREWEBVIEW2_KEY_EVENT_KIND.cs
569
C#
namespace Vanguard.Framework.Core.Parsers { using System; /// <summary> /// The integer 64 bit converter. /// </summary> /// <seealso cref="TypeConverterBase" /> internal class Int64Converter : TypeConverterBase { /// <inheritdoc /> public override object? Convert(string va...
25.285714
78
0.526836
[ "MIT" ]
jgveire/Vanguard.Framework
src/Vanguard.Framework.Core/Parsers/Int64Converter.cs
710
C#
// --------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // // The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files...
37.49635
108
0.583317
[ "MIT" ]
Bhaskers-Blu-Org2/Windows-appsample-trafficapp
LocationHelper/LocationData.cs
10,276
C#
using System; using System.Collections.Generic; using System.Text; namespace MainLibrary { public static class CLIUtils { public static void WaitForExit() { Console.Write("Press any key to exit... "); Console.ReadKey(); } } }
18
55
0.590278
[ "MIT" ]
r-mura/CSharpCodeAcademy
HelloCSharpUniverse/MainLibrary/CLIUtils.cs
290
C#
using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Loader; using static WorkspaceServer.Kernel.CSharpKernelExtensions; namespace MLS.Agent { public class NativeAssemblyLoadHelper : INativeAssemblyLoadHelper { private AssemblyDependencyRes...
27.557692
102
0.610607
[ "MIT" ]
siyabongaprospersithole/try
MLS.Agent/NativeAssemblyLoadHelper.cs
1,435
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.Diagnostics; namespace Internal.TypeSystem { // This is the api surface necessary to...
37.35809
140
0.58783
[ "MIT" ]
anydream/corert
src/Common/src/TypeSystem/Common/DefType.FieldLayout.cs
14,084
C#
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
41.619048
105
0.717391
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2.GeneratedSnippets/ParticipantsClient.SuggestFaqAnswersAsyncSnippet.g.cs
1,748
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using MongoDB.Bson; using MongoDB.Driver.Builders; using MongoDB.Driver.Core.Configuration; using MongoDB.Driver.Core.Events.Diagnostics; namespace MongoDB.Drive...
32.784615
123
0.516893
[ "Apache-2.0" ]
mfloryan/mongo-csharp-driver
src/MongoDB.Driver.TestConsoleApplication/Api.cs
4,264
C#
namespace Ianitor.Osp.Backend.Identity.ViewModels.Account { public class RedirectViewModel { public string RedirectUrl { get; set; } } }
22.285714
57
0.692308
[ "MIT" ]
ianitor/ObjectServicePlatform
Osp/Backend/Ianitor.Osp.Backend.Identity/ViewModels/Account/RedirectViewModel.cs
156
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AstroWorld.Common { public class Rotator : MonoBehaviour { public enum Direction { xAxis, yAxis, zAxis }; public Direction direction; public flo...
24.375
74
0.497436
[ "MIT" ]
Rud156/AstroWorld
Assets/Scripts/Common/Rotator.cs
977
C#
namespace GestionZoo.Models { public class Agent : Personne { public string NumeroMatricule { get; set; } } }
18.428571
51
0.635659
[ "MIT" ]
passyweb/csharp-codes
GestionZoo/Models/Agent.cs
129
C#
using Raider.Validation.Test.Model; using Raider.Validation.Test.Validators; using System; using System.Collections.Generic; using System.Diagnostics; using Xunit; using Xunit.Abstractions; namespace Raider.Validation.Test { public class ComplexValidationTest { private readonly ITestOutputHelper _output; publi...
29.391553
139
0.61734
[ "Apache-2.0" ]
raider-net/Raider
test/Raider.Validation.Test/ComplexValidationTest.cs
41,062
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 Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.Direct3D12 { [Flags] [NativeName("Name", "D3D12_DRED_ENABLEMENT")] public...
28.307692
71
0.6875
[ "MIT" ]
Libertus-Lab/Silk.NET
src/Microsoft/Silk.NET.Direct3D12/Enums/DredEnablement.gen.cs
736
C#
using System; using NetOffice; namespace NetOffice.OWC10Api.Enums { /// <summary> /// SupportByVersion OWC10 1 /// </summary> [SupportByVersionAttribute("OWC10", 1)] [EntityTypeAttribute(EntityType.IsEnum)] public enum DscPageRelTypeEnum { /// <summary> /// SupportByVersion OWC10 1 /// </summary> ...
21.846154
42
0.653169
[ "MIT" ]
brunobola/NetOffice
Source/OWC10/Enums/DscPageRelTypeEnum.cs
570
C#
// Copyright 2020 Google LLC // // 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 ...
32.507042
83
0.630849
[ "Apache-2.0" ]
googlestadia/vsi-lldb
YetiCommon.Tests/CastleAspects/TestSupport/MethodInfoUtilTests.cs
2,310
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cubes : MonoBehaviour { private GameSettings settings; private bool isActive; private GameObject[] cubeList = new GameObject[4]; void Start() { settings = GameObject.Find("GameSetting...
39.36
168
0.568767
[ "MIT" ]
der3318/flipping-cubes
Assets/Cubes.cs
5,906
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class SuccessSports : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } }
19.285714
56
0.748148
[ "MIT" ]
BJB-SK/MK
Website_public/SuccessSports.aspx.cs
272
C#
using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tynamix.ObjectFiller; namespace ObjectFiller.Test { public abstract class Parent { public Parent(int id) { Id = id; } public int Id { get; set; } } ...
20.269231
83
0.531942
[ "MIT" ]
twenzel/ObjectFiller.NET
Tynamix.ObjectFiller.Test/CreateInstanceTest.cs
1,583
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0// #endregion // This file is auto-generated by the ClearCanv...
32.43662
93
0.573165
[ "Apache-2.0" ]
SNBnani/Xian
ImageServer/Model/EntityBrokers/CannedTextSelectCriteria.gen.cs
2,303
C#
// Copyright 2018 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Execution; using Nuke.Common.Utilities; na...
32.663636
128
0.5828
[ "MIT" ]
Bloemert/nuke-build-common
source/Nuke.Common/EnvironmentInfo.Parameters.cs
7,188
C#
using System.IO; using Microsoft.AspNetCore.Hosting; namespace Don.SportsStoreCore.Web.Host.Startup { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDi...
22.666667
64
0.535714
[ "MIT" ]
antgerasim/Don.SportsStoreCore
aspnet-core/src/Don.SportsStoreCore.Web.Host/Startup/Program.cs
478
C#
// Copyright © 2020 EPAM Systems, Inc. All Rights Reserved. All information contained herein is, and remains the // property of EPAM Systems, Inc. and/or its suppliers and is protected by international intellectual // property law. Dissemination of this information or reproduction of this material is strictly forbidden...
32.688136
161
0.486674
[ "MIT" ]
epam/epam-graphql
src/Epam.GraphQL/Relay/Paginator.cs
9,644
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.LINQ.Largest3Numbers { class Largest3Numbers { static void Main(string[] args) { List<double> numbers = Console.ReadLine().Split().Select(double.Parse)....
24.444444
126
0.652273
[ "MIT" ]
DimchoLakov/ProgrammingFundamentalsMay2017
08.Dictionaries.Lambda.LINQ-Lab/04.LINQ.Largest3Numbers/Largest3Numbers.cs
442
C#
using System.Linq; using ZSZ.Service.Entities; namespace ZSZ.Service { //这个类是用来引用的,不是用来继承的 //上层不应该知道数据是如何存储的,使用的什么ORM(如:EF) internal sealed class CommonService<T> where T:BaseEntity { private ZSZDbContext ctx; public CommonService(ZSZDbContext ctx) { this.ctx = ctx;...
24.53125
67
0.491083
[ "Apache-2.0" ]
laoshuai/ZSZ
ZSZ.Service/CommonService.cs
1,730
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Text.RegularExpressions; using System.Net; using EasyWeb.Log; namespace EasyWeb.Net.Http { public class Server { protected Router _router; protected IHandler _notFoundHandler; ...
29.630952
128
0.57493
[ "MIT" ]
dragonquest/easy-web
EasyWeb/Net/Http/Server.cs
2,489
C#
namespace MarkdownWeb { /// <summary> /// The purpose of this class is to be able to convert wiki url paths to website url paths. /// </summary> /// <remarks> /// <para> /// Wiki paths are relative to the wiki root, while the wiki might be in a sub path on the web site. S...
38.065217
128
0.557967
[ "Apache-2.0" ]
jgauffin/markdownweb
src/MarkdownWeb/IUrlPathConverter.cs
1,753
C#
#region License // TableDependency, SqlTableDependency // Copyright (c) 2015-2019 Christian Del Bianco. All rights reserved. // // 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 // ...
43.945946
131
0.758918
[ "MIT" ]
GSUFan513/monitor-table-change-with-sqltabledependency
TableDependency.SqlClient/Exceptions/DbObjectsWithSameNameException.cs
1,628
C#
using System; using Tccp.PlayBall.GroupManagement.Business.Impl.Services; using Tccp.PlayBall.GroupManagement.Business.Services; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.Extensions.DependencyInjection { public static class ServiceCollectionExtens...
35.83871
145
0.685869
[ "MIT" ]
tarcisiocorte/GroupManagementTarcisio
src/TCCP.PlayBall.GroupManagement.Web/IoC/ServiceCollectionExtensions.cs
1,111
C#
using System; using System.Collections.Generic; using Android.Runtime; namespace Android.Text { // Metadata.xml XPath class reference: path="/api/package[@name='android.text']/class[@name='SpannableStringInternal']" [global::Android.Runtime.Register ("android/text/SpannableStringInternal", DoNotGenerateAcw=true)] ...
42.609756
217
0.77075
[ "MIT" ]
pjcollins/java.interop
tools/generator/Tests-Core/expected/Android.Text.SpannableStringInternal.cs
3,494
C#
using System; using System.Collections.Generic; using System.Text; namespace Restaurant { public class Dessert : Food { public double Calories { get; set; } public Dessert(string name, decimal price, double grams, double calories) :base(name, price,grams) { C...
17.9
81
0.603352
[ "MIT" ]
Plamen-Angelov/OOP
Inheritance/Exercise/Restaurant/Dessert.cs
360
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.Buffers; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using System...
41.315718
169
0.503263
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.Parse.cs
30,491
C#
using System; namespace HallOfBeorn.Models.LotR.ProductGroups { public class VengeanceOfMordorProductGroup : ProductGroup { public VengeanceOfMordorProductGroup() : base("Vengeance of Mordor Cycle") { AddMainProduct(Product.AShadowInTheEast); AddCh...
42.769231
80
0.697842
[ "MIT" ]
danpoage/hall-of-beorn
src/HallOfBeorn/Models/LotR/ProductGroups/VengeanceOfMordorProductGroup.cs
1,114
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.Collections.Generic; using System.Threading; using System.Threading.Tasks; using BuildXL.Cache.ContentStore.Interfaces.Results; using BuildXL.Cache....
39.490909
179
0.609576
[ "MIT" ]
AzureMentor/BuildXL
Public/Src/Cache/MemoizationStore/Interfaces/Sessions/ContentSessionExtensions.cs
2,172
C#
// Copyright 2017 the original author or 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 required by applicable law...
37.626374
193
0.641063
[ "ECL-2.0", "Apache-2.0" ]
spring-operator/Management
src/Steeltoe.Management.EndpointOwin/HeapDump/HeapDumpEndpointOwinMiddleware.cs
3,426
C#
namespace EmployeeBonusSharp.Shared; public class Employee { public string FirstName { get; set; } public string LastName { get; set; } public List<Certificate> Certificates { get; set; } public DateTime DateOfEmployment { get; set; } public int TotalVotesForHelpingOtherColleagues { get; set; } ...
32.230769
87
0.636038
[ "MIT" ]
marko-lohert/Talk-CSharp10-demo-app-EmployeeBonusSharp
Demo/EmployeeBonusSharp/EmployeeBonusSharp/Shared/Employee.cs
840
C#
using UnityEngine; using System; using UnityEngine.UI; using Modules.General.InAppPurchase; using Drawmasters.ServiceUtil; using Drawmasters.OffersSystem; using Drawmasters.Ui; namespace Drawmasters { [Serializable] public class ChoosableCardVisualStateData { public ChoosableCardState state = def...
25.634731
98
0.613408
[ "Unlicense" ]
TheProxor/code-samples-from-pg
Assets/Scripts/GameFlow/Gui/Core/ChoosableCard.cs
4,283
C#
// This file has been generated by the GUI designer. Do not modify. public partial class MainWindow { private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.TextView textview; protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWin...
34.075
92
0.744681
[ "BSD-2-Clause" ]
EvilusPL/random_number_test
random_number_test/gtk-gui/MainWindow.cs
1,363
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Extensions.DependencyInjection; using System; namespace Microsoft.Azure.WebJobs.Extensions.Kafka { public static class KafkaWebJobsBuilderExtensio...
33.113636
108
0.61359
[ "MIT" ]
TsuyoshiUshio/azure-functions-kafka-extension
src/Microsoft.Azure.WebJobs.Extensions.Kafka/Config/KafkaWebJobsBuilderExtensions.cs
1,459
C#
using UnityEngine; using System.Collections; namespace Obi { public interface IBendTwistConstraintsBatchImpl : IConstraintsBatchImpl { void SetBendTwistConstraints(ObiNativeIntList orientationIndices, ObiNativeQuaternionList restDarboux, ObiNativeVector3List stiffnesses, ObiNativeVector2List plasticit...
33.727273
217
0.822102
[ "Apache-2.0" ]
Kasunay/Venomx
Assets/Obi/Scripts/Common/Backends/Interface/Constraints/IBendTwistConstraintsBatchImpl.cs
373
C#
using System; using System.Web.Mvc; using Castle.Services.Transaction; using MvcContrib.Services; namespace MvcContrib.Castle { /// <summary> /// Indicates the transaction support for a method. /// This attribute is modeled after Castle's ATM: /// http://www.castleproject.org/container/facilities/v1rc3/a...
30.053333
137
0.67835
[ "Apache-2.0" ]
ekonbenefits/MVCContrib.FluentHtml
src/MvcContrib.Castle/MvcTransactionAttribute.cs
4,508
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace Reminder.api.Migrations...
31.479167
103
0.590338
[ "MIT" ]
William-io/Reminder
src/Reminder.api/Migrations/20211125233954_Initial Migration.Designer.cs
1,513
C#
// Copyright (c) 2001-2016 Aspose Pty Ltd. All Rights Reserved. // // This file is part of Aspose.Words. The source code in this file // is only intended as a supplement to the documentation, and is provided // "as is", without warranty of any kind, either expressed or implied. ////////////////////////////////////////...
36.506173
152
0.621238
[ "MIT" ]
Aspose/Aspose.Words-for-.NET
ApiExamples/CSharp/ExReportingEngine.cs
5,916
C#
using System; using FluentAssertions; using NUnit.Framework; namespace StatementConverter.Test { [TestFixture] public class GenericMethodTest { [SetUp] public void Setup() { Helper.Setup(); } [Test] public void Default() { va...
20.709677
103
0.577882
[ "MIT" ]
andreinitescu/HotReloading
Core/StatementConverter.Test/IntegrationTests/GenericMethodTest.cs
644
C#