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
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member namespace UnitTest.Rollbar.Deploys { using global::Rollbar; using global::Rollbar.Deploys; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System....
40.882353
122
0.647482
[ "MIT" ]
Janek91/Rollbar.NET
UnitTest.Rollbar.Deploys/RollbarDeploysManagerFixture.cs
4,172
C#
using System; using System.Text; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.IdentityModel.Tokens; using Abp.AspNetCore; using Abp.AspNetCore.Configuration; using Abp.AspNetCore.SignalR; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.Configuration; u...
35.545455
151
0.691633
[ "MIT" ]
JontyMin/52abp_example
src/MyPortal/src/myportal-aspnet-core/src/MyPortal.Web.Core/MyPortalWebCoreModule.cs
2,771
C#
using System; using System.Collections.Generic; using System.Text; using HttpPack; using DasBuildAgent.Models; namespace DasBuildAgent.Controllers { [IsPrimaryController] [IsController] class TaskController { [IsPrimaryAction] public static HttpContent Index(HttpRequest request) ...
24.35
88
0.591376
[ "MIT" ]
kboronka/das-build-agent
src/Controllers/TaskController.cs
976
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Windows.Forms; using System.Xml; using System.Xml.Linq; using Bloom.Book; using Bloom.FontProc...
45.540735
246
0.704831
[ "MIT" ]
StephenMcConnel/BloomDesktop
src/BloomExe/Publish/Epub/EpubMaker.cs
120,185
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.086957
115
0.563563
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ElasticMapReduce/Generated/Model/InstanceFleetStatus.cs
4,718
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02.ChangeList { class Program { static void Main(string[] args) { var nums = Console.ReadLine().Split(' ').Select(int.Parse).ToList(); while (...
28.586957
98
0.414829
[ "MIT" ]
RumenNovachkov/ProgrammingFundamentalsCSharp
Lists-Exercises/02.ChangeList/Program.cs
2,632
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ViewBinder.WebAPI.TwitterBootstrap.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } } }
18.235294
56
0.664516
[ "MIT" ]
contactsamie/ViewBinder
ViewBinder/ViewBinder.WebAPI.TwitterBootstrap/Controllers/HomeController.cs
312
C#
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace MMLServer.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; public parti...
42.48
509
0.613748
[ "MIT" ]
ahecksher/MS_ML_Sever_Connector
MLServer/CoreAPI/Models/PublishWebServiceRequest.cs
5,310
C#
// Copyright (c) MASA Stack All rights reserved. // Licensed under the Apache License. See LICENSE.txt in the project root for license information. namespace Masa.Mc.Service.Services; public class SubjectService : ServiceBase { public SubjectService(IServiceCollection services) : base(services, "api/subject") ...
32.238095
104
0.70901
[ "Apache-2.0" ]
masastack/MASA.MC
src/Services/Masa.Mc.Service/Services/SubjectService.cs
679
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FullScreenQuad : MonoBehaviour { void Start () { float quadHeight = Camera.main.orthographicSize * 2.0f; float quadWidth = quadHeight * Screen.width / Screen.height; transform.localScale = new Vector3(quadW...
20
64
0.694737
[ "MIT" ]
alelievr/AudioFractal
Assets/FullScreenQuad.cs
382
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.IO; using System.Diagnostics; using System.Runtime.InteropServices; namespace DotNetFlicks.Accessors.Ident...
33.72973
101
0.539663
[ "MIT" ]
marklacasse/demo-netflicks
DotNetFlicks.Accessors/Identity/ApplicationSignInManager.cs
2,498
C#
using System; using Svelto.DataStructures; using Svelto.DataStructures.Native; using Svelto.ECS.DataStructures; namespace Svelto.ECS.Native { /// <summary> /// Note: this class should really be ref struct by design. It holds the reference of a dictionary that can become /// invalid. Unfortunately it can be...
42.794872
118
0.652786
[ "MIT" ]
cathei/Svelto.ECS
com.sebaslab.svelto.ecs/Extensions/Native/NativeEGIDMultiMapper.cs
3,338
C#
using System; using Sitecore; using Sitecore.Data; using Sitecore.Data.Fields; using Sitecore.Data.Items; using Sitecore.Layouts; using Sitecore.SecurityModel; namespace BranchPresets.Helpers.Layout { public static class LayoutHelper { /// <summary> /// Helper method that loops over all Sha...
48.68
202
0.636812
[ "MIT" ]
immora/BranchPresets
BranchPresets/Helpers/Layout/LayoutHelper.cs
4,868
C#
using SimulinkModelGenerator.Modeler.GrammarRules; using SimulinkModelGenerator.Models; using System.Collections.Generic; using System.ComponentModel; using SimulinkModelGenerator.Extensions; using SimulinkModelGenerator.Exceptions; namespace SimulinkModelGenerator { public enum TrigonometricFunctionType { ...
31.007246
105
0.572564
[ "MIT" ]
ledjon-behluli/SimulinkModelGenerator
SimulinkModelGenerator/SimulinkModelGenerator/Modeler/Builders/SystemBlockBuilders/MathOperations/ConcreteBuilders/TrigonometricFunctionBuilder.cs
4,281
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayInsSceneInsserviceprodSerattachmentDeleteResponse. /// </summary> public class AlipayInsSceneInsserviceprodSerattachmentDeleteResponse : AopResponse { /// <summary> /// 文件编号...
25.888889
87
0.635193
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/AlipayInsSceneInsserviceprodSerattachmentDeleteResponse.cs
510
C#
using System; using System.Collections.Generic; using System.Linq; namespace GasMonitor.Core.Models { public enum VehicleType : byte { Unknown, Car, Truck, Van, Minivan, Suv } public class TimestampedEntity { public DateTim...
26.46
61
0.556311
[ "MIT" ]
akatakritos/GasMonitor
GasMonitor.Core/Models/Vehicle.cs
1,325
C#
using System; namespace Editor_Mono.Cecil { internal interface IGenericContext { bool IsDefinition { get; } IGenericParameterProvider Type { get; } IGenericParameterProvider Method { get; } } }
12.15
36
0.62963
[ "MIT" ]
2823896/cshotfix
CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil/IGenericContext.cs
243
C#
using System.Web; using System.Web.Optimization; namespace SummerCamp2017 { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Sc...
38.84375
112
0.574417
[ "MIT" ]
PracticaNetRom/and.mat
SummerCamp2017/SummerCamp2017/App_Start/BundleConfig.cs
1,245
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...
36.355769
133
0.628934
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AmplifyBackend/Generated/Model/Internal/MarshallTransformations/BackendAPIAppSyncAuthSettingsMarshaller.cs
3,781
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using UnityEngine; using UnityEngine.UI; public class DataManager : MonoBehaviour { public NewSimPanelManager newSimPanelManager; //Canvas input fields public InputField G; public I...
34.641026
157
0.587466
[ "Apache-2.0" ]
panosjuanis/3D-N-body-simulator
Project source codes/Unity Project/NBodySim1.0/Assets/Scripts/NewSimMenu/DataManager.cs
4,055
C#
using System; using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Draft.Responses.Statistics; namespace Draft.Requests.Statistics { /// <summary> /// A request to retrieve the statistical information for the leader in an etcd cluster. /// </summary> publi...
25.333333
96
0.608852
[ "MIT" ]
NathanTurnbow/Draft
source/Draft/Requests/Statistics/IGetLeaderStatisticsRequest.cs
838
C#
using Cedita.Payroll.Models.Statutory.Assessments; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cedita.Payroll.Tests.Mocks { public class MockSickPayAssessment { protected SickPayAssessment Assessment; public Moc...
28.363636
90
0.634615
[ "Apache-2.0" ]
kurt-hardy/Cedita.Payroll
Cedita.Payroll.Tests/Mocks/MockSickPayAssessment.cs
2,810
C#
using System; namespace numlR { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); Console.ReadKey(); } } }
15.615385
46
0.497537
[ "MIT" ]
sethjuarez/numl
Src/numlR/Program.cs
205
C#
using System; using System.IO; using System.ComponentModel; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ChargeBee.Internal; using ChargeBee.Api; using ChargeBee.Models.Enums; using ChargeBee.Filters.Enums; namespace ChargeBee.Models { ...
46.231379
174
0.605224
[ "MIT" ]
cdekkerpossibilit/chargebee-dotnet
ChargeBee/Models/Quote.cs
145,860
C#
using Selenium.Tests.Internals; using A = NUnit.Framework.Assert; using SetUp = NUnit.Framework.SetUpAttribute; using TestCase = NUnit.Framework.TestCaseAttribute; using TestFixture = NUnit.Framework.TestFixtureAttribute; namespace Selenium.Tests { [TestFixture(Browser.Firefox)] [TestFixture(Browser.Gecko)] ...
27.564103
60
0.565581
[ "BSD-3-Clause" ]
zc2com/SeleniumBasic
Selenium.Tests/TS_Window.cs
2,152
C#
/** * @file ShaderReferenceOther.cs * @author Hongwei Li(taecg@qq.com) * @created 2018-12-30 * @updated 2018-12-30 * * @brief Shader中的其它语法 */ #if UNITY_EDITOR using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace taecg.tools.shaderReference { publ...
44.342105
223
0.704451
[ "MIT" ]
getker/UnityShaderLibrary
Assets/taecgLibrary/ShaderReference/Editor/ShaderReferenceOther.cs
2,211
C#
using System.Linq; namespace Xpand.Extensions.XAF.AppDomainExtensions{ public static partial class AppDomainExtensions{ private static object _errorHandlling; private static System.Type _errorHandlingType; public static object ErrorHandling(this IXAFAppDomain xafAppDomain){ _er...
45.384615
99
0.70678
[ "Apache-2.0" ]
JTOne123/DevExpress.XAF
src/Extensions/Xpand.Extensions.XAF/AppDomainExtensions/AppDomainExtensions.cs
592
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using NuKeeper.Inspection.RepositoryInspection; using System.Threading.Tasks; using NuKeeper.Abstractions; using NuKeeper.Abstractions.Configuration; using NuKeeper.Abstractions.Formats; using NuKeeper.Abstractions....
32.008772
129
0.600713
[ "Apache-2.0" ]
sanderaernouts/NuKeeper
NuKeeper.Update/Selection/UpdateSelection.cs
3,649
C#
// *********************************************************************** // Assembly : HalconTemplateDemo Author : Resolution Technology, Inc. // Created : 06-15-2017 // Last Modified On : 06-15-2017 // *********************************************************************** // <copyright file="ICameraCalibration...
46.074074
225
0.578108
[ "MIT" ]
rtigithub/HalconExamples
HalconTemplateDemo/HalconTemplateDemo/Models/ICameraCalibrationProcessor.cs
7,467
C#
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> using UnityEngine; using UnityEditor; using System; namespace AmplifyShaderEditor { [Serializable] [NodeAttributes( "Component Mask", "Vector Operators", "Mask certain channels from vectors/color componen...
23.858667
141
0.634179
[ "Apache-2.0" ]
Eresia/Harpooneers
Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Nodes/Operators/ComponentMaskNode.cs
8,947
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Windows.Forms; using System.Drawing; using System.Drawing.Imaging; using System.Text.RegularExpressions; using Charlotte.Commons; using Charlotte.Tests; namespace Charlotte { class Program { static ...
17.26087
41
0.685139
[ "MIT" ]
soleil-taruto/wb
t20210203_MakePicture/Claes20200001/Claes20200001/Program.cs
796
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using NUnit.Framework; using ProtoBuf.Meta; namespace AgGateway.ADAPT.TestUtilities.ProtobufContract { [TestFixture] public class ProtobufContractGeneratorTest { private string _tempX...
43.305085
151
0.653359
[ "EPL-1.0" ]
tarakreddy/ADMPlugin
TestUtilities/ProtobufContract/ProtobufContractGeneratorTest.cs
7,665
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.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.Language.StandardClassification; using Micros...
35.454545
161
0.694359
[ "Apache-2.0" ]
akoeplinger/roslyn
src/InteractiveWindow/Editor/Commands/InteractiveWindowCommand.cs
1,952
C#
using System; using System.Linq; using System.Web.Http; using System.Web.Mvc; using SharpDevelopWebApi.Models; namespace SharpDevelopWebApi.Controllers { /// <summary> /// Description of MovieController. /// </summary> public class MovieController : ApiController { readonly SDWebApiDbContext _db = new SDWebAp...
29.282828
81
0.525009
[ "MIT" ]
koolamadridano/webapi-tflix-app
Controllers/MovieController.cs
2,901
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...
38.597015
158
0.593387
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ComprehendMedical/Generated/Model/Internal/MarshallTransformations/RxNormAttributeUnmarshaller.cs
5,172
C#
//Copyright 2017 Open Science, Engineering, Research and Development Information Systems Open, LLC. (OSRS Open) // 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.apa...
48.083333
148
0.752513
[ "Apache-2.0" ]
OSRS/Oncor_Base
Osrs.Oncor.WellKnown.Fish/Osrs.Oncor.WellKnown.Fish/ICatchHaulProvider.cs
2,887
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...
36.569106
144
0.593375
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/FraudDetector/Generated/Model/Internal/MarshallTransformations/UpdateVariableRequestMarshaller.cs
4,498
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using ProyectoBase.Configuration; namespace ProyectoBase.Web.Host.Startup { [DependsOn( typeof(ProyectoBaseWebCoreModule))] public class ProyectoBaseWebHostModule: AbpModule...
28
101
0.709184
[ "MIT" ]
ambiente-de-pruebas/Boilerplate
aspnet-core/src/ProyectoBase.Web.Host/Startup/ProyectoBaseWebHostModule.cs
786
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using BDFramework.ResourceMgr.V2; using UnityEngine; using Object = UnityEngine.Object; namespace BDFramework.ResourceMgr { /// <summary> /// load path传参类型 /// </summary> public enum Lo...
31.207692
120
0.515159
[ "Apache-2.0" ]
yimengfan/BDFramework
Packages/com.popo.bdframework/Runtime/AssetsManager/ArtAsset/IResMgr.cs
4,202
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
32.704225
122
0.616279
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20170601/Outputs/VirtualNetworkGatewayIPConfigurationResponse.cs
2,322
C#
namespace Mindream.Components { /// <summary> /// This component can be used for special case like Singleton (need Instance property in static). /// </summary> /// <seealso cref="Mindream.Components.AComponent" /> public abstract class ASingletonFunctionComponent : AComponent { } }
31.5
106
0.67619
[ "MIT" ]
mastertnt/Mindream
Mindream/Components/ASingletonFunctionComponent.cs
317
C#
// <copyright file="DefaultMapRepository.cs" company="Jochen Linnemann - IT-Service"> // Copyright (c) 2017-2021 Jochen Linnemann, Cory Gill. // // 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...
40.046256
126
0.546945
[ "Apache-2.0" ]
open-campaign-logger/world-map
src/CampaignKit.WorldMap.Core/Data/DefaultMapRepository.cs
18,183
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
42.463235
182
0.464045
[ "BSD-3-Clause" ]
dave-w-au/Krypton-NET-5.472
Source/Krypton Components/ComponentFactory.Krypton.Workspace/Workspace/KryptonWorkspaceCollectionEditor.cs
80,853
C#
using System; using ChakraCore.NET.API; namespace ChakraCore.NET.Promise { public class PromiseRejectedException : Exception { /// <inheritdoc /> /// <summary> /// Initializes a new instance of the <see cref="T:ChakraCore.NET.Promise.PromiseRejectedException" /> class. /// </su...
28.055556
117
0.633663
[ "MIT" ]
JohnMasen/Chakra.NET
source/ChakraCore.NET.Promise/PromiseRejectedException.cs
507
C#
/* * WebAPI * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: data * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collec...
35.401099
179
0.525687
[ "BSD-3-Clause" ]
Artusoft/ARXivarNEXT.Client
src/ARXivarNEXT.Client/Model/UserSecurityStateDTO.cs
6,449
C#
using System; using System.IO; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Xml.Linq; using System.Xml.XPath; using System.Text; using System.Drawing; namespace RoomScanAPI { public class ParseRoomScanXML { public ParseRoomScanXML() { } ...
54.865031
193
0.459018
[ "Apache-2.0" ]
lmetric/ParseRoomScanXML
ParseRoomScanXML.cs
8,945
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("Pl...
38.135135
84
0.746279
[ "MIT" ]
Blecki/RMUD
Play/Properties/AssemblyInfo.cs
1,414
C#
namespace MVsDotNetAMSIClient.Contracts { /// <summary> /// Additional information provided by WindowsDefender /// Taken from Windows event log /// </summary> public class WindowsDefenderDetail : IScanResultDetail { public int EventID { get; set; } public int StatusCode { get; s...
36.416667
63
0.627002
[ "MIT" ]
MirekVales/MVsDotNetAMSIClient
src/MVsDotNetAMSIClient.Contracts/WindowsDefenderDetail.cs
876
C#
// <license> // The MIT License (MIT) // </license> // <copyright company="TTRider Technologies, Inc."> // Copyright (c) 2014-2015 All Rights Reserved // </copyright> namespace TTRider.FluidSql { public class CreateOrAlterViewStatement : IStatement { public Name Name { get; set; } public ISta...
24.352941
59
0.654589
[ "MIT" ]
oshpak92/fluid-sql
C#/TTRider.FluidSQL/Statements/CreateOrAlterViewStatement.cs
416
C#
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef using Beef.Entities; using Newtonsoft.Json; namespace Beef.RefData.Model { /// <summary> /// Represents the <b>model</b> version of the <see cref="RefData.ReferenceDataBase"/> with an <see cref="System.Int64"/> <see...
32.421053
143
0.63474
[ "MIT" ]
Avanade/Beef
src/Beef.Abstractions/RefData/Model/ReferenceDataBaseInt64.cs
618
C#
using System; using NUnit.Framework; namespace SJP.Schematic.Core.Tests; [TestFixture] internal static class IdentifierComparerTests { [Test] public static void Ctor_GivenInvalidStringComparison_ThrowsArgumentException() { const StringComparison badStringComparison = (StringComparison)...
38.667614
151
0.674014
[ "MIT" ]
sjp/SJP.Schema
src/SJP.Schematic.Core.Tests/IdentifierComparerTests.cs
13,262
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Plainion.Wiki.AST; namespace Plainion.Wiki.Auditing { /// <summary/> public class AbstractAction : IAuditingAction { /// <summary/> protected AbstractAction( PageName pageName ) ...
20.774194
63
0.507764
[ "BSD-3-Clause" ]
plainionist/Plainion.Notes
src/Plainion.Wiki/Auditing/AbstractAction.cs
646
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using MusicShop.Domain; using MusicShop.Repository; using System; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace MusicShop.UI.Controllers { [Authorize] public class CustomersController : Control...
32.45
137
0.498331
[ "MIT" ]
042020-dotnet-uta/sulavAryal-repo1
Project2/MusicShop.UI/Controllers/CustomersController.cs
7,790
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebAddressBookTests { public class ContactData { private string firstname; private string middlename = ""; private string lastname = ""; //конструктор ...
18.2
44
0.421245
[ "Apache-2.0" ]
Nasts/charp_training_pam
addressbook-web-tests/addressbook-web-tests/model/ContactData.cs
1,121
C#
using System; using System.Collections.Generic; using System.Text; namespace GISShare.Controls.Plugin.WinForm.WFNew { public class MenuButtonItemP : IPlugin, IPluginInfo, IEventChain, IPlugin2, ISetEntityObject, IBaseItemP_, ILabelItemP, IImageLabelItemP, IImageBoxItemP, IBaseButtonItemP, IDropDownButtonItemP, IS...
30.83376
257
0.593895
[ "MIT" ]
gisshare2015/GISShare.Controls.WinForm
GISShare.Controls.Plugin.WinForm/WFNew/Button/MenuButtonItemP.cs
12,208
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace ContactsCrudMvc.Web.Models { public class Personcs { public int Id { get; set; } [Display(Name = "Nome")] public string Name { get; set; } ...
21.772727
44
0.617954
[ "MIT" ]
lnleonardov/ContatosAlfaMidia
ContactsCrudMvc.Web/Models/Personcs.cs
481
C#
/* * Copyright 2021 ALE International * * 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, * publish...
37.318681
125
0.627797
[ "MIT" ]
ALE-OPENNESS/CSharp-SDK
Types/CallCenterRsi/DataCollected.cs
3,398
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class movement : MonoBehaviour { // Start is called before the first frame update public CharacterController controller; public float speed = 9f; public float speedslow = 4f; public float turnTime = 0.1f; publ...
29.987013
122
0.610654
[ "MIT" ]
AbhishekPardhi/Hurricane-Advanced-game-dev-prototype
Assets/Scripts/Player/movement.cs
2,309
C#
// ---------------------------------------------------------------------------- // <auto-generated> // This is autogenerated code by CppSharp. // Do not edit this file or all your changes will be lost after re-generation. // </auto-generated> // --------------------------------------------------------------------------...
51.857988
324
0.569432
[ "MIT" ]
david-bouyssie/CppSharp
src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs
998,733
C#
using NetDevPack.Domain; using System.Collections.Generic; namespace NetDevPack.Tests.Domain.Assets { /// https://docs.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/implement-value-objects#value-object-implementation-in-c public class Address : ValueObject { ...
33.108108
162
0.617143
[ "MIT" ]
EduardoPires/NetDevPack
tests/NetDevPack.Tests/Domain/Assets/Address.cs
1,227
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using Inventor; public class InventorManager { private static Lazy<InventorManager> _instance = new Lazy<InventorManager>(() => new InventorManager()); pub...
21.595506
108
0.560354
[ "Apache-2.0" ]
NWalker1208/synthesis
exporters/BxDRobotExporter/robot_exporter/JointResolver/Exporter/InventorManager.cs
3,846
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...
46.25
200
0.641441
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20200701/PrivateLinkServicePrivateEndpointConnection.cs
7,215
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; namespace WindowsFormsApplication1 { #region "Dispose" // The following example demonstrates how to create // a resource class that implements the IDisposable inte...
30.324022
91
0.557848
[ "MIT" ]
L-Xiah/theVS
02C#/Program/WindowsFormsApplication1/WindowsFormsApplication1/Program01CloseClass.cs
6,040
C#
/* * Location Intelligence APIs * * Incorporate our extensive geodata into everyday applications, business processes and workflows. * * OpenAPI spec version: 8.5.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
35.770588
121
0.562243
[ "Apache-2.0" ]
PitneyBowes/LocationIntelligenceSDK-CSharp
src/pb.locationIntelligence/Model/GeoTaxLocations.cs
6,081
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("Du...
38.675676
84
0.751223
[ "Apache-2.0" ]
ShaneCastle/DurableSender
C#/DurableSenderLibrary/Properties/AssemblyInfo.cs
1,434
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.Generic; using System.Diagnostics.Tracing; using System.Linq; namespace AltV.Net.Host.Diag...
29.567568
133
0.556216
[ "MIT" ]
51st-state/coreclr-module
api/AltV.Net.Host/Diagnostics.Client/DiagnosticsClient/EventPipeProvider.cs
2,188
C#
using AntDesign.Pro.Layout; using System; using System.Net.Http; using System.Threading.Tasks; using HelloClaptrap.SimulatorWeb.Services; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.DependencyInjection; using Refit; namespace HelloClaptrap.SimulatorWeb { public class Progr...
36.103448
108
0.675263
[ "MIT" ]
Z4t4r/Newbe.Claptrap
src/Newbe.Claptrap.Template/HelloClaptrap/HelloClaptrap.SimulatorWeb/Program.cs
1,047
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 07.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
23.778291
131
0.526904
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Equal/Complete2__objs/Int32/Int32/TestSet_504__param__01__VV.cs
10,298
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.109091
198
0.636034
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/SynchronizationAcquireAccessTokenRequestBuilder.cs
2,481
C#
using NUnit.Framework; using Shouldly; using Translation.Client.Web.Models.Project; using Translation.Common.Helpers; using static Translation.Common.Tests.TestHelpers.FakeModelTestHelper; using static Translation.Common.Tests.TestHelpers.AssertViewModelTestHelper; using static Translation.Common.Tests.TestHelpers.Fa...
29.695652
108
0.668619
[ "MIT" ]
VAndriyV/translation
Test/Translation.Client.Web.Unit.Tests/Models/ViewModels/Project/ProjectDetailModelTests.cs
2,051
C#
namespace UILibrary.Win32.Struct { using System; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] public struct SCROLLBARINFO { public int cbSize; public RECT rcScrollBar; public int dxyLineButton; public int xyThumbTop; public int...
23.15
58
0.656587
[ "Apache-2.0" ]
jxdong1013/archivems
pc/ArchiveMS/UILibrary/Win32/Struct/SCROLLBARINFO.cs
465
C#
// ================================================================================================================================= // Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information. // =========================================================...
36.875
133
0.490678
[ "MIT" ]
RapidField/solid-instruments
src/RapidField.SolidInstruments.Cryptography/Symmetric/ICascadingSymmetricKey.cs
1,182
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.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
22.310345
50
0.720247
[ "MIT" ]
Sergeeeek/MinecraftLauncher
MinecraftLauncher/NewsControl.xaml.cs
649
C#
using Microsoft.AspNetCore.Hosting; [assembly: HostingStartup(typeof(Journey.Web.Areas.Identity.IdentityHostingStartup))] namespace Journey.Web.Areas.Identity { public class IdentityHostingStartup : IHostingStartup { public void Configure(IWebHostBuilder builder) { builder.Configu...
25.933333
85
0.678663
[ "MIT" ]
stefandenchev/Journey
Web/Journey.Web/Areas/Identity/IdentityHostingStartup.cs
391
C#
using SharpData.Query; namespace SharpData.Filters { public class FilterCondition : Filter { public CompareOperator CompareOperator { get; set; } } }
22
54
0.766234
[ "MIT" ]
JTOne123/sharpdata
SharpData/Filters/FilterCondition.cs
154
C#
using System; using System.Linq; using FestivalManager.Entities.Contracts; namespace FestivalManager.Core { using Contracts; using Controllers.Contracts; using IO.Contracts; /// <summary> /// by g0shk0 /// </summary> public class Engine : IEngine { private readonly IReader rea...
31.858696
123
0.529853
[ "MIT" ]
GeorgiGarnenkov/CSharp-Fundamentals
C#OOPAdvanced/Exam/FestivalManager/Core/Engine.cs
2,949
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Text.Json; namespace IdNet6 { internal static class ObjectSerializer { private static readonly JsonSerializerOp...
26.884615
107
0.638054
[ "Apache-2.0" ]
simple0x47/IdNet6
src/IdNet6/src/Infrastructure/ObjectSerializer.cs
701
C#
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using MyCompany.MyProject.Data; using Volo.Abp.Data; using Volo.Abp.DependencyInjection; using Volo.Abp.MongoDB; namespace MyCompany.MyProject.MongoDB { public class MongoDbMyProjectDbSchemaMigrator :...
35.733333
108
0.666667
[ "MIT" ]
enisn/ABP-dotnet-template
templates/mvc/src/MyCompany.MyProject.MongoDB/MongoDb/MongoDbMyProjectDbSchemaMigrator.cs
1,610
C#
using System; using TeamControlium.Controlium; namespace Internal.Tester { // This is a dummy Control, used to test the ControlBase class. This control simply maps to any HTML element. public class ControlBaseTester : ControlBase { public ControlBaseTester(ObjectMappingDetails mapping) {...
38.362069
200
0.582472
[ "MIT" ]
TeamControlium/Controlium.net
Controlium.UnitTests.net/Drivers/ControlBaseTester.cs
2,227
C#
using Chloe.DbExpressions; namespace Chloe.MySql.MethodHandlers { class AddMinutes_Handler : IMethodHandler { public bool CanProcess(DbMethodCallExpression exp) { if (exp.Method.DeclaringType != PublicConstants.TypeOfDateTime) return false; return true;...
25.5
79
0.633333
[ "MIT" ]
panda-big/Chloe
src/Chloe.MySql/MethodHandlers/AddMinutes_Handler.cs
512
C#
using System; using System.Collections.Generic; using Grasshopper.Kernel; using Rhino.Geometry; using Grasshopper.Kernel.Types; using System.Drawing; using Macaw.Utilities.Channels; using Grasshopper.Kernel.Parameters; namespace Macaw_GH.Filtering.Extract { public class GetPixelValues : GH_Component { ...
30.264901
113
0.48709
[ "MIT" ]
cdriesler/Aviary
Macaw_GH/Utilities/GetPixelValues.cs
4,572
C#
/*************************************************************** //This code just called you a tool //What I meant to say is that this code was generated by a tool //so don't mess with it unless you're debugging //subject to change without notice, might regenerate while you're reading, etc *****************************...
38.383308
121
0.577394
[ "MIT" ]
MiniverCheevy/spa-starter-kit
src/React/Controllers/Api/Api.generated.cs
24,834
C#
using Discord.Commands; using Discord.WebSocket; namespace RachelBot.Preconditions; public class RequireHigherPositionAttribute : PreconditionAttribute { public override Task<PreconditionResult> CheckPermissionsAsync(ICommandContext context, CommandInfo command, IServiceProvider services) { SocketGui...
34.809524
139
0.749658
[ "MIT" ]
JerzyKruszewski/RachelDiscordBot
RachelBot/Preconditions/RequireHigherPositionAttribute.cs
733
C#
namespace Xilium.CefGlue { using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Xilium.CefGlue.Interop; /// <summary> /// Class used to implement browser process callbacks. The methods of this class /// will be called on t...
35.366667
122
0.641847
[ "MIT" ]
git-thinh/Xilium.CefGlue-lvcef-39.0
xilium.cefglue/CefGlue/Classes.Handlers/CefBrowserProcessHandler.cs
3,183
C#
using System; using System.Collections.Generic; using System.Net; using System.Security.Authentication; using Mirror; using UnityEngine; using UnityEngine.Serialization; namespace JamesFrowen.SimpleWeb.Tests { public static class SimpleWebTransportExtension { /// <summary> /// Create copy of ar...
34.643052
248
0.582743
[ "MIT" ]
trisadmeslek/SimpleWebTransport
tests/Runtime/TestInstances.cs
12,714
C#
#if !NETSTANDARD using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.IO; using FileHelpers.Dynamic; using FileHelpers.Options; namespace FileHelpers { /// <summary>A class to read generic CSV files delimited for any char.</summary> [DebuggerDisp...
44.771144
141
0.586176
[ "MIT" ]
DillonBroadus/FileHelpers
FileHelpers/Dynamic/CsvEngine.cs
8,999
C#
using System.IO; using Microsoft.Data.SqlClient; namespace Signum.Engine.Disconnected; public class LocalBackupManager { public virtual void RestoreLocalDatabase(string connectionString, string backupFile, string databaseFile, string databaseLogFile) { FileTools.CreateParentDirectory(database...
33.105263
134
0.696343
[ "MIT" ]
Faridmehr/framework
Signum.Engine.Extensions/Disconnected/LocalBackupManager.cs
1,887
C#
using System; namespace SIS.HTTP.Exceptions { public class BadRequestException : Exception { private const string BadRequestExceptionDefaultMessage = "The Request was malformed or contains unsupported elements."; public BadRequestException() : this(BadRequestExceptionDefaultMessage) {...
21.15
127
0.669031
[ "MIT" ]
deedeedextor/Software-University
C# Web/Web Basics/Workshop - Bootstrap/04. CSharp-Web-Basics-Workshop-Web-Application-Advanced-CSS-Bootstrap-Skeleton/SIS.HTTP/Exceptions/BadRequestException.cs
425
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// FaceExtInfo Data Structure. /// </summary> [Serializable] public class FaceExtInfo : AopObject { /// <summary> /// query_type不填, 返回uid query_type=1, 返回手机号 query_type=2, 返回图片 /// ...
22.105263
72
0.592857
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Domain/FaceExtInfo.cs
446
C#
using System; using System.Text; namespace Discussion.Core.Utilities { public static class StringUtility { public static string Random(int length = 8) { var sb = new StringBuilder(); var random = new Random(Guid.NewGuid().GetHashCode()); do ...
27.69697
96
0.477753
[ "MIT" ]
dotnetclub-net/dotnetclub
src/Discussion.Core/Utilities/StringUtility.cs
2,742
C#
using System; namespace Testing.TestBCL { class ClassA: Object { public void m() { // * BCL qualified names resolution Console.WriteLine( base.ToString() ); // * BCL overload random.Next(); random.Next(10); random.Next(0,10); ...
27.190476
89
0.530064
[ "MIT" ]
ComputationalReflection/StaDyn
Tests/bin/Debug/tests/semantic/testExplicit.BCL.cs
1,713
C#
using Dependinator.Utils.OsSystem; using NUnit.Framework; namespace DependinatorTest.Utils { [TestFixture] [Explicit] public class ProcessTest { [Test] public void Test() { Cmd cmd = new Cmd(); CmdResult result = cmd.Run("git", "version"); ...
19.565217
73
0.568889
[ "MIT" ]
michael-reichenauer/Dependinator
DependinatorTest/Utils/CmdTest.cs
452
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.Runtime.InteropServices; internal static partial class Interop { internal static partial class Gd...
30.2
73
0.728477
[ "MIT" ]
Olina-Zhang/winforms
src/System.Windows.Forms.Primitives/src/Interop/Gdi32/Interop.LPtoDP.cs
455
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdentityServer4.Models; using IdentityServer4.Stores; using Mcrio.IdentityServer.On.RavenDb.Storage.Mappers; using Mcrio.IdentityServer.On.RavenDb.Storage.RavenDb; using Microsoft.Extensions.Logging; using Raven.Clien...
39.287129
118
0.619204
[ "MIT" ]
mcrio/Mcrio.IdentityServer.On.RavenDb
src/Mcrio.IdentityServer.On.RavenDb.Storage/Stores/ResourceStore.cs
7,936
C#
namespace PlayTennis.Data.Seeding { using System; using System.Threading.Tasks; public interface ISeeder { Task SeedAsync(ApplicationDbContext dbContext, IServiceProvider serviceProvider); } }
20.272727
89
0.721973
[ "MIT" ]
plambet0/PlayTennis
Data/PlayTennis.Data/Seeding/ISeeder.cs
225
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.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
23.366667
80
0.717546
[ "MIT" ]
Juna-Idler/Titalyver2
Titalyver2/Settings/TimeoutReport.xaml.cs
721
C#
using System.ComponentModel; using System.IO; using Lunt; using Lunt.IO; namespace Lake.Tests.Integration.Pipeline { [DisplayName("Text Importer")] [Importer(".txt")] public class TextImporter : Importer<string> { public override string Import(Context context, IFile source) { ...
28.758621
98
0.571942
[ "MIT" ]
lunt/lunt
src/Lake.Tests.Integration/Pipeline/Importers/TextImporter.cs
836
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace EuroWebApi.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult About() ...
19.233333
67
0.563258
[ "Apache-2.0" ]
HkInfotech/Euroapplianceservices
EuroWebApi/Controllers/HomeController.cs
579
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x78BF9026)] public class STU_78BF9026 : STUInstance { [STUFieldAttribute(0xE2990E7C, ReaderType = typeof(EmbeddedInstanceFieldReader))] public STUConfigVar m_E2990E7C; ...
41.986486
111
0.749276
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_78BF9026.cs
3,107
C#
//----------------------------------------------------------------------- // <copyright file= "EntityConfigurationExtensions.cs"> // Copyright (c) Danvic.Wang All rights reserved. // </copyright> // Author: Danvic.Wang // Created DateTime: 2021/3/7 14:44:35 // Modified by: // Description: Entity to table configura...
37.695652
114
0.604767
[ "MIT" ]
Twtcer/ingos-abp-api-template
templates/src/IngosAbpTemplate.Infrastructure/EntityConfigurations/EntityConfigurationExtensions.cs
2,603
C#