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 HREngine.Bots { class Pen_EX1_560 : PenTemplate //nozdormu { // spieler haben nur jeweils 15 sekunden für ihren zug. public override int getPlayPenalty(Playfield p, Minion m, Minion target, int choice, bool isLethal) { return 0; } } }
26.818182
107
0.633898
[ "MIT" ]
chi-rei-den/Silverfish
penalties/Pen_EX1_560.cs
296
C#
using Microsoft.TeamFoundation.Client; using Sep.Git.Tfs.Core.TfsInterop; namespace Sep.Git.Tfs.VsCommon { public partial class TfsHelper : ITfsHelper { private TeamFoundationServer server; public string TfsClientLibraryVersion { get { return typeof(TeamFoundationServer).As...
23.916667
104
0.522648
[ "Apache-2.0" ]
olivierdagenais/git-tfs
GitTfs.Vs2008/TfsHelper.Vs2008.cs
861
C#
namespace Manga.UnitTests.EntitiesTests { using Manga.Domain.Accounts; using Manga.Domain.Customers; using Manga.Domain.ValueObjects; using Xunit; public class CustomerTests { [Fact] public void Customer_Should_Be_Registered_With_1_Account() { var entityFacto...
26.266667
92
0.576142
[ "Apache-2.0" ]
2GDev/clean-architecture-manga
tests/Manga.UnitTests/EntitiesTests/CustomerTests.cs
788
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Tile : MonoBehaviour { [SerializeField] private Tower tower; [SerializeField] private bool isPlaceable = true; private GridManager _gridManager; private PathFinder _pathFinder; Vector2Int _coo...
27.052632
117
0.59987
[ "Unlicense" ]
StacyYG/RealmRushRepo
Realm Rush Project/Assets/Tiles/Tile.cs
1,542
C#
#define AdvancedMode #if AdvancedMode #define MultiThreadingEnabled #define InMemoryXmlHandling #if DEBUG #define SeperatedReferenceDetection #endif #endif using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Net.Http; using System.Threading; usi...
38.842857
229
0.725083
[ "MIT" ]
Jugendhackt/SafeDeleteForLaw
Backend/Downloader/Download.cs
5,442
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace WeatherAPI { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pa...
24.083333
99
0.586505
[ "MIT" ]
HenkeHulk/WeatherApi
WeatherAPI/App_Start/RouteConfig.cs
580
C#
#region MIT. // // Gorgon. // Copyright (C) 2012 Michael Winsor // // 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...
41.780374
202
0.60944
[ "MIT" ]
Tape-Worm/Gorgon
Gorgon/Gorgon.Renderers/Gorgon2D/Effects/Gorgon2DInvertEffect.cs
8,943
C#
namespace DotNetCore.Validation; public static class Regexes { public static readonly string Date = @"^((((0?[1-9]|[12]\d|3[01])[\.\-\/](0?[13578]|1[02])[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|((0?[1-9]|[12]\d|30)[\.\-\/](0?[13456789]|1[012])[\.\-\/]((1[6-9]|[2-9]\d)?\d{2}))|((0?[1-9]|1\d|2[0-8])[\.\-\/]0?2[\.\-\/]((1[6...
63.12
709
0.445501
[ "MIT" ]
fabricepeltier/DotNetCore_CR_Examples
source/Validation/Regexes.cs
1,578
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BookShopSystem.Utilities { /// <summary> /// Json帮助类 /// </summary> public class JsonHelper { /// <summary> ///将对象/对象集合转换成Json数据 ...
32.586207
101
0.592593
[ "Apache-2.0" ]
a156845044/BookShopSystem
BookShopSystem.Utilities/JsonHelper.cs
2,066
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Reflection.Metadata; using System.Reflectio...
44.537281
190
0.604116
[ "Apache-2.0" ]
20chan/roslyn
src/Compilers/Core/Portable/MetadataReference/AssemblyMetadata.cs
20,311
C#
// 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 regenerated. namespace Mi...
57.68
249
0.666436
[ "MIT" ]
Agazoth/azure-powershell
src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.dictionary.cs
4,252
C#
namespace Rostelecom.DigitalProfile.Api.Authentication; public static class TvsAuthenticationDefaults { public const string Scheme = "TvsAuthentication"; }
26.666667
55
0.825
[ "MIT" ]
televizor-meta/teleapi
TeleTwins.Api/Authentication/TvsAuthenticationDefaults.cs
160
C#
namespace Microsoft.Maui.Handlers { public partial class LabelHandler { public static PropertyMapper<ILabel, LabelHandler> LabelMapper = new PropertyMapper<ILabel, LabelHandler>(ViewHandler.ViewMapper) { [nameof(ILabel.CharacterSpacing)] = MapCharacterSpacing, [nameof(ILabel.Font)] = MapFont, [nameof(ILa...
29.793103
131
0.734954
[ "MIT" ]
gilnicki/maui-linux
src/Core/src/Handlers/Label/LabelHandler.cs
864
C#
using Abp.Authorization.Users; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Linq; using GYISMS.Authorization.Roles; namespace GYISMS.Authorization.Users { public class UserStore : AbpUserStore<Role, User> { public UserStore( IUnitOfWorkManager unitOfWorkManager, ...
33.757576
86
0.621185
[ "MIT" ]
DonaldTdz/GYISMS
aspnet-core/src/GYISMS.Core/Authorization/Users/UserStore.cs
1,114
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("Dem...
37.333333
84
0.75
[ "Apache-2.0" ]
darcythomas/zxcvbn.net
DemoSite/Properties/AssemblyInfo.cs
1,347
C#
#region License // Copyright (c) 2015 1010Tires.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 Software without // restriction, including without limitation the rights to use, // copy, mod...
35.52381
68
0.754021
[ "MIT" ]
idenys/MXTires.Microdata
LocalBusinesses/SportsActivityLocations/TennisComplex.cs
1,494
C#
using System.Linq; using System.Threading.Tasks; using AutoFixture; using AutoFixture.AutoMoq; using AutoFixture.Idioms; using AutoFixture.Xunit2; using FluentAssertions; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; using Moq; using NHSD.GPIT.BuyingCatal...
43.87
171
0.699339
[ "MIT" ]
nhs-digital-gp-it-futures/GPITBuyingCatalogue
tests/NHSD.GPIT.BuyingCatalogue.WebApp.UnitTests/Areas/Order/Controllers/FundingSourceControllerTests.cs
4,389
C#
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.DependencyInjection; using System; using System.Threading.Tasks; namespace Client { public class Program { public static async Task Main(string[] args) { var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.R...
24.714286
74
0.723988
[ "MIT" ]
Layla-P/ApiGatewayWithYarpAndEureka
Code/Client/Program.cs
692
C#
//------------------------------------------------------------------------------ // <copyright file="XmlSchemaDerivationMethod.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> ...
41.577465
129
0.525068
[ "Apache-2.0" ]
Distrotech/mono
external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDerivationMethod.cs
2,952
C#
using Avalonia.Controls; namespace BeatSaberModManager.Views.Pages { /// <summary> /// View for informational purposes. /// </summary> public partial class IntroPage : UserControl { /// <summary> /// Initializes a new instance of the <see cref="IntroPage"/> class. /// </su...
21.894737
76
0.567308
[ "MIT" ]
Meivyn/BeatSaberModManager
BeatSaberModManager/Views/Pages/IntroPage.axaml.cs
418
C#
// CS0019: Operator `!=' cannot be applied to operands of type `ulong?' and `int' // Line: 8 class C { static void Test (ulong? x, int y) { if (x != y) { } } }
13.153846
82
0.555556
[ "Apache-2.0" ]
121468615/mono
mcs/errors/cs0019-49.cs
171
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...
34.847826
162
0.625702
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/LexModelsV2/Generated/Model/Internal/MarshallTransformations/SlotDefaultValueUnmarshaller.cs
3,206
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...
31.193878
112
0.604514
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CloudFormation/Generated/Model/Export.cs
3,057
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
26.87069
463
0.688803
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.Web/Sources/System.Web.UI.ExpressionBinding.cs
3,117
C#
namespace MassTransit.RedisIntegration.Contexts { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using MassTransit.Registration; using Specifications; using Transport; using Transports; public class ClientContextSupervisor : ...
39.532258
148
0.682579
[ "ECL-2.0", "Apache-2.0" ]
architecture-astronaut/MassTransit
src/Transports/MassTransit.RedisIntegration/Contexts/ClientContextSupervisor.cs
2,451
C#
using System.Collections.Generic; using GameCore; using Hanabi.GameCore; using Hanabi.Types; namespace Hanabi.Payloads { #region Game public sealed class ResponseEnterGame { public ResponseEnterGame( ExitGameResult result ) { this.Result = result; } ...
17.373596
67
0.374778
[ "MIT" ]
LiTsungYi/Hanabi
GameServer/Hanabi/Payloads/Response.cs
6,187
C#
using System; using Core.Extensions; namespace Hardware { public class Rotary : IRotary { public int Value { get; private set; } public void PopulateFromSerialReader(string value) { int result; if (Int32.TryParse(value.Trim(), out result)) { Value = result; } else {...
21.555556
117
0.609966
[ "MIT" ]
tnwinc/PressTo
ComputerSide/Hardware/Rotary.cs
584
C#
using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace Service { public class Program { public static async Task Main(string[] args) { var configuration = new ConfigurationBuilder() ...
28.346154
91
0.598372
[ "MIT" ]
streetcrednyc/agent-framework
src/Example/Service/Program.cs
739
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data.Entity.ModelConfiguration; using System.Linq; using PhotoMSK.Data.Enums; using PhotoMSK.Data.Models.ShoppingCart; using System.ComponentModel.DataAnnotations.Schema; using PhotoMSK.Data.Models.Clients; using PhotoMS...
37.356164
108
0.625963
[ "MIT" ]
MarkusMokler/photomsmsk-by
PhotoMSK/Core/PhotoMSK.Data/Models/UserInformation.cs
2,729
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Autofac; using MediatR; using Registration.Web.Countries.GetCountries; using Registration.Web.PipelineBehaviours; namespace Registration.Web.Modules { public class MediatorModule : Autof...
30.939394
110
0.670911
[ "MIT" ]
ramil89/Registration
src/Registration.Web/Modules/MediatorModule.cs
1,023
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace sage.challenge.api { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args...
25
70
0.579048
[ "Apache-2.0" ]
aliabbasvohrashub/NetCoreForZ
src/sage.challenge.api/Program.cs
525
C#
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
43.871429
146
0.726908
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Visual Studio Product Team/Visual Studio 2010 SDK Samples/60968-Visual Studio 2010 SDK Samples/VSSDK IDE Sample Tool WPF Tool Windows/C#/PackageToolWindow.cs
9,213
C#
using System; using System.Net; namespace HipChat { /// <summary> /// Custom exception containing information returned from HipChat (extracted from WebException). /// </summary> /// <remarks> /// The HipChat API will return an HTTP 4XX in the case of an exception, and will put the error into the b...
35.75
131
0.61927
[ "MIT", "Unlicense" ]
akorczynski/HipChat.net
HipChatClient/HipChatApiWebException.cs
1,289
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR.Hubs { public class C...
33.157895
143
0.749206
[ "Apache-2.0" ]
AndreasBieber/SignalR
src/Microsoft.AspNet.SignalR.Core/Hubs/ConnectionIdProxy.cs
632
C#
/* * WebAPI - Area Management * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: management * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.T...
41.916168
637
0.589143
[ "Apache-2.0" ]
zanardini/ARXivarNext-WebApi
ARXivarNext-ConsumingWebApi/IO.Swagger.Management/Model/SqlConditionStringDTO.cs
7,000
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
26.9625
119
0.598053
[ "Apache-2.0" ]
lukeenterprise/aws-sdk-net
sdk/src/Services/AugmentedAIRuntime/Generated/AmazonAugmentedAIRuntimeConfig.cs
2,157
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR #if ! UNITY_WEBPLAYER using System.IO; #endif #endif public class BuildDestroyAnimationManager : MonoBehaviour { public int mode = 0; // 0 - build // 1 - destroy // 2 = build and destroy public bo...
26.064457
103
0.430121
[ "MIT" ]
chanfort/BuildingBuildDestroyAnimations
Assets/Scripts/BuildDestroyAnimationManager.cs
28,308
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using UnityEngine; using MJ = MoPubInternal.ThirdParty.MiniJSON; /// <summary> /// Support classes used by the <see cref="MoPub"/> Unity API for publishers. /// </summary> public abstract class MoPubBase : MoPubBaseInterna...
37.289954
130
0.57393
[ "Apache-2.0" ]
JunGroupProductions/mopub-unity-sdk
unity-sample-app/Assets/MoPub/Scripts/MoPubBase.cs
16,335
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Requests the group's voice messaging settings /// The response is either Grou...
32.8125
193
0.648095
[ "MIT" ]
cwmiller/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupVoiceMessagingGroupGetVoicePortalRequest14.cs
2,100
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace BeforeWebForms.ControlSamples.GridView { public partial class Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } // Th...
18.934426
70
0.649351
[ "MIT" ]
FritzAndFriends/BlazorWebFormsComponents
samples/BeforeWebForms/ControlSamples/GridView/Default.aspx.cs
1,157
C#
using OfficeDevPnP.SPOnline.CmdletHelpAttributes; using OfficeDevPnP.SPOnline.Commands.Base; using Microsoft.SharePoint.Client; using System.Management.Automation; using System; namespace OfficeDevPnP.SPOnline.Commands { [Cmdlet(VerbsCommon.Set, "SPOMinimalDownloadStrategy")] [CmdletHelp("Activates or deactiv...
30.567568
129
0.656057
[ "Apache-2.0" ]
HappySolutions/PnP
Solutions/OfficeDevPnP.SPOnline/Commands/Web/SetMDS.cs
1,133
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17020 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
40.454545
185
0.556305
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
src/external/sharpsnmp/SharpSnmpLib/Properties/Resources.Designer.cs
4,007
C#
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Fabric; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.ServiceFabric.Actors.Runtime; namespace Termite { [EventSource(Name = "MyCompany-TermiteModel-Termite")] internal sealed cl...
45.464706
258
0.603053
[ "MIT" ]
Haishi2016/ProgrammingServiceFabric
V1-Samples/Chapter-18/TermiteModel/Termite/ActorEventSource.cs
7,731
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; public partial class Components1Tr4JxgSchemasContinuouswebjobPropertiesSettingsAdditionalproperties : Microsoft.Azure.PowerShell.Cmdlets.Functio...
44.571429
160
0.792468
[ "MIT" ]
Arsasana/azure-powershell
src/Functions/generated/api/Models/Api20190801/Components1Tr4JxgSchemasContinuouswebjobPropertiesSettingsAdditionalproperties.cs
1,221
C#
using System; using UnityEngine; using UnityEngine.UI; namespace MenuSystem.Components { public class IntField : MonoBehaviour { public event FieldChangedHandler OnChanged; public int Min = 0; public int Max = 100; public string PresetSuffix = ""; public float[] Preset...
26.763636
70
0.569293
[ "BSD-3-Clause" ]
empire-ai/Unity-Menusystem
Assets/Menu System/Scripts/Component Scripts/IntField.cs
1,474
C#
namespace ClassLib058 { public class Class039 { public static string Property => "ClassLib058"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib058/Class039.cs
120
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; class Utils { public static long GetTime() { return (long)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalMilliseconds; } public static bool IsRemot...
29.936508
93
0.598621
[ "MIT" ]
jonasauda/im_in_control
vr_app/Assets/Scripts/Utils.cs
1,888
C#
namespace Zapdate.Server.Core.Errors { public enum ErrorCode { // code 0 to 1000 are reserved for infrastructure FieldValidation = 1000, UserNotFound, InvalidPassword, InvalidToken, InvalidKeyPassword, UpdatePackageWithVersionAlreadyExists, Projec...
28.525
57
0.694128
[ "MIT" ]
Anapher/Zapdate
src/Zapdate.Server.Core/Errors/ErrorCode.cs
1,141
C#
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
35.675325
163
0.62541
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.Redshift/Model/Internal/MarshallTransformations/DescribeEventsResponseUnmarshaller.cs
2,747
C#
using HtmlAgilityPack; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using TVS.API; namespace TVSPlayer { public enum TorrentQual...
43.94697
124
0.545078
[ "MIT" ]
Kaharonus/TVS-Player
TVSPlayer/Classes/Torrent.cs
5,803
C#
using System; using System.Threading.Tasks; using CSharpFunctionalExtensions; using Microsoft.AspNetCore.Mvc; namespace CreditService.WebApi.Extensions { public static class HttpExtensions { public static async Task<IActionResult> ToHttpResponse<T>(this Task<Result<T>> task) { try ...
25.111111
92
0.563422
[ "MIT" ]
TheRisingEdge/CreditService
CreditService/CreditService.WebApi/Extensions/HttpExtensions.cs
680
C#
using Sandbox.Jobs; using System.Collections.Generic; namespace Sandbox.Jobs.Category { public class JobsCategory : NetworkComponent { public string Name { get; } public string Description { get; } public string Icon { get; } public List<Job> JobsList { get; } public int JobsCount {get; private set;} ...
29
109
0.676393
[ "MIT" ]
rayzox57000/xnrp
code/jobCategory/JobsCategory.cs
754
C#
// =============================================================================== // Alachisoft (R) NosDB Sample Code. // =============================================================================== // Copyright © Alachisoft. All rights reserved. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY /...
35.041667
83
0.485137
[ "Apache-2.0" ]
Alachisoft/NosDB-Samples
samples/dotnet/EntityObjects/EntityObjects/OrderDetail.cs
844
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using System.IO; using Microsoft.Kusto.ServiceLayer.QueryExecution.Contracts; namespace Microsoft.Kusto.Service...
32.927419
129
0.592946
[ "MIT" ]
ConnectionMaster/sqltoolsservice
src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/SaveAsWriterBase.cs
4,085
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Requests the details of a specified service pack migration task. /// The resp...
31.878788
130
0.638783
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/ServiceProviderServicePackMigrationTaskGetRequest14sp4.cs
2,104
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 regenerate...
35.317708
150
0.73352
[ "Apache-2.0" ]
pavelkhrulev/RutokenPkcs11Interop
src/RutokenPkcs11Interop.Android/RutokenPkcs11Interop.Android.Tests/Resources/Resource.Designer.cs
6,781
C#
namespace Bell54 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name=...
45.235294
169
0.574267
[ "MIT" ]
mushketer888/Bell54
Bell54/Form1.Designer.cs
13,844
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Solnet.Programs; using Solnet.Rpc; using Solnet.Rpc.Builders; using Solnet.Rpc.Utilities; using Solnet.Rpc.Models; using Solnet.Wallet; using Solnet.Wallet.Bip39; using System.Collections.Generic; using System.Text; using System; using System.Threading; using ...
37.25188
197
0.528308
[ "MIT" ]
pavel-leonenko/Solnet.Metaplex
Solnet.Metaplex.Test/MetadataTest.cs
9,909
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
26.125
107
0.586603
[ "Apache-2.0" ]
diegofrata/aws-sdk-net
sdk/src/Services/S3Control/Generated/AmazonS3ControlConfig.cs
2,090
C#
using UnityEngine; using System.Collections; // Draw simple instructions for sample scene. // Check to see if a Myo armband is paired. public class SampleSceneGUI : MonoBehaviour { // Myo game object to connect with. // This object must have a ThalmicMyo script attached. public GameObject myo = n...
32.236364
74
0.539199
[ "MIT" ]
J0Nreynolds/MathematicaVR
unity_proj/Assets/Myo Samples/Scripts/SampleSceneGUI.cs
1,775
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Management; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Security.Cryptography; using System.Text; using System.Web; using Atk; using Gtk; using NewLife; using N...
30.738416
144
0.481813
[ "MIT" ]
NewLifeX/XCoder
XCoderLinux/Tools/FrmSecurity.cs
21,000
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NurseReporting.Models { public class DayEvent : Entity { public EventType Type { get; set; } public string Data { get; set; } public DayFile DayFile { get; set...
19.529412
44
0.668675
[ "MIT" ]
micdevcamp/NurseReport-2
NurseReporting.Models/DayEvent.cs
334
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.Diagnostics.ContractsLight; namespace BuildXL.Processes { /// <summary> /// Implementation of <see cref="ISandboxedProcessFileStorage"/> ...
37.55
124
0.631824
[ "MIT" ]
AzureMentor/BuildXL
Public/Src/Engine/Processes/StandardFileStorage.cs
1,504
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("Mv...
37.416667
84
0.746845
[ "MIT" ]
ChristianGutman/FileDB
MvcTest/Properties/AssemblyInfo.cs
1,350
C#
using System; using System.Collections.Generic; using System.IO; using AutoFixture; using Omnium.Public.Models; using Omnium.Public.Orders.Models; using Omnium.Public.Shipments.Models; namespace Geta.Omnium.Test.TestSupport.Fakes { public class OmniumFakesBuilder { public OmniumOrder CreateOmniumOrder...
34.847458
109
0.577335
[ "Apache-2.0" ]
Geta/Geta.Omnium
test/Geta.Omnium.Test/TestSupport/Fakes/OmniumFakesBuilder.cs
2,058
C#
namespace TraktNet.Objects.Get.Tests.Syncs.Playback.Json.Reader { using FluentAssertions; using System; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Get.Syncs.Playback; using TraktNet.Objects.Get.Syncs.Playback.Json.Reader; using Xunit; [Ca...
39.65625
133
0.725768
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Tests/Trakt.NET.Objects.Get.Tests/Syncs/Playback/Json/Reader/SyncPlaybackProgressItemObjectJsonReader/SyncPlaybackProgressItemObjectJsonReader_Json_String_Tests.cs
1,271
C#
namespace YeelightAPI.Models.ColorFlow { /// <summary> /// Mode of the color flow /// </summary> public enum ColorFlowMode { /// <summary> /// RGB color /// </summary> Color = 1, /// <summary> /// Color temperature /// </summary> Colo...
18.913043
39
0.448276
[ "Apache-2.0" ]
BionicCode/YeelightAPI
YeelightAPI/Models/ColorFlow/ColorFlowMode.cs
437
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("WA3...
37.567568
84
0.746043
[ "Unlicense" ]
GamingLiamStudios/WA3P-CSPlayer
WA3P Player/Properties/AssemblyInfo.cs
1,393
C#
namespace Json.Schema.DataGeneration { internal interface IRequirementsGatherer { void AddRequirements(RequirementsContext context, JsonSchema schema); } }
23
71
0.819876
[ "MIT" ]
WeihanLi/json-everything
JsonSchema.DataGeneration/IRequirementsGatherer.cs
163
C#
// <copyright file="IFtpServer.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> using System; using System.Collections.Generic; namespace FubarDev.FtpServer { /// <summary> /// The interface that must be implemented by the FTP server. ...
31.893333
94
0.583194
[ "Apache-2.0" ]
nsaxelby/EasyFileSender
FubarSrc/FubarDev.FtpServer.Abstractions/IFtpServer.cs
2,392
C#
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using NSubstitute; using NSubstitute.ExceptionExtensions; using NUnit.Framework; using System; using System.Collections.Generic; using Twilio.Clients; using Twilio.Converters; using Twilio.Exceptions; using ...
54.293269
1,386
0.597007
[ "MIT" ]
charliesantos/twilio-csharp
test/Twilio.Test/Rest/Conversations/V1/UserResourceTest.cs
11,293
C#
using System.Drawing; namespace Dyes { public interface IWriter { void Write(object input); void WriteLine(object input); void WriteLine(); void WriteColor(Color color, int width); void WriteColorLine(Color color, int width); } }
20.214286
52
0.628975
[ "MIT" ]
itsresool/dyes
src/Dyes/IWriter.cs
283
C#
/* The MIT License (MIT) * * Original Work Copyright (c) 2014 Pawel Drozdowski * Modified Work Copyright (c) 2015 William Hallatt * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without re...
31.19
82
0.628086
[ "MIT" ]
LiPan1998/TSPLib.Net
TspLibNet/TspLibNet/IProblem.cs
3,121
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Data; using System.Globalization; using Microsoft.EntityFrameworkCore.Utilities; namespace Microsoft.EntityFrameworkCore.Storage { /// <summary> /...
38.274194
105
0.602613
[ "MIT" ]
FelicePollano/efcore
src/EFCore.Relational/Storage/TimeOnlyTypeMapping.cs
2,373
C#
/* Copyright (c) 2019 Integrative Software LLC Created: 5/2019 Author: Pablo Carbonell */ using System.Drawing; using System.Windows.Forms; namespace Electrolite.Windows.Main { sealed class Transparenter { readonly Color TransparentColor = Color.LimeGreen; readonly Form _parent; Panel...
26.592593
62
0.580084
[ "Apache-2.0" ]
integrativesoft/electrolite
Electrolite.Windows/Main/Transparenter.cs
1,438
C#
// Copyright (c) pCYSl5EDgo. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using MessagePack; namespace ComplexTestClasses { [Union(0, typeof(ImplementorStruct))] [Union(1, typeof(ImplementorGenericStruct<int>))] [Union...
32.0625
102
0.701754
[ "MIT" ]
pCYSl5EDgo/MSPack-Processor
tests/ComplexTestClasses/IUnionBase.cs
515
C#
using Microsoft.AspNetCore.Components; using PBApplication.Responses; using PBApplication.Responses.Abstractions; using PBApplication.Services.Abstractions; using PBFrontend.UI.Miscellaneous.Loading; using System; using System.Threading.Tasks; namespace PBFrontend.UI.Authorization.ForgotPassword { public partial cla...
28.12963
125
0.736669
[ "MIT" ]
PaulBraetz/PBAppRepository
PBFrontend/UI/Authorization/ForgotPassword/ForgotPasswordFrame.razor.cs
1,521
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Hyperledger.Aries.Agents; using Hyperledger.Aries.Configuration; using Hyperledger.Aries.Extensions; using Hyperledger.Aries.Features.Handshakes.Common; using Hyperledger.Aries.Storage; using M...
45.041379
214
0.66881
[ "Apache-2.0" ]
lissi-id/aries-framework-dotnet
src/Hyperledger.Aries.Routing.Edge/EdgeClientService.cs
6,533
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace ProvaBlazor.Areas.Identity.Pages.Account.Manage { public cl...
36.819444
153
0.632214
[ "MIT" ]
FITSTIC/Hackathon_SampleCode_19_21
ProvaBlazor/ProvaBlazor/Areas/Identity/Pages/Account/Manage/GenerateRecoveryCodes.cshtml.cs
2,653
C#
// <copyright> // Copyright Southeast Christian Church // // Licensed under the Southeast Christian Church License (the "License"); // you may not use this file except in compliance with the License. // A copy of the License shoud be included with this file. // // Unless required by applicable law or agreed to in wri...
48.498759
423
0.54001
[ "ECL-2.0" ]
secc/RockPlugins
Plugins/org.secc.Reporting/org_secc/Reporting/NextGen/BelieveLeader.ascx.cs
39,092
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-gen...
40.458333
92
0.648816
[ "BSD-3-Clause" ]
ipetrovanton/b2x
Shell/ppt2x/obj/Debug/netcoreapp2.0/ppt2x.AssemblyInfo.cs
1,119
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
45.013333
151
0.603969
[ "Apache-2.0" ]
TradingAlgoritmico/Lean
Algorithm.CSharp/ConvertToFrameworkAlgorithm.cs
6,752
C#
namespace CurriculumParser { /// <summary> /// Тип дисциплины(базовая, электив, факультатив) /// </summary> public enum DisciplineType { Base = 1, Elective = 2, Facultative = 3 } }
19.083333
53
0.554585
[ "Apache-2.0" ]
resueman/curriculum-parser
CurriculumParser/DisciplineType.cs
269
C#
using System; using NLog; namespace DistributedLoggingTracing.WebApi { public static class LoggerExtensions { public static void Log(this ILogger logger, ICorrelationInfo correlationInfo, LogLevel logLevel, string message) { var logEventInfo = new LogEventInfo(logLevel, "", message...
40.872727
120
0.677046
[ "MIT" ]
luigiberrettini/distributed-logging-and-tracing-kata
src/WebApi/LoggerExtensions.cs
2,250
C#
using System; using System.Diagnostics; namespace Unity.Burst.Intrinsics { public unsafe static partial class X86 { /// <summary> /// SSE3 intrinsics /// </summary> public static class Sse3 { /// <summary> /// Evaluates to true at compile time if ...
40.057692
195
0.522644
[ "MIT" ]
Alex-Greenen/Spectral-Animation-Unity-Unity
Library/PackageCache/com.unity.burst@1.6.0-pre.2/Runtime/Intrinsics/x86/Sse3.cs
6,249
C#
// Copyright 2017 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NodaTime.Utility; using System; namespace NodaTime.Calendars { /// <summary> /// See <see cref="CalendarSystem.Badi" /> for details about ...
41.821429
112
0.622716
[ "Apache-2.0" ]
Rody66/nodatime
src/NodaTime/Calendars/BadiYearMonthDayCalculator.cs
11,716
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany) // // http://www.PdfSharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // cop...
31.947826
112
0.587235
[ "MIT" ]
aavilaco/PdfSharpCore
PdfSharpCore/Pdf/PdfUInteger.cs
7,348
C#
/* Copyright 2010-2014 MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
62.432624
248
0.579575
[ "Apache-2.0" ]
KermitCoder/mongo-csharp-driver
tests/MongoDB.Driver.Tests/GeoJsonObjectModel/GeoJsonMultiPolygonTests.cs
8,805
C#
using Abp; using Abp.Domain.Repositories; using Abp.Events.Bus.Entities; using Abp.Events.Bus.Handlers; using Abp.Runtime.Caching; using Abp.Runtime.Session; using Tbs.DomainModels; namespace Tbs.DomainServices { public class TaskTypeCache : ITaskTypeCache, IEventHandler<EntityChangedEventData<TaskType>> { ...
31.538462
96
0.617073
[ "MIT" ]
jiangyimin/Tbs
src/Tbs.Core/DomainServices/TaskTypeCache.cs
1,640
C#
namespace WebAppExample { public static class CorsPolicy { public static readonly string Test = "Testing"; } }
19.571429
56
0.627737
[ "MIT" ]
Deftextra/WebAppExample
CorsPolicy.cs
139
C#
// MIT License // // Copyright (c) 2017 dairin0d // // 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, me...
33
83
0.630422
[ "MIT" ]
dairin0d/PointVoxelExperiments
Unity/PointVoxelExperiments/Assets/Data.Colors/ColorHSV.cs
3,366
C#
// Graph Engine // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Threading; using T...
33.045455
163
0.522085
[ "MIT" ]
ZZHGit/GraphEngine
src/Trinity.Core/Storage/RemoteStorage/RemoteStorage.cs
6,543
C#
using ArcadeManager.Actions; using ArcadeManager.Models; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ArcadeManager.Services { /// <summary> /// Interface for the downloader /// </summary> public interface IDownloader { /// <summary> /// Downloads the specified URL...
33.064516
149
0.666992
[ "MIT" ]
cosmo0/arcade-manager
ArcadeManager/Services/IDownloader.cs
3,077
C#
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. namespace System.Activities.Statements { using System; using System.Activities; using System.Activities.DynamicUpdate; using System.Activities.Internals; us...
35.052133
214
0.526568
[ "MIT" ]
wforney/corewf
src/System.Activities/Statements/TryCatch.cs
14,792
C#
#if UNITY_EDITOR using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; using UnityEngine.Events; [CustomPropertyDrawer(typeof(DialogueText))] public class DialogueTextDrawer : PropertyDrawer { ///<summary> ///The height of a si...
33.728571
169
0.649725
[ "MIT" ]
rschavali02/computer-game-simulation-programming
2018/4th/Utah_Morgan/FBLAGame/Assets/Scripts/Dialouge/DialogueTextDrawer.cs
2,363
C#
namespace ET { /// <summary> /// 监视hp数值变化,改变血条值 /// </summary> [NumericWatcher(NumericType.Hp)] public class NumericWatcher_Hp_ShowUI : INumericWatcher { public void Run(EventType.NumbericChange args) { } } }
15.928571
56
0.695067
[ "MIT" ]
Alinccc/ET
Unity/Codes/Hotfix/Module/Numeric/NumericWatcher_Hp_ShowUI.cs
249
C#
using Newtonsoft.Json; using System; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace NadekoBot.Core.Services.Impl { public class SoundCloudApiService : INService { private readonly IHttpClientFactory _httpFactory; public SoundCloudApiService(IHttpClientFactor...
33.670886
152
0.591353
[ "MIT" ]
EchoEclipseWolf/NadekoModified
NadekoBot.Core/Services/Impl/SoundCloudApiService.cs
2,662
C#
using System.Collections; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.Iana; using Org.BouncyCastle.Asn1.Pkcs; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Crypto.Macs; using Org.BouncyCastle.Crypto.Paddings; using Org.BouncyCastle.Utilities; namespace Org.B...
34.053279
103
0.53773
[ "MIT" ]
krolpiotr/PHOENIX.Fakturering
itextsharp-core/srcbc/security/MacUtilities.cs
8,309
C#
using JetBrains.Annotations; using Newtonsoft.Json; namespace Crowdin.Api.Tasks { [PublicAPI] public class TaskAssignee { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("username")] public string UserName { get; set; } [JsonProperty...
23.392857
45
0.554198
[ "MIT" ]
crowdin/crowdin-api-client-dotnet
src/Crowdin.Api/Tasks/TaskAssignee.cs
655
C#
#region File Description //----------------------------------------------------------------------------- // WorldObjectWriter.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endre...
33.205128
79
0.659459
[ "MIT" ]
KtmarineStudios/Unity-XNA-RPG
Assets/Unity XNA RPG/Original/Scripts~/RolePlayingGameProcessors/WorldObjectWriter.cs
1,295
C#