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
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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, modi...
46.806723
156
0.633573
[ "MIT" ]
shoelzer/SharpDX
Source/SharpDX.Direct2D1/CustomEffectShadow.cs
5,572
C#
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // // 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, includ...
34.883117
98
0.637007
[ "MIT" ]
Arakade/YamlDotNet
YamlDotNet/Helpers/StringBuilderPool.cs
2,686
C#
using System.ComponentModel; namespace KKTServiceLib.Mercury.Types.Operations.KKT.KKTDatabase.BreakKKTDatabaseOperation { [Description("Результат прерывания текущей операции с базой данных ККТ")] public class BreakKKTDatabaseOperationResult : OperationResult { } }
39.142857
90
0.821168
[ "MIT" ]
ExLuzZziVo/KKTServiceLib
KKTServiceLib.Mercury/Types/Operations/KKT/KKTDatabase/BreakKKTDatabaseOperation/BreakKKTDatabaseOperationResult.cs
325
C#
using System.Collections.Generic; using System.Linq; using FFLTask.BLL.Entity; using FFLTask.BLL.NHMap; using Global.NHibernateTestHelper; using NHibernate; using NUnit.Framework; namespace FFLTask.SRV.QueryTest { public class BaseQueryTest { private static ISessionFactory _sessionFactory; sta...
23.810345
98
0.564084
[ "MIT" ]
feilang864/task.zyfei.net
SRV/QueryTest/BaseQueryTest.cs
1,383
C#
using System.Threading.Tasks; using Abp.Configuration; using Abp.Zero.Configuration; using LTMCompanyNameFree.YoyoCmsTemplate.Authorization.Accounts.Dto; using LTMCompanyNameFree.YoyoCmsTemplate.Authorization.Users; namespace LTMCompanyNameFree.YoyoCmsTemplate.Authorization.Accounts { public class AccountAppServic...
37.327273
174
0.672187
[ "MIT" ]
27547897/LTMCompanyNameFree.YoyoCmsTemplate
src/aspnet-core/src/LTMCompanyNameFree.YoyoCmsTemplate.Application/Authorization/Accounts/AccountAppService.cs
2,053
C#
using UnityEngine; namespace TMG.BloonsTD.Gameplay { public class TowerBloonDetector : MonoBehaviour, IUpgradeRange { private TowerController _towerController; public TowerController TowerController { get => _towerController; set => _towerController = value; ...
26.384615
77
0.622449
[ "MIT" ]
JohnnyTurbo/BloonsTD
BloonsTD-Project/Assets/Scripts/Gameplay/Helpers/TowerBloonDetector.cs
686
C#
namespace SBRW.Nancy.ViewEngines { using System; /// <summary> /// Defines the functionality of a Nancy view cache. /// </summary> public interface IViewCache { /// <summary> /// Gets or adds a view from the cache. /// </summary> /// <typeparam name="TCompiledVi...
50.368421
169
0.685475
[ "MIT" ]
DavidCarbon-SBRW/SBRW.Nancy
SBRW.Nancy/ViewEngines/IViewCache.cs
959
C#
namespace Microsoft.BizTalk.Management { using System; using System.ComponentModel; using System.Management; using System.Collections; using System.Globalization; using System.ComponentModel.Design.Serialization; using System.Reflection; // Functions ShouldSerialize<PropertyNa...
43.469543
743
0.555945
[ "MIT" ]
EdiFabric/Integration
BizTalk Server/Tools/BizTalkMigrationTool/MigrationTool/HostInstance.cs
51,383
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System; using System.Windows.Input; using CoreGraphics; using UIKit; namespace Softeq.XToolkit.WhiteLabel.iOS.Extensions { public static class NavigationItemExtensions { [Obsolete("Use SetCommand instead")] public s...
32.811111
119
0.576702
[ "MIT" ]
Softeq/XToolkit.WhiteLabel
Softeq.XToolkit.WhiteLabel.iOS/Extensions/NavigationItemExtensions.cs
2,955
C#
using BenchmarkDotNet.Running; using SealedClasses; BenchmarkRunner.Run<ValueTaskVsTaskBenchmark>(); Console.ReadKey();
20.333333
48
0.827869
[ "MIT" ]
Carq/PerformanceLab
ValueTaskVsTask/Program.cs
124
C#
namespace MH.ReCaptcha.NetCore21.Models { public class ContactViewModel { public string Name { get; set; } public string Body { get; set; } } }
17.4
40
0.609195
[ "MIT" ]
mohsen2hasani/MH.ReCaptcha
Samples/MH.ReCaptcha.NetCore21/Models/ContactViewModel.cs
176
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using MonuGuardaApp.Models; namespace MonuGuardaApp.Controllers { public class HomeController : Controller { pr...
21.965517
112
0.580063
[ "MIT" ]
Greatbisca/MonuGuardaApp
MonuGuardaApp/Controllers/HomeController.cs
1,276
C#
namespace _2ndviewer { partial class AboutForm { /// <summary> /// 必要なデザイナ変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="dispo...
38.365385
142
0.553383
[ "BSD-3-Clause" ]
davidsvcl/2ndviewer
2ndviewer/AboutForm.Designer.cs
4,250
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...
33.966102
134
0.645709
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/RecoveryServices/V20160601/Inputs/MonthlyRetentionScheduleArgs.cs
2,004
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 Falcon { public partial class AboutForm : Form { public AboutForm() { ...
17.761905
41
0.686327
[ "MIT" ]
Airbornz/Falcon
Falcon/AboutForm.cs
375
C#
#if !NOT_UNITY3D using System; using System.Collections.Generic; using System.Linq; using ModestTree; using UnityEngine; namespace Zenject { public class PrefabInstantiator : IPrefabInstantiator { readonly IPrefabProvider _prefabProvider; readonly DiContainer _container; readonly strin...
25.634146
97
0.580875
[ "MIT" ]
skahal/Buildron
src/Buildron/Assets/Zenject/Source/Providers/PrefabCreators/PrefabInstantiator.cs
2,102
C#
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Speckle.Core.Kits; using Speckle.Core.Models; namespace Tests { /// <summary> /// Class used to test the abstract object. /// </summary> public class NonKitClass { public string TestProp { get; set; } = "WOW...
23.097938
197
0.604106
[ "Apache-2.0" ]
clairekuang/Core
Tests/TestKit.cs
4,483
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Altinn.Studio.Designer.Helpers; namespace Altinn.Studio.Designer.Infrastructure.GitRepository { /// <summary> /// Base class for handling files in a Git Repository. ...
45.070122
199
0.644524
[ "BSD-3-Clause" ]
SandGrainOne/altinn-studio
src/studio/src/designer/backend/Infrastructure/GitRepository/GitRepository.cs
14,783
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...
25.290323
81
0.655612
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/V20160601/Outputs/ApiResourceBackendServiceResponse.cs
784
C#
using BGEngine.Sdk; using LibVLCSharp.Shared; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace BGEngine.Entities.Windows { class PluginWallpaperWindow : WallpaperWindow { IPl...
28.022727
134
0.622871
[ "MIT" ]
WamWooWam/BGEngine
src/Entities/Windows/PluginWallpaperWindow.cs
1,235
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("SwitchUnityPlatform")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: As...
25.918919
56
0.719499
[ "MIT" ]
huangwwmm/SwitchUnityPlatform
SwitchUnityPlatform/Properties/AssemblyInfo.cs
1,300
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Hci....
60.848062
221
0.640635
[ "MIT" ]
Ramananaidu/dotnet-sonarqube
sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/RestOperations/ClustersRestOperations.cs
39,247
C#
namespace Verticular.Extensions { using System; /// <summary> /// Contains matching utility methods that extend the <see cref="string" /> type. /// </summary> public static class StringMatchExtensions { /// <summary> /// Tests if a <see cref="string" /> only contains numbers. This might be helpful ...
26.513761
128
0.556401
[ "MIT" ]
mhudasch/Verticular.Extensions.Strings
src/Verticular.Extensions.Strings/StringMatchExtensions.cs
2,890
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...
42.774436
1,358
0.588065
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/UKCT_MT170001UK02PertinentInformation2.cs
11,378
C#
using System.Collections.Generic; using System.Net.Http; namespace Q101.NetCoreHttpRequestHelper.Abstract { /// <summary> /// HttpClientCreator /// </summary> public interface IHttpClientCreator { /// <summary> /// Default http request headers. /// </summary> static...
27.861111
70
0.577268
[ "MIT" ]
Lanshir/q101-net-core-http-request-helper
Q101.NetCoreHttpRequestHelper/Abstract/IHttpClientCreator.cs
1,005
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { #pragma warning disable CS8618 [JsiiByValue(fqn: "aws.Wafv2RuleGroupRuleStatementNotStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchSingleQueryArgument")] public class Wafv2RuleGroupRuleSta...
36.7
261
0.775204
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2RuleGroupRuleStatementNotStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchSingleQueryArgument.cs
734
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("Mul...
38
84
0.750356
[ "MIT" ]
AscenKeeprov/Programming-Fundamentals
Exercise5-MethodsAndDebugging/MultiplyEvensByOdds/Properties/AssemblyInfo.cs
1,409
C#
/* **============================================================================== ** ** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE ** for license information. ** **============================================================================== */ using System; using Microsoft.Management...
37.129032
117
0.59861
[ "MIT" ]
LaudateCorpus1/MMI
test/Microsoft.Management.Infrastructure.Tests/CimInstanceTests.cs
3,453
C#
/** * Copyright (c) 2019-2020 LG Electronics, Inc. * * This software contains code licensed as described in LICENSE. * */ using System.Collections.Generic; using System.Linq; using UnityEngine; public class SignalLight : MonoBehaviour { [System.Serializable] public class SignalLightData { pub...
29.090909
107
0.605859
[ "Apache-2.0", "BSD-3-Clause" ]
MitchellTesla/simulator
Assets/Scripts/Components/SignalLight.cs
2,560
C#
using System; using System.Collections.Generic; using System.Text; namespace YouGe.Core.Common.YouGeException { public class UserPasswordNotMatchException:UserException { private static readonly long serialVersionUID = 1L; public UserPasswordNotMatchException(): base("user.password.not.match"...
22.8125
85
0.690411
[ "MIT" ]
chenqiangdage/YouGe.Core
YouGe.Core.Common/YouGeException/UserPasswordNotMatchException.cs
367
C#
using System; using System.Reflection.Metadata; using System.Reflection.Metadata.Ecma335; namespace Mariana.CodeGen { /// <summary> /// Maps metadata handles assigned to fields and methods in a dynamic assembly during /// creation to the actual handle values based on their locations in the emitted PE file...
48
120
0.630584
[ "MIT" ]
jfd16/Mariana
Mariana.CodeGen/src/TokenMapping.cs
4,656
C#
namespace System.Net.Mqtt { /// <summary> /// Credentials used to connect a Client to a Server as part of the protocol connection /// </summary> public class MqttClientCredentials { /// <summary> /// Initializes a new instance of the <see cref="MqttClientCredentials" /> class /// specifying the id...
34.448276
115
0.672673
[ "MIT" ]
CarloP95/mqtt
src/Client/MqttClientCredentials.cs
2,000
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace Models { /// <summary> /// /// </summary> [DataContract] public class BankAccount { /// <summary> /// Gets or Sets BankAccount /// </...
26.333333
77
0.655696
[ "Apache-2.0" ]
alexandrejulien/Peppermint.Qonto
src/Peppermint.Qonto.Api/Models/BankAccount.cs
1,185
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing; namespace MinTetris { static class MinTetris { /// <summary> /// The main entry point for the application. /// </summary> [STAThre...
21.52
65
0.622677
[ "MIT" ]
gform/MinTetris
MinTetris.cs
540
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UnityAtoms.Editor { /// <summary> /// Internal class used for templating when generating new Atoms using the `Generator`. /// </summary> internal class Templating { /// <summary> /// Resolve conditionals fr...
48.378378
124
0.638268
[ "MIT" ]
lucasrferreira/unity-atoms
Packages/Core/Editor/Generator/Templating.cs
3,580
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using NHapi.Base; using NHapi.Base.Model; namespace nHapiExampleApplication.Util { public class HL7InputSreamMessageStringEnumerator : IEnumerator<string> { #region Private properties ...
29.167488
109
0.326634
[ "MIT" ]
dib0/NHapiExamples
nHapiExampleApplication/Util/HL7InputSreamMessageStringEnumerator.cs
5,923
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Security; // 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("Orchard.Comments")...
37.542857
84
0.748097
[ "BSD-3-Clause" ]
Evgeniy-Batov/HelloWorldSite
Modules/Orchard.Comments/Properties/AssemblyInfo.cs
1,317
C#
namespace R1Engine { public class R1_PS1_BigRayBlock : R1Serializable { /// <summary> /// The data length, set before serializing /// </summary> public long Length { get; set; } public R1_EventData BigRay { get; set; } /// <summary> /// The data block ...
30.857143
116
0.5625
[ "MIT" ]
rtsonneveld/Ray1Map
Assets/Scripts/DataTypes/Rayman1/PS1/World/R1_PS1_BigRayBlock.cs
866
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
59.54902
369
0.77807
[ "Apache-2.0" ]
aws/aws-sdk-net
sdk/src/Services/WorkSpacesWeb/Properties/AssemblyInfo.cs
3,037
C#
namespace A_Miner_Task { using System; using System.Collections.Generic; using System.Linq; public class Startup { public static void Main() { /* * You are given a sequence of strings, each on a new line. Every odd line on the console is representing a reso...
27.983051
134
0.408237
[ "MIT" ]
dimbata/SoftUni-Homeworks
Dictionaries-Lambda-Linq-Exercises/A-Miner-Task/Startup.cs
1,659
C#
namespace THREE { public class EllipseCurve : Curve { public double aX; public double aY; public double xRadius; public double yRadius; public double aStartAngle; public double aEndAngle; public bool aClockwise; public EllipseCurve(double aX, double aY, double xRadius, double yRadius, ...
21.439024
100
0.667804
[ "Apache-2.0" ]
jdarc/webgl.net
THREE/Extras/core/EllipseCurve.cs
881
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RomUtilities; namespace FF4 { // ReSharper disable once InconsistentNaming public class FF4Rom : SnesRom { public const int OverworldRowPointersOffset = 0xB0000; public const i...
34.123348
121
0.721017
[ "Unlicense" ]
Entroper/FF4MapEdit
FF4/FF4Rom.cs
7,748
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...
32.525
101
0.651422
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/AwsJobRateIncreaseCriteria.cs
2,602
C#
using UnityEngine; namespace mx { namespace Grids { [System.Serializable] public struct GridPoint { public static readonly GridPoint zero = new GridPoint(0, 0, 0); public static readonly GridPoint one = new GridPoint(1, 1, 1); public static readonly GridPoint right = new GridPoint(1, 0, 0); public ...
23.043243
115
0.594652
[ "MIT" ]
Chillu1/GottaGoFust
Assets/Grids MX/Code/GridPoint.cs
4,263
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> //--...
39.73
191
0.582935
[ "MIT" ]
bdvp/Loja
src/Loja.Domain.Core/Resources/CommonResource.Designer.cs
3,979
C#
#region License // The MIT License (MIT) // // Copyright (c) 2016 Alberto Rodríguez Orozco & LiveCharts contributors // // 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 restric...
39.112676
108
0.625315
[ "MIT" ]
18720989200/Live-Charts
src/LiveCharts.Wpf/Views/GeometryPointView.cs
5,557
C#
using System; using System.Diagnostics; using System.Threading; #if NANOFRAMEWORK using Windows.Devices.Gpio; using Windows.Devices.Spi; #else using GHIElectronics.TinyCLR.Devices.Gpio; using GHIElectronics.TinyCLR.Devices.Spi; #endif using Bauland.Others.Constants.MfRc522; // ReSharper disable MemberCanBePrivate.Glob...
37.475214
175
0.510879
[ "Apache-2.0", "MIT" ]
up-streamer/TinyClrLib
Modules/Others/MfRc522/MfRc522.cs
21,925
C#
/*---------------------------------------------------------------- Copyright (C) 2001 R&R Soft - All rights reserved. author: Roberto Oliveira Jucá ----------------------------------------------------------------*/ //----- Include //---------------------------// namespace Module.Settings.Shell.Pattern.Views ...
27
90
0.459596
[ "MIT" ]
robjuca/Suite
Module/Settings/Suite.Module.Settings/Shell/Pattern/Views/ShellFactoryDatabaseView.xaml.cs
597
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.AwsN...
32.233333
92
0.740434
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/AppMesh/Outputs/VirtualNodeListenerTlsValidationContext.cs
967
C#
using AppKit; using Eto.Forms; namespace test.XamMac { static class MainClass { static void Main(string[] args) { new Application(Eto.Platforms.XamMac2).Run(new MainForm()); } } }
14.785714
63
0.647343
[ "MIT" ]
piersdeseilligny/metacolor.editor
test/test.XamMac/Program.cs
209
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...
63.745763
214
0.650891
[ "MIT" ]
Arsasana/azure-powershell
src/Kusto/generated/api/Support/DatabasePrincipalRole.TypeConverter.cs
3,703
C#
using System; namespace Homework12_5._7 { 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.5
69
0.60473
[ "MIT" ]
Di-viner/DotNetHomework
Homework12_5.7/Homework12_5.7/WeatherForecast.cs
296
C#
#region Copyright (c) 2018 Scott L. Carter // //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 ...
36.521739
108
0.7
[ "Apache-2.0" ]
devYoop/NStateManager
Examples/NStateManager.Example.Sale/ChangeTransaction.cs
842
C#
using System; namespace R5T.Guide.Construction { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
15.538462
47
0.50495
[ "MIT" ]
MinexAutomation/R5T.Guide
source/R5T.Guide.Construction/Code/Program.cs
204
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 // re...
53.512195
1,216
0.662944
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackupCrossregionRestoe/Generated/Models/AzureFileshareProtectedItem.cs
8,776
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 ...
17.603053
77
0.633131
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-vs/Vs/Model/V20181212/DescribeVsDomainRecordDataResponse.cs
2,306
C#
// *********************************************************************** // Copyright (c) 2011-2015 Charlie Poole, Rob Prouse // // 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 ...
39.661654
144
0.632227
[ "MIT" ]
SeanKilleen/nunit-console
src/NUnitEngine/nunit.engine.tests/Services/DomainManagerTests.cs
5,277
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace Shuhari.Framework.Utils { /// <summary> /// Helper methods to extend ObservableCollection{T} /// </summary> public static class ObservableCollectionUtil { /// <summary> ...
29.733333
101
0.576233
[ "Apache-2.0" ]
shuhari/Shuhari.Framework
Shuhari.Framework.Common/Utils/ObservableCollectionUtil.cs
1,340
C#
#region Copyright // //======================================================================================= // // Microsoft Azure Customer Advisory Team // // // // This sample is supplemental to the technical guidance published on the community // // blog at http://blogs.msdn.com/b/paolos/. // // // // Author...
40.716667
139
0.574703
[ "MIT" ]
paolosalvatori/servicefabricobserver
GatewayService/Program.cs
2,446
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Profiling; using VRCSDK2.Validation.Performance.Stats; namespace VRCSDK2.Validation.Performance.Scanners { #if VRC_CLIENT [CreateAssetMenu( fileName = "New LineRendererPerformanceScanner", menuName ...
37.909091
179
0.717026
[ "Apache-2.0" ]
CrazyCanineStudios/Colloborative-Virtual-Environs
CVE-OtherworldStudios/Assets/VRCSDK/Dependencies/VRChat/Scripts/Validation/Performance/Scanners/LineRendererPerformanceScanner.cs
1,251
C#
using System.Collections.Generic; using Limbo.Umbraco.UserPermissions.UserActions.Models; using Umbraco.Core.Models.Membership; namespace Limbo.Umbraco.UserPermissions.Rules.Blocks.Models.Content { public class BlockContentLevelAccessRule : BlockContentAccessRule { public BlockContentLevelAccessRule(strin...
38.857143
186
0.753676
[ "MIT" ]
limbo-works/Limbo.Umbraco.Access
src/Limbo.Umbraco.UserPermissions/Rules/Blocks/Models/Content/BlockContentLevelAccessRule.cs
546
C#
#if WITH_GAME #if PLATFORM_32BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { [StructLayout(LayoutKind.Explicit,Size=16)] public partial struct FGameNameRedirect { [FieldOffset(0)] public FName OldGameName; [FieldOffset(8)] public FName ...
17
44
0.77591
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/FGameNameRedirect.cs
357
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...
44.149533
104
0.648815
[ "BSD-3-Clause" ]
WhiteCoreSim/WhiteCore-Merger
OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs
4,724
C#
using System; using System.Drawing; using System.IO; using System.Text; namespace Cyotek.Windows.Forms { // Cyotek Color Picker controls library // Copyright © 2013-2015 Cyotek Ltd. // http://cyotek.com/blog/tag/colorpicker // Licensed under the MIT License. See license.txt for the full text. // If you us...
27.540541
139
0.547759
[ "MIT" ]
Fabio3rs/cmalcor
cmalcor-gui/Dependencies/Cyotek.Windows.Forms.ColorPicker/Cyotek.Windows.Forms.ColorPicker/GimpPaletteSerializer.cs
6,117
C#
namespace KryptonListBoxExamples { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
52.055556
160
0.626467
[ "BSD-3-Clause" ]
ALMMa/Krypton
Source/Krypton Toolkit Examples/KryptonListBox Examples/Form1.Designer.cs
14,055
C#
#region 注 释 /*** * * Title: * * Description: * * Date: * Version: * Writer: 半只龙虾人 * Github: https://github.com/HalfLobsterMan * Blog: https://www.crosshair.top/ * */ #endregion using CZToolKit.GraphProcessor.Editors; namespace CZToolKit.BehaviorTree.Editors { [CustomNodeView(typeof(Entry))] ...
18.125
47
0.598276
[ "MIT" ]
HalfLobsterMan/3.3_BehaviorTree
Editor/EntryNodeView.cs
594
C#
using Cofoundry.Core; using Cofoundry.Core.Validation; using Cofoundry.Domain.CQS; using Cofoundry.Domain.Data; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Cofoundry.Domain.Internal { ...
42.22561
166
0.622527
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Domain/Domain/Roles/Commands/AddRoleCommandHandler.cs
6,927
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 ...
96.633333
432
0.866506
[ "Apache-2.0" ]
fossabot/aliyun-openapi-net-sdk
aliyun-net-sdk-vpc/Vpc/Transform/V20160428/DescribeVirtualBorderRoutersForPhysicalConnectionResponseUnmarshaller.cs
5,798
C#
//supressed warning by unity global warning supressor #pragma warning disable 8600 #pragma warning disable 8601 #pragma warning disable 8602 #pragma warning disable 8603 #pragma warning disable 8604 #pragma warning disable 8618 #pragma warning disable 8625 #pragma warning disable 0169 //supressed warning by unity globa...
35.612403
193
0.673269
[ "MIT" ]
noname0310/2d-tst
Assets/ExternalPackages/AstarPathfindingProject/Utilities/RetainedGizmos.cs
13,782
C#
using System; using System.Threading.Tasks; using Nethereum.Hex.HexTypes; using Nethereum.JsonRpc.Client; using Nethereum.RPC.Eth.DTOs; namespace Nethereum.RPC.Eth.Transactions { /// <Summary> /// eth_getTransactionByBlockNumberAndIndex /// Returns information about a transaction by block number ...
42.1
137
0.662233
[ "MIT" ]
6ara6aka/Nethereum
src/Nethereum.RPC/Eth/Transactions/EthGetTransactionByBlockNumberAndIndex.cs
2,105
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.FinancialManagement { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = fals...
38.103448
197
0.847964
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.FinancialManagement/Get_Account_Sets_Without_DependenciesInput.cs
1,105
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using ICSharpCode.FormsDesigner; using ICSharpCode.RubyBinding; using ICSharpCode.Scripting.Tests.Utils; using I...
30.054795
139
0.703282
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/BackendBindings/Ruby/RubyBinding/Test/Designer/EventHandlerAlreadyExistsTestFixture.cs
2,196
C#
namespace MSPApp.Models { public class ReportingDecisionModel { public string Key { get; set; } public string Value { get; set; } } }
18.111111
41
0.601227
[ "MIT" ]
MSP-CEE/MSPAppOpen
Web/MSPApp/Models/ReportingDecisionModel.cs
165
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
46.035971
302
0.578528
[ "MIT" ]
taskforcered/dicom-server
converter/dicom-cast/src/Microsoft.Health.DicomCast.Core/Features/Worker/ChangeFeedProcessor.cs
6,401
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using SimplSockets; using System.Threading; using System.Threading.Tasks; namespace SimplMessage { public class SimplMessageServer : IDisposable { private readonly SimplSocketServer _simplSocketServer; ...
40.050847
153
0.627275
[ "MIT" ]
thijse/SimplMessage
SimplMessage/SimplMessageServer.cs
9,454
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; usi...
28.911392
148
0.610187
[ "Apache-2.0" ]
HenrikWM/roslyn
src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationSymbol.cs
6,854
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // 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,...
36.230769
121
0.566596
[ "MIT" ]
AssafTzurEl/DiscUtils
Library/DiscUtils.Iso9660/ReaderDirEntry.cs
7,067
C#
using MinimalApis.Extensions.Metadata; namespace MinimalApis.Extensions.Results; /// <summary> /// Represents an <see cref="IResult"/> for a <see cref="StatusCodes.Status409Conflict"/> response. /// </summary> public class Conflict : ResultBase, IProvideEndpointResponseMetadata { private const int ResponseStatus...
36.878788
99
0.693509
[ "MIT" ]
ScriptBox99/MinimalApis.Extensions
src/MinimalApis.Extensions/Results/Conflict.cs
1,219
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using AtTheMovies.Middleware; using AtTheMovies.Services; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Data.Entity; using Microsoft.E...
28.971698
121
0.533051
[ "MIT" ]
withshankar/aspcoreclass
AtTheMovies/src/AtTheMovies/Startup.cs
3,073
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MinimalisticTelnet; namespace mantis_tests { public class JamesHelper : HelperBase { public JamesHelper(ApplicationManager manager) : base(manager) { } public void Add(Acc...
30.754386
81
0.567028
[ "Apache-2.0" ]
sumboco/csharp_training
mantis-tests/mantis-tests/appmanager/JamesHelper.cs
1,755
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DefaultPackageSourcesProvider.cs" company="WildGums"> // Copyright (c) 2008 - 2015 WildGums. All rights reserved. // </copyright> // --------------------------------------------...
37.896552
130
0.511374
[ "MIT" ]
Orcomp/Orc.NuGetExplorer
src/Orc.NuGetExplorer.Example/Providers/DefaultPackageSourcesProvider.cs
1,101
C#
namespace dotMCLauncher.Profiling { public enum LauncherProfileType { LATEST_RELEASE, LATEST_SNAPSHOT, CUSTOM } }
15.1
35
0.629139
[ "MIT" ]
Jorch72/dotMCLauncher
src/dotMCLauncher.Profiling/LauncherProfileType.cs
153
C#
using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace RandomTests { public static class HackMan { public static T GetField<T>(this object instance, string fieldname) => (T)AccessTools.Field(instance.GetType(), fieldname).GetValue(instan...
49.897959
202
0.647035
[ "Unlicense" ]
Novocain1/MiscMods
RandomTests/HackMan.cs
2,447
C#
using DataAccess.Models; using System.Collections.Generic; namespace DataAccess.Interfaces { public interface IIssuesEngine { int CreateIssue(Issue issue); Issue GetIssue(int id); bool RemoveIssue(Issue issue); bool EditIssue(Issue issue); bool IssueExists(in...
27.25
59
0.634862
[ "MIT" ]
PlacidaRebello/IssuetTracker
DataAccess/Interfaces/IIssuesEngine.cs
547
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WeiXinLib.Model { /// <summary> /// 验证数据实体 /// </summary> public class VerifyModel { private string token = null; private string signature = null; private string timestamp = nu...
21.316327
54
0.468167
[ "MIT" ]
yangenping/wxku
WeiXinLib/Model/VerifyModel.cs
2,395
C#
// <auto-generated/> // Contents of: hl7.fhir.r5.core version: 4.4.0 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using Hl7.Fhir.Introspection; using Hl7.Fhir.Serialization; using Hl7.Fhir.Specification; using Hl7.Fhir.Utility; using Hl7.Fhir.Validation; /* ...
37.478469
167
0.659603
[ "MIT" ]
Vermonster/fhir-codegen
generated/CSharpFirely1_R5/Generated/MessageDefinition.cs
46,998
C#
public class RangedAttack { private int _Dmg; private bool _Crit; public RangedAttack() { this._Dmg = 0; this._Crit = false; } public RangedAttack(Creature c) { int d = Dice.Roll(6); if(d == 6) { this._Crit = true; this._Dmg = d + (c.Firepower*2) + c.Ability + c.AttackBuff - c.AttackDebuff; } ...
16
79
0.617647
[ "MIT" ]
Murgalha/baldilands
Source/Battle/ranged.cs
544
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/windef.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windo...
35.526316
145
0.688889
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/shared/windef/POINTL.cs
677
C#
// <auto-generated/> #pragma warning disable 1591 namespace Test { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase ...
29.385965
121
0.675224
[ "Apache-2.0" ]
Therzok/AspNetCore-Tooling
src/Razor/test/RazorLanguage.Test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
1,675
C#
using System; using System.Collections.Generic; using System.Text; using Dynamic = Tridion.Extensions.DynamicDelivery.ContentModel; using TCM = Tridion.ContentManager.ContentManagement; namespace Tridion.Extensions.DynamicDelivery.Templates.Builder { public class SchemaBuilder { public static Dynamic...
32.166667
98
0.71114
[ "MIT" ]
rainmaker2k/TridionMVCDotNet
Libraries/Tridion.Extensions.DynamicDelivery.Templates/Builder/SchemaBuilder.cs
774
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 ...
33.372881
114
0.75419
[ "Apache-2.0" ]
benchabot/Core
src/Castle.Core/DynamicProxy/Generators/Emitters/CodeBuilders/ConstructorCodeBuilder.cs
1,969
C#
using System; using System.Threading.Tasks; using Box.V2.Models; using BoxCLI.BoxHome; using BoxCLI.BoxPlatform.Service; using BoxCLI.CommandUtilities; using BoxCLI.CommandUtilities.Globalization; using Microsoft.Extensions.CommandLineUtils; namespace BoxCLI.Commands.SharedLinkSubCommands { public class SharedLin...
45.50365
178
0.581168
[ "Apache-2.0" ]
TinLe/boxcli
BoxCLI/Commands/SharedLinkSubCommands/SharedLinkUpdateCommand.cs
6,236
C#
using Prism.Commands; using Prism.Services.Dialogs; using PrismOutlook.Business; using PrismOutlook.Core; using PrismOutlook.Services.Interfaces; namespace PrismOutlook.Modules.Mail.ViewModels { public class MessageViewModelBase : ViewModelBase { #region Services protected IMailService MailSe...
28.930435
116
0.549143
[ "MIT" ]
Yonatan-Lavie/PrismOutlook
Modules/PrismOutlook.Modules.Mail/ViewModels/MessageViewModelBase.cs
3,329
C#
using System; using CodeComposerLib.Irony.DSLInterpreter; using CodeComposerLib.Irony.Semantic.Command; using CodeComposerLib.Irony.Semantic.Expression; using CodeComposerLib.Irony.Semantic.Expression.Basic; using CodeComposerLib.Irony.Semantic.Expression.Value; using CodeComposerLib.Irony.Semantic.Expression.ValueAcc...
35.679121
165
0.615067
[ "MIT" ]
ga-explorer/GMac
GMac/GMac.Engine/Compiler/Semantic/ASTInterpreter/Evaluator/GMacExpressionEvaluator.cs
16,236
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.IIS.Administration.WebServer.UrlRewrite { using System; class PreConditionId { private const string PURPOSE = "We...
31.544118
122
0.567832
[ "MIT" ]
202006233011/IIS.Administration
src/Microsoft.IIS.Administration.WebServer.UrlRewrite/Ids/PreConditionId.cs
2,147
C#
using Horsesoft.Music.Data.Model; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; namespace Horsesoft.Music.Horsify.Base.Interface { public interface IPlaylistService { List<Playlist> Playlists { get; set; } Task<bool> DeletePlaylistAsync(int id); ...
27.611111
70
0.712274
[ "MIT" ]
horseyhorsey/Horsify_2.0
src/UI/Horsesoft.Music.Horsify.Base/Interface/IHorsifyPlaylistService.cs
499
C#
using System.Collections.Generic; using Moq; using NerdBot.Parsers; using NerdBot.Plugin; using NerdBot.Reporters; using NerdBotCommon.Autocomplete; using NerdBotCommon.Factories; using NerdBotCommon.Http; using NerdBotCommon.Importer; using NerdBotCommon.Importer.DataReaders; using NerdBotCommon.Messengers;...
35.893082
84
0.581216
[ "MIT" ]
jpann/NerdBot
NerdBot/NerdBot.TestsHelper/UnitTestContext.cs
5,551
C#
namespace SubtitleBurner.Models { public enum Culture { Fa, En } }
9.111111
32
0.609756
[ "Apache-2.0" ]
Majid110/SubtitleBurner
SubtitleBurner/Models/Culture.cs
84
C#
//using System; //using System.Collections.Generic; //using System.IO; //using System.Linq; //using System.Xml; //using System.Xml.Serialization; //namespace Kachuwa.Web //{ // public class SitemapProvider: ISitemapProvider // { // public string CreateSitemap(HttpContextBase httpContext, IEnumerable<Sitem...
35.071429
100
0.551935
[ "MIT" ]
amritdumre10/Kachuwa
Core/Kachuwa.Web/SEO/Sitemap/SitemapProvider.cs
1,473
C#
using System; using System.Runtime.InteropServices; namespace Vanara.PInvoke { public static partial class AdvApi32 { /// <summary>The AllocateAndInitializeSid function allocates and initializes a security identifier (SID) with up to eight subauthorities.</summary> /// <param name="sia"> /// A pointer to a SI...
56.426471
149
0.726175
[ "MIT" ]
ivandrofly/Vanara
PInvoke/Security/AdvApi32/SecurityBaseApi.SID.cs
11,513
C#