content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BankAccounts { class Loan : Account { public Loan(Customer customer, decimal balance, decimal interestRate) { base._customer = customer; base._b...
26.069767
80
0.545049
[ "MIT" ]
IvayloDamyanov/CSharp-ObjectOrientedProgramming
05. OOP-Principles-Part-2/BankAccounts/Loan.cs
1,123
C#
using Microsoft.Azure.Devices; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.Devices.Client.Transport.Mqtt; using Azure.Core; namespace IoTEdgeDeployBlobs.Sdk { public class DeployBlobs ...
44.522613
185
0.647517
[ "MIT" ]
algorni/iot-edge-deploy-blob
source/IoTEdgeDeployBlobs.Sdk/DeployBlobs.cs
8,862
C#
namespace Stormbot.Bot.Core { public enum PermissionLevel : byte { User = 0, ChannelModerator, ChannelAdmin, ServerModerator, ServerAdmin, ServerOwner, BotOwner } }
17.923077
38
0.562232
[ "MIT" ]
SSStormy/StormBot
Bot.Core/PermissionLevel.cs
235
C#
using System; using System.Net; using System.Web.Mvc; using Sitecore.Diagnostics; using Sitecore.HabitatHome.Fitness.Feature.Collection.Model; using Sitecore.HabitatHome.Fitness.Feature.Collection.Services; using Sitecore.HabitatHome.Fitness.Foundation.Analytics.Filters; using Sitecore.HabitatHome.Fitness.Foundation.A...
32.370968
96
0.648231
[ "MPL-2.0" ]
arthurbai/Sitecore.HabitatHome.Omni
fitness/server/src/Feature/Collection/code/Controllers/HabitatFitnessDemographicsController.cs
2,009
C#
namespace PicoTracer { public abstract class Renderer : Component { public Material material { get; set; } } }
18.714286
46
0.633588
[ "MIT" ]
AshkoreDracson/PicoTracer
PicoTracer/Core/Rendering/Renderer.cs
133
C#
using System.Linq; using Elasticsearch.Net; using FluentAssertions; using Nest.Tests.MockData; using Nest.Tests.MockData.Domain; using NUnit.Framework; namespace Nest.Tests.Integration.Search { [TestFixture] public class PercolateTests : IntegrationTests { private string _LookFor = NestTestData.Data.First().Foll...
29.900585
82
0.680814
[ "Apache-2.0" ]
Bloomerang/elasticsearch-net
src/Tests/Nest.Tests.Integration/Search/PercolateTests.cs
5,115
C#
// Copyright © 2019 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, this l...
53.342857
749
0.730852
[ "BSD-3-Clause" ]
awhewell/owin
Tests/Test.Owin.Utility/TypeFormatterResolverCache_Tests.cs
3,737
C#
using Microsoft.Win32; using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Security.Principal; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using System.Drawing.Imaging; using System.Security.AccessControl; using System.Text...
41.619825
189
0.484869
[ "MIT" ]
CodeFontana/WindowsHelpers-Net-Framework
WindowsNative/WindowsHelper.cs
71,380
C#
using Paramore.Brighter; using System; namespace Greetings.Ports.Events { public class GreetingEvent : Event { public GreetingEvent() : base(Guid.NewGuid()) { } public GreetingEvent(string greeting) : base(Guid.NewGuid()) { Greeting = greeting; } public st...
19.777778
68
0.601124
[ "MIT" ]
BrighterCommand/Brighter
samples/ASBTaskQueue/Greetings/Ports/Events/GreetingEvent.cs
358
C#
using System; using System.Text; using System.Text.RegularExpressions; using System.Linq; using System.Collections.Generic; using System.Reflection; using Server.Packets; namespace Server.Protocols.Data { [ADataProtocol("json")] sealed class DataProtocolJSON : IDataProtocol { static private ...
42.757962
180
0.423507
[ "MIT" ]
Maksims/gh12-server
Protocols/Data/DataProtocolJSON.cs
6,713
C#
using ConsoleIntroduction.Game; using SFML.Graphics; namespace ConsoleIntroduction { class Shapes { public const string CONSOLE_FONT_PATH = "./fonts/arial.ttf"; public Positions positions; Sprite spriteFromFile; Font consoleFont; public void LoadContent() ...
30.720588
106
0.554811
[ "MIT" ]
NathanKr/SfmlPlayground
ConsoleIntroduction/ConsoleIntroduction/Game/Shapes.cs
2,091
C#
// ======================================================================================================= // // ,uEZGZX LG Eu iJ vi // BB7. .: uM 8F 0BN Bq S: ...
44.476821
154
0.538267
[ "Apache-2.0" ]
daxnet/CloudNotes
CloudNotes.DesktopClient.Extensibility/Data/DataAccessProxy.cs
6,718
C#
// <auto-generated /> namespace AdminLteMvc.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class C...
27
92
0.617284
[ "MIT" ]
ataharasystemsolutions/KTI_TEST
AdminLteMvc/AdminLteMvc/Migrations/202009010831306_ConVanNo1.Designer.cs
810
C#
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neu.Core; using Neu.IO.Json; using System.Collections.Generic; using System.IO; using System.Text; namespace Neu.UnitTests { [TestClass] public class UT_TransactionOutput { TransactionOutput uut; [TestInitial...
26.714286
119
0.551625
[ "MIT" ]
NeuBlockchain/NEU
neu.UnitTests/UT_TransactionOutput.cs
2,431
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BHackerOverhaul.FileHandler; using BHackerOverhaul._3DData; using System.Windows; namespace BHackerOverhaul.DLHandling { public class DLParser { public string[] GetParsedObject(byt...
39.65873
318
0.355347
[ "BSD-3-Clause" ]
Coockie1173/BomberHacker2.0
BHackerOverhaul.DLHandling/DLParser.cs
14,993
C#
using System; using System.Collections; using System.Collections.Generic; using System.Security; using UnityEditor; using UnityEngine; [RequireComponent(typeof(MeshFilter))] [RequireComponent(typeof(MeshRenderer))] public class PolygonMesh : MonoBehaviour { private Mesh mesh; // Start is called before the fi...
24
72
0.571296
[ "MIT" ]
Ownfos/Shrewd
Shrewd/Assets/Scripts/PolygonMesh.cs
1,082
C#
// SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium // SPDX-License-Identifier: Apache License 2.0 using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using FellowOakDicom.Network; using Microsoft.Extensions.Logging; using Monai.Deploy.InformaticsGateway.Api; using Monai.Deploy.I...
43.888889
159
0.696835
[ "Apache-2.0" ]
Project-MONAI/monai-deploy-informatics-gateway
src/InformaticsGateway/Services/Scp/ApplicationEntityHandler.cs
3,161
C#
using UnityEngine; using System.Collections; public class Mover : MonoBehaviour { // Update is called once per frame void FixedUpdate () { float getHor = Input.GetAxis ("Horizontal"); float getVer = Input.GetAxis ("Vertical"); rigidbody.AddForce (getHor, 0.0f, getVer); } }
16.277778
46
0.696246
[ "MIT" ]
scarlethammergames/showcase
Assets/Scripts/ai/Mover.cs
295
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Relay { using System.Globalization; class SR : Strings { public static string GetString(string format, params object[] a...
30.147059
101
0.510244
[ "MIT" ]
Azure/azure-relay-dotnet
src/Microsoft.Azure.Relay/SR.cs
1,027
C#
using System; namespace TryNBootLoader.Program.Exceptions { public class ProcessNotStartableException : Exception { public override string Message { get; } public ProcessNotStartableException(string processName) { Message = $"Unable to start process '{processName}'!"; } } } namespace Ruffo324.Toolbox....
17.631579
57
0.752239
[ "Apache-2.0" ]
Ruffo324/BruteForceBootloaderUnlock
TryNBootLoader/TryNBootLoader.Program/Exceptions/ProcessNotStartableException.cs
337
C#
using System; using System.Security; namespace RED4ext.NET.Runtime { /// <summary> /// The binding wrapper is used for binding the native functions to /// managed C# delegates. /// </summary> [SuppressUnmanagedCodeSecurity] internal unsafe class BindingWrapper : IDisposable { privat...
27.25
76
0.566841
[ "MIT" ]
DasDarki/RED4ext.NET
managed/Runtime/BindingWrapper.cs
1,526
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Blazor.Browser.Interop; using Microsoft.AspNetCore.Blazor.Components; using Microsoft.AspNetCore.Blazor.Rendering; using Mic...
38.831325
111
0.64319
[ "Apache-2.0" ]
ebekker/Blazor-OLD
src/Microsoft.AspNetCore.Blazor.Browser/Rendering/BrowserRenderer.cs
3,225
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Knightware.Threading.Tasks { [TestClass] public class AsyncAutoResetEventTests { [TestMethod] public async Task ...
30.785714
128
0.665893
[ "Apache-2.0" ]
dsmithson/KnightwareCore
src/KnightwareCoreTests/Threading/Tasks/AsyncAutoResetEventTests.cs
864
C#
using System; using System.Windows.Forms; namespace ThreadModeler { public partial class FrmSplash : Form { public FrmSplash() { InitializeComponent(); } public void CloseDialog() { if (InvokeRequired) Invoke(new MethodInvoker(Dispose)); } protected override bool ProcessCmdKey(ref Messag...
18.730769
91
0.641684
[ "MIT" ]
coolOrangeLabs/inventor-thread-modeler
ThreadModeler/frmSplash.cs
976
C#
using System; using System.Threading.Tasks; using Super.Model.Selection; using Super.Model.Selection.Adapters; namespace Super.Operations { public class TaskSelector<_, T> : Selector<_, Task<T>> { public TaskSelector(ISelect<_, Task<T>> subject) : base(subject) {} public OperationSelector<_, T> Promote() =>...
31.05
84
0.711755
[ "MIT" ]
SuperDotNet/Super.NET
Super/Operations/TaskSelector.cs
623
C#
using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.Maui.Controls.CustomAttributes; using Microsoft.Maui.Controls.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Microsoft.Maui.Controls.Compatibility.UITests; #endif namespace Microsoft.Maui.Controls.Comp...
21.848485
79
0.746186
[ "MIT" ]
10088/maui
src/Compatibility/ControlGallery/src/Issues.Shared/Issue11333.xaml.cs
1,444
C#
/************************************************************************** * * * Website: https://github.com/florinleon/ActressMas * * Description: Iterated Prisoner's Dilemma using ActressMas framework * * Copyright: ...
44.96875
76
0.459347
[ "Apache-2.0" ]
dimven/ActressMas
ActressMas Examples/Turn-Based Examples/T10 Iterated Prisoner Dilemma/RandomPrisonerAgent.cs
1,441
C#
// Copyright © .NET Foundation and Contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace PInvoke { using System; using System.IO; using System.Runtime.InteropServices; /// <content> /// Exported functions...
44.949153
187
0.598322
[ "MIT" ]
AArnott/pinvoke
src/Cabinet/Cabinet.cs
10,611
C#
using System; namespace _1.Train { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] peopleInWagon = new int[n]; int sum = 0; for(int i = 0; i < n; i++) { peopleInWagon[i] ...
22.851852
65
0.416532
[ "MIT" ]
VinsantSavov/SoftUni-Software-Engineering
CSharp-Fundamentals/Fundamentals - 2018/Arrays/Arrays - Excercise/ArraysExcercise/1.Train/Program.cs
619
C#
using Content.Server.Light.EntitySystems; using Content.Shared.Damage; using Content.Shared.Light; using Content.Shared.Sound; using Robust.Shared.Containers; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.Prototypes; using Content.Shared.MachineLinking; using Sy...
34.575
109
0.689443
[ "MIT" ]
EmoGarbage404/space-station-14
Content.Server/Light/Components/PoweredLightComponent.cs
2,766
C#
using System; using System.Threading; using System.Threading.Tasks; using TinyFactory.Exceptions; namespace TinyFactory.Background { public abstract class LoopService : IHostedService, IDisposable { private Task _executingTask; private readonly CancellationTokenSource _stoppingCts = new Cancel...
33.743243
122
0.592311
[ "MIT" ]
gkurbesov/TinyFactory
TinyFactory/Background/LoopService.cs
2,499
C#
// // Copyright 2013-2014 Hans Wolff // // 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 a...
29.5
75
0.711864
[ "Apache-2.0" ]
hanswolff/redfoxmq
RedFoxMQ/IMessage.cs
710
C#
//----------------------------------------------------------------------- // <copyright file="FormatterLocationStep.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
37.769231
75
0.625255
[ "MIT" ]
zach-v/Deeper
top-down-shooter/Assets/Packages/Databox/Core/Serializers/OdinSerializer/Core/Misc/FormatterLocationStep.cs
982
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
36.290323
77
0.766222
[ "MIT" ]
jsuarezruiz/Xamarin.Forms.AppBar
src/AppBar.Sample.Android/Properties/AssemblyInfo.cs
1,128
C#
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using UnityEngine; namespace Common { public abstract class CSingleton<T> where T : CSingleton<T> { protected static T s_instance; protected CSingleton(){} public static T Instance(){ ...
31.074074
94
0.578069
[ "MIT" ]
Relinke/2D_Horror_Adventure_Game
UnityProject/Assets/Game/Script/Common/CSingleton.cs
841
C#
using Microsoft.Extensions.Localization; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Transactions; using Tellma.Api.Base; using Tellma.Api.Behaviors; using Tellma.Api.Dto; using Tellma...
40.412879
183
0.576374
[ "Apache-2.0" ]
mohanad1213/tellma
Tellma.Api/UsersService.cs
32,009
C#
using DaikinController.Serializers; using DaikinSerializers.Test.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DaikinSerializers.Test { [TestClass] public class DaikinSerializerSerializeTests { [TestMethod] public void Serialize() { var serialize...
29.230769
134
0.584211
[ "MIT" ]
d-georgiev-91/Daikin-Controller
DaikinSerializers.Test/DaikinSerializerSerializeTests.cs
762
C#
using J2N.Numerics; using J2N.Text; using Lucene.Net.Support; using System; using System.Collections.Generic; using System.Globalization; namespace Lucene.Net.Util { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed ...
36.618519
161
0.499444
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net/Util/StringHelper.cs
9,887
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.560345
226
0.603648
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/V20180201/ListWebAppSitePushSettingsSlot.cs
3,893
C#
using UnityEngine; using System.Collections; using Alps.Model; using System; using MatchmoreUtils; using System.Threading; namespace MatchmoreLocation { public enum LocationServiceType { threaded, coroutine } public static class LocationServiceStarter { public static IEnumerator St...
29.375
133
0.515915
[ "MIT" ]
matchmore/alps-unity-sdk
Assets/Matchmore/Alps/LocationProviders.cs
5,875
C#
using System; class Program { static void Main(string[] args) { int goal = 10_000; string input; int currentStepsCount = 0; while (currentStepsCount < goal) { input = Console.ReadLine(); if (input == "Going home") { i...
24.526316
72
0.484979
[ "MIT" ]
stanislavstoyanov99/SoftUni-Software-Engineering
Programming-Basics-with-C#/Labs-And-Homeworks/WhileLoopLab/Walking/Program.cs
934
C#
using System.Threading.Tasks; using Abp.Web.Security.AntiForgery; using Microsoft.AspNetCore.Antiforgery; using Clase7.Controllers; using Microsoft.AspNetCore.Mvc; namespace Clase7.Web.Host.Controllers { public class AntiForgeryController : Clase7ControllerBase { private readonly IAntiforgery _antiforg...
27.322581
105
0.697757
[ "MIT" ]
REL1980/Clase7
aspnet-core/src/Clase7.Web.Host/Controllers/AntiForgeryController.cs
847
C#
using System.Collections.Generic; using UnityEngine.UI; using UnityEngine; using System; namespace EcoMundi.Data { [CreateAssetMenu(fileName ="MundiData", menuName = "EcoMundi/Data/MundiData", order = 50)] public class GameData : ScriptableObject { [Header("Game Configs")] private E_Diffic...
38.16129
112
0.585678
[ "MIT" ]
GameDevArena/Planetoide
Assets/_ROOT/_Code/Managers/Mundi/MundiData/BaseCode/GameData.cs
8,285
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...
29.719298
129
0.606257
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataMigration/Outputs/ProjectFilePropertiesResponse.cs
1,694
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------...
45.791667
179
0.583258
[ "MIT" ]
joelhoisko/DotNET.Fundamentals
Specifications/Services/for_Endpoints/when_starting/with_one_service_type_and_two_binders.cs
1,099
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceBus.Messaging; namespace Samples.AzureServiceBus { public class Program { public static void Main(string[] args) { var factory = MessagingFactory...
29.943662
104
0.484948
[ "MIT" ]
jdaigle/LightRail
src/Samples/Samples.AzureServiceBus/Program.cs
2,128
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Giselle.Imaging.IO; namespace Giselle.Imaging.Scan { public class InterlacePassProcessor { public ScanData ScanData { get; private set; } public int PassIndex { get; privat...
26.141026
149
0.470819
[ "MIT" ]
gisellevonbingen/Giselle.Imaging
Giselle.Imaging/Scan/InterlacePassProcessor.cs
2,041
C#
using System; using UnityEngine; namespace ET { public class OperaComponentAwakeSystem : AwakeSystem<OperaComponent> { public override void Awake(OperaComponent self) { self.mapMask = LayerMask.GetMask("Map"); } } public class OperaComponentUpdateSystem : UpdateSyst...
30.877551
105
0.546596
[ "MIT" ]
klhalu1/ET
Unity/Codes/HotfixView/Demo/Opera/OperaComponentSystem.cs
1,513
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: AssemblyTit...
39.297297
85
0.733838
[ "MIT" ]
fischgeek/AutoToggl
DesktopProjectDataHandler/Properties/AssemblyInfo.cs
1,457
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.GameCommons; using Charlotte.Games.Enemies; using Charlotte.Games.Walls; using Charlotte.Commons; namespace Charlotte.Games.Scripts { public class Script_ステージ0001 : Script { protected override IEnumerable<bool> E...
22
86
0.702569
[ "MIT" ]
soleil-taruto/Elsa
e20201122_YokoShootSp/Elsa20200001/Elsa20200001/Games/Scripts/Script_30b930c630fc30b80001.cs
1,054
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace TwitterRead { static class Program { /// <summary> /// アプリケーションのメイン エントリ ポイントです。 /// </su...
21.384615
65
0.627698
[ "MIT" ]
Yukiho-YOSHIEDA/twitter_read
TwitterRead/Program.cs
604
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...
41.56213
601
0.60635
[ "MIT" ]
Azkel/azure-sdk-for-net
sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Registry.cs
7,024
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using MediatR; using SmartAdmin.Domain.Models; using SmartAdmin.Application.Customers.Commands; using SmartAdmin.Service; using URF.Core.Abstractions; using Mapster; namespace Sma...
29.648649
114
0.772106
[ "Apache-2.0" ]
neozhu/smartadmin.core.urf
smartadmin-core-urf/src/SmartAdmin.Domain/Customers/Handlers/CreateOrEditCustomerHandler.cs
1,099
C#
using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using FluentAssertions; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Serialization.Objects; using JsonApiDotNetCoreExampleTests.Startups; using Microsoft.Extensions.DependencyInjection; using TestBuild...
47.948201
157
0.64419
[ "MIT" ]
jlits/JsonApiDotNetCore
test/JsonApiDotNetCoreExampleTests/IntegrationTests/QueryStrings/SparseFieldSets/SparseFieldSetTests.cs
33,324
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...
32.048077
106
0.608461
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/VoiceID/Generated/Model/ListSpeakersRequest.cs
3,333
C#
namespace Blazorise { /// <summary> /// Defines the text transformation. /// </summary> public enum TextTransform { /// <summary> /// No capitalization. The text renders as it is. This is default. /// </summary> None, /// <summary> /// Transforms all...
22.37931
74
0.51772
[ "Apache-2.0" ]
Luk164/Blazorise
Source/Blazorise/Enums/TextTransform.cs
651
C#
// Copyright (c) Microsoft Corporation // All rights reserved namespace Microsoft.VisualStudio.Language.Intellisense { /// <summary> /// Represents a collection of <see cref="IPeekResult"/>s populated by content-type specific <see cref="IPeekResultSource"/> /// implementations when they are being queried ...
48.0375
141
0.624512
[ "MIT" ]
AmadeusW/vs-editor-api
src/Editor/Language/Def/Intellisense/Peek/IPeekResultCollection.cs
3,845
C#
using System; using Hurricane.Shared.Objects.Interfaces; namespace Hurricane.Shared.Networking.IPC.Interfaces { public interface IIPCInterface : IHurricaneObject { Boolean Startup(); Boolean Shutdown(); Boolean SendIPCMessage(IIPCMessage message); event EventHandler<IPCEventA...
23.133333
55
0.717579
[ "ISC" ]
Evairfairy/Hurricane
Hurricane.Shared/Networking/IPC/Interfaces/IIPCInterface.cs
349
C#
using Feature.CookieWarning.Application; using Foundation.SimpleNavigation.Application; using Foundation.UserInterfaceSupport.Model; using OpenQA.Selenium; using Project.UserInterfaceTests.Model; using ExpectedConditions = SeleniumExtras.WaitHelpers.ExpectedConditions; namespace Project.UserInterfaceTests.Application...
31.074074
98
0.731824
[ "MIT" ]
jsurland/TestFramework
Project/UserInterfaceTests/Application/PreparePageService.cs
841
C#
using UnityEngine; using System.Collections; public static class GameObjectHelper { #region Setters public static void SetX(this GameObject gameObject, float x) { gameObject.transform.position = new Vector3(x, gameObject.transform.position.y, gameObject.transform.position.z); } public static void SetY(this Ga...
27.852941
115
0.779303
[ "MIT" ]
mystaticself/unity-extensions
extensions/GameObjectHelper.cs
1,894
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
35.608696
97
0.474969
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/runtime/Helpers/Extensions/StringBuilderExtensions.cs
799
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.Immutable; using System.Linq; using System.Reflection.Metadata; using System...
41.477046
237
0.625249
[ "MIT" ]
bilsaboob/roslyn
src/Compilers/CSharp/Test/Emit/Attributes/AttributeTests_NativeInteger.cs
62,342
C#
using System; using EasyCommands; using EasyCommands.Commands; using Example; using System.IO; namespace EasyCommands.Test.Commands { class CallbackSyntaxTest1 : CommandCallbacks<User> { // Registration should fail because the command has the wrong return value [Command("test")] public...
22.428571
82
0.632696
[ "MIT" ]
ZakFahey/easy-commands
EasyCommands/Test/Commands/CallbackSyntaxTest1.cs
473
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...
83.253968
373
0.714013
[ "MIT" ]
Agazoth/azure-powershell
src/PostgreSql/generated/api/Support/ServerState.Completer.cs
5,183
C#
using System.Threading.Tasks; using LambdaCore.Adapters; namespace SecretManagement.Adapter.InMemory { internal sealed class InMemorySecretManagementService : ISecretManagementService { public Task<string> DecryptString(string value) { return Task.FromResult(value); } }...
23
84
0.704969
[ "MIT" ]
evilpilaf/LambdaTest
src/Adapters/SecretManagement.Adapter/InMemory/InMemorySecretManagementService.cs
322
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. // 어셈블리와 관련된 정보를 수정하려면 // 이 특성 값을 변경하십시오. [assembly: AssemblyTitle("ClouDeveloper.Log4net.CallerInfo.Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration(""...
29.918919
68
0.707317
[ "Apache-2.0" ]
rkttu/Log4net-with-Caller-Info
Log4netWithCallerInfo/ClouDeveloper.Log4net.CallerInfo.Test/Properties/AssemblyInfo.cs
1,544
C#
 namespace Contensive.Processor.Models.Domain { // //==================================================================================================== // public class StylesheetContextModel { public int templateId { get; set; } public int emailId { get; set; } public string s...
31.909091
106
0.421652
[ "Apache-2.0" ]
contensive/Contensive5
source/Processor/Models/Domain/StylesheetContextModel.cs
353
C#
/*! * (c) 2016-2018 EntIT Software LLC, a Micro Focus company * * 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...
27.22
110
0.645114
[ "Apache-2.0" ]
MicroFocus/alm-octane-csharp-rest-sdk
OctaneSdk/Connector/UserPassConnectionInfo.cs
1,363
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: MiniParameterInfo ** ** Purpose: Represents a method parameter. ** ===========================================================*/ using System; using Sy...
23.313725
101
0.562658
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/AddIn/AddIn/System/Addin/MiniReflection/MiniCustomAttributeInfo.cs
2,378
C#
/******************************************************************************/ /* Project - Unity Ray Marching https://github.com/TheAllenChou/unity-ray-marching Author - Ming-Lun "Allen" Chou Web - http://AllenChou.net Twitter - @TheAllenChou */ /*****************************************...
27.296296
107
0.622795
[ "MIT" ]
TheAllenChou/unity-ray-marching
unity-ray-marching/Assets/Script/PostProcessingCompute.cs
2,213
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.9.0.77 // SpecFlow Generator Version:1.9.0.0 // Runtime Version:4.0.30319.34014 // // Changes to this...
46.811828
235
0.549673
[ "BSD-3-Clause" ]
bill-cooper/catc-cms
src/Orchard.Specs/Pages.feature.cs
8,709
C#
[CompilerGeneratedAttribute] // RVA: 0x12AD90 Offset: 0x12AE91 VA: 0x12AD90 private sealed class TimelineAsset.<get_outputs>d__27 : IEnumerable<PlayableBinding>, IEnumerable, IEnumerator<PlayableBinding>, IEnumerator, IDisposable // TypeDefIndex: 4557 { // Fields private int <>1__state; // 0x10 private PlayableBindi...
44.375
175
0.768209
[ "MIT" ]
SinsofSloth/RF5-global-metadata
_no_namespace/TimelineAsset.--get_outputs--d__27.cs
2,485
C#
using System; using System.IO; using UnityEditor; using UnityLocalize.DataStorage; namespace UnityLocalize.Editor { [InitializeOnLoad] internal static class LocalizationEditorEnvironmentManager { private const string TEMP_FOLDER_NAME = "~localizationTemp"; private const string EDITOR_RESO...
32.670213
156
0.630414
[ "MIT" ]
anvoro/ULocalize
Assets/Plugins/UnityLocalize/Editor/EditorCore/LocalizationEditorEnvironmentManager.cs
3,073
C#
using PNet; namespace PNetR { public interface INetComponentProxy { /// <summary> /// The current thread's rpc mode. /// </summary> RpcMode CurrentRpcMode { get; set; } Player CurrentSendTo { get; set; } NetworkView NetworkView { get; set; } } }
21.928571
45
0.566775
[ "MIT" ]
Ignis34Rus/LoE-Ghost.Server
libs/PNet2Room/Proxy/INetComponentProxy.cs
309
C#
using System; using System.Collections.Generic; using DataStructures.HashTable; using DataStructures.Trees; using Xunit; namespace DataStructures.Tests.HashTests { //public class IntersectionTests //{ // [Fact] // public void Bianary_tree_repeat() // { // BinaryTree<int> tree1 ...
34.233333
81
0.576436
[ "MIT" ]
dahlbyk-demo/data-structures-and-algorithms-401
DataStructures.Tests/HashTests/IntersectionTests.cs
1,029
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/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime....
48.621429
302
0.669458
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/MsHTML/ISVGAnimatedPathData.cs
6,809
C#
using System; using NetOffice; namespace NetOffice.VisioApi.Enums { /// <summary> /// SupportByVersion Visio 11, 12, 14, 15, 16 /// </summary> [SupportByVersionAttribute("Visio", 11,12,14,15,16)] [EntityTypeAttribute(EntityType.IsEnum)] public enum VisSpatialRelationFlags { /// <summary> /// SupportByV...
27.786885
55
0.640708
[ "MIT" ]
brunobola/NetOffice
Source/Visio/Enums/VisSpatialRelationFlags.cs
1,697
C#
//-------------------------------------------- // Implementation provided by StackOverflow // http://stackoverflow.com/questions/4140860/castle-windsor-dependency-resolver-for-mvc-3-rc //-------------------------------------------- namespace SharpArch.Web.Castle { using System; using System.Collections.Generic...
31.294118
132
0.625
[ "Apache-2.0" ]
maxim5/code-inspector
data/c-sharp/2734dccd21ffe5db80056a4e83e0f18d_WindsorDependencyResolver.cs
1,064
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayMarketingCampaignDrawcampCreateModel Data Structure. /// </summary> public class AlipayMarketingCampaignDrawcampCreateModel : AlipayObject { ...
31.708333
178
0.583443
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCampaignDrawcampCreateModel.cs
4,891
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ESocketServerLauncher")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] ...
27
57
0.694695
[ "MIT" ]
Mr-sB/EasySocket
ESocketServerLauncher/Properties/AssemblyInfo.cs
1,340
C#
namespace ChromeDevTools.Host.Runtime.Browser { using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; /// <summary> /// PermissionType /// </summary> [JsonConverter(typeof(StringEnumConverter))] public enum PermissionType { [EnumMember(...
30.045455
56
0.608926
[ "MIT" ]
fforjan/ChromeDevTools.Host
ChromeDevTools.Host/Runtime/Browser/PermissionType.cs
1,322
C#
namespace BuildService.Services.Messaging.SendGrid { using Newtonsoft.Json; public class SendGridContent { public SendGridContent() { } public SendGridContent(string type, string content) { this.Type = type; this.Value = content; } ...
19.791667
59
0.551579
[ "MIT" ]
adena/BuildService
Services/BuildService.Services.Messaging/SendGrid/SendGridContent.cs
477
C#
using System; using Microsoft.Extensions.Logging; using R5T.T0064; namespace R5T.D0095 { [ServiceDefinitionMarker] public interface IFileLoggerProvider : ILoggerProvider, IServiceDefinition { } }
15.357143
78
0.753488
[ "MIT" ]
SafetyCone/R5T.D0095
source/R5T.D0095.Base/Code/Services/Definitions/IFileLoggerProvider.cs
215
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics.UserInterface; ...
28.684211
93
0.60367
[ "MIT" ]
GDhero58/Undertale-
osu.Game/Overlays/Settings/SettingsSlider.cs
1,092
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 JARVIS { public partial class spl : Form { public spl() { ...
21.277778
60
0.530026
[ "MIT" ]
MartinDala/Sistema-de-Senha--Para-Balc-os-CSharp
spl.cs
768
C#
using FluentValidation; namespace Application.Groups.Command.CreateMessage { public class CreateMessageCommandValidator : AbstractValidator<CreateMessageCommand> { public CreateMessageCommandValidator() { // content RuleFor(x => x.Content) .NotEmpty(); ...
23.928571
88
0.626866
[ "MIT" ]
IndyNaessens/WebApi-Ucll-Mobile
src/Application/Groups/Command/CreateMessage/CreateMessageCommandValidator.cs
335
C#
using ObjectTK.Shaders.Sources; using ObjectTK.Shaders.Variables; using OpenTK; namespace Sphere.Shaders { [FragmentShaderSource("Shading.Fragment.Light.Point")] public class PointLightProgram : LightProgram { public Uniform<Vector3> LightPosition { get; protected set; } ...
27.857143
70
0.687179
[ "MIT" ]
JcBernack/simplex-sphere
Sphere/Shaders/PointLightProgram.cs
392
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Web.LibraryManager.Cache; using Microsoft.Web.LibraryManager.Contracts; using Microsoft.Web.LibraryManager.Resources; namespace Micros...
35.983607
139
0.634624
[ "Apache-2.0" ]
RobJohnston/LibraryManager
src/LibraryManager/Providers/Cdnjs/CdnjsProvider.cs
2,197
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("Di...
38.189189
84
0.748054
[ "MIT" ]
Dibasic/dice-roller
DiceRollerLogicLayer/Properties/AssemblyInfo.cs
1,416
C#
using System; namespace LC { class Program { static void Main(string[] args) { _ = new MyClass(); } } }
11.071429
39
0.445161
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
UniversityOfPlymouthComputing/MobileDev-XamarinForms
code/Chapter2/Lectures/Part1/LooseCoupling/LC/Program.cs
157
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Boss_Controller : MonoBehaviour { public Transform target; public GameObject badBullet; public Transform badBulletSpawn; public Transform lookPos; private void Start() { badBulletSpawn.transfo...
23.173913
87
0.62758
[ "MIT" ]
RacerZStudios/CubeAttack
CubeAttack_Prototype/Boss_Controller.cs
1,068
C#
using System.ComponentModel.DataAnnotations; using Abp.Authorization.Roles; using HotelBookingApp.Authorization.Users; namespace HotelBookingApp.Authorization.Roles { public class Role : AbpRole<User> { public const int MaxDescriptionLength = 5000; public Role() { } p...
22.931034
67
0.627068
[ "MIT" ]
Shaikh-Qasim/HotelBookingApp
aspnet-core/src/HotelBookingApp.Core/Authorization/Roles/Role.cs
667
C#
using CG.Options; using System; using System.ComponentModel.DataAnnotations; namespace CG.Olive.Web.Options { /// <summary> /// This class contains configuration settings for authenticating the /// website through OIDC. /// </summary> public class OidcAuthOptions : OptionsBase { // ***...
26.676471
78
0.495039
[ "MIT" ]
CodeGator/CG.Olive
src/Web/CG.Olive.Web/Options/OidcAuthOptions.cs
909
C#
using System; using SimpleAtomPubSub.Publisher.Persistance; using SimpleAtomPubSub.Serialization; using SimpleAtomPubSub.Subscriber.DeadLetter; using SimpleAtomPubSub.Subscriber.Handlers; namespace SimpleAtomPubSub.Subscriber.Subscription { public class ProcessingChannel { public event EventHandler<Mes...
32.864865
110
0.646382
[ "MIT" ]
peterbeams/SimpleAtomPubSub
src/SimpleAtomPubSub/Subscriber/Subscription/ProcessingChannel.cs
1,216
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class QuestDisableInteraction : ActionBool { public QuestDisableInteraction(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } ...
21.533333
110
0.733746
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/QuestDisableInteraction.cs
309
C#
using Windows.UI.Xaml.Controls; using Astrolabe.Pages; namespace AstrolabeExample.Views { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public sealed partial class FirstView : AstrolabePage { public FirstView() { ...
23.0625
81
0.623306
[ "MIT" ]
ismiller/astrolabe
AstrolabeExample/Views/FirstView.xaml.cs
371
C#
// Copyright (c) Binshop and Contributors. All rights reserved. // Licensed under the MIT License using Binshop.PaymentGateway.Constants; using System.Net.Http; using System.Threading.Tasks; namespace Binshop.PaymentGateway.Services { public class DefaultQueryService : IQueryService { private readonly...
38.054054
145
0.6875
[ "MIT" ]
Binshop/apple-pay-demo
src/PaymentGateway/Services/DefaultQueryService.cs
1,408
C#
// LEGAL INFORMATION: using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using System.Xml; using NUnit.Framework; namespace TestCentric.Gui { public class XmlRtfConverterTests { [Test] public void SimpleXmlTest() { var xml = ...
37.981481
191
0.560215
[ "MIT" ]
Acidburn0zzz/testcentric-experimental-gui
src/TestCentric/tests/XmlRtfConverterTests.cs
2,051
C#
#pragma checksum "C:\GIT\MvcFirst\MvcFirst\Views\Students\Delete.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ff7f0d6279f2e38f10999a975ea0269f5a66ede6" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Students...
58.679426
299
0.716895
[ "MIT" ]
stone1234765/MvcFirst
MvcFirst/obj/Debug/netcoreapp3.1/Razor/Views/Students/Delete.cshtml.g.cs
12,264
C#
using System; using NuGetPe; namespace PackageExplorerViewModel { public sealed class SymbolValidatorResultViewModel { private readonly SymbolValidatorResult? _result; public SymbolValidatorResultViewModel(SymbolValidatorResult? symbolValidatorResult) { _result = symbolVa...
37.75
134
0.763482
[ "MIT" ]
MarcelWolf1983/NuGetPackageExplorer
PackageViewModel/SymbolValidatorResultViewModel.cs
1,059
C#