content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using Quasar.Common.Models; using System; using System.Collections; using System.Collections.Generic; using System.IO; namespace Quasar.Common.IO { public class FileSplit : IEnumerable<FileChunk>, IDisposable { /// <summary> /// The maximum size per file chunk. /// </summary> p...
34.248
165
0.555478
[ "Apache-2.0", "MIT" ]
2-young-2-simple/QuasarRAT
Quasar.Common/IO/FileSplit.cs
4,283
C#
namespace Katalye.Components.Configuration.ValueParsers { public interface IValueParser { object Parse(string value); } // ReSharper disable once UnusedTypeParameter public interface IValueParser<out T> : IValueParser { } }
21.75
56
0.697318
[ "MIT" ]
Katalye/Katalye
src/Katalye.Components/Configuration/ValueParsers/IValueParser.cs
263
C#
using System.Collections.Generic; using System.Threading.Tasks; using Pulumi; using Pulumi.Azure.AppService; using Pulumi.Azure.AppService.Inputs; using Pulumi.Azure.Core; using Pulumi.Azure.Dns; using Pulumi.Azure.Dns.Inputs; internal class Program { private const string DnsId = "/subscriptions/6bd72948-...
50.574713
136
0.438636
[ "MIT" ]
e-moos/emoos.solutions
infra/Program.cs
4,402
C#
using Assets.Kanau.UnityScene; namespace Assets.Kanau.ThreeScene.Lights { public class AmbientLightElem : LightElem { public override string Type { get { return "AmbientLight"; } } public override void Accept(IVisitor v) { v.Visit(this); } public AmbientLightElem(ProjectSettings setti...
29.8
70
0.646532
[ "MIT" ]
5minlab/UnitySceneWebExporter
UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/AmbientLightElem.cs
449
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Query.Core.Parser { using System; internal sealed class ParseException : Exception ...
28.294118
85
0.484407
[ "MIT" ]
Arithmomaniac/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Query/Core/Parser/ParseException.cs
483
C#
using UnityEngine; using System.Collections; public class SerializeMyClass : OFPlugin { override public System.Type[] types { get { return new System.Type [] { typeof ( MyClass ) }; } } // Deserialize the class from JSON override public void Deserialize ( JSONObject input, Component output ) { MyClass myClas...
34.421053
93
0.70948
[ "MIT" ]
mrzapp/opened
OpenEd/Assets/Example/Scripts/SerializeMyClass.cs
1,310
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Igtampe.Neco.Common; using Igtampe.Neco.Common.Requests; using Igtampe.Neco.Data; namespace Igtampe.Neco.Backend.Controllers { [Route("Auth")] [ApiController] public class AuthController: Controller { private readon...
31.948052
100
0.592683
[ "CC0-1.0" ]
igtampe/Neco
Neco.Backend/Controllers/AuthController.cs
2,462
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("02...
37.864865
84
0.744468
[ "MIT" ]
mdraganov/Telerik-Academy
C#/C# Programming Part I/IntroToProgramming/02.PrintMyName/Properties/AssemblyInfo.cs
1,404
C#
using UnityEngine; public class GUIHandler : MonoBehaviour { [HideInInspector] public InventoryOld inventory; void OnGUI() { } }
10.588235
39
0.561111
[ "MIT" ]
WoolMagician/8-Cores
Assets/8-Cores Assets/Classes/GUI/GUIHandler.cs
180
C#
using System.Net.Http; using System.Threading.Tasks; namespace Moments.AWSBackend.Services { public interface IAwsClient { Task<HttpResponseMessage> SendMessage(HttpRequestMessage request); } }
22.4
75
0.71875
[ "MIT" ]
AvantiPoint/Moments
src/Moments.AWSBackend/Services/IAwsClient.cs
226
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> //----------------------------------------------------------------------------...
45.184848
206
0.634029
[ "MIT" ]
tritao/LLDBSharp
LLDBSharp/i686-pc-windows-msvc/SBTypeSynthetic.cs
14,911
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winioctl.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
43.361111
149
0.707239
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/winioctl/STORAGE_HW_ENDURANCE_DATA_DESCRIPTORTests.cs
1,563
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace MinimalGame.Data { [CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/Create LevelData", order = 1)] public class LevelDataController : ScriptableObject { public List<Level> Levels = new List<Level>();...
27.84127
100
0.54504
[ "MIT" ]
lipemon1/MinimalistGame
Assets/Scripts/UserData/LevelDataController.cs
1,756
C#
using UIForia.Attributes; using UIForia.Rendering; using UnityEngine; namespace UIForia.Elements { [TemplateTagName("Image")] public class UIImageElement : UIContainerElement { public ImageLocator? src; internal Texture texture; private Mesh mesh; public float Width; ...
28.35
103
0.560259
[ "MIT" ]
criedel/UIForia
Packages/UIForia/Src/Elements/UIImageElement.cs
1,701
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
53.981481
194
0.686449
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IManagedAllDeviceCertificateStateRequest.cs
5,830
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #nullable disable namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules { using StyleCop.Analyzers.Test.CSharp9.DocumentationRules; publi...
27.928571
91
0.780051
[ "MIT" ]
RogerHowellDfE/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs
393
C#
using Plugin.Connectivity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace XamarinFormsStarterKit { public partial class App : Application { internal static bool IsConnected; public App() { InitializeCom...
22.744186
109
0.605317
[ "Apache-2.0" ]
websolutionsAIO/LearningAndroidAppDevNew
XamarinFormsStarterKit/XamarinFormsStarterKit/App.xaml.cs
980
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...
32.409091
153
0.610098
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IoTSiteWise/Generated/Model/IAMUserIdentity.cs
2,139
C#
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; using Pioneer.Logs.Tubs.AspNetCore; namespace PIoneer.Logs.Samples.AspNetCore._31.Controllers { [ApiController] public class TestController : ControllerBase { [HttpGet] ...
36.621622
81
0.63321
[ "MIT" ]
PioneerCode/pioneer-logs
samples/PIoneer.Logs.Samples.AspNetCore.31/Controllers/TestController.cs
1,357
C#
namespace PayrollSplitter { partial class Main { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
50.119497
172
0.596122
[ "MIT" ]
michaelwda/PayrollSplitter
PayrollSplitter/Main.Designer.cs
15,940
C#
using System; using Automatonymous; using Automatonymous.Binders; using MassTransit; using static CommunicationFoodDelivery.Contracts.Commands; using static CommunicationFoodDelivery.Contracts.Events; namespace CommunicationFoodDelivery { public class OrderState : SagaStateMachineInstance { public Guid...
37.396947
93
0.592774
[ "MIT" ]
rafaelldi/communication-food-delivery
OrderStateMachine.cs
4,899
C#
namespace Mantle.Plugins.Messaging.Forums.Models { public class ForumBreadcrumbModel { public int ForumGroupId { get; set; } public string ForumGroupName { get; set; } public string ForumGroupSeName { get; set; } public int ForumId { get; set; } public string ForumNa...
23.869565
53
0.621129
[ "MIT" ]
gordon-matt/MantleCMS
Plugins/Mantle.Plugins.Messaging.Forums/Models/ForumBreadcrumbModel.cs
551
C#
using UnityEngine; using System.Collections; public class GuidanceMission : MonoBehaviour { private Transform _list; void OnEnable() { GameObject map = GameObject.FindGameObjectWithTag("Map"); _list = map.transform.GetChild(0); } public void Update() { if (transform.na...
20.84
65
0.585413
[ "MIT" ]
BlueMonk1107/SushiNinja
Assets/Scripts/Guidance/Effect/GuidanceMission.cs
523
C#
using System.IO.Abstractions.TestingHelpers; using System.Threading.Tasks; using Shouldly; using Stryker.Core.Baseline.Providers; using Stryker.Core.Options; using Stryker.Core.Reporters.Json; using Stryker.Core.UnitTest.Reporters; using Xunit; namespace Stryker.Core.UnitTest.Baseline.Providers { public class Disk...
33.273973
152
0.615068
[ "Apache-2.0" ]
AlexNDRmac/stryker-net
src/Stryker.Core/Stryker.Core.UnitTest/Baseline/Providers/DiskBaselineProviderTests.cs
2,429
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.Configuration; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAn...
49.797087
328
0.555601
[ "MIT" ]
HydAu/MsBuild
src/XMakeCommandLine/XMake.cs
147,419
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Fluent.Tests.Common; using Microsoft.Azure.Management.Compute.Fluent.Models; using Microsoft.Azure.Management.Compute.Fluent; using Microsoft.Azure.Managem...
52.007378
360
0.527488
[ "MIT" ]
LekeFasola/azure-libraries-for-net
Tests/Fluent.Tests/Compute/VirtualMachineScaleSetTests.cs
77,545
C#
namespace TypinExamples.Application.Handlers.Commands.Terminal { using System.Threading; using System.Threading.Tasks; using TypinExamples.Application.Services; using TypinExamples.Application.Services.TypinWeb; using TypinExamples.Infrastructure.WebWorkers.Abstractions; using TypinExamples.Inf...
35.27027
138
0.665134
[ "MIT" ]
MyClinicalOutcomesLtd/Typin
src/TypinExamples/TypinExamples.Application/Handlers/Commands/Terminal/ClearCommand.cs
1,307
C#
// *********************************************************************** // Copyright (c) 2007 Charlie Poole // // 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, inclu...
35.237569
118
0.560677
[ "Apache-2.0" ]
Hitcents/iOS4Unity
Assets/NUnitLite/NUnitLite-0.7.0/Constraints/CollectionOrderedConstraint.cs
6,378
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...
39.100775
198
0.6136
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ServiceCatalog/Generated/Model/Internal/MarshallTransformations/ListServiceActionsForProvisioningArtifactRequestMarshaller.cs
5,044
C#
using UnityEngine; namespace Chronos { /// <summary> /// An abstract base component that saves snapshots at regular intervals to enable rewinding. /// </summary> [HelpURL("http://ludiq.io/chronos/documentation#Recorder")] public abstract class Recorder<TSnapshot> : MonoBehaviour { private class DelegatedRecord...
23.78481
103
0.721128
[ "MIT" ]
uugspb/team1-NestedPCrew
Assets/ThirdParty/Chronos/Source/Recorder.cs
1,879
C#
/************************************************************* * Project: NetCoreCMS * * Web: http://dotnetcorecms.org * * Author: OnnoRokom Software Ltd. * * Website: www.onnorokomsoftware.com * * ...
39.945946
63
0.523004
[ "BSD-3-Clause" ]
NormanVu/NetCoreCMS
NetCoreCMS.Framework/Core/Models/ViewModels/StartupViewModel.cs
1,480
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
45.46875
224
0.734708
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementNotStatementStatementAndStatementStatementXssMatchStatementTextTransformationGetArgs.cs
1,455
C#
namespace Pokladna_Dvoracek { partial class Form1 { /// <summary> /// Vyžaduje se proměnná návrháře. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Uvolněte všechny používané prostředky. /// </summary>...
37.935484
118
0.55017
[ "MIT" ]
Kamils6/Pokladna
Pokladna/Form1.designer.cs
4,739
C#
using System; namespace DotNetRevolution.EventSourcing.Auditor.WebApi.Areas.HelpPage { /// <summary> /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. /// </summary> public class ImageSample { /// <summary> ...
26.536585
130
0.538603
[ "MIT" ]
DotNetRevolution/DotNetRevolution-Framework
src/DotNetRevolution.EventSourcing.Auditor.WebApi/Areas/HelpPage/SampleGeneration/ImageSample.cs
1,088
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace P01_BillsPaymentSystem.Data.Models { public class User { public User() { PaymentMethods = new List<PaymentMethod>(); } [Key] public int UserId { get; set;...
21.28125
70
0.587372
[ "MIT" ]
ewgeni-dinew/04.Databases_Advanced-Entity_Framework
08.Advanced Relations/01.BillsPaymentSystem/P01_BillsPaymentSystem.Data.Models/User.cs
683
C#
namespace ChopstickDocker.Authorization.Accounts.Dto { public class IsTenantAvailableOutput { public TenantAvailabilityState State { get; set; } public int? TenantId { get; set; } public IsTenantAvailableOutput() { } public IsTenantAvailableOutput(TenantAvailab...
22.4
91
0.607143
[ "MIT" ]
yhua045/chopstick-docker
aspnet-core/src/ChopstickDocker.Application/Authorization/Accounts/Dto/IsTenantAvailableOutput.cs
448
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Core { #if false || false || false || false [global::Uno.NotImplemented] #endif public partial class CoreDispatcher : global::Windows.UI.Core.ICoreAcceleratorKeys { #if false || false || fals...
47.289474
219
0.777036
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.UI.Core/CoreDispatcher.cs
5,391
C#
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Azure.IoTSolutions.IotHubManager.Services.Diagnostics; using Microsoft.Azure.IoTSolutions.IotHubManager.Services.Exceptions; using Microsoft.Azure.IoTSoluti...
40.527233
110
0.515859
[ "MIT" ]
Azure-Samples/AI-Video-Intelligence-Solution-Accelerator
pcs/services/iothub-manager/Services/DeviceProperties.cs
18,604
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TravelAPI.Models; namespace TravelAPI.Migrations { [DbContext(typeof(TravelAPIContext))]...
30.607843
75
0.536835
[ "MIT" ]
CommaderDavid/TravelAPI.Solution
TravelAPI/Migrations/20210525224819_userName.Designer.cs
1,563
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace AppPicker { public partial class App : Application { public App() { InitializeComponent(); MainPage = new MainPage(); } p...
19.333333
59
0.553292
[ "MIT" ]
dfilitto/ProjetosXamarinForms
AppPicker/AppPicker/AppPicker/App.xaml.cs
640
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
30.491803
86
0.474194
[ "MIT" ]
Dakraid/squidex
backend/src/Squidex/Areas/Frontend/Middlewares/IndexMiddleware.cs
1,862
C#
using System.Collections.Generic; using System.Security.Claims; using NetModular.Module.Admin.Domain.Account; namespace NetModular.Module.Admin.Web.Core { /// <summary> /// 登录Claims扩展处理器 /// </summary> public interface ILoginClaimsExtendProvider { /// <summary> /// 获取扩展Claims列表 ...
24.15
59
0.627329
[ "MIT" ]
neeker007/NetModular
src/Admin/Web/Core/ILoginClaimsExtendProvider.cs
511
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using Microsoft.Cci; using Microsoft.CodeAnalysis.CSharp.Emit; using Microsoft.CodeAnalysis.Pool...
37.671642
183
0.639461
[ "MIT" ]
bilsaboob/roslyn
src/Compilers/CSharp/Portable/Symbols/GeneratedTypes/SynthesizedSymobls/GeneratedType.FieldSymbol.cs
5,050
C#
namespace Methods { using System; public class Student { // The date is 10 simbols. I think consts can have underscores. public const int MIN_INFO_LENGHT = 10; private string firstName; private string lastName; private string otherInfo; private DateTime birt...
27.21875
130
0.457329
[ "MIT" ]
TsvetanKT/TelerikHomeworks
HQC/07.HighQualityMethods/Methods/Student.cs
2,615
C#
// <copyright file="IDataContainer.cs" company="SoluiNet"> // Copyright (c) SoluiNet. All rights reserved. // </copyright> namespace SoluiNet.DevTools.Core.Plugin.Data { using System; using System.Collections.Generic; using System.Text; using SoluiNet.DevTools.Core.Data; /// <summary> /// Pro...
22.869565
59
0.617871
[ "MIT" ]
Kimiyou/SoluiNet.DevTools
SoluiNet.DevTools.Core/Plugin/Data/IDataContainer.cs
528
C#
using UnityEngine; using System.Collections; public class Projectile : MonoBehaviour { [SerializeField] private float lifetime = 10; [SerializeField] private float speed = 2; public void FixedUpdate() { if (!GameManager.Instance.Running) return; lifetime -= Time....
18.92
66
0.623679
[ "MIT" ]
icsti1379/MS-GameJam-2016
Assets/Scripts/Projectile.cs
475
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
38.846154
109
0.626403
[ "MIT" ]
Bhaskers-Blu-Org2/fhir-server
src/Microsoft.Health.Fhir.CosmosDb/Features/Storage/Operations/Export/CosmosExportJobRecordWrapper.cs
1,517
C#
/* ******************************************************************** * * 曹旭升(sheng.c) * E-mail: cao.silhouette@msn.com * QQ: 279060597 * https://github.com/iccb1013 * http://shengxunwei.com * * © Copyright 2017 * ********************************************************************/ using System;...
20.44186
69
0.491468
[ "MIT" ]
iccb1013/Sheng.WeixinConstruction.WeixinContract
Sheng.Weixin/OfficialAccount/Menu/ButtonMediaId.cs
922
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.785714
165
0.676401
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/Internal/MarshallTransformations/UntagResourceResponseUnmarshaller.cs
3,801
C#
//************************************************************************************************ // Copyright © 2010 Steven M. Cohn. All Rights Reserved. // //************************************************************************************************ namespace iTunerTests { using System; using System.Collect...
28.041916
109
0.642181
[ "MIT" ]
stevencohn/iTuner
iTunerTests/CatalogTests.cs
14,052
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 ...
18.9819
111
0.626937
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateRequest.cs
4,195
C#
/* Copyright 2020-present 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 wr...
41.543624
144
0.576898
[ "Apache-2.0" ]
Etherna/mongo-csharp-driver
tests/MongoDB.Driver.Tests/UnifiedTestOperations/UnifiedFindOneAndUpdateOperation.cs
6,192
C#
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; namespace IJsfontein.AppUpdater { [CustomEditor(typeof(UpdaterSettings))] public class UpdaterSettingsEditor : Editor { override public void OnInspectorGUI() { Dra...
25.851852
97
0.65616
[ "MIT" ]
museum4punkt0/VR-Spiel_Auf-dem-weiten-Meer
Unity/VR-Navigation/Assets/IJsfontein/Packages/AppUpdater/Editor/UpdaterSettingsEditor.cs
698
C#
namespace FootballManager.Services { using System; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; using FootballManager.ViewModels.Users; using FootballManager.ViewModels.Players; using static Data.DataConstants; public class Validator : IV...
39.27907
168
0.594435
[ "MIT" ]
yanchev93/CSharp-Web
CSharp-Web/FootballManager/FootballManager/Services/Validator.cs
3,380
C#
namespace SimpleRandomWallpaperService { partial class SimpleRandomWallpaperService { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
27.243902
107
0.54521
[ "MIT" ]
fourDotsSoftware/SimpleRandomWallpaper
SimpleRandomWallpaperService/SimpleRandomWallpaperService.Designer.cs
1,119
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Text; namespace NFine.Code { public class GZip { /// <summary> /// 压缩 /// </summary> /// <param name="text">文本</param> public static string Compress(string text) ...
28.654867
84
0.459234
[ "MIT" ]
Run2948/NFine.Framework.Core
NFine.Core/GZip.cs
3,310
C#
// Copyright (c) Philipp Wagner. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using OpenSkyRestClient.Extensions; using OpenSkyRestClient.Model; using System; using System.Text.Json; namespace OpenSkyRestClient.Parser { public static c...
30.762376
101
0.53814
[ "MIT" ]
bytefish/OpenSkyRestClient
OpenSkyRestClient/OpenSkyRestClient/Parser/StateVectorParser.cs
3,109
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Extensions.DependencyInjection; using Rudder.Middleware; namespace Rudder { /// <summary> /// Provides the configuration for Rudder library /// </summary> /// <typeparam name="TState">Applicatio...
34.6875
101
0.621847
[ "MIT" ]
kjeske/rudder
src/RudderOptions.cs
4,442
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
27
97
0.754321
[ "MIT" ]
adamhemeon/Critterpedia_UWP
Critterpedia/Critterpedia.App/UserControls/MasterDetailControl.xaml.cs
812
C#
using System; using TwentyOne.Pages; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace TwentyOne { public partial class App : Application { public App() { InitializeComponent(); MainPage = new GameScreenPage(); } protected override void OnStart(...
15.9
44
0.536688
[ "MIT" ]
stefanbogaard86/TwentyOne
TwentyOne/App.xaml.cs
479
C#
//----------------------------------------------------------------------- // <copyright file="CatalogContent.cs" company="TelerikAcademy"> // All rights reserved © Telerik Academy 2012-2013 // </copyright> //---------------------------------------------------------------------- namespace CatalogOfFreeContent { ...
27.349398
87
0.474009
[ "MIT" ]
niki-funky/Telerik_Academy
Programming/High Quality Code/19. Exam preparation/CatalogOfFreeContent/CatalogContent.cs
2,273
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; using Azure.ResourceManager.Sql; namespace Azure.ResourceManager.Sql.Models { /// <summary> A list of long term retention bac...
38.947368
147
0.707432
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionBackupListResult.cs
1,480
C#
// // (C) Copyright 2003-2011 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty ...
45.834906
107
0.618092
[ "BSD-3-Clause" ]
AMEE/rev
samples/Revit 2012 SDK/Samples/Journaling/CS/JournalingForm.Designer.cs
9,717
C#
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; public class SimpleFileBrowserItem : MonoBehaviour, IPointerClickHandler, IPointerEnterHandler, IPointerExitHandler { #region Constants private const float DOUBLE_CLICK_TIME = 0.5f; #endregion #region Variables protected SimpleF...
22
116
0.720522
[ "MIT" ]
EvanWY/USelfDrivingSimulator
Assets/Plugins/SimpleFileBrowser/Scripts/SimpleFileBrowserItem.cs
2,224
C#
namespace Api.Models { public class EntityModel { public int id { get; set; } public string name { get; set; } } }
13.272727
40
0.541096
[ "MIT" ]
krisk0su/Dynamo
server/Models/EntityModel.cs
148
C#
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text.RegularExpressions; namespace Microsoft.ComponentDetection.Detectors.Pip { /// <summary> /// Represents a package and a list of dependency specifications that the package must be. /// </summary> [DebuggerDi...
36.47541
127
0.513258
[ "MIT" ]
ByAgenT/component-detection
src/Microsoft.ComponentDetection.Detectors/pip/PipDependencySpecification.cs
4,450
C#
using System; using System.Collections.Generic; using System.Linq; namespace MNCD.Extensions { /// <summary> /// List extensions. /// </summary> public static class ListExtensions { private static readonly Random Random = new Random(); /// <summary> /// Creates dictionary t...
32.170732
90
0.523882
[ "MIT" ]
matejkubinec/MN-CD
src/MNCD/Extensions/ListExtensions.cs
1,319
C#
//--------------------------------------------------------- // <auto-generated> // This code was generated by a tool. Changes to this // file may cause incorrect behavior and will be lost // if the code is regenerated. // // Generated on 2020 October 09 05:53:17 UTC // </auto-generated> //--------------...
34.342105
109
0.621456
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/trace/trace_frameNodeStruct.cs
2,610
C#
using System; using System.Collections.Generic; using System.Text; using JetBrains.Annotations; using JetBrains.Collections; using JetBrains.ReSharper.Psi.Parsing; using JetBrains.Util; using Newtonsoft.Json.Linq; namespace ReSharperPlugin.SpecflowRiderPlugin.Psi { public class GherkinKeywordList { // ...
38.361345
141
0.585104
[ "MIT" ]
citizenmatt/SpecFlow.Rider
src/dotnet/ReSharperPlugin.SpecflowRiderPlugin/Psi/GherkinKeywordList.cs
4,565
C#
using System; namespace Lectia16 { namespace ExpresiiFunc { class Program { static void Main() { Func<string, string> func1 = (x) => (x.Remove(x.Length / 2, x.Length / 2)); Console.WriteLine(func1.Invoke("abcdefg")); } ...
17.526316
91
0.462462
[ "MIT" ]
victordulap/cSharpStudy
stepLessons/Lectia16/Lectia16/Program.cs
335
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace ControleLoja.Models { public class VendedorModel { public int Id { get; set; } [Display(Name = "Nome", Prompt = "")] public string N...
22.740741
46
0.592834
[ "MIT" ]
danieltoguti/ControleLoja
ControleLoja/Models/VendedorModel.cs
616
C#
using System; using UnityEngine; using System.Collections.Generic; using System.Linq; public class DaltonImageCreator { public static void CalculateCircles( int numberLeft, int numberRight, List<Circle> circles) { int leftNumber = numberLeft; int rightNumber = numberRight; PiekaImage leftTexture = NumberI...
17.416667
95
0.670388
[ "MIT" ]
piekaa/dalton
Assets/Scripts/ImageCreation/DaltonImageCreator.cs
1,883
C#
using DebitOrdersApi.Data; using DebitOrdersApi.Models; using MediatR; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace DebitOrdersApi.Features.DebitOrders.Commands { public class SaveDebitOrder : IRequest { ...
28.728571
99
0.577325
[ "MIT" ]
Otis-c/Debit-Orders-Gateway
src/DebitOrdersApi/Features/DebitOrders/Commands/SaveDebitOrder.cs
2,013
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class WordDictionary { static void Main() { Dictionary<string, string> wordExplanation = new Dictionary<string, string>() { {".NET","platform for applications from Mi...
24.580645
85
0.580052
[ "MIT" ]
VVoev/Telerik-Academy
03.C#Advanced/06.StringsAndTextProcessing/14.WordDictionary/WordDictionary.cs
764
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace RestaurantWebsite.ViewModels { public class ExternalLoginConfirmationViewModel { [Required] [Display(Name = "Email")] public string Email { get; set; } } public class ExternalLoginListView...
27.610619
110
0.589744
[ "MIT" ]
smael123/RestaurantWebsite
RestaurantWebsite/ViewModels/AccountViewModels.cs
3,122
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...
58.985075
143
0.697874
[ "BSD-3-Clause" ]
Michelle-Argus/ArribasimExtract
OpenSim/Region/Framework/Interfaces/IEventQueue.cs
3,952
C#
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using Ritter.Infra.Crosscutting.Collections; using Ritter.Infra.Crosscutting.Tests.Mocks; using Xunit; namespace Ritter.Infra.Crosscutting.Tests.Paginng { public class Pagination_Paginate { [Fact] public ...
33.485915
115
0.60715
[ "Apache-2.0" ]
anderson-ritter/Ritter
tests/Infra.Crosscutting.Tests/Paginng/Pagination_Paginate.cs
4,755
C#
using Chloe.Reflection; namespace Chloe.Mapper.Binders { public class ComplexMemberBinder : MemberBinder, IMemberBinder { public ComplexMemberBinder(MemberSetter setter, IObjectActivator activtor) : base(setter, activtor) { } } }
22.333333
107
0.697761
[ "MIT" ]
shuxinqin/Chloe
src/Chloe/Mapper/Binders/ComplexMemberBinder.cs
270
C#
namespace CarcassSpark.Tools { partial class JsonCleaner { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
53.442529
162
0.635552
[ "MIT" ]
SarahKirksey/CarcassSpark
CarcassSpark/Tools/JsonCleaner.Designer.cs
9,301
C#
namespace UrbanIssues.Api.Infrastructure.Mapping { using AutoMapper; public class MappingService: IMappingService { public T Map<T>(object source) { return Mapper.Map<T>(source); } } }
19.833333
49
0.605042
[ "MIT" ]
g-yonchev/UrbanIssues
UrbanIssues.Server/UrbanIssues.Api/Infrastructure/Mapping/MappingService.cs
240
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace ZhikeStreet.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd...
24.291667
99
0.588336
[ "MIT" ]
zhikecore/zhikestreet
ZhikeStreet.Web/App_Start/RouteConfig.cs
585
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.Text; using System.Threading.Tasks; using System.IO; using System.Net...
32.931034
112
0.603665
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Net.Http/src/System/Net/Http/FormUrlEncodedContent.cs
1,910
C#
// // System.Web.UI.HtmlControls.HtmlForm.cs // // Author: // Dick Porter <dick@ximian.com> // // Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to...
27.127072
137
0.665886
[ "Apache-2.0" ]
AvolitesMarkDaniel/mono
mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs
9,820
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...
36.112245
170
0.647075
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/TimestreamWrite/Generated/Model/Internal/MarshallTransformations/RetentionPropertiesUnmarshaller.cs
3,539
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Packaging; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace OpenExcel { /// <summary> /// Class for Excel Workbook (Consists of Shared Strings too) /// </summary> public clas...
41.435374
215
0.600148
[ "MIT" ]
Anshul-Chandra/OpenExcel
OpenExcel/Structure/ExcelWorkbook.cs
12,184
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using Core.DataAccess.EntityFramework; using DataAccess.Abstract; using Entities.Concrete; using Microsoft.EntityFrameworkCore; namespace DataAccess.Concrete.EntityFramework { public class EfBrandD...
22.388889
84
0.789082
[ "MIT" ]
ErenAri/RecapProject_V2
DataAccess/Concrete/EntityFramework/EfBrandDal.cs
405
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 Sample.Domain.Ordering; namespace Microsoft.Its.Domain.Tests { public class TestConsequenter : IHaveConsequencesWhen<Order.Cancelled>,...
30.431818
101
0.618372
[ "MIT" ]
gitter-badger/Its.Cqrs
Domain.Tests/Infrastructure/TestConsequenter.cs
1,339
C#
using Cassandra; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GenerateData { class OrderDetails { public int orderid { get; set; } public int customerid { get; set; } public LocalDate orderdat...
22
49
0.638889
[ "MIT" ]
MicrosoftLearning/DP-060T00A-Migrating-your-Database-to-Cosmos-DB
Cassandra/GenerateData/GenerateData/OrderDetails.cs
398
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 ...
36.573991
138
0.561121
[ "Apache-2.0" ]
QilongChan/Lean
Common/Securities/CashBook.cs
16,312
C#
using System.Linq; using System.Threading.Tasks; using Equinor.ProCoSys.Preservation.Command.Validators.ResponsibleValidators; using Equinor.ProCoSys.Preservation.Infrastructure; using Equinor.ProCoSys.Preservation.Test.Common; using Microsoft.EntityFrameworkCore; using Microsoft.VisualStudio.TestTools.UnitTesting; n...
39.376812
132
0.649245
[ "MIT" ]
equinor/pcs-preservation-api
src/tests/Equinor.ProCoSys.Preservation.Command.Tests/Validators/ResponsibleValidatorTests.cs
2,719
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/schannel.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtim...
40.742857
145
0.700912
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CRED.cs
2,854
C#
using System; namespace ContentPatcher.Framework.Conditions { /// <summary>A unique identifier for a contextual condition.</summary> internal struct ConditionKey : IEquatable<ConditionKey> { /********* ** Accessors *********/ /**** ** Predefined keys ****/ ...
41.302013
215
0.584498
[ "MIT" ]
Sotheros/StardewMods
ContentPatcher/Framework/Conditions/ConditionKey.cs
6,154
C#
using BierFroh.Modules.DependencyGraph.Model; namespace BierFroh.Modules.DependencyGraph; public class DependencyFilter { private readonly HashSet<IDependency> dependencies; public DependencyFilter(HashSet<IDependency> dependencies) { this.dependencies = dependencies; } public bool Conta...
27.6
112
0.770531
[ "BSD-3-Clause" ]
FelixDamrau/BierFroh
src/Modules/DependencyGraph/DependencyFilter.cs
416
C#
using System; using System.Collections.Generic; using System.Text; namespace Hime.Structures { public struct ActionResult { public int Code { get; set; } public byte[] Content { get; set; } public string MIME { get; set; } } }
16.6875
43
0.621723
[ "MIT" ]
naomiEve/hime
Hime/Structures/ActionResult.cs
269
C#
using System; using System.IO; using Cool.AST; using Cool.Parsing; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class UnitTestAST { [TestMethod] public void ASTBuilderSuccess() { UnitTestParsing testParsing = new UnitTestPa...
31.46875
130
0.603774
[ "MIT" ]
Code-distancing/cool
UnitTest/UnitTestAST.cs
1,009
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/dwrite.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
38.076923
145
0.64697
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/dwrite/IDWriteFontCollectionTests.cs
1,982
C#
using UnityEngine; namespace UGF.Messages.Runtime.Transform { [AddComponentMenu("Unity Game Framework/Messages/Transform/Message Transform All", 2000)] public class MessageTransformAllReceiver : MonoBehaviour { [SerializeField] private Message m_onBeforeParentChanged = new Message(); [Seria...
33.09375
93
0.677998
[ "MIT" ]
unity-game-framework/ugf-messages
Packages/UGF.Messages/Runtime/Transform/MessageTransformAllReceiver.cs
1,059
C#
using System; using System.Collections.Generic; using System.Text; namespace BookApiProject.Dtos.Dtos { public class CategoryDto { public int Id { get; set; } public string Name { get; set; } } }
17.384615
40
0.650442
[ "MIT" ]
CristianSifuentes/BookApiProject
BookApiProject.Dtos/Dtos/CategoryDto.cs
228
C#
using System; namespace Microservice.Entities.MSSQL { /// <summary> /// The interface for audit. /// </summary> public interface IAuditable { /// <summary> /// Id of the user who created record. /// </summary> string CreatedBy { get; set; } /// <summary> ...
24.032258
61
0.526174
[ "Apache-2.0" ]
ZyshchykMaksim/aspnetcore-microservices.template.net
src/Microservice.Entities.MSSQL/IAuditable.cs
747
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.Media.VideoAnalyzer.Edge.Models { internal partial class PipelineTopologySetRequestBody : IUtf8JsonSerializable { ...
36.229885
126
0.527284
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/videoanalyzer/Azure.Media.VideoAnalyzer.Edge/src/Generated/Models/PipelineTopologySetRequestBody.Serialization.cs
3,152
C#