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
// MIT License - Copyright (C) The Mono.Xna Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Diagnostics; using System.Runtime.Serialization; namespace Microsoft.Xna.Framework { /// <summary> /// An...
40.957358
166
0.564009
[ "MIT" ]
PseudoPlay/MonoGame
MonoGame.Framework/Quaternion.cs
48,985
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
38.029981
180
0.534671
[ "BSD-3-Clause" ]
UbitUmarov/OpenSim
OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
60,886
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; //using System.ServiceModel.Channels; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; //using Microsoft.AspNetCore.Http.Internal; using Microsoft.AspNetCore.Identit...
34.636752
185
0.544109
[ "MIT" ]
https-github-com-duytan2309-AppCoreWeb/AppCoreWeb
TeduCoreApp/Controllers/FilesController.cs
8,107
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; using System.Collections.Generic; using System.Data; using System.Linq; ...
41.703704
157
0.58585
[ "MIT" ]
MaiklT/Dnn.Platform
DNN Platform/Library/Services/FileSystem/FolderMappings/FolderMappingController.cs
10,136
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("XPusher")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: A...
34.892857
81
0.743091
[ "Apache-2.0" ]
wcoder/XPusher
XPusher/XPusher/Properties/AssemblyInfo.cs
979
C#
using LyncUCWA.Service; using LyncUCWA.Properties; using System; using System.Net.Http; public class LyncHttpClient : HttpClient { public static bool IsLoggedIn { get; set; } /// <summary> /// Build a new Lync UCWA request object. /// </summary> /// <param name="url">URI of the resource</param> ...
35.148148
110
0.665964
[ "MIT" ]
rencoder/LyncUCWA
LyncUCWA/LyncHttpClient.cs
951
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 ...
43.071429
98
0.711028
[ "Unlicense" ]
luciochen233/CSE483-code
repo/Canvas_ObsCollection_Project/Properties/AssemblyInfo.cs
2,415
C#
using Actio.Common.Events; using Actio.Common.Services; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Actio.Api { public class Program { public static void Main(string[] args) { ServiceHost.Create<Startup>(args) .UseRabbitMq() ...
21.8
52
0.575688
[ "MIT" ]
msadeqsirjani/Actio
src/Actio.Api/Program.cs
436
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Authorization; using littlebreadloaf.Data; namespace littlebreadloaf.Pages.Products { [Authorize] public class P...
34.283784
112
0.59598
[ "MIT" ]
ZombieFleshEaters/LittleBreadLoaf
littlebreadloaf/Pages/Products/ProductDelete.cshtml.cs
2,537
C#
using Microsoft.EntityFrameworkCore; using MultiTenant.Data.Abstract; using MultiTenant.Model.Master; namespace MultiTenant.Data.Configuration.Master; public class ClienteConfiguration : ConfigBase<Cliente> { protected override void ConfigureFK() { } protected override void ConfigurePK() { ...
23.45
55
0.595949
[ "MIT" ]
jeffersonmello/aspnetcore.ef.migrations.multitenant
MultiTenant/MultiTenant.Data/Configuration/Master/ClienteConfiguration.cs
938
C#
using Newtonsoft.Json; namespace Alipay.AopSdk.Core.Response { /// <summary> /// AlipayOpenAppXwbtestpreCreateResponse. /// </summary> public class AlipayOpenAppXwbtestpreCreateResponse : AopResponse { /// <summary> /// s /// </summary> [JsonProperty("forestuser")] public bool Forestuser { get; ...
18.75
65
0.576
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk.Core/Response/AlipayOpenAppXwbtestpreCreateResponse.cs
754
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StrategyPattern { class Squeck : IQuackBehavior { public void Quack() { Console.WriteLine("Squeak"); } } }
16.647059
40
0.639576
[ "Apache-2.0" ]
nandehutuzn/DesignPattern
ZnDesignPattern/StrategyPattern/Squeck.cs
285
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...
35.207792
104
0.638141
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WAFV2/Generated/Model/ListAvailableManagedRuleGroupsResponse.cs
2,711
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace PholioVisualisation.RequestParameters { public class ParentAreaGroupsParameters : BaseParameters { public int ProfileId { get; set; } public int TemplateProfile...
25.714286
87
0.632222
[ "MIT" ]
PublicHealthEngland/fingertips-open
PholioVisualisationWS/RequestParameters/ParentAreaGroupsParameters.cs
902
C#
using LiveScoreUpdateSystem.Data.SaveContext.Contracts; using LiveScoreUpdateSystem.Web.Infrastructure.Providers; using System.Web.Mvc; namespace LiveScoreUpdateSystem.Web.Infrastructure.Attributes { public class SaveChangesAttribute : ActionFilterAttribute { } }
30.666667
61
0.826087
[ "MIT" ]
papiReta/livescore
LiveScoreUpdateSystem/LiveScoreUpdateSystem.Web/Infrastructure/Attributes/SaveChangesAttribute.cs
278
C#
using System.Linq; public static class IsbnVerifier { public static bool IsValid(string number) { number = number.Replace("-", ""); if (number.Length != 10) { return false; } var chars = number.ToCharArray(); if (!chars.Take(9).All(c => char.IsDigit(c))) { ...
28.451613
95
0.420635
[ "MIT" ]
Sankra/ExercismSolutions
csharp/isbn-verifier/IsbnVerifier.cs
884
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Controls { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ public enum CommandBarLabelPosition { #if __ANDROID__ || __IOS__ || NET461 ||...
31.882353
99
0.714022
[ "Apache-2.0" ]
Robert-Louis/Uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/CommandBarLabelPosition.cs
542
C#
using EntscheidungsbaumLernen.Controller; using EntscheidungsbaumLernen.Interfaces; using System; namespace EntscheidungsbaumLernen.Factorys { #region CLASS WissensspeicherFactory ................................................................................... /// <summary> /// Factory zum Erzeugen der Klas...
39.717742
154
0.531777
[ "MIT" ]
Paz-Paz/DecisionTree
EntscheidungsbaumLernen/Factorys/WissensspeicherFactory.cs
4,941
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace NETCore.DapperKit.ExpressionVisitor.Query.Interface { public interface IDeleteQueryAble<T> : ISqlQueryAble<T> where T : class { } }
19.538462
75
0.76378
[ "MIT" ]
myloveCc/NETCore.DapperKit
src/NETCore.DapperKit/ExpressionVisitor/Query/Interface/IDeleteQueryAble.cs
254
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.125
83
0.596127
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Postgres/V20170312/Models/DBInstanceNetInfo.cs
2,291
C#
namespace HaRepacker.GUI { partial class FirstRunForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
38.657534
144
0.598157
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
369MJ/Harepacker-resurrected
HaRepacker/GUI/FirstRunForm.Designer.cs
2,824
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<...
65.675676
1,368
0.721811
[ "MIT" ]
Kusnaditjung/MimDms
src/Dms.Ambulance.V2100/Generated/ProcessingMode_code.cs
2,430
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("6t...
37.756757
84
0.745168
[ "MIT" ]
nikoivo/programming-basics
exam-real-18th/6th/Properties/AssemblyInfo.cs
1,400
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace gitapp2.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLo...
25.25
88
0.680693
[ "MIT" ]
asalavessa/gitapp2
gitapp2/Pages/Error.cshtml.cs
808
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Ex_03_CountWords { class StartUp { static void Main(string[] args) { ReadFile(); } private static void ReadFile() { var words = new List<string>(); ...
29.610169
118
0.499714
[ "MIT" ]
Brankovanov/SoftUniCourses
3.CSharpAdvanced/C#Advanced2020/StreamsFilesDirectoriesExcersises/Ex_03_CountWords/StartUp.cs
1,749
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
45.542373
135
0.640119
[ "MIT" ]
DeepakRajendranMsft/azure-sdk-tools
src/ServiceManagement/Services/Commands/Store/RemoveAzureStoreAddOn.cs
2,631
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayUserLogonidMaskedQueryModel Data Structure. /// </summary> [Serializable] public class AlipayUserLogonidMaskedQueryModel : AlipayObject { ...
24.7
65
0.65587
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserLogonidMaskedQueryModel.cs
532
C#
using System.ComponentModel.DataAnnotations; namespace ByYsmn.Web.UI.Models { public class LoginViewModel { [Required] [EmailAddress] [Display(Name = "Kullanıcı Adı")] public string Username { get; set; } [Required] [DataType(DataType.Password)] [Display...
28.944444
128
0.618042
[ "MIT" ]
asafgunay/ByYsmn
src/ByYsmn.Web.UI/Models/LoginViewModel.cs
526
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; namespace Pulumi.Azur...
32.162791
115
0.661605
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Search/V20191001Preview/Outputs/PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState.cs
1,383
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; using System.Runtime.InteropServices; using Autodesk; using Autodesk.Revit; using Autodesk.Revit.DB; using Autodesk.Revit.UI; using Autodesk.Revit.ApplicationServices; using Rhi...
34.380986
219
0.599909
[ "MIT" ]
jmirtsch/rhino.inside
Autodesk/Revit/Convert.cs
48,099
C#
using DFC.App.SkillsHealthCheck.Services.SkillsCentral.Enums; using DFC.App.SkillsHealthCheck.Services.SkillsCentral.Messages; using System.Threading.Tasks; namespace DFC.App.SkillsHealthCheck.Services.SkillsCentral.Interfaces { public interface ISkillsHealthCheckService { /// <summary> /// Ge...
42.525641
119
0.661743
[ "MIT" ]
SkillsFundingAgency/dfc-app-skillshealthcheck
DFC.App.SkillsHealthCheck.Services.SkillsCentral/Interfaces/ISkillsHealthCheckService.cs
3,319
C#
using System; namespace OP.MSCRM.AutoNumberGenerator.Plugins.ExceptionHandling { /// <summary> /// Plugin execution exception handling /// </summary> public class PluginException : Exception { public PluginException(string name, string description) { Name =...
23.5
65
0.539514
[ "MIT" ]
ITFury/MSCRMAutoNumberGenerator
OP.MSCRM.AutoNumberGenerator/OP.MSCRM.AutoNumberGenerator.Plugins/ExceptionHandling/PluginException.cs
660
C#
// // Encog(tm) Core v3.3 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2014 Heaton Research, 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 /...
34.640625
87
0.531123
[ "BSD-3-Clause" ]
asad4237/encog-dotnet-core
encog-core-cs/ML/Factory/Train/SVMSearchFactory.cs
4,434
C#
namespace Whitelist { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
35.16
108
0.532423
[ "MIT" ]
Verfired/WhiteList
Whitelist/Form1.Designer.cs
2,639
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("Gr...
37.594595
84
0.744069
[ "MIT" ]
vesopk/TechModule-Exercises
DataTypeLab/Greetings/Properties/AssemblyInfo.cs
1,394
C#
using System; using Rxns.Xamarin.Features.Navigation.Pages; using Xamarin.Forms; namespace Rxns.Xamarin.Features.Navigation { public interface IResolvePages { /// <summary> /// Resolves view model with a given configuration, ready for use /// </summary> /// <typeparam name="TP...
39.648649
149
0.706203
[ "MIT" ]
captainjono/rxns
src/Rxns.Xamarin/Features/Navigation/IResolvePages.cs
1,469
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Http.Json; using System.Security.Claims; using System.Threading.Tasks; //using Blazored.LocalStorage; //using Blazored.SessionStorage; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore...
49.08
185
0.760935
[ "MIT" ]
parad74/Count4U.Service.5
src/Count4U.Client.Shared_test/Service/Infrastructure/ApiAuthenticationStateProvider.cs
12,394
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.Runtime.InteropServices; internal static partial class Interop { public static part...
40.130435
150
0.71506
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms.Primitives/src/Interop/UxTheme/Interop.GetThemeString.cs
925
C#
/* BoutDuTunnel Copyright (c) 2006-2019 Sebastien Lebreton 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,...
28.25
112
0.740708
[ "MIT" ]
Luciker/Bdtunnel
Bdt.Server/Service/TunnelConnection.cs
2,260
C#
// MathTypeSDK.cs --- Copyright (c) 2008-2010 by Design Science, Inc. // Purpose: // $Header: /MathType/Windows/SDK/DotNET/MTSDKDN/MTSDKDN/MathTypeSDK.cs 7 4/07/10 11:00a Jimm $ using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace MTSDKDN { #region...
46.248722
194
0.614723
[ "MIT" ]
scalad/MathML2MathTypeEquation
MTSDKDN/MTSDKDN/MathTypeSDK.cs
54,296
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace MercadoPago.DataStructures.Payment { public struct Identification { /// <summary> /// Identification type /// </summary> [St...
22.791667
45
0.583181
[ "MIT" ]
GustavoHennig/Lexim-MercadoPago-Sdk
px-dotnet/DataStructures/Payment/Identification.cs
549
C#
using eXam; using Windows.UI.Xaml.Media; using Xamarin.Forms; using Xamarin.Forms.Platform.WinRT; //add appropriate using statement for each windows platform variant [assembly: ResolutionGroupName ("Xamarin")] [assembly: ExportEffect (typeof (GradientEffectWindows), "GradientEffect")] namespace eXam { internal clas...
30.409836
145
0.624798
[ "MIT" ]
XamarinUniversity/Evolve-HOL
Exercises/Ex21/eXam/eXam.WinPhone/GradientEffectWindows.cs
1,857
C#
#pragma checksum "C:\Users\Mert\source\repos\RazorViews\RazorViews\Views\Cats\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c2aa46a74baa03f8574b1f35b350236b7482b955" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNe...
66.919355
363
0.746324
[ "MIT" ]
meco00/CSharp-Web
RazorViews/RazorViews/obj/Debug/net5.0/Razor/Views/Cats/Create.cshtml.g.cs
16,596
C#
namespace DrawingFromGeometryGraphSample { partial class DrawingFromGeometryGraphForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
32.44186
107
0.569892
[ "MIT" ]
0xbeecaffe/MSAGL
GraphLayout/Samples/DrawingFromGeometryGraphSample/DrawingFromGeometryGraphForm.Designer.cs
1,395
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...
22.709091
76
0.640512
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Jdfusion/Model/CreateRDSDB.cs
1,263
C#
using Newtonsoft.Json.Linq; using OTFN.Core.Market; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OTFN.Core.Endpoints.JSON { public static class QuoteExtension { private const string KeyOpen = "o"; private const st...
29.510204
76
0.565007
[ "Apache-2.0" ]
AndreyMav/OpenTradingFrameworkNet
OTFNCore/Endpoints/JSON/QuoteExtension.cs
1,448
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 reg...
32.888128
139
0.710357
[ "MIT" ]
Azure-Samples/azure-iot-samples-csharp
iot-hub/Samples/device/XamarinSample/XamarinSample/XamarinSample.Android/Resources/Resource.designer.cs
230,480
C#
/* Copyright (C) 2008-2015 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * 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 t...
66.968288
231
0.708012
[ "MIT" ]
OpenDataSpace/AlphaFS
AlphaFS/Filesystem/Directory Class/Directory.EnumerateFileSystemEntries.cs
31,676
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; namespace Pulumi.Azur...
28.833333
125
0.643545
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/V20170901Preview/Outputs/RetryPolicyResponse.cs
1,038
C#
// Autor : Juan Parra // 3Soft namespace Jen { /// <summary> /// para invocar a funciones sin argumentos y sin retorno /// </summary> public delegate void Proc(); /// <summary> /// para invocar a funciones sin retorno con argumento TParam /// </summary> /// <typeparam name="TParam">Tipo...
44.725
94
0.66853
[ "Apache-2.0" ]
JuanParraC/Jen
Delegados.cs
1,795
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.MSFormsApi { /// <summary> /// DispatchInterface IMdcToggleButton /// SupportByVersion MSForms, 2 /// </summary> [SupportByVersion("MSForms", 2)] [EntityType(EntityType.IsDispatchInterfac...
25.4
62
0.76378
[ "MIT" ]
igoreksiz/NetOffice
Source/MSForms/DispatchInterfaces/IMdcToggleButton.cs
510
C#
using System; using System.IO; using System.Net; using System.Text; using System.Security.Cryptography.X509Certificates; using System.Net.Security; ///////////////////////////////////////////////////////////////////////////////////////////////////// //web_client ////////////////////////////////////////////////////////...
34.1
185
0.489247
[ "Apache-2.0" ]
pedro-vicente/lib_netsockets_cs
web_client.cs
2,046
C#
using Newtonsoft.Json.Linq; namespace SitecoreCognitiveServices.Foundation.BigMLSDK { public partial class Centroid { public class Arguments : Arguments<Centroid> { /// <summary> /// A valid dataset/id. /// </summary> public string DataSet ...
21.793103
79
0.476266
[ "MIT" ]
markstiles/SitecoreCognitiveServices.Core
src/Foundation/BigMLSDK/code/Centroid/Arguments.cs
632
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("WebProject")] [assembly: AssemblyDescript...
39.314286
84
0.74782
[ "Apache-2.0" ]
NumericTechnology/SkeletonApp.Net
WebSolution/WebProject/Properties/AssemblyInfo.cs
1,380
C#
using System; using System.Collections.Generic; using SadConsole.StringParser; namespace SadConsole { public partial class ColoredString { /* https://github.com/Thraka/SadConsole/discussions/272 New replaceable method named Parse. Must be generic enough to not accept a...
46.857143
154
0.657317
[ "MIT" ]
SadConsole/SadConsole
SadConsole/ColoredString.Parse.cs
1,642
C#
using System; using System.Collections.Generic; using Models.Dtos.Taches; namespace Models.Mocks { public class TacheMock : IDtoMock<TacheReadDto> { public IList<TacheReadDto> Data { get; } public TacheMock() { Data = new List<TacheReadDto> { new TacheReadDto { Id = 1, Active = true, ...
16.05
48
0.579439
[ "MIT" ]
secretMoi/Wallon
Models/Mocks/TacheMock.cs
644
C#
// <auto-generated /> using Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Database.Migrations { [DbContext(typeof(DemoDbContext))] partial c...
34.846154
125
0.618837
[ "MIT" ]
ArmandJ77/grpc-demo
Demo/Database/Migrations/DemoDbContextModelSnapshot.cs
1,361
C#
namespace Esri.ArcGISRuntime.OpenSourceApps.MapsApp.UWP { public sealed partial class MainPage { public MainPage() { InitializeComponent(); LoadApplication(new Xamarin.App()); } } }
18.769231
56
0.586066
[ "Apache-2.0" ]
ArcGIS/maps-app-dotnet
src/MapsApp.UWP/MainPage.xaml.cs
246
C#
using Nito.AsyncEx; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; namespace Discord { /// <summary> Helper class used to manage several tasks and keep them in sync. If any single task errors or stops...
35.011905
167
0.516491
[ "MIT" ]
jarveson/Discord.Net
src/Discord.Net/TaskManager.cs
5,884
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PRSP_1Ejemplo { public partial class Form1 : Form { ...
30.526316
123
0.579741
[ "MIT" ]
aliostad/deep-learning-lang-detection
data/train/csharp/4934e678e3cb0bbd0ac56b58b5d37a3970b9c747Form1.cs
2,322
C#
// Copyright 2011-2014 Chris Patterson, Dru Sellers // // 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 requir...
35.017544
105
0.570641
[ "Apache-2.0" ]
DamirAinullin/Automatonymous
src/Automatonymous/State.cs
3,992
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> //---...
44.92
121
0.676759
[ "MIT" ]
WillaOnStenci/Arca
backend/ContaMicroservice/ContaMicroservice/obj/Debug/netcoreapp3.0/AssociadoMicroservice.AssemblyInfo.cs
1,123
C#
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using ABPWASM.Data; using Serilog; using Volo.Abp; namespace ABPWASM.DbMigrator { public class DbMigratorHostedService : IHostedServic...
32.479167
118
0.658114
[ "MIT" ]
FangJY/ABPWASM
src/ABPWASM.DbMigrator/DbMigratorHostedService.cs
1,561
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...
47.709677
178
0.683401
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/DBSubnetGroupNotFoundException.cs
5,916
C#
using mr.cooper.mrtwit.models; namespace mr.cooper.mrtwit.services.Interface { public interface IFeedService { void AddFeed(Feed feed); Feed GetFeed(string userId); } }
15.538462
45
0.663366
[ "Unlicense" ]
yathrikash/mr_twit_api
mr.cooper.mrtwit.api/mr.cooper.mrtwit.services/Interface/IFeedService.cs
204
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
39.905303
144
0.53172
[ "BSD-3-Clause" ]
SignpostMarv/opensim
OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs
31,605
C#
namespace Nez.AI.BehaviorTrees { /// <summary> /// inverts the result of the child node /// </summary> public class Inverter<T> : Decorator<T> { public override TaskStatus Update(T context) { Insist.IsNotNull(Child, "child must not be null"); var status = Child.Tick(context); if (status == TaskStat...
20.478261
53
0.681529
[ "MIT" ]
AdrianN17/ZombieSurvivalMonogame
Nez-master/Nez.Portable/AI/BehaviorTree/Decorators/Inverter.cs
473
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
39.425
157
0.559713
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.472
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/ButtonSpec/ButtonSpecFormWindowMin.cs
4,734
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PubnubApi { public class PNFileUploadResult { public long Timetoken { get; internal set; } public string FileId { get; internal set; } public string FileName { get; internal set; } } }
21.266667
53
0.677116
[ "MIT" ]
StockDrops/c-sharp
src/Api/PubnubApi/Model/Consumer/Files/PNFileUploadResult.cs
321
C#
using System; using System.Threading.Tasks; using EasyNetQ.Consumer; using EasyNetQ.FluentConfiguration; using EasyNetQ.Producer; using EasyNetQ.Topology; using System.Linq; using EasyNetQ.Internals; namespace EasyNetQ { public class RabbitBus : IBus { private readonly IConventions conventions; ...
40.575758
193
0.633962
[ "MIT" ]
chrisedebo/EasyNetQ
Source/EasyNetQ/RabbitBus.cs
10,712
C#
using Kask.Services.DAO; using Kask.Services.Exceptions; using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Web; namespace Kask.Services.Interfaces { [ServiceContract] public interface IAppliedService { [OperationContract] [FaultContract(typeof(KaskServ...
28.974359
83
0.69469
[ "MIT" ]
datanets/kask-kiosk
Kask.Services/Interfaces/IAppliedService.cs
1,132
C#
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3...
30.481005
218
0.478477
[ "MIT" ]
625673575/StressTestSuite
StressTest/runtime/BehaviorTree/BehaviorTree.cs
52,153
C#
using System; namespace Ncp.Exceptions { public class DialTimeoutException : ApplicationException { private const string DefaultMessage = "dial timeout"; public DialTimeoutException(string message = DefaultMessage) : base(message) { } } }
19.866667
68
0.64094
[ "MIT" ]
rule110-io/nTipBot
nkn-sdk-net/Ncp/Exceptions/DialTimeoutException.cs
300
C#
namespace CustomCode.Core.CodeGeneration.Scripting.Features { using CodeFiles; using Composition; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; /// <summary> /// Feature for <see cref="IScript"/>s that will generate C...
31.111111
128
0.610714
[ "MIT" ]
git-custom-code/Core-CodeGeneration
src/Core/CodeGeneration.Scripting/Features/CodeFileCollection/CodeFileCollection.cs
1,960
C#
using Boa.Constrictor.RestSharp; using FluentAssertions; using Moq; using NUnit.Framework; using RestSharp; using System; using System.Collections.Generic; using System.Net; namespace Boa.Constrictor.UnitTests.RestSharp { [TestFixture] public class ResponseDataTest { [Test] public void Ini...
35.672727
82
0.598879
[ "Apache-2.0" ]
AngieEuphoria/Boa.Constrictor
Boa.Constrictor.UnitTests/RestSharp/Serialization/ResponseDataTest.cs
1,964
C#
[Serializable] public struct AxisBase // TypeDefIndex: 4831 { // Fields [NoSaveDuringPlayAttribute] // RVA: 0x134600 Offset: 0x134701 VA: 0x134600 [TooltipAttribute] // RVA: 0x134600 Offset: 0x134701 VA: 0x134600 public float m_Value; // 0x0 [TooltipAttribute] // RVA: 0x134650 Offset: 0x134751 VA: 0x134650 public...
29.904762
75
0.732484
[ "MIT" ]
SinsofSloth/RF5-global-metadata
Cinemachine/AxisBase.cs
628
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ShopDetector : MonoBehaviour { int healUsed = 0; public Transform shootPoint; public float detectRange; public Text shopText; public Text warningText; public AudioClip purchasedSound; IEnumerato...
28.349162
116
0.629619
[ "MIT" ]
Voossu/Zombie-Shooter-Project
Assets/Scripts/Shop/ShopDetector.cs
10,151
C#
namespace Mosa.Tool.Debugger.Views { partial class InstructionView : DebugDockContent { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposi...
40.461538
134
0.741445
[ "BSD-3-Clause" ]
GeroL/MOSA-Project
Source/Mosa.Tool.Debugger/Views/InstructionView.designer.cs
5,786
C#
namespace Autossential.Activities.Design.Designers { // Interaction logic for RemoveEmptyRowsDesigner.xaml public partial class RemoveEmptyRowsDesigner { public RemoveEmptyRowsDesigner() { InitializeComponent(); } } }
24.545455
57
0.67037
[ "MIT" ]
Autossential/Autossential.Activities
source/Autossential.Activities.Design/Designers/RemoveEmptyRowsDesigner.xaml.cs
272
C#
using BillingTool.DataModels; using BillingTool.DataModels.CombinedModel; using BillingTool.DataModels.Pricing; using Microsoft.Extensions.Configuration; using ServiceStack.OrmLite; using ServiceStack.OrmLite.SqlServer; using System; using System.Collections.Generic; using System.ComponentModel; using System....
41
181
0.510399
[ "MIT" ]
StarkBotha/OrmLite-Billing-Tool
BillingTool/frmMain.cs
14,475
C#
using Picturepark.SDK.V1.Builders; using Picturepark.SDK.V1.Contract; using Picturepark.SDK.V1.Contract.Providers; namespace Picturepark.SDK.V1.Providers { public abstract class SchemaIndexingInfoProvider<T> : ISchemaIndexingInfoProvider { public SchemaIndexingInfo GetSchemaIndexingInfo() { ...
29.173913
100
0.692996
[ "MIT" ]
HuberAndrea/Picturepark.SDK.DotNet
src/Picturepark.SDK.V1/Providers/SchemaIndexingInfoProvider.cs
673
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace SistemaDeEmpregados { static class Program { /// <summary> /// Ponto de entrada principal para o aplicativo. /// </summary> [STAThread] ...
22.73913
65
0.621415
[ "MIT" ]
miguelhp373/Programacao_Web_Modulo03
SistemaDeEmpregados/Program.cs
525
C#
using System; using TestConsoleApp.ViewModels; using MapTo; namespace TestConsoleApp.Data.Models { [MapFrom(typeof(UserViewModel))] public partial class User { public int Id { get; set; } public DateTimeOffset RegisteredAt { get; set; } } }
18.4
56
0.673913
[ "MIT" ]
Wvader/MapTo
test/TestConsoleApp/Data/Models/User.cs
278
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using GraphProcessor; using Unity.Jobs; using UnityEngine; public class SIGGraphProcessor : BaseGraphProcessor { protected List<BaseNode> processList; protected SIGProcessingContext context; /// <summary> /// Manage gra...
25.8125
76
0.638418
[ "MIT" ]
FreshlyBrewedCode/SIG
Packages/de.frebreco.SIG.Core/Runtime/SIGGraphProcessor.cs
1,239
C#
using FluentAssertions; using System; using System.Threading.Tasks; using Xunit; namespace Functional.Unions.FluentAssertions.Tests { public partial class UnionValueTypeAssertionsTests { public class TaskAdHocWithFourTypes { [Fact] public void When_EqualityIsTrue_Then_ShouldNotThrowException() => new Func...
54.190476
213
0.749341
[ "MIT" ]
RyanMarcotte/Functional.FluentAssertions
src/Functional.Unions.FluentAssertions.Tests/UnionValueTypeAssertionsTests.TaskAdHocWithFourTypes.cs
4,554
C#
using System.Collections.Generic; using System.Globalization; using static lox.TokenType; namespace lox { class Scanner { #region Keyword Lookup static readonly Dictionary<string, TokenType> keywords = new Dictionary<string, TokenType> { {"and", And}, {"break...
26.949772
141
0.394443
[ "BSD-3-Clause" ]
rthome/Lox
lox/Scanner.cs
5,902
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("Nu...
38.135135
84
0.742027
[ "MIT" ]
milkokochev/Telerik
C#1/HomeWorks/04. Console Input Output/Numbers from 1 to n/Properties/AssemblyInfo.cs
1,414
C#
namespace WindowsFormsApp1 { partial class EntryForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
54.924623
163
0.635865
[ "MIT" ]
minhtu-hoang19/BTECProgrammingAssignment2
BTECProgrammingAssignment2/WindowsFormsApp1/DataModel/EntryForm.Designer.cs
10,932
C#
using System; namespace Swetugg.Tix.Order.Events { public class TicketAdded : EventBase { public Guid TicketId { get; set; } public Guid TicketTypeId { get; set; } } }
19.7
46
0.629442
[ "MIT" ]
andlju/swetugg-tix
src/Swetugg.Tix.Order.Events/TicketAdded.cs
199
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; namespace Pulumi.Azur...
30.482759
86
0.620475
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200701/Outputs/FirewallPolicyNatRuleCollectionResponse.cs
1,768
C#
namespace SoftJail.Data { using Microsoft.EntityFrameworkCore; using SoftJail.Data.Models; public class SoftJailDbContext : DbContext { public SoftJailDbContext() { } public SoftJailDbContext(DbContextOptions options) : base(options) { } ...
29.27907
85
0.513503
[ "MIT" ]
antoniovelev/Softuni
C#/Entity Framework/01. Model Definition_Skeleton and Datasets/SoftJail/Data/SoftJailDbContext.cs
2,520
C#
using System; namespace Dracoon.Sdk.SdkInternal { internal class EmptyLog : ILog { public void Debug(string tag, string message) { // Default: Log nothing } public void Debug(string tag, string message, Exception e) { // Default: Log nothing } publ...
26.135135
68
0.552223
[ "Apache-2.0" ]
DAVISOL-GmbH/dracoon-csharp-sdk
DracoonSdk/SdkInternal/EmptyLog.cs
969
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace UiPath.Web.Client202010 { using Microsoft.Rest; using Models; using System.Collections; using System.Col...
46.497368
518
0.603373
[ "MIT" ]
AFWberlin/orchestrator-powershell
UiPath.Web.Client/generated202010/IEnvironments.cs
17,669
C#
using Newtonsoft.Json; using System; using System.Linq; namespace Ruyi.SDK.Online { /// <summary> /// Allows players to gather together in a party. /// </summary> public class RuyiNetPartyService : RuyiNetService { /// <summary> /// Create the Party Service. /// </summary> ...
35.136364
101
0.449547
[ "MIT" ]
c04x/sdk
RuyiSDK/RuyiNet/Service/Party/RuyiNetPartyService.cs
9,278
C#
using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using NHibernate; namespace Abp.Domain.Repositories.NHibernate { internal class NhRepositoryInstaller : IWindsorInstaller { private readonly ISessionFactory _sessionFactory; public ...
38.69697
161
0.678935
[ "MIT" ]
jfvaleroso/ASPNETBOILERPLATE-TEST
src/Abp/Framework/Abp.Infrastructure.NHibernate/Domain/Repositories/NHibernate/NhRepositoryInstaller.cs
1,279
C#
using System; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Effects; using AuroraGUI.DnsSvr; using AuroraGUI.Fx; using Microsoft.Win32; namespace AuroraGUI { /// <summary> /// ExpertWindow.xaml 的交互逻辑 /// </summary> public partial class ExpertWindow ...
36.961783
105
0.557643
[ "MIT" ]
Champagne0418/AuroraDNS.GUI
AuroraGUI/Forms/ExpertWindow.xaml.cs
5,917
C#
using System.Windows; using E3Series.Wrapper.SelectionDialog.WPF.Views.Interfaces; namespace E3Series.Wrapper.Demo.Views { /// <inheritdoc cref="IDialogView" /> /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : IDialogView { public...
23.130435
69
0.616541
[ "MIT" ]
alex-buraykin/E3Series.Wrapper
E3Series.Wrapper.Demo/Views/MainWindow.xaml.cs
534
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; namespace Xunit.Analyzers { public class TestMethodCannotHaveOverloadsTests { readonly DiagnosticAnalyzer analyzer = new TestMethodCannotHaveOverloads(); [Fact] public async void FindsErrors_ForInstanceMethodOverl...
37.5
165
0.521569
[ "Apache-2.0" ]
TylerLeonhardt/xunit.analyzers
test/xunit.analyzers.tests/TestMethodCannotHaveOverloadsTests.cs
3,827
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("P04...
37.72973
84
0.747135
[ "MIT" ]
ViktorAleksandrov/SoftUni--Technology-Fundamentals
Programming Fundamentals - Extended/L09.2. Nested Dictionaries - Exercises/P04.Shellbound/Properties/AssemblyInfo.cs
1,399
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace EVEStandard.Models { public class SovereigntyCampaign : ModelBase<SovereigntyCampaign> { #region Enums /// <summary> /// Type of event this campaign is for. tcu_defense, ihub_defense and station_defense a...
37.768595
209
0.607877
[ "MIT" ]
Kolomona/REvernus
EVEStandard/Models/SovereigntyCampaign.cs
4,572
C#