content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using Bonobo.Git.Server.Data.Update; using Bonobo.Git.Server.Security; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Bonobo.Git.Server.Test { [TestClass] public class PasswordServiceTest { private const String DefaultAdminUserName = "admin"; private const Stri...
39.531532
113
0.635369
[ "MIT" ]
AAndharia/Bonobo-Git-Server
Bonobo.Git.Server.Test/PasswordServiceTest.cs
4,390
C#
using System; using System.Linq.Expressions; using System.Net; using System.Threading.Tasks; using Bogus; using FluentAssertions; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Resources; using JsonApiDotNetCore.Serialization.Client.Internal; using JsonApiDotNetCore.Serialization.Objects; using JsonApiD...
37.071429
213
0.646848
[ "MIT" ]
ybuasen/JsonApiDotNetCore
test/JsonApiDotNetCoreExampleTests/Acceptance/KebabCaseFormatterTests.cs
7,266
C#
using LiveSplit.ComponentUtil; using System; using System.Diagnostics; using System.Linq; using System.Net; using System.Runtime.InteropServices; using System.Threading; using System.Windows.Forms; namespace alyx_multiplayer { class Core { private static Process game; private s...
40.176339
189
0.51864
[ "MIT" ]
ZacharyTalis/alyx-multiplayer
Core.cs
18,001
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using MaterialDesignThemes.Wpf; namespace MaterialDesignExtensions.Controls { /// <summary> /// The base class w...
31.985455
145
0.570032
[ "MIT" ]
KHALED-LAKEHAL/MaterialDesignExtensions
MaterialDesignExtensions/Controls/FileSystemDialog.cs
8,798
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.Diagnostics; using System.Globalization; using System.Runtime.CompilerServices; using System.Runtime.I...
52.028205
198
0.640875
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs
20,293
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Umbraco.Web.Models.TemplateQuery { public class ContentTypeModel { public string Alias { get; set; } public string Name { get; set; } } }
18.4375
42
0.694915
[ "MIT" ]
0Neji/Umbraco-CMS
src/Umbraco.Web/Models/TemplateQuery/ContentTypeModel.cs
297
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Linq; namespace Microsoft.MixedReality.Toolkit.SDK.DiagnosticsSystem { internal class MemoryUseTracker { private readonly...
26.0625
105
0.558753
[ "MIT" ]
Alexees/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit-SDK/Features/Diagnostics/MemoryUseTracker.cs
1,670
C#
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Windows.Forms; using Nemiro.OAuth; namespace TestProject1 { [TestClass] public class UniValueBindingTest { [TestMethod] public void UniValue_Binding() ...
21.613861
155
0.537792
[ "Apache-2.0" ]
ivandrofly/nemiro.oauth.dll
src/TestProject1/UniValueBindingTest.cs
2,185
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GeradorChefe : MonoBehaviour { private float tempoParaProximaGeracao = 0; private float tempoEntreGeracoes = 20; public GameObject ChefePrefab; private ControlaInterface scriptControlaInterface; public Trans...
34.270833
110
0.693009
[ "MIT" ]
rodolfostark/zombie-game
Assets/Scripts/GeradorChefe.cs
1,645
C#
using Microsoft.OData; using Microsoft.OData.Edm; using Microsoft.OData.UriParser; using System; using System.Collections.Generic; namespace OdataToEntity.Parsers.Translators { internal enum OeNavigationSelectItemKind { Normal, NotSelected, NextLink } internal sealed class OeN...
44.082988
195
0.638084
[ "MIT" ]
DawidPotgieter/OdataToEntity
source/OdataToEntity/Parsers/Translators/OeSelectItem.cs
10,626
C#
#region CopyrightHeader // // Copyright by Contributors // // 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.txt // // Unless req...
34.313953
84
0.638767
[ "Apache-2.0" ]
monkeyglasses/mdws
mdws/src/conf/MdwsConfigConstants.cs
2,953
C#
// Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to you under the Apache License, Version 2.0 // (the "License"); you may not...
42.326923
84
0.755111
[ "Apache-2.0" ]
NeCTAR-RC/murano-agent
contrib/windows-agent/ExecutionPlanGenerator/Properties/AssemblyInfo.cs
2,204
C#
using System; using UniInject; using UniRx; using UnityEngine.UIElements; public class TextInputDialogControl : AbstractDialogControl, IInjectionFinishedListener { [Inject(UxmlName = "dialogTitle")] protected Label dialogTitle; [Inject(UxmlName = "dialogMessage")] protected Label dialogMessage; ...
27.295082
125
0.628829
[ "MIT" ]
achimmihca/Play
UltraStar Play/Packages/playshared/Runtime/UI/Dialogs/TextInputDialogControl.cs
4,997
C#
namespace GlutenFree.OddJob.Storage.BaseTests { public static class TestConstants { public static readonly string SimpleParam = "simple"; public static readonly string OddParam1 = "odd1"; public static readonly string OddParam2 = "odd2"; public static readonly string NestedOddPa...
25.775862
88
0.613378
[ "Apache-2.0" ]
to11mtm/OddJob
OddJob.Storage.BaseTests/TestData.cs
1,497
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace OpenRPA.Interfaces.VT { public interface ITerminalConfig { string Hostname { get; set; } int Port { get; set; }...
29.694444
62
0.596819
[ "MPL-2.0" ]
igaisin/openrpa
OpenRPA.Interfaces/VT/IVTTerminal.cs
2,140
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using CognitiveMiddlewareService.MiddlewareService; namespace CognitiveMiddlewareService.Processors { public class AggregatedResult { public LandmarkRe...
29.357143
101
0.746959
[ "Apache-2.0" ]
microsoft/ai-edu
实践案例/B06-搭建中间服务层/src/Processors/AggregatedResult.cs
411
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("La...
36.655172
84
0.745061
[ "MIT" ]
LagoVista/ISY
src/LagoVista.ISY.UWP.Sample/Properties/AssemblyInfo.cs
1,066
C#
#pragma checksum "D:\CodingWork\Projects\NongMinGoProject\SimplCommerce\src\Modules\SimplCommerce.Module.Notifications\Areas\Notifications\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Mic...
54.262295
247
0.786405
[ "Apache-2.0" ]
Coopathon2019/03_NongMinGo
src/Modules/SimplCommerce.Module.Notifications/obj/Debug/netcoreapp3.0/Razor/Areas/Notifications/Views/_ViewStart.cshtml.g.cs
3,310
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; using System.Data; using System.Data.SqlClient; using CodeHelperLibrary.Object; namespace CodeHelperLibrary { public class SQLHelper { public List<SQLObject> Generate(strin...
33.55102
167
0.509732
[ "Apache-2.0" ]
vishaletm/SQL-Generate-POCO
CodeHelper/CodeHelperLibrary/SQLHelper.cs
1,646
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Response to the EnterpriseCallCenterAgentThresholdProfileGetListRequest. /// ...
35.439024
129
0.687543
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/EnterpriseCallCenterAgentThresholdProfileGetListResponse.cs
1,453
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightBulbsStore.Core.Models.Order { public class OrderProductViewModel { public string ProductId { get; set; } public string Name { get; set; } public string ...
20.185185
54
0.649541
[ "MIT" ]
tedoff56/ASP.NET-Core-SoftUni-Project
LightBulbsStore/LightBulbsStore.Core/Models/Order/OrderProductViewModel.cs
547
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServic...
35.466667
145
0.766917
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/WbemCli/WbemRefresher.cs
534
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _151024D { class Program { static void Main(string[] args) { Console.WriteLine("podaj temperature w celsjuszach"); double celsjusz;...
23.21875
66
0.559892
[ "MIT" ]
Parabent/OOP2019
Program.cs
745
C#
using TumblThree.Applications.Services; using TumblThree.Domain.Models; namespace TumblThree.Applications.Downloader { public interface IDownloaderFactory { IDownloader GetDownloader(BlogTypes blogTypes); IDownloader GetDownloader(BlogTypes blogTypes, IShellService shellService, ICrawlerServi...
27.692308
127
0.786111
[ "Apache-2.0", "MIT" ]
vaginessa/TumblThree
src/TumblThree/TumblThree.Applications/Downloader/IDownloaderFactory.cs
362
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Vote { public class Program { ...
24.514286
70
0.576923
[ "MIT" ]
AlecPapierniak/tye
samples/azure-functions/voting/vote/Program.cs
860
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
41.200692
1,358
0.579743
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/UKCT_MT140701UK03PertinentInformation.cs
11,907
C#
// Decompiled with JetBrains decompiler // Type: SynapseGaming.LightingSystem.Effects.BaseSkinnedEffect // Assembly: SynapseGaming-SunBurn-Pro, Version=1.3.2.8, Culture=neutral, PublicKeyToken=c23c60523565dbfd // MVID: A5F03349-72AC-4BAA-AEEE-9AB9B77E0A39 // Assembly location: C:\Projects\BlackBox\StarDrive\Synaps...
36.888889
106
0.525435
[ "MIT" ]
UnGaucho/StarDrive
SynapseGaming-SunBurn-Pro/SynapseGaming/LightingSystem/Effects/BaseSkinnedEffect.cs
2,990
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using NetworkPrimitives.Utilities; namespace NetworkPrimitives.Ipv4 { /// <summary> /// Represents an IPv4 Subnet /// </summary> public readonly struct Ipv4Subnet : INetworkPrimitive<Ipv4Subnet> { /// <s...
43.907508
151
0.568883
[ "MIT" ]
binarycow/NetworkPrimitives
src/NetworkPrimitives/Ipv4/Subnet/Ipv4Subnet.cs
40,353
C#
using NSubstitute; using NUnit.Framework; using System.Collections; using System.Linq; using UnityEditor; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.TestTools; using Object = UnityEngine.Object; namespace Tests { public class SearchBarViewShould { private SearchBarView view; ...
33.804762
125
0.596704
[ "Apache-2.0" ]
cruzdanilo/decentraland
unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/BuilderProjectsPanel/Tests/SearchBarViewShould.cs
7,101
C#
using System; using Microsoft.Extensions.DependencyInjection; using Quartz; using Quartz.Spi; namespace thorn.Jobs; public class SingletonJobFactory : IJobFactory { private readonly IServiceProvider _serviceProvider; public SingletonJobFactory(IServiceProvider serviceProvider) { _serviceProvider ...
22.64
85
0.750883
[ "MIT" ]
scp-cs/Thorn
thorn/Jobs/SingletonJobFactory.cs
566
C#
using Nager.Country.Currencies; namespace Nager.Country.CountryInfos { /// <summary> /// Paraguay /// </summary> public class ParaguayCountryInfo : ICountryInfo { ///<inheritdoc/> public string CommonName => "Paraguay"; ///<inheritdoc/> public string OfficialName => ...
28.214286
70
0.552743
[ "MIT" ]
Tri125/Nager.Country
src/Nager.Country/CountryInfos/ParaguayCountryInfo.cs
1,185
C#
// Licensed to Elasticsearch B.V under // one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System...
34.476596
120
0.683905
[ "Apache-2.0" ]
ejsmith/apm-agent-dotnet
test/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs
8,102
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net; using System.Net.Http; using Kudu.Core.Infrastructure; using Newtonsoft.Json; using SignalR.Client; namespace Kudu.Core.Deployment { public class RemoteDeploymentManager : IDeploymentManager { private readonly Http...
32.989247
97
0.551825
[ "Apache-2.0" ]
RaleighHokie/kudu
Kudu.Core/Deployment/RemoteDeploymentManager.cs
3,070
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.Collections; using System.Data.ProviderBase; using System.Diagnostics; using System.ComponentModel; na...
31.646259
109
0.557825
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Data.Common/src/System/Data/Common/DbEnumerator.cs
4,652
C#
// Dash Teleport|Scripts|0220 namespace VRTK { using UnityEngine; using System.Collections; /// <summary> /// Event Payload /// </summary> /// <param name="hits">An array of objects that the CapsuleCast has collided with.</param> public struct DashTeleportEventArgs { public Rayc...
44.283951
464
0.631865
[ "MIT" ]
3dit/steamvrtoolkit
Assets/VRTK/Scripts/VRTK_DashTeleport.cs
7,174
C#
// // Copyright (c) Microsoft and contributors. 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 // // Unless requi...
27.431373
76
0.627591
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ResourceManagement/Network/NetworkManagement/Generated/Models/ResourceId.cs
1,399
C#
/** * Copyright 2015 Canada Health Infoway, 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...
46.145833
283
0.734989
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-v01_r04_3/Main/Ca/Infoway/Messagebuilder/Model/Pcs_cerx_v01_r04_3/Interaction/MedicationPrescriptionDetailQuery.cs
2,215
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
39.292683
299
0.6946
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/crossplane/dotnet/Kubernetes/Crds/Operators/Crossplane/Database/V1Alpha1/Inputs/MySQLInstanceStatusArgs.cs
1,611
C#
// Copyright 2015-2020 Rik Essenius // // 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 i...
32.742857
107
0.622164
[ "Apache-2.0" ]
essenius/FitNesseFitSharpFeatureDemos
TestSlim/TestSlim/AddOneColumn.cs
1,148
C#
namespace WastedgeQuerier.EditInExcel { partial class EditInExcelWaitForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
46.896774
136
0.590315
[ "Apache-2.0" ]
wastedge/wastedge-querier
WastedgeQuerier/EditInExcel/EditInExcelWaitForm.Designer.cs
7,271
C#
// Copyright (c) .NET Foundation and contributors. 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.Collections.Immutable; using System.Diagnostics; using ILLink.Shared.DataFlow; using ILLink.Shared...
42.208955
148
0.776167
[ "MIT" ]
AlexanderSemenyak/linker
src/ILLink.RoslynAnalyzer/TrimAnalysis/TrimAnalysisMethodCallPattern.cs
2,828
C#
using System; using Newtonsoft.Json; using SignalRStresser.Enums; namespace SignalRStresser.Connection { class HubConnectionContext { [JsonProperty("id")] public string Id { get; set; } = Guid.NewGuid().ToString(); [JsonProperty("connectionInitialized")] public boo...
34.754386
108
0.615851
[ "MIT" ]
urbanspr1nter/sload
SignalRStresser/SignalRStresser/Connection/HubConnectionContext.cs
1,983
C#
#region "Copyright" /* FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER */ #endregion #region "References" using System; using System.Collections.Generic; using System.Linq; using System.Text; #endregion namespace SageFrame.ListManagement { /// <summary> /// Fe...
17.03125
91
0.655046
[ "MIT" ]
AspxCommerce/AspxCommerce2.7
SageFrame.Core/SageFrame.ListManagement/Entities/FeedbackSettingInfo.cs
547
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Monitor.Models { public partial class LocalizableString { internal static LocalizableString...
28.194444
91
0.562562
[ "MIT" ]
ChenTanyi/azure-sdk-for-net
sdk/monitor/Azure.ResourceManager.Monitor/src/Generated/Models/LocalizableString.Serialization.cs
1,015
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: AssemblyTi...
38.888889
85
0.731429
[ "Unlicense" ]
jf26028/Jeff
Example/Properties/AssemblyInfo.cs
1,403
C#
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using Umbraco.Core.Logging; using uSync8.Core; using uSync8.Core.Extensions; using uSync8.Core.Models; using uSync8.Core.Serialization; using Vendr.Core; using Vendr.Core.Api; using Vendr.Core.Models; using Vendr.uSync.Extensi...
33.488636
122
0.554632
[ "MIT" ]
Xanashi/vendr-usync
src/Vendr.uSync/Serializers/TaxClassSerializer.cs
5,896
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Elsa.Models; using Elsa.Serialization; using Elsa.Services; using Elsa.Services.Models; using LinqKit; ...
49.610778
213
0.704043
[ "MIT" ]
PBBlox/elsa-core
src/core/Elsa.Core/Providers/Workflows/BlobStorageWorkflowProvider.cs
8,287
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using RogueFlashNetCoreMvc.Daos; using RogueFlashNetCoreMvc.Model; using System; using System.Threading.Tasks; namespace RogueFlashNetCoreMvc.Controllers { public class AjaxSaveCardController : AbstractController { public AjaxSaveCard...
25.455882
87
0.464471
[ "Unlicense" ]
RogueModron/RogueFlashNetCoreMvc
src/RogueFlashNetCoreMvc/Controllers/Ajax/AjaxSaveCardController.cs
1,733
C#
using CarsVelingrad.ViewModels; namespace CarsVelingrad.Services { public interface IVehicleService { void Create(VehicleInputViewModel inputModel); VehiclesViewModel GetVehicles(int pageNumber = 1); TopVehicleViewModel GetTopExpensiveVehicles(); TopVehicleViewModel SearchBy...
24.666667
90
0.727799
[ "MIT" ]
Kalin1603/CarsVelingrad
CarsVelingrad/CarsVelingrad.Services/IVehicleService.cs
520
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace OrderManager { [Serializable] public class Order { public Order() { OrderId = 0; Details = new List<OrderDetails>(); ...
31.533333
130
0.552401
[ "Apache-2.0" ]
warmthdawn/software_construction_homework
Exercise11/OrderManagerFramework/Order.cs
3,405
C#
using System.Collections.Generic; using TheoryTestCustomDataAttribute.Models; namespace TheoryTestCustomDataAttribute.Services { public interface ICourseService { bool Enroll(Student student); int Enroll(List<Student> group); } }
20.076923
48
0.739464
[ "MIT" ]
leealso/blog-examples
xUnitCustomDataAttribute/xUnitCustomDataAttribute/Services/ICourseService.cs
263
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 Microsoft.Bing.ImageSearch { using Microsoft.Rest; using Models; using System.Collections; using System....
68.126719
1,123
0.654319
[ "MIT" ]
josmperez1/bing-search-sdk-for-net-1
sdk/ImageSearch/src/Generated/IImagesOperations.cs
69,371
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("02...
38.243243
84
0.74417
[ "MIT" ]
YaneYosifov/Telerik
C# Part II/Homeworks/03.Methods/02.Get-largest-number/Properties/AssemblyInfo.cs
1,418
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace Movies.Client.Interactive.Controllers { [Authorize] public class AccountController : Controller { public IActionResult AccessDenied() { return View(); } } }
17.066667
47
0.761719
[ "MIT" ]
Khatami/SecureMicroservices
src/WebApp/Movies.Client.Interactive/Controllers/AccountController.cs
258
C#
using System; using System.Reflection; using Newtonsoft.Json.Linq; namespace Grouper2.GPPAssess { public partial class AssessGpp { private readonly JObject _gpp; public AssessGpp(JObject gpp) { _gpp = gpp; } public JObject GetAssessed(string assessName) ...
36.339623
274
0.509346
[ "MIT" ]
FDlucifer/Grouper2
Grouper2/Assess/GPPAssess/AssessGpp.cs
1,928
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Calculos_Basicos { public partial class Form1 : Form { public Form1() ...
28.106667
88
0.58112
[ "MIT" ]
luana-karlla/Curso-CSharp-Basico
Curso Csharp Basico/Calculos_Basicos/Form1.cs
2,110
C#
using System; using System.Collections.Generic; using System.Text; namespace Twisty.Engine.Presenters.Rubiks { public interface IRubikBlockFaceTextView { /// <summary> /// Get shte specified line to display in the console. /// </summary> /// <param name="i">Index of the line to display.</param> /// <retur...
26.884615
81
0.680973
[ "MIT" ]
jardons/twisty-engine
Twisty.Engine/Presenters/Rubiks/IRubikBlockFaceTextView.cs
701
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class sfxWalking : MonoBehaviour { // Use this for initialization private HeroMovement hm; public AudioSource sfxFootstep; public AudioSource sfxJump; //private bool doublejump = false; private bool candoub...
27.115385
93
0.558865
[ "Apache-2.0" ]
Panther450/450Game
NEFMA/Assets/Scripts/sfxWalking.cs
1,412
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("06....
38.432432
84
0.750352
[ "MIT" ]
ShadyObeyd/ProgrammingFundamentals-Homeworks
18.FilesAndExceptions-Exercises/06.FixEmails/Properties/AssemblyInfo.cs
1,425
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winioctl.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { p...
31.722222
145
0.728546
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/winioctl/DEVICE_INTERNAL_STATUS_DATA_SET.cs
573
C#
using AmbientFuckery.Pocos; using SixLabors.ImageSharp; namespace AmbientFuckery.Contracts { public interface IImageManipulator { IImageInfo ParseImage(ImageData image); } }
19.5
47
0.748718
[ "MIT" ]
JoshuaRichards/AmbientFuckery
AmbientFuckery/Contracts/IImageManipulator.cs
197
C#
using MediatR; using Microsoft.AspNetCore.Mvc; using System; using Pivotal.NetCore.WebApi.Template.Features; using Pivotal.NetCore.WebApi.Template.Features.Values; using Xunit; namespace Pivotal.NetCore.WebApi.Template.Unit.Tests.Models { public class ValuesRequestTests { [Fact] public void Te...
29.969697
94
0.646107
[ "MIT" ]
CedricYao/pivotal-webapi-dotnet-core
Pivotal.NetCore.WebApi.Template/Content/Pivotal.NetCore.WebApi.Template/test/Unit.Tests/Models/ValuesRequestTests.cs
991
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
19.346734
98
0.634286
[ "Apache-2.0" ]
xueandfeng/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Model/V20170705/ListJobStatusRequest.cs
3,850
C#
using System; namespace DotNetDesign.Common { /// <summary> /// Defines the method signature of a method to handle the unregister callback. /// </summary> /// <typeparam name="TEventHandler"></typeparam> /// <param name="eventHandler">The event handler.</param> public delegate void UnregisterCallback<T...
34.5
98
0.7343
[ "MIT" ]
dotnetdesign/Common
src/DotNetDesign.Common/UnregisteredCallback.cs
416
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.R.Editor.Formatting; using Microsoft.VisualStudio.InteractiveWindow; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; na...
36.5
101
0.738356
[ "MIT" ]
AlexanderSher/RTVS-Old
src/Package/Impl/Repl/Commands/ReplFormatDocumentCommand.cs
732
C#
using DataTablesCoreMVCEntity.Models; using Microsoft.EntityFrameworkCore; namespace DataTablesCoreMVCEntity.Data { public class CustomerContext : DbContext { public CustomerContext(DbContextOptions<CustomerContext> options) : base(options) { } public DbSet<Customer> C...
23.318182
74
0.668616
[ "MIT" ]
peter-schlosser/DataTablesCoreMVCEntity
DataTablesCoreMVCEntity/Data/CustomerContext.cs
515
C#
namespace ooohCar.Client.Infrastructure.Routes { public class DashboardEndpoints { public static string GetData = "api/v1/dashboard"; } }
22.571429
58
0.696203
[ "MIT" ]
codeBalok/ooohcarBlazor-backend
ooohCar.Client.Infrastructure/Routes/DashboardEndpoints.cs
160
C#
namespace ContosoUniversity.Models { public class Move { public int ID { get; set; } public int ComboID { get; set; } public int Seq { get; set; } public string Text { get; set; } public Combo Combo { get; set; } } }
21.769231
42
0.522968
[ "MIT" ]
twoutlook/taichi2021
ContosoUniversity/Models/Move.cs
283
C#
// <copyright file="MeterProviderBuilderBase.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry 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://w...
36.095808
161
0.632548
[ "Apache-2.0" ]
swetharavichandrancisco/opentelemetry-dotnet
src/OpenTelemetry/Metrics/MeterProviderBuilderBase.cs
6,028
C#
// license:BSD-3-Clause // copyright-holders:Edward Fast using System; using System.Collections.Generic; using game_driver_map = mame.std.unordered_map<string, mame.game_driver>; using s8 = System.SByte; using s16 = System.Int16; using s32 = System.Int32; using s64 = System.Int64; using u8 = System.Byte; ...
37.79322
258
0.498699
[ "BSD-3-Clause" ]
fasteddo/mcs
mcs/src/src/emu/validity.cs
22,298
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("Mu...
38.513514
84
0.750175
[ "Apache-2.0" ]
ChuckFork/SuperSocket
QuickStart/MultipleAppServer/Properties/AssemblyInfo.cs
1,428
C#
using System.Collections.ObjectModel; using System.Text.Json.Serialization; namespace NetBungieAPI.Models.Destiny.Components { public sealed record DictionaryComponentResponseOfint64AndDestinyItemObjectivesComponent : ComponentResponse { [JsonPropertyName("data")] public ReadOnlyDictionary<lon...
39.166667
112
0.776596
[ "MIT" ]
Tailtinn/.NetBungieAPI
NetBungieAPI/Models/Destiny/Components/DictionaryComponentResponseOfint64AndDestinyItemObjectivesComponent.cs
472
C#
using System; namespace UX.Lib2.Devices.Cisco.SystemUnit { public class SystemUnit : CodecApiElement { #region Fields [CodecApiNameAttribute("Uptime")] #pragma warning disable 649 // assigned using reflection private TimeSpan _uptime; #pragma warning restore 649 ...
22.75
58
0.559172
[ "Unlicense" ]
uxav/lib2-devices
Cisco/SystemUnit/SystemUnit.cs
2,366
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. // Changes may cause incorrect behavior and will be lost if the code is...
40.833333
465
0.584163
[ "MIT" ]
Azure/azure-powershell-common
src/Monitor/Version2018_09_01/Models/LogSearchRuleResource.cs
6,125
C#
using System.Runtime.InteropServices; namespace GhostYak.IO.DeviceIOControl.Objects.Disk { [StructLayout(LayoutKind.Sequential)] public struct STORAGE_PROPERTY_QUERY { public STORAGE_PROPERTY_ID PropertyId; public STORAGE_QUERY_TYPE QueryType; public byte[] AdditionalParameters; ...
25.076923
50
0.742331
[ "MIT" ]
ygpark/bingrep
GhostYak/IO/DeviceIOControl/Objects/Disk/STORAGE_PROPERTY_QUERY.cs
328
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace LyncUCWA.Service.Model { [JsonObject] public class EventDetails { [JsonProperty("_links")] public Link _links { get; set; } [JsonProperty("sender")] public List<Sender> sender { get; set; } ...
30.508065
78
0.585514
[ "MIT" ]
rencoder/LyncUCWA
LyncUCWA.Service/Model/EventDetails.cs
3,785
C#
namespace Highcharts4Net.Library.Options { /// <summary> /// A gauge showing values using a filled arc with colors indicating the value. The solid gauge plots values against the <code>yAxis</code>, which is extended with some color options, <a href='#yAxis.minColor'>minColor</a>, <a href='#yAxis.maxColor'>maxColor<...
37.923077
343
0.728195
[ "MIT" ]
davcs86/Highcharts4Net
Highcharts4Net/Library/Options/PlotOptionsSolidgauge.cs
493
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...
30
93
0.643275
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketLoggingResponseUnmarshaller.cs
1,710
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Lab09_Manhattan.Classes { /// <summary> /// New York class that contains all of the nested information from JSON file and normalizing it according to the syntax that was written in JSON file /// </summary> ...
25.166667
154
0.65894
[ "MIT" ]
jinwoov/Lab09-LINQ
Lab09-Manhattan/Lab09-Manhattan/Classes/NewYork.cs
606
C#
#region File Description //=================================================================== // DefaultPointSpriteParticleSystemTemplate.cs // // This file provides the template for creating a new Point Sprite Particle // System that inherits from the Default Point Sprite Particle System. // // The spots that shoul...
42.962617
143
0.59169
[ "MIT" ]
deadlydog/DPSF-XNA
XNA 3.1/Installer/Installer Files/Tutorials/Tutorial 7/Tutorial/Particle Systems/MyParticleSystem.cs
13,793
C#
using Microsoft.AspNetCore.Mvc.Razor.Internal; using Abp.AspNetCore.Mvc.Views; using Abp.Runtime.Session; namespace JD.CRS.Web.Views { public abstract class CRSRazorPage<TModel> : AbpRazorPage<TModel> { [RazorInject] public IAbpSession AbpSession { get; set; } protected CRSRazorPage()...
23.333333
70
0.67381
[ "MIT" ]
IT-Evan/JD.CRS
src/JD.CRS.Web.Mvc/Views/CRSRazorPage.cs
422
C#
using System; namespace Ahbc.Class.Eleven { public class Buick : Vehicle { public Buick(string plate) : base(plate) { Console.WriteLine("Buick created"); SpeedMph = 40; } public void EngageHandicapHanger() { } } public class SomeImposterBuick : Buick { public SomeI...
14.354839
56
0.595506
[ "Apache-2.0" ]
JamilAbbas787/ahbc_dotnet_201810
Ahbc.Class.Eleven/Ahbc.Class.Eleven/Buick.cs
447
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.IO; using System.Numerics; using System.Runtime....
46.216994
523
0.487715
[ "Apache-2.0" ]
AnandEmbold/ironpython3
Src/IronPython.Modules/_struct.cs
65,813
C#
using System; using FarsiLibrary.UnitTest.Helpers; using FarsiLibrary.Utils.Formatter; using NUnit.Framework; using System.Globalization; using FarsiLibrary.Utils; namespace FarsiLibrary.UnitTest { [TestFixture] public class PrettyTimeTests { [TestCase(-5, "5 days ago", "en-US") ] [TestCas...
34.105263
88
0.54321
[ "MIT" ]
SKamalou/FarsiLibrary
FarsiLibrary.UnitTest/PrettyTimeTests.cs
5,303
C#
// Copyright (c) Gurmit Teotia. Please see the LICENSE file in the project root for license information. using System.Collections.Generic; using Amazon.SimpleWorkflow.Model; namespace Guflow.Decider { public class TimerFiredEvent :TimerEvent { internal TimerFiredEvent(HistoryEvent timerFiredEvent, IEn...
36.074074
106
0.710472
[ "Apache-2.0" ]
Seekatar/guflow
Guflow/Decider/Timer/TimerFiredEvent.cs
976
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
22.821429
52
0.729264
[ "MIT" ]
iruel865/Netduino.Samples
RemoteCar/CarRemote/CarRemote/CarRemote.UWP/MainPage.xaml.cs
641
C#
using System.Collections.Generic; using System.Linq; using StockportWebapp.Models; using StockportWebapp.Utils; namespace StockportWebapp.ViewModels { public class GroupResults { public List<Group> Groups = new List<Group>(); public Pagination Pagination { get; set; } public QueryUrl C...
35.112245
177
0.533856
[ "MIT" ]
smbc-digital/iag-webapp
src/StockportWebapp/ViewModels/GroupResults.cs
3,443
C#
using System; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Threading; using System.Web.Mvc; using WebMatrix.WebData; using AzureMediaPortal.Models; namespace AzureMediaPortal.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inher...
39.45098
207
0.618787
[ "Apache-2.0" ]
StephCourtney/Project
AzureMediaPortal/Filters/InitializeSimpleMembershipAttribute.cs
2,014
C#
using System; using System.Runtime.InteropServices; using System.Security; namespace WebGL { // ReSharper disable InconsistentNaming [SuppressUnmanagedCodeSecurity] internal static class EGL { /* EGL Versioning */ public const UInt16 EGL_VERSION_1_0 = 1; public const UInt16 EG...
48.754045
149
0.702489
[ "Apache-2.0" ]
jdarc/webgl.net
WebGL/native/EGL.cs
15,067
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using MasteringEFCore.QueryObjectPattern.Final.Data; using MasteringEFCore.QueryObjectPattern.Final.Models; usin...
29.391026
132
0.514286
[ "MIT" ]
PacktPublishing/Mastering-Entity-Framework-Core
Chapter 8/Final/MasteringEFCore.QueryObjectPattern.Final/Controllers/PeopleController.cs
4,585
C#
using System; //using System.Collections.Generic; using System.Linq; namespace Tutorial_Null.Lesson1_2 { class Main { public void Run() { Console.WriteLine($"{new Person().name}"); } } class Person { public string name = String.Empty; ...
17.210526
55
0.535168
[ "CC0-1.0" ]
ytyaru/CSharp.Tutorial.Null.20191028092251
src/Tutorial_Null/Lesson1_2/Main.cs
329
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.10 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
30.895522
114
0.683092
[ "MIT" ]
WaveEngine/Extensions
WaveEngine.NoesisGUI/Shared/Proxies/StatusBar.cs
2,070
C#
namespace JudoPayDotNet.Errors { // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable UnusedMember.Global /// <summary> /// This model represents one issue encountered with a supplied field /// </summary> public class JudoModelError { public string FieldName { get; set...
31.764706
70
0.703704
[ "MIT" ]
Judopay/DotNetSDK
JudoPayDotNet/Errors/JudoModelError.cs
542
C#
using System.ComponentModel.DataAnnotations; using DayTripper.Data.Common.Models; namespace DayTripper.Data.Models { public class Sector : BaseDeletableModel<int> { [Required] [MaxLength(100)] public string Name { get; set; } public int CragId { get; set; } [Required...
19.421053
49
0.620596
[ "MIT" ]
todor-tsankov/day-tripper
Server/Data/DayTripper.Data.Models/Sector.cs
371
C#
/* ======================================================================== * * This file is part of the DM Jukebox project. * Copyright (c) 2016 Joe Clapis. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
55.292428
162
0.691174
[ "Apache-2.0" ]
jclapis/dm-jukebox
DMJukebox.Core/Interop/AVCodecInterop.cs
21,179
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LootGun : MonoBehaviour { private ShootingController shootctrl; public GameObject bullet; public AudioSource src; private bool isPickedUp = false; // Start is called before the first frame update voi...
22.404255
77
0.615385
[ "MIT" ]
WinterPu/CSYE-7270-Game-Repo
CSYE 7270 Final Project/CSYE 7270 Midterm Game/Assets/Scripts/Loot/LootGun.cs
1,055
C#
// // ImapReplayStream.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2017 Xamarin Inc. (www.xamarin.com) // // 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 Sof...
25.173333
127
0.687632
[ "MIT" ]
AntonyZhuc/Emailnig
UnitTests/Net/Imap/ImapReplayStream.cs
7,552
C#
using System; namespace SocialMediaLogin { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.5625
69
0.609428
[ "MIT" ]
giovanellij/SocialMediaLogin
WeatherForecast.cs
297
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> //--...
35.4
151
0.580979
[ "MIT" ]
halitsever/general-mobile-gm8-miui
src/GM8 MIUI/Properties/Settings.Designer.cs
1,064
C#
using System; using FluentAssertions.Common; namespace FluentAssertions.Equivalency; /// <summary> /// Provides contextual information to an <see cref="IMemberSelectionRule"/>. /// </summary> public class MemberSelectionContext { private readonly Type compileTimeType; private readonly Type runtimeType; pr...
29.844444
111
0.697692
[ "Apache-2.0" ]
IT-VBFK/fluentassertions
Src/FluentAssertions/Equivalency/MemberSelectionContext.cs
1,343
C#