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.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; using System.Data.Sql; using System.Text.RegularExpressions; namespace BD_P...
36.625984
155
0.456412
[ "Apache-2.0" ]
ruineto/portfolio
dotNet/GestorEscolar/BD_PROJECT/AlterTurma.cs
9,309
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.NAS20170626.Models { public class DescribeFileSystemsResponse : TeaModel { [NameInMap("RequestId")] [Validation(Required=true)] pub...
46.122449
134
0.511504
[ "Apache-2.0" ]
atptro/alibabacloud-sdk
nas-20170626/csharp/core/Models/DescribeFileSystemsResponse.cs
6,780
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Reflection.Emit; using Automatics.ModUtils; using BepInEx.Configuration; using HarmonyLib; using UnityEngine; namespace Automatics.Debug { [SuppressMessage("ReSharper", "InconsistentNaming")] [HarmonyPatch] internal stat...
33.611111
89
0.615152
[ "MIT" ]
eideehi/valheim-automatics
Automatics/Debug/Patches.cs
3,632
C#
using System; namespace LBHFSSPublicAPI.V1.Infrastructure.AddressesContextEntities { public class AddressEntity { public string AddressKey { get; set; } public string Uprn { get; set; } public string Usrn { get; set; } public string ParentUPRN { get; set; } public string...
41.133333
69
0.613182
[ "MIT" ]
LBHackney-IT/lbh-fss-public-api
LBHFSSPublicAPI/V1/Infrastructure/AddressesContextEntities/AddressEntity.cs
1,851
C#
// *********************************************************************** // Copyright (c) 2009 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...
34.573034
78
0.642184
[ "MIT" ]
jnm2/nunit
src/NUnitFramework/framework/Contains.cs
3,077
C#
 using System; namespace HananokiEditor { public static partial class UnityTypes { static Type _UnityEditor_PackageManager_UI_PackageManagerWindow; public static Type UnityEditor_PackageManager_UI_PackageManagerWindow => Get( ref _UnityEditor_PackageManager_UI_PackageManagerWindow, "UnityEditor.PackageManager.U...
61
264
0.866803
[ "MIT" ]
hananoki/SharedModule
UnitySymbol/Type/PackageManager.cs
1,466
C#
using ADHDataManager.Library.Internal.DataAccess; using ADHDataManager.Library.Models; using System.Collections.Generic; namespace ADHDataManager.Library.DataAccess { public class PatientNoteData : IPatientNoteData { private readonly ISqlDataAccess _sqlDataAccess; public PatientNoteData(ISqlD...
33.851852
136
0.628738
[ "MIT" ]
AhmedDuraid/ADH-Medical-System
ADHDataManager.Library/DataAccess/PatientNoteData.cs
2,744
C#
using CyberCAT.Core.Classes.Mapping; namespace CyberCAT.Core.Classes.DumpedClasses { [RealName("gameSourceData")] public class GameSourceData : ISerializable { [RealName("name")] public CName Name { get; set; } [RealName("savable")] public bool Savable { get; set; }...
21.933333
47
0.617021
[ "MIT" ]
Deweh/CyberCAT
CyberCAT.Core/Classes/DumpedClasses/GameSourceData.cs
329
C#
using Captura.Models; using Captura.ViewModels; using System; using System.Diagnostics; using System.Drawing; using System.IO; using System.Reflection; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using Captura.Native; using CommandLine; using ...
32.17029
122
0.505181
[ "MIT" ]
sonumeewa/Captura
src/Captura.Console/Program.cs
17,760
C#
using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Collections.Generic; using System.IO; using System.Text; namespace T4TS.Build.Builder { class SourceFileMerger { static readonly SourceFileVisitor Visitor = new SourceFileVisitor(); /// <summary> ...
28.454545
86
0.530351
[ "Apache-2.0" ]
Panopto/panopto-t4ts
T4TS.Build.Builder/SourceFileMerger.cs
1,880
C#
using System; using System.Runtime.InteropServices; using UnityEngine; namespace bosqmode.libvlc { public class VLCPlayer : IDisposable { private IntPtr _media; private IntPtr _mediaPlayer; private IntPtr _imageIntPtr; private IntPtr _libvlc; private LockCB _lockHandle...
31.958333
171
0.5402
[ "MIT" ]
bosqmode/UnityVLCPlayer
Assets/UnityVLCPlayer/VLCPlayer.cs
6,905
C#
using System; using System.Diagnostics; using System.Threading; namespace Unity_Interception { public class Logger { internal void WriteFunctionStart(FunctionStartInfo v) { WriteLine(v.ToString()); } internal void WriteFunctionEndInfo(FunctionEndInfo v) { ...
22.785714
87
0.590909
[ "Apache-2.0" ]
joymon/dotnet-demos
patterns-practices/DI/unity/Interception/Unity_Interception/Logging/InterceptionLogger.cs
640
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace TweetSharp.Demo.Mvc.Models { #region Models public class Chang...
37.607143
183
0.642292
[ "MIT" ]
DavidChristiansen/tweetsharp
src/net40/TweetSharp.Demo.Mvc/Models/AccountModels.cs
9,479
C#
using System; namespace m4k.Progression { [Serializable] public abstract class Condition { public virtual void InitializeCondition() {} public abstract bool CheckConditionMet(); public virtual void FinalizeCondition() {} } }
23.7
48
0.755274
[ "MIT" ]
khncao/com.minus4kelvin.core
Runtime/Progression/Conditions/Condition.cs
237
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class OrbitCamera : MonoBehaviour { [SerializeField] private Transform target = null; public float rotateSpeed = 1.5f; private float _rotateY; private Vector3 _offset; // Use this for initialization void Sta...
25.135135
68
0.634409
[ "MIT" ]
mrvon/Unity
TPG/Assets/Scripts/OrbitCamera.cs
932
C#
using Newtonsoft.Json; using RealView.Core.Model; using RealView.Core.Parser; using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Web; namespace RealView.Pro...
28.793103
114
0.546906
[ "Apache-2.0" ]
soxfmr/RealView
RealView/Providers/KickAss/KickAssParser.cs
2,507
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ListExtensions.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // -------------------------------------------------------------...
39.183099
121
0.468368
[ "MIT" ]
Unknown6656/helix-toolkit
Source/HelixToolkit.Wpf.SharpDX/Extensions/CollectionExtensions.cs
2,784
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. #if ENABLEDATABINDING using System; using Microsoft.Xml; using Microsoft.Xml.XPath; using Microsoft.Xml.Schema; using...
31.343434
95
0.577506
[ "MIT" ]
Bencargs/wcf
src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/Cache/XPathNodeViewPropertyDescriptor.cs
3,103
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Instrucciones : MonoBehaviour { // Start is called before the first frame update public void PlayGame() { SceneManager.LoadScene(SceneManager.GetActiveScene().bu...
21.25
78
0.670588
[ "MIT" ]
codyvi/Parcial2Scripts
Scripts/Instrucciones.cs
427
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V4200</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
45.446009
1,358
0.586054
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V4200/Generated/bodyType.cs
9,680
C#
using UnityEngine; namespace CustomAvatar { public class FirstPersonExclusion : MonoBehaviour { [HideInInspector] public GameObject[] Exclude; public GameObject[] exclude; public void Awake() { if (Exclude != null && Exclude.Length > 0) exclude = Exclude; }...
21.866667
73
0.603659
[ "MIT" ]
ErrorUser-not-found/BeatSaberCustomAvatars
Source/CustomAvatar/FirstPersonExclusion.cs
330
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SmartCarRentals.Data; namespace ...
36.468435
125
0.437832
[ "MIT" ]
ulivegenov/SmartCarRentals
Data/SmartCarRentals.Data/Migrations/20200328195953_AddTransferType.Designer.cs
39,862
C#
/* Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a> 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, ...
45.229167
143
0.750806
[ "MIT" ]
JaCraig/Craig-s-Utility-Library
UnitTests/ORM/Manager/ORMManager.cs
2,173
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Serilog; using Serilog.Events; namespace okteto_dotnet_poc ...
32.477273
115
0.571379
[ "MIT" ]
chrishaland/okteto-dotnet-poc
src/Program.cs
2,858
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.Reactive.Disposables; using System.Reactive.PlatformServices; using...
48.112936
343
0.567112
[ "MIT" ]
ltrzesniewski/reactive
Rx.NET/Source/src/System.Reactive/Concurrency/LocalScheduler.TimerQueue.cs
23,433
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...
34.054348
158
0.646026
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ElasticFileSystem/Generated/Model/Internal/MarshallTransformations/LifecyclePolicyUnmarshaller.cs
3,133
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RandomizeWords { class RandomizeWords { static void Main() { var words = Console.ReadLine().Split(' ').ToArray(); var random = new Random(); ...
19.852941
58
0.557037
[ "MIT" ]
svet110/ProgrammingFundamentalsExtended
ObjectsAndSimpleClassesLab/RandomizeWords/RandomizeWords.cs
677
C#
using System; using UnityEngine; public static class JsonHelper { public static T[] FromJson<T>(string json) { Wrapper<T> wrapper = JsonUtility.FromJson<Wrapper<T>>(json); return wrapper.Items; } public static string ToJson<T>(T[] array) { Wrapper<T> wrapper = new Wrapper<...
22.055556
68
0.602015
[ "MIT" ]
J3573R/simple-scoreboard-example
Assets/JsonHelper.cs
796
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.Med...
39.271967
165
0.560516
[ "Apache-2.0" ]
mooict/WPF-Clicking-Game-with-Sound
Clicky Game WPF MOO ICT/MainWindow.xaml.cs
9,388
C#
using System; namespace PrevisaoTempo.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
17.666667
70
0.669811
[ "MIT" ]
karolinagb/PrevisaoTempo
PrevisaoTempo/PrevisaoTempo/Models/ErrorViewModel.cs
212
C#
namespace AutomatedLab { public class Disk { public bool SkipInitialization { get; set; } public string Path { get; set; } public string Name { get; set; } public int DiskSize { get; set; } public long AllocationUnitSize { get; set; } public bool Use...
21.75
91
0.53908
[ "MIT" ]
ebell451/AutomatedLab
LabXml/Disks/Disk.cs
872
C#
using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using EPiServer.Research.Translation4.Core; using EPiServ...
42.805369
207
0.494512
[ "MIT" ]
Episerver-trainning/episever6_translatex
EPiServer.Research.TranslateX/EPiServer5.2/UI/ImportPage.aspx.cs
12,758
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace XFTranslator.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) ...
36.1875
98
0.676166
[ "MIT" ]
aimore/XamUI
XFTranslator/XFTranslator.iOS/AppDelegate.cs
1,160
C#
/************************************************************************************* Toolkit for WPF Copyright (C) 2007-2017 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license For more ...
27.25
188
0.646306
[ "MIT" ]
0xflotus/Materia
wpftoolkit-master/wpftoolkit-master/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/MainWindow.xaml.cs
4,144
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.IIS.Administration.WebServer.Handlers { using Core; using System; public class Defines { private const string ...
45.333333
148
0.720588
[ "MIT" ]
202006233011/IIS.Administration
src/Microsoft.IIS.Administration.WebServer.Handlers/Defines.cs
1,224
C#
// <copyright file="NoRetryStrategyShould.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; using Syst...
38.54
118
0.679294
[ "Apache-2.0" ]
KOSASIH/okta-sdk-dotnet
src/Okta.Sdk.UnitTests/NoRetryStrategyShould.cs
1,929
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.CommandLine.Rendering.Views; using System.CommandLine.Tests; using System.CommandLine.Tests.Utility; using System.Drawing; using Fl...
38.040956
101
0.603086
[ "MIT" ]
jeredm/command-line-api
src/System.CommandLine.Rendering.Tests/Views/StackLayoutViewTests.cs
11,148
C#
using System; using Xamarin.Forms; namespace Xamarin.CommunityToolkit.Core { [TypeConverter(typeof(FileMediaSourceConverter))] public sealed class FileMediaSource : MediaSource { public static readonly BindableProperty FileProperty = BindableProperty.Create(nameof(File), typeof(string), typeof(FileMediaSource...
32.296296
127
0.772936
[ "MIT" ]
AbuMandour/XamarinCommunityToolkit
XamarinCommunityToolkit/Core/FileMediaSource.shared.cs
874
C#
namespace ClearHl7.Codes.V280 { /// <summary> /// HL7 Version 2 Table 0207 - Processing Mode. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0207</remarks> public enum CodeProcessingMode { /// <summary> /// A - Archive. /// </summary> Archive, /...
23.828571
86
0.509592
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7.Codes/V280/CodeProcessingMode.cs
836
C#
using System; using System.Runtime.InteropServices; using starshipxac.Shell.Components.Interop; using starshipxac.Shell.Interop; namespace starshipxac.Shell.Components.Internal { /// <summary> /// Define shell change notification. /// </summary> internal class ShellChangeNotify { /// <...
34.917431
119
0.516027
[ "MIT" ]
rasmus-z/starshipxac.ShellLibrary
Source/starshipxac.Shell/Components/Internal/ShellChangeNotify.cs
3,812
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace service.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { ...
28.475
110
0.598771
[ "MIT" ]
4thex/farm
service/Controllers/WeatherForecastController.cs
1,141
C#
using System.IO; using System.Text; using Itg.ZabbixAgent.Core; using NFluent; using Xunit; namespace Itg.ZabbixAgent.Tests { public class ZabbixProtocolTests { [Theory] [InlineData("", null, "ZBXD\x01\x00\x00\x00\x00\x00\x00\x00\x00")] [InlineData("foo", null, "ZBXD\x01\x03\x00\x00\x0...
33.185185
88
0.617188
[ "MIT" ]
RFQ-hub/ZabbixAgentLib
src/ZabbixAgent.Tests/Core/ZabbixProtocolTests.cs
898
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading; using System.Threading.Tasks; using Mobet.Dependency; namespace Mobet.Runtime.Session { /// <summary> /// Implements <see cref="IAppSession"/> to get session properties ...
28.206897
124
0.518337
[ "Apache-2.0" ]
Mobet/mobet
Mobet-Net/Mobet/Runtime/Session/AppClaimsSession.cs
1,638
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...
45.176471
196
0.572591
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/DirectConnect/Generated/Model/Internal/MarshallTransformations/AllocatePrivateVirtualInterfaceResponseUnmarshaller.cs
12,288
C#
using System; using System.Collections.Generic; using System.IO; using System.Security; using System.Windows.Forms; namespace CriticalCode { public class TesteCriticalCode : Interface1 { public string Procesa_Algo() { return "Procesado o texto"; } public List<Stri...
23.512821
84
0.564885
[ "MIT" ]
shyoutarou/Exam-70-483_Depurar_seguran-a
Exemplos/02_Cripto/CodeAccessPermissions/CriticalCode/TesteCriticalCode.cs
922
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
32.483871
149
0.608739
[ "MIT" ]
ariksman/XamlThemes
Demo/Properties/Settings.Designer.cs
1,009
C#
using System; using System.Collections.Generic; using System.Text; namespace Castr.IntegrationTests.Models { class Stats { public string Home_team_name { get; set; } public string Away_team_name { get; set; } public string Referee { get; set; } public float Home_team_corner_...
19.884615
57
0.634429
[ "MIT" ]
pcmichaels/CastDataAs
Castr.IntegrationTests/Models/Stats.cs
519
C#
// // Copyright (c) Microsoft and contributors. 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. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
30.166667
76
0.655387
[ "Apache-2.0" ]
chuanboz/HDInsight
src/Insights/Generated/Management/Insights/Models/DiagnosticSettingsStatus.cs
1,448
C#
using Microsoft.EntityFrameworkCore; namespace ADSBackend.Data { public static class ContextExtensions { public static void AddOrUpdate(this ApplicationDbContext ctx, object entity) { var entry = ctx.Entry(entity); switch (entry.State) { case...
28.548387
84
0.479096
[ "MIT" ]
Taranveer1/ADSBackend
ADSBackend/Data/ContextExtensions.cs
887
C#
namespace Uno.Native.Fonts { public struct RenderedGlyph { public float AdvanceX, AdvanceY; public float BearingX, BearingY; public Textures.PixelFormat PixelFormat; public int Width, Height; public byte[] Bitmap; } }
24.454545
48
0.64684
[ "MIT" ]
fuse-open/Uno.Native
Source/Uno.Native/Fonts/RenderedGlyph.cs
269
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.Composition; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.Host....
38
99
0.783493
[ "MIT" ]
belav/roslyn
src/Features/CSharp/Portable/Completion/Providers/ContextVariableArgumentProvider.cs
838
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...
27.290323
88
0.669031
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Media/V20200501/Outputs/LiveEventInputAccessControlResponse.cs
846
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
37.252174
99
0.629318
[ "MIT" ]
stephanhuewe/PiBuch
Zeitansage/App.xaml.cs
4,286
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.SqlTools.Hosting.Protocol.Contracts; namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts.ExecuteRequests { /// <summary> ...
29.964286
101
0.686532
[ "MIT" ]
Bhaskers-Blu-Org2/sqltoolsservice
src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Contracts/ExecuteRequests/ExecuteStringRequest.cs
841
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.787234
148
0.650267
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/QuickSight/Generated/Model/Internal/MarshallTransformations/DeleteThemeAliasRequestMarshaller.cs
3,740
C#
using UnityEngine; using UnityEngine.EventSystems; #pragma warning disable 0618 // Disabled warning due to SetVertices being deprecated until new release with SetMesh() is available. namespace TMPro.Examples { public class TMP_TextSelector_B : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerC...
45.009174
182
0.573461
[ "MIT" ]
Kalystee/Platformer_NoName
Assets/Imports/TextMesh Pro/Examples & Extras/Scripts/TMP_TextSelector_B.cs
24,532
C#
 // Write a program that downloads a file from Internet (e.g. http://www.devbg.org/img/Logo-BASD.jpg) // and stores it the current directory. Find in Google how to download files in C#. // Be sure to catch all exceptions and to free any used resources in the finally block. using System; using System.Net; class Dow...
31.459459
101
0.559278
[ "MIT" ]
PetarMetodiev/Telerik-Homeworks
C# Part 2/07.Exception-Handling/ExceptionHandling/04.DownloadFile/Program.cs
1,166
C#
using Microsoft.Extensions.Options; using Newtonsoft.Json; using SteffBeckers.Abp.Generator.Helpers; using SteffBeckers.Abp.Generator.Settings; using System.Diagnostics; using System.Text; using System.Text.Json; namespace SteffBeckers.Abp.Generator.Templates; public class ProjectTemplatesService { private readon...
37.187919
164
0.669554
[ "MIT" ]
steffbeckers/abp-generator
Templates/ProjectTemplatesService.cs
5,541
C#
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Threading;...
40.549451
184
0.619783
[ "Apache-2.0" ]
codemonkey85/roslyn
Src/Compilers/Core/Source/CodeGen/ReferenceDependencyWalker.cs
7,382
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace PuppeteerSharp.Tests.OOPIFTests { [Collection("PuppeteerLoaderFixture collection")] public class OOPIFTests : PuppeteerPageBaseTest { public OOPIFTests(ITestOutputHe...
34.157895
125
0.651002
[ "MIT" ]
R2D221/puppeteer-sharp
lib/PuppeteerSharp.Tests/OOPIFTests/OOPIFTests.cs
1,300
C#
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System.Threading.Tasks; using JetBrains.Annotations; using Lykke.Job.CandlesProducer.Contract; using Lykke.Job.CandlesHistoryWriter.Core.Domain.Candles; using Lykke.Job.CandlesHistoryWriter.Core.Services.HistoryM...
35.9
126
0.763231
[ "MIT-0" ]
LykkeBusiness/Lykke.Job.CandlesHistoryWriter
src/Lykke.Job.CandlesHistoryWriter.Services/HistoryMigration/CandlesMigrationService.cs
1,079
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Limxc.Tools.Common { public class TaskFlow { private readonly Queue<TaskNode> _queue; public TaskFlow(object inputs) { Inputs = inputs; ...
29.622222
182
0.477494
[ "MIT" ]
limxc/Limxc.Tools
src/Limxc.Tools/Common/TaskFlow.cs
5,334
C#
using LtiLibrary.NetCore.Lis.v2; using Microsoft.AspNetCore.Http; namespace LtiLibrary.AspNetCore.Outcomes.v2 { /// <summary> /// Represents a GetLineItem DTO. /// </summary> public class GetLineItemDto { /// <summary> /// Initialize a new instance of the class. /// </summa...
24.333333
58
0.519569
[ "Apache-2.0" ]
Copyleaks/LtiLibrary
src/LtiLibrary.AspNetCore/Outcomes/v2/GetLineItemDto.cs
1,024
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
31.04
107
0.622423
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/AutoMLJobConfig.cs
3,104
C#
using System; namespace _01.Recursive_Array_Sum { class Program { static void Main(string[] args) { int[] arr = new int[] { 1, 2, 3 }; int sum = FindSum(arr, 0); Console.WriteLine(sum); } static int FindSum(int[] arr, int index) { ...
19.62963
57
0.45283
[ "MIT" ]
Aleksandyr/Algorithms
01.Lab-Recursion/01.Recursive-Array-Sum/Program.cs
532
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc; namespace GlobalGeobits.ChatApp.web.ErrorsLog { public class LogFilterExceptions : ActionFilterAttribute { public override void OnActionExecuted(ActionExecutedContext actionExe...
30.409091
239
0.729447
[ "MIT" ]
hamed1m54/SignalR-RealTime-Chat-System
GlobalGeobits.ChatApp.web/ErrorsLog/LogFilterExceptions.cs
671
C#
//----------------------------------------------------------------------------- // (c) 2021 Ruzsinszki Gábor // This code is licensed under MIT license (see LICENSE for details) //----------------------------------------------------------------------------- using System; using System.Runtime.Serialization; namespace...
26.942857
114
0.535525
[ "MIT" ]
webmaster442/ExpressionEngine
ExpressionEngine.Renderer/CommandException.cs
946
C#
using System; using System.Collections.Generic; using System.Linq; namespace BasickStackOperation { class BasicStack { static void Main() { var stackInformation = Console.ReadLine() .Split(' ') .ToArray(); var numbersToPushInStack = int.P...
28.966102
73
0.434757
[ "MIT" ]
LuGeorgiev/CSharpSelfLearning
SoftUniCSAdvanced/StackAndQueue/BasickStackOperation/BasicStack.cs
1,711
C#
// Copyright (c) 2014 Daniel Grunwald // // 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, // publ...
39.569767
154
0.727985
[ "MIT" ]
164306530/ILSpy
ICSharpCode.Decompiler/IL/BlockBuilder.cs
10,211
C#
using System; using System.Collections.Concurrent; using System.Reflection; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Gybs.Logic.Operations.ServiceProvider { /// <summary> /// Represents a bus handling operation via handlers resolved from a service provider. /// </summary...
43.61039
165
0.666468
[ "MIT" ]
wk0w/gybs
src/Gybs.Logic.Operations/ServiceProvider/ServiceProviderOperationBus.cs
3,360
C#
using System; namespace Teste { internal class Program { static void Main(string[] args) { /* * Escreva um programa que imprima as estações do ano por escolhas de numericas */ int estacao = 2; switch (estacao) { ...
26.410256
91
0.429126
[ "MIT" ]
AleLucasG/Teste-de-Programa--o
teste5.cs
1,043
C#
namespace WFCore.MultiTenancy { public static class MultiTenancyConsts { /* Enable/disable multi-tenancy easily in a single point. * If you will never need to multi-tenancy, you can remove * related modules and code parts, including this file. */ public const bool IsE...
28.583333
66
0.64723
[ "Apache-2.0" ]
amro93/WFCore
aspnet-core/src/WFCore.Domain.Shared/MultiTenancy/MultiTenancyConsts.cs
345
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace JTfy { public class Vec<T> : DataArray<T> { public Int32 Count { get { return data.Length; } } public override Int32 ByteCount { get { return 4 + base.ByteCount; } } public override Byte[] B...
26.262136
105
0.500185
[ "MIT" ]
MazvydasT/JSJT
CS2JSTest/JT File Data Model/Common Data Structures/Vec.cs
2,707
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TA_Monde.Pages { public class IndexModel : PageModel { private readonly ILogger<Inde...
19.230769
53
0.666
[ "MIT" ]
FCrescent/ta_monde
TA_Monde/Pages/Index.cshtml.cs
502
C#
using DependencyInjection.House; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DependencyInjection.Controllers { [ApiController] [Route("[controller]")] public class HouseContro...
26.022727
66
0.599127
[ "Apache-2.0" ]
newteq/DevelopmentFundamentals
Practical/DependencyInjection/Controllers/HouseController.cs
1,147
C#
using System.Threading.Tasks; using Project.IntegrationTests.Configuration; using Xunit; namespace Project.IntegrationTests.Orders { public class FinishOrderTests : IClassFixture<ApiWebApplicationFactory> { private readonly ApiWebApplicationFactory factory; public FinishOrderTests(ApiW...
30.082192
103
0.627049
[ "MIT" ]
office-14/Drinks
web-api/src/Project.IntegrationTests/Orders/FinishOrderTests.cs
2,196
C#
using DICOMcloud.DataAccess.Database.Schema; using System; using System.Collections.Generic; using System.Linq; using Dicom; namespace DICOMcloud.DataAccess.Database { public partial class QueryResponseBuilder : IQueryResponseBuilder { private EntityReadData CurrentData = null ; p...
37.236641
192
0.504203
[ "Apache-2.0" ]
3833430/DICOMcloud
DICOMcloud.DataAccess.Database/QueryResponseBuilder/QueryResponseBuilder.cs
9,758
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("Te...
37.694444
84
0.74871
[ "MIT" ]
DovetailSoftware/Amazing-Cloud-Search
AmazingCloudSearch.Test/Properties/AssemblyInfo.cs
1,360
C#
using System; using System.Collections.Generic; using WebbShopEmil.Models; using WebbShopFE.Helper; namespace WebbShopFE.Views { /// <summary> /// Methods that prints out info concerning books. /// </summary> public static class BookView { /// <summary> /// Prints out earned money....
28.539683
69
0.480534
[ "MIT" ]
marcusjobb/NET20D
OOPA/WebbshopProjekt/Emil/WebbShopFE/WebbShopFE/Views/BookView.cs
1,800
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.242424
153
0.616762
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/DeviceManagementIntentAssignRequestBody.cs
1,229
C#
using System; using System.Reflection; using AmplaData.Binding.MetaData; namespace AmplaData.Binding.ModelData { public static class Property<TModel> { public static T GetValue<T>(TModel model, string property) { if (!string.IsNullOrEmpty(property)) { Pr...
31.514286
136
0.566636
[ "MIT" ]
Ampla/Ampla-Data
src/AmplaData/Binding/ModelData/Property.cs
1,105
C#
using System; using Newtonsoft.Json; namespace API_Football.SDK.Models { public class Season { [JsonProperty("year")] public ushort Year { get; set; } [JsonProperty("start")] public DateTime? Start { get; set; } [JsonProperty("end")] public Dat...
23.130435
46
0.535714
[ "MIT" ]
fabricatorsltd/api-sports
src/API-Football.SDK/Models/Season.cs
534
C#
using System; using System.IO; using System.Collections.Generic; namespace Crash { public class OldFrame { public static OldFrame Load(byte[] data) { if (data == null) throw new ArgumentNullException("data"); if (data.Length < 56) ...
39.080745
219
0.495073
[ "MIT", "BSD-3-Clause" ]
wurlyfox/CrashEdit
Crash/Formats/Crash Formats/Animation/OldFrame.cs
6,292
C#
// *********************************************************************** // <copyright file="MatterProvisionHelper.cs" company="Microsoft"> // Copyright (c) . All rights reserved. // </copyright> // <summary>This file provides meta data related information for matter provision.</summary> // *********************...
65.729352
441
0.637321
[ "MIT" ]
nirmalpavan/MatterTest
tree/master/cloud/src/Helper Utilities/Microsoft.Legal.MatterCenter.HelperUtilities/Microsoft.Legal.MatterCenter.CreateSampleData/MatterProvisionHelper.cs
51,731
C#
using System; using System.CodeDom; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using EnvDTE; namespace Microsoft.Samples.VisualStudio.CodeDomCodeModel { [ComVisible(true)] public abstract class CodeDomCodeType<CodeTypeType> : CodeDomCodeElement<CodeTypeType>, CodeType ...
37.007663
132
0.551299
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Visual Studio Product Team/IronPython Integration/[C#]-IronPython Integration/C#/integration/IronPython/src/IronPython.Project/FileCodeModel/CodeDomCodeType.cs
9,659
C#
namespace AspnetRun.Services.Products.Core.Entities.Base { public abstract class Entity : EntityBase<int> { } }
17.857143
57
0.704
[ "MIT" ]
nilavanrajamani/ecommerce-microservice
AspnetRun.Services.Products.Core/Entities/Base/Entity.cs
127
C#
using Akka.Actor; using AkkaPrismDemo.Module.Stocks.ActorModels.Messages; using AkkaPrismDemo.Module.Stocks.ViewModels; namespace AkkaPrismDemo.Module.Stocks.ActorModels.Actors.UI { internal sealed class StockToggleButtonActor : ReceiveActor { /// <summary> /// The stocks coordinator. /// </summary> privat...
28.278689
130
0.703768
[ "MIT" ]
mikeruhl/AkkaPrismDemo
AkkaPrismDemo.Module.Stocks/ActorModels/Actors/UI/StockToggleButtonActor.cs
1,727
C#
// <auto-generated /> // This file was generated by a T4 template. // Don't change it directly as your change would get overwritten. Instead, make changes // to the .tt file (i.e. the T4 template) and save it to regenerate this file. // Make sure the compiler doesn't complain about missing Xml comments and CLS compli...
45.5
285
0.687738
[ "MIT" ]
scottaworkman/raceday
RaceDay/T4MVC/AuthorizeController.generated.cs
9,191
C#
using Aguacongas.IdentityServer.Admin.Services; using Aguacongas.IdentityServer.Store; using Aguacongas.IdentityServer.Store.Entity; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; using Microsoft.AspNetCore.Mvc; using System; using System...
37.296296
97
0.657398
[ "Apache-2.0" ]
markjohnnah/TheIdServer
src/IdentityServer/Aguacongas.IdentityServer.Admin/GenericKeyController.cs
2,016
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: AssemblyTi...
39.594595
85
0.732423
[ "MIT" ]
AleikovStudio/Useful-Codes-CSharp
03PribavyaneNaNulaCyaloIEdno/Properties/AssemblyInfo.cs
1,468
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace BetfairNG.Data { public class VenueResult { [JsonProperty(PropertyName = "venue")] public string Venue { get; set; } [JsonProperty(Prope...
21
52
0.679198
[ "MIT" ]
bkw1491/betfairng
Data/VenueResult.cs
401
C#
using System; using System.CommandLine; using System.CommandLine.Invocation; using System.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.SqlServer.Dac; using Microsoft.SqlServer.Dac.Model; namespace MSBuild.Sdk.SqlProj.DacpacTool { class Program { s...
44.301754
166
0.549263
[ "MIT" ]
markalroberts/MSBuild.Sdk.SqlProj
src/DacpacTool/Program.cs
12,628
C#
using System.Collections.Generic; namespace Keen.Core.Query { /// <summary> /// Holds information describing the query that is cached within a cached dataset. /// </summary> public class QueryDefinition { /// <summary> /// Unique id of the project to analyze. /// </summary...
31.6
95
0.576525
[ "MIT" ]
IshamMohamed/keen-sdk-net
Keen/Query/QueryDefinition.cs
1,740
C#
using MediatR; namespace ResourceProvisioning.Abstractions.Events { public interface IDomainEventHandler<in TEvent> : IDomainEventHandler, INotificationHandler<TEvent>, IEventHandler<TEvent> where TEvent : IDomainEvent { } public interface IDomainEventHandler { } }
19.714286
151
0.804348
[ "MIT" ]
dfds/resource-provisioning-poc
src/ResourceProvisioning.Abstractions/Events/IDomainEventHandler.cs
278
C#
using System; using ClearHl7.Extensions; using ClearHl7.Helpers; using ClearHl7.Serialization; namespace ClearHl7.V270.Types { /// <summary> /// HL7 Version 2 ICD - Insurance Certification Definition. /// </summary> public class InsuranceCertificationDefinition : IType { /// <summary> ...
49.444444
180
0.641199
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7/V270/Types/InsuranceCertificationDefinition.cs
4,007
C#
using NUnit.Framework; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bobs.Utilities.Tests { [TestFixture] public class StringFormatter_Tests { [Test] public void StringFormatter_With...
25.703704
113
0.582133
[ "MIT" ]
BobsFriends/Bobs.Utilities
tests/Bobs.Utilities.Tests/StringFormatter_Tests.cs
1,390
C#
using System; namespace Tolitech.CodeGenerator.Domain.Queries { public interface IQuery { } }
10.9
47
0.688073
[ "MIT" ]
Tolitech/Domain
src/Domain/Queries/IQuery.cs
111
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /shop/order/getpaymentparams 接口的响应。</para> /// </summary> public class ShopOrderGetPaymentParametersResponse : WechatApiResponse { public static class Types { public class PaymentParamet...
38.775862
141
0.530903
[ "MIT" ]
OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Order/ShopOrderGetPaymentParametersResponse.cs
2,383
C#
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public partial class hkbComputeRotationToTargetModifier : hkbModifier { public override uint Signature { get => 4275496900; } public Quaternion m_rotationOut; public Vector4 m_targetPo...
34.5
78
0.608159
[ "MIT" ]
SyllabusGames/DSMapStudio
HKX2/Autogen/hkbComputeRotationToTargetModifier.cs
1,863
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2018 // // 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 r...
31.457627
81
0.622845
[ "MIT" ]
sebastianulm/SharpVk
src/SharpVk/PeerMemoryFeatureFlags.gen.cs
1,856
C#