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
// *** 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...
66
1,104
0.747209
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationGetArgs.cs
2,508
C#
using Avalonia.Controls; using MessageBox.Avalonia; using MessageBox.Avalonia.DTO; using MessageBox.Avalonia.Enums; using MessageBox.Avalonia.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UABEAvalonia { public static class Mes...
34.78
128
0.635998
[ "MIT" ]
chaoscube/PhoenixPointKoreanPatcher
UABEAvalonia/MessageBoxUtil.cs
1,741
C#
namespace IdleTimeModule { partial class IdleTimeModuleForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
42.4
172
0.593595
[ "MIT" ]
dimabeel/EplanDowntimeModule
EplanIdleTimeModule/IdleTimeModuleForm.designer.cs
4,186
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace RadzenCrm.Models.Crm { [Table("TaskTypes", Schema = "dbo")] public partial class TaskType { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)...
18.037037
57
0.665298
[ "MIT" ]
bryanmitchellhowell/RadzenCRM
server/Models/CRM/TaskType.cs
487
C#
using Coreflow.Runtime.Storage; namespace Coreflow.Test.Tests { internal static class TestHelper { internal static CoreflowService InitCoreflow() { MemoryFlowDefinitionStorage dstorage = new MemoryFlowDefinitionStorage(); MemoryFlowInstanceStorage istorage = new MemoryF...
27.15
85
0.679558
[ "MIT" ]
lordmampf/Coreflow
Coreflow.Test/Tests/TestHelper.cs
545
C#
 //=============================================================================== // // IMPORTANT NOTICE, PLEASE READ CAREFULLY: // // => This code is licensed under the GNU General Public License (GPL v3). A copy of the license is available at: // https://www.gnu.org/licenses/gpl.txt // // => As stated in ...
45.857651
368
0.620751
[ "MIT" ]
Barjonp/OpenSilver
src/Runtime/Runtime/System.ServiceModel/ICommunicationObject.cs
12,888
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("Res...
37.621622
84
0.747845
[ "MIT" ]
GeorgiGarnenkov/ProgrammingFundamentals-Extended
DataTypesVariablesAndMethods/Resurrection/Properties/AssemblyInfo.cs
1,395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace AddressbookWebTests { public class GroupTestBase : AuthTestBase { [TearDown] public void CompareGroupsUI_DB() { if (PERFORM_L...
24.346154
67
0.565561
[ "Apache-2.0" ]
Vegard1666/Testcases
addressbook-web-tests/addressbook-web-tests/Tests/GroupTestBase.cs
635
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Data; namespace TODOFilePickerSample.Converters { class DateTimeFormatConverter : IValueConverter { public object Convert(object value, Type targetType, object para...
26.296296
99
0.64507
[ "MIT" ]
HydAu/WebDevCamp
Presentation/z102. File Management/Demos/TODOFilePickerSample/TODOFilePickerSample/Converters/DateTimeFormatConverter.cs
712
C#
namespace DataLater.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; internal sealed class Configuration : DbMigrationsConfiguration<FBHelper.Data.FB> { public Configuration() { AutomaticMigrationsEnabled = ...
30.40625
85
0.545735
[ "MIT" ]
adhadimohd/AUTO-POST-FB-CSHARP
DataLater/Migrations/Configuration.cs
973
C#
using System; namespace DICOMcloud.Wado.Areas.HelpPage { /// <summary> /// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class. /// </summary> public class TextSample { public TextSample(string text) { ...
24.081081
140
0.534231
[ "Apache-2.0" ]
gitter-badger/DICOMcloud
DICOMcloud.Wado/Areas/HelpPage/SampleGeneration/TextSample.cs
891
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// AOP API: alipay.mobile.beacon.message.send /// </summary> public class AlipayMobileBeaconMessageSendRequest : IAlipayRequest<AlipayMobileBeacon...
23.536364
109
0.598301
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayMobileBeaconMessageSendRequest.cs
2,601
C#
// System using System; using System.Threading; using System.Threading.Tasks; // Unity using UnityEngine; using UnityEngine.UI; // Project // Alias public class ThreadHelperSample : MonoBehaviour { public Text txt_log = null; private Task sampleTask = null; private CancellationTokenSource sampleTaskCanc...
22.630137
96
0.598668
[ "Apache-2.0" ]
JungukHom/UnityUtility
Project/UnityUtility/Assets/ThreadHelper/Sample/ThreadHelperSample.cs
1,652
C#
using HarmonyLib; using RimWorld; using System.Reflection; using Verse; namespace DeepRimPatch { [StaticConstructorOnStartup] static class DeepRimPatch { static DeepRimPatch() { var harmony = new Harmony("Mlie.CaveBiome.DeepRimPatch"); harmony.PatchAll(Assembly.Get...
25.935484
82
0.605721
[ "MIT" ]
Mersid/CaveBiome
Source/DeepRimPatch/DeepRimPatch.cs
806
C#
using PhilipDaubmeier.DigitalstromClient.Model.Core; using System; using System.Collections.Generic; namespace PhilipDaubmeier.DigitalstromClient.Model.PropertyTree { public class ZonesAndSensorValuesResponse : IWiremessagePayload { public List<ZonesAndSensorValues> Zones { get; set; } = new List<Zone...
33.153846
120
0.696056
[ "MIT" ]
Abrissirba/GraphIoT
src/DigitalstromClient/Model/PropertyTree/ZonesAndSensorValuesResponse.cs
864
C#
#region Usings using System; #endregion namespace FinancialCharting.Library.ProjectExceptions { [Serializable] public class IndicatorException : Exception { public IndicatorException() : base("Invalid indicator parameters") {} public IndicatorException(string message) : base(message) {} public ...
17.517241
60
0.73622
[ "MIT" ]
AnCh7/FinancialCharting
src/FinancialCharting.Library/ProjectExceptions/IndicatorException.cs
510
C#
using Newtonsoft.Json; namespace UbiqSecurity.Model { internal class FpeBillingResponse { #region Serializable Properties [JsonProperty("message")] internal string Message { get; set; } [JsonProperty("status")] internal int Status { get; set; } [JsonProperty("last_valid")] internal IdRecord LastVal...
16.16129
49
0.704591
[ "MIT" ]
ubiqsecurity/ubiq-dotnet
UbiqSecurity/Model/FpeBillingResponse.cs
503
C#
using System.Globalization; using System.Windows.Data; namespace Connect4.Converters; public class EnumBooleanConverter : IValueConverter { public object Convert( object value, Type targetType, object parameter, CultureInfo culture ) { return value.Equals( parameter ); } public object ConvertBack( object val...
23.526316
98
0.767338
[ "MIT" ]
xeorast/Connect4
Connect4/Converters/EnumBooleanConverter.cs
449
C#
using System; using System.Runtime.InteropServices; namespace AppsPlugin.Native { public static partial class user32 { [DllImport("user32.dll")] public static extern IntPtr GetWindowLong(IntPtr hWnd, int nIndex); [DllImport("user32.dll")] [return: MarshalAs(UnmanagedType.Bool)...
28.236842
96
0.613234
[ "MIT" ]
dahanj95/Telebot
Plugins/AppsPlugin/Native/User32.cs
1,075
C#
namespace IteratorPattern { public interface IIterator<T> { bool HasNext { get; } T Next(); } }
15.5
33
0.548387
[ "MIT" ]
kado-yasuyuki/StudyIterator
StudyIterator/Assets/01_IteratorPattern/IIterator.cs
126
C#
/* * CdCmd.java * * This file contains the Jacl implementation of the built-in Tcl "cd" * command. * * Copyright (c) 1997 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL * WARRANTIES. * * Included in SQLite3 por...
22.473684
108
0.563622
[ "MIT" ]
ARLM-Keller/csharp-sqlite
TCL/src/commands/CdCmd.cs
1,281
C#
using System; using System.Collections.Generic; using System.Text; namespace Sdf.Redis { public class RedisConnectionOption { public string Host { get; set; } public string Password { get; set; } } }
17.692308
44
0.66087
[ "Apache-2.0" ]
yyalon/Sdf
src/Sdf.Redis/RedisConnectionOption.cs
232
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/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { publ...
33.428571
145
0.748932
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/d3d12/D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS.cs
938
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("Se...
47.95
123
0.787278
[ "MIT" ]
0x4a616e/sharpshell
SharpShell/Tools/ServerRegistrationManager/Properties/AssemblyInfo.cs
961
C#
namespace main { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
53.328422
177
0.591918
[ "MIT" ]
cxdcxd/sepanta3
GUI/sepanta_gui/main/main/frmMain.Designer.cs
112,205
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; namespace SsdtProjectHelper.Common.Interfaces { public interface ISi...
35.52381
75
0.710456
[ "MIT" ]
matei-tm/SSDT-Continuous-Deployment-Project-Template-Helpers
src/projects/SsdtProjectHelper.Common/Interfaces/ISiblingFilesManager.cs
748
C#
#pragma checksum "C:\Users\Reza\source\Workspaces\MicroservicesBMI\WebFramework\WebFramework\Website\Views\Account\Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a5a7bc655f0f023deb673935debef42017d5cb01" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting....
55.442424
293
0.677634
[ "MIT" ]
rezaseptiandra/AssetManagement
Solution/Website/obj/Debug/netcoreapp2.2/Razor/Views/Account/Register.cshtml.g.cs
9,148
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using Coinbase.Wallet; using System.Linq; namespace Coinbase.NetSDK.UnitTest.Wallet { [TestClass] public class AccountTest : TestEssential { [TestMethod] public void ListA...
26.357143
110
0.631436
[ "MIT" ]
Haiping-Chen/Coinbase.NetSDK
Coinbase.NetSDK.UnitTest/Wallet/AccountTest.cs
1,109
C#
// Copyright (c) 2015 Augie R. Maddox, Guavaman Enterprises. All rights reserved. #pragma warning disable 0219 #pragma warning disable 0618 #pragma warning disable 0649 namespace Rewired.UI.ControlMapper { using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using UnityE...
40.275362
267
0.566463
[ "MIT" ]
Constrained-Development/Magmescape
src/Assets/Plugins/Rewired/Extras/ControlMapper/Scripts/InputBehaviorWindow.cs
13,897
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotNetify { public interface IMasterViewVM { IBaseVM GetSubVM(string vmTypeName, string vmInstanceId); void OnSubVMDisposing(IBaseVM subVM); void OnSubVMCreated...
23.941176
65
0.72973
[ "Apache-2.0" ]
lrhmx/dotNetify
DotNetifyLib.Core/IMasterViewVM.cs
409
C#
using System; using System.Data.Common; using System.Threading; using System.Threading.Tasks; using Baseline; using Marten.Services; using Npgsql; namespace Marten.Schema { public class HierarchicalDocumentStorage<T> : DocumentStorage<T> where T : class { private readonly DocumentMapping _hierarchy; ...
36.3625
133
0.650739
[ "MIT" ]
Maximusya/marten
src/Marten/Schema/HierarchicalResolver.cs
2,909
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable enable using System; using System.Collections.Generic; using System.Linq; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Abstractions.Template...
55.401575
173
0.742325
[ "MIT" ]
2mol/templating
test/Microsoft.TemplateEngine.Cli.UnitTests/TemplateSearcherTests.cs
7,036
C#
using Cysharp.Threading.Tasks; using LWFramework.Core; using System.Collections; using System.Collections.Generic; using UnityEngine; public class UILoadAB : IUILoad { public Sprite GetSprite(string path) { var asset = MainManager.Instance.GetManager<IAssetsManager>().Load<UnityEngine.Sprite>(path); ...
29.142857
101
0.720588
[ "Apache-2.0" ]
chen0123bin/MyTools
ToolsProject/Assets/Packages/LWFramework/Runtime/_UI/UILoadAB.cs
850
C#
using System; using System.Collections.Generic; using WEBCON.FormsGenerator.BusinessLogic.Domain.Exceptions; namespace WEBCON.FormsGenerator.BusinessLogic.Domain.Model { public class BpsWorkflow : BpsEntity { public BpsWorkflow() { } public BpsWorkflow(Guid guid, string name, B...
33.791667
110
0.674476
[ "MIT" ]
WEBCON-BPS/public-forms
WEBCON.FormsGenerator.BuisnessLogic/Domain/Model/BpsWorkflow.cs
813
C#
using System.Threading; using System.Threading.Tasks; using Manatee.Trello.Internal.Caching; using Manatee.Trello.Internal.Synchronization; namespace Manatee.Trello { /// <summary> /// A read-only collection of scaled versions of board backgrounds. /// </summary> public class ReadOnlyBoardBackgroundScal...
30.060606
109
0.733871
[ "MIT" ]
Muhammad1Nouman/Manatee.Trello
Manatee.Trello/ReadOnlyBoardBackgroundScalesCollection.cs
994
C#
namespace CookingHub.Services.Data.Tests { using System; using System.Reflection; using System.Threading.Tasks; using CookingHub.Data; using CookingHub.Data.Models; using CookingHub.Data.Repositories; using CookingHub.Models.ViewModels.Contacts; using CookingHub.Services.Data.Contracts...
34.423913
117
0.641932
[ "MIT" ]
IvanMihovpz/CookingHub
src/Tests/CookingHub.Services.Data.Tests/ContactsServiceTests.cs
3,169
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Net.Sockets; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace System.Net.NameResolution.Tests { [CollectionDefinition("NoParallelTests...
34.517857
126
0.669426
[ "MIT" ]
3DCloud/runtime
src/libraries/System.Net.NameResolution/tests/FunctionalTests/TestSettings.cs
1,933
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...
49.24359
253
0.636206
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Storage/V20210401/BlobServiceProperties.cs
11,529
C#
/*----------------------------------------------------------------------- Copyright (c) Microsoft Corporation. Licensed under the MIT license. -----------------------------------------------------------------------*/ using Dapper; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collect...
40.761421
222
0.594147
[ "MIT" ]
JonHarding/azure-data-services-go-fast-codebase
solution/FunctionApp/TaskMetaData/GetTaskInstanceJSON/ADFJsonBaseTask.cs
16,060
C#
using System.Collections.Generic; using System.Linq; using AdventOfCode.Common; using JetBrains.Annotations; namespace AdventOfCode.Solutions._2015._14; [UsedImplicitly] public class Year2015Day14 : ISolution { public object Part1(IEnumerable<string> lines) { var deers = GetDeers(lines); var enumerable = deers ...
20.734694
78
0.643209
[ "MIT" ]
PDmatrix/advent-of-code
CSharp/Solutions/2015/14/Year2015Day14.cs
2,032
C#
using System; using System.Data; using System.Security.Cryptography.X509Certificates; using DbUp; using DbUp.Builder; using DbUp.Engine.Output; using DbUp.Engine.Transactions; using DbUp.Postgresql; using Npgsql; // ReSharper disable once CheckNamespace /// <summary> /// Configuration extension methods for PostgreSQ...
44.387387
194
0.670591
[ "MIT" ]
ajhall/DbUp
src/dbup-postgresql/PostgresqlExtensions.cs
9,856
C#
using NSL.Runtime; using NSL.Tokenization.General; namespace NSL.Executable { public interface IInstruction { Position Start { get; } Position End { get; } int IndentDiff { get; } void Execute(Runner.State state); } public abstract class InstructionBase : IInstruction ...
23.344828
63
0.602659
[ "MIT" ]
bt7s7k7/NSL
src/NSLCSharp/Executable/InstructionBase.cs
677
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Xml.Linq; using Dapper; using EQService.ApiSubmissionModel; using EQService.MessageArguments; using EQService.MessageHandlers; using EQService.MessageTypeModels; namespace EQServ...
41.147929
133
0.588295
[ "MIT" ]
Saifune87/EQSample
MessageTypesHandlers/ShipToHomeMessageTypeHandler.cs
6,956
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Composition; namespace StarkPlatform.Compiler.Options.Providers { [AttributeUsage(AttributeTargets.Class)] internal seale...
30.5625
161
0.738241
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Workspaces/Options/Providers/ExportOptionProviderAttribute.cs
491
C#
using DatabaseUpgraderLib; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using DatabaseModelLib; using SqlDatabaseModelLib; namespace SqlDatabaseUpgraderLib { public class SqlDatabaseUpgrader : DatabaseUpgrader<SqlConn...
25.223301
137
0.677252
[ "MIT" ]
dfgs/MVVMLib
SqlDatabaseUpgraderLib/SqlDatabaseUpgrader.cs
5,198
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.Code...
42.092784
138
0.647808
[ "MIT" ]
jannesrsa/Meziantou.Analyzer
src/Meziantou.Analyzer/Rules/NamedParameterFixer.cs
4,085
C#
using System; using System.CodeDom.Compiler; using System.IO; using System.Linq; using System.Runtime.Serialization; using ysoserial.Helpers; namespace ysoserial.Generators { [Serializable] public class PayloadClassFromFile : PayloadClass { protected PayloadClassFromFile(SerializationInfo info, St...
38.424242
316
0.630915
[ "MIT" ]
ekgg/ysoserial.net
ysoserial/Generators/ActivitySurrogateSelectorFromFileGenerator.cs
2,538
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Node { public int X; public int Y; public bool IsWall; public Vector3 Position; public Node ParentNode; public int G;//현재 비용 public int H;//맨해튼 거리 사용 public int F { get { return G + H; } } ...
17.428571
64
0.602459
[ "MIT" ]
gaebhi/PathFinder_A-Star
Assets/Scripts/Path/Node.cs
512
C#
namespace FunnelWeb.Settings { public interface ISettings { } }
13.5
31
0.617284
[ "BSD-3-Clause" ]
dsmalik/FunnelWeb
src/FunnelWeb/Settings/ISettings.cs
78
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
63.391304
340
0.697417
[ "MIT" ]
Agazoth/azure-powershell
src/Migrate/generated/api/Models/Api20210210/TestFailoverCleanupInputProperties.PowerShell.cs
8,611
C#
using SIS.MvcFramework.Attributes.Validation; namespace PandaRTA.Web.ViewModels { public class LoginInputModel { [RequiredSis] [StringLengthSis(5, 20, "Username should be between 5 and 20 characters")] public string Username { get; set; } [RequiredSis] public string Pa...
24.857143
82
0.652299
[ "MIT" ]
EmORz/SULS
Apps/PandaRTA/PandaRTA.Web/ViewModels/Users/LoginInputModel.cs
350
C#
using System.Drawing; using System.Windows.Forms; using CefSharp.WinForms; using TweetDuck.Browser; using TweetDuck.Browser.Base; using TweetDuck.Controls; using TweetDuck.Management; using TweetDuck.Utils; using TweetLib.Core.Features; namespace TweetDuck.Dialogs { sealed partial class FormGuide : Form, FormManager...
24.60274
84
0.695991
[ "MIT" ]
chylex/TweetDick
windows/TweetDuck/Dialogs/FormGuide.cs
1,798
C#
using NUnit.Framework; using System; public class DatabaseTests { private Database database; private readonly int[] initialData = new int[] { 1, 2 }; [SetUp] public void Setup() { this.database = new Database(initialData); } [TestCase(new int[] { 1, 2, 3 })] [TestCase(new in...
26.03
132
0.578947
[ "MIT" ]
tonchevaAleksandra/C-Sharp-OOP
UnitTesting/Database.Tests/DatabaseTests.cs
2,603
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; namespace Data.Data.Migrations { [DbContext(typeof(ECommerceDbContext))] partial class ECommerceDbContextModelSnapshot : ModelSnapshot { prot...
30.1875
114
0.639752
[ "MIT" ]
pedrofrohmut/ecommerce-webapi
ECommerce/Data/Data/Migrations/ECommerceDbContextModelSnapshot.cs
1,451
C#
/******************************************************************************* * Copyright 2012-2019 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...
48.828205
247
0.593289
[ "Apache-2.0" ]
JekzVadaria/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMSSHPublicKeyList-Cmdlet.cs
19,043
C#
//----------------------------------------------------------------------- // <copyright file="ClientGeneratorBase.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsuter.com<...
49.190476
165
0.633107
[ "MIT" ]
alexdresko/NSwag
src/NSwag.CodeGeneration/ClientGeneratorBase.cs
8,264
C#
using System.Collections.Generic; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Organizations; using Abp.Runtime.Caching; using Abp.Zero.Configuration; using UniSolution.Ebse...
33.886364
83
0.652582
[ "MIT" ]
ebsene/unisolution-ebsene
aspnet-core/src/UniSolution.Ebsene.Core/Authorization/Roles/RoleManager.cs
1,491
C#
// Toony Colors Pro+Mobile 2 // (c) 2014-2019 Jean Moreno using System; using System.Collections.Generic; using System.Globalization; using System.IO; using UnityEditor; using UnityEngine; // Utility to generate custom Toony Colors Pro 2 shaders with specific features public partial class TCP2_ShaderGenerator : Edit...
28.094595
199
0.63962
[ "Unlicense" ]
mehmetcanari/Seasaw-Delivery
Seasaw Delivery/Assets/Assets/JMO Assets/Toony Colors Pro/Editor/TCP2_ShaderGenerator.UIFeatures.cs
27,029
C#
/* Copyright 2012 Nils Kopal, Uni Duisburg-Essen the underlying password strength algorithm was obtained from http://people.mozilla.org/~jfinette/public_html/topics/passwords/test/ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file...
50.431138
237
0.547435
[ "Apache-2.0" ]
CrypToolProject/CrypTool-2
CrypPlugins/PasswordStrength/PasswordStrength.cs
33,691
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Adribot.src.entities { public class Guild { public ulong GuildId { get; set; } public List<Member> Members { get; set; } } }
18.5
49
0.679537
[ "Apache-2.0" ]
DKnightADRI/Adribot
Adribot/src/entities/Guild.cs
261
C#
namespace TaskList.Helpers { public static class Locations { public static readonly string AppServiceUrl = "https://zumobook-chapter5.azurewebsites.net"; public static readonly string AlternateLoginHost = null; public static readonly string AadClientId = "75e20edb-2809-4849-8fd8-89d26e...
45.571429
116
0.730408
[ "MIT" ]
adrianhall/develop-mobile-apps-with-csharp-and-azure
Chapter5/TaskList/TaskList/Helpers/Locations.cs
640
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Microsoft.Spar...
37.048193
87
0.625041
[ "MIT" ]
AFFogarty/spark
src/csharp/Microsoft.Spark.Worker.UnitTest/DaemonWorkerTests.cs
3,075
C#
using System.Linq; using Algorithms.SortAlgorithms; namespace AlgorithmsTests.SortAlgorithms { class SorterDoubleTester: ISorterTester<double> { private const int testLength = 50; public void TestSortedSequence(ISorter<double> sorter) { var baseSequense = Enumerable ...
30.955556
69
0.523331
[ "MIT" ]
PranamBhat/Algorithms
AlgorithmsTests/SorterHelper/SorterDoubleTester.cs
1,395
C#
using System.Threading; using System.Threading.Tasks; using EasyNetQ; using EasyNetQ.Topology; using Microsoft.Extensions.Options; using Realmar.Jobbernetes.Infrastructure.Options.RabbitMQ; namespace Realmar.Jobbernetes.Infrastructure.Messaging.EasyNetQ { internal static class BusExtensions { internal ...
53.46
121
0.521137
[ "Apache-2.0" ]
realmar/Jobbernetes
job-system/Realmar.Jobbernetes.Infrastructure/Messaging/EasyNetQ/BusExtensions.cs
2,673
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Diagnostics.Tracing; using Azure.Core.Diagnostics; namespace Azure.Messaging.EventHubs.Processor.Diagnostics { /// <summary> /// EventSource for Azure-Messaging-EventHubs-Processor-BlobEventStore tra...
68.062366
244
0.604474
[ "MIT" ]
PSanetra/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Diagnostics/BlobEventStoreEventSource.cs
31,649
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using Captura.Video; using SharpDX.Direct3D; using SharpDX.Direct3D11; namespace Captura.Windows.MediaFoundation { // ReSharper disable once ClassNeverInstantiated.Global public class MfWriterProvider : IVideoWriterProvider { ...
27.184211
115
0.662149
[ "MIT" ]
121986645/Captura
src/Captura.Windows/MediaFoundation/MfWriterProvider.cs
1,035
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Triples_of_Letters { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); for (int i1 = 0; i1 < n; i1++) ...
25.3125
90
0.412346
[ "MIT" ]
vasilchavdarov/SoftUniHomework
Projects/Intiger and real numbers/Triples of Letters/Program.cs
812
C#
using System; using UnityEngine; namespace UTJ { [Serializable] public class DataPath { public enum Root { CurrentDirectory, PersistentDataPath, StreamingAssetsPath, TemporaryCachePath, DataPath, } public Root m_r...
24.301587
59
0.436969
[ "MIT" ]
SanukGames/NVIDIAHairWorksIntegration
HairWorksIntegration/Assets/UTJ/Misc/Scripts/DataPath.cs
1,531
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; namespace WebApplication1.Account { public partial class VerifyPhoneNumber : System.Web.UI.Page { ...
35.4
113
0.614689
[ "CC0-1.0" ]
BlackWinged/testApp
WebApplication1/Account/VerifyPhoneNumber.aspx.cs
1,772
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.5456 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated...
45.086595
718
0.614029
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
XenOvfApi/Properties/Settings.Designer.cs
38,010
C#
using System.Xml.Serialization; namespace CarDealer.DTO.ExportDtos { [XmlType("car")] public class ExportSaleCarsDto { [XmlAttribute("make")] public string Make { get; set; } [XmlAttribute("model")] public string Model { get; set; } [XmlAttribute("travelled-distan...
21.555556
53
0.613402
[ "MIT" ]
Siaa17/softuni-csharp-modules
CSharp Entity Framework Core/CSharpEFCore - XML Processing - CarDealerDb/CarDealer/DTO/ExportDtos/ExportSaleCarsDto.cs
390
C#
using System; using System.Collections.Generic; using System.Text; namespace IspcaNotas.Features.Enums { public enum EnumAdmCRUD { Cadastrar = 1, Editar = 0 } }
14.692308
35
0.65445
[ "MIT" ]
Abeltomas16/Notas-ISPCAN
IspcaNotas/IspcaNotas/Features/Enums/EnumAdmCRUD.cs
193
C#
using HDF5CSharp.DataTypes; using Microsoft.Extensions.Logging; using System; using System.Buffers; using System.Threading.Tasks; namespace HDF5CSharp.Example.DataTypes { [Hdf5GroupName("eit")] public class EIT : Hdf5BaseFile, IDisposable { [Hdf5EntryName("configuration")] public string Configurat...
40.485549
178
0.556111
[ "MIT" ]
DavidSabbah/HDF5-CSharp
HDF5-CSharp.Example/DataTypes/EIT.cs
7,006
C#
using Assets.Gamelogic.Core; using Improbable.Core; using Improbable.Unity; using Improbable.Unity.Core; using Improbable.Unity.Visualizer; using UnityEngine; namespace Assets.Gamelogic.Player { [EngineType(EnginePlatform.Client)] class PlayerLifecycle : MonoBehaviour { [Require] private ClientAuthority...
22.75
69
0.672161
[ "MIT" ]
teostoleru/SpatialLink
workers/unity/Assets/Gamelogic/Player/PlayerLifecycle.cs
548
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Mi...
36.202247
119
0.638423
[ "MIT" ]
Janani-Sankar/janani-assignments
Assignment3b/EventBrit/TokenServiceApi/Startup.cs
3,224
C#
/* * @author : Jagepard <jagepard@yandex.ru> * @license https://mit-license.org/ MIT */ namespace CsDesignPatterns_Interpreter { internal class Album : IAlbum { private readonly string _name; private readonly string _author; public Album(string author, string name) { ...
18.366667
48
0.529946
[ "MIT" ]
Jagepard/CsDesignPatterns-Interpreter
Album.cs
553
C#
using Pchp.Core; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Pchp.Core.Utilities; namespace Pchp.Library { public static partial class PhpPath { #region Cons...
37.55
146
0.52134
[ "Apache-2.0" ]
G7h7/peachpie
src/Peachpie.Library/FileSystem.Path.cs
14,271
C#
using System; using System.Collections.Generic; using PureToContensisImporter.Contensis; using PureToContensisImporter.Pure; namespace PureToContensisImporter { class Program { static void Main(string[] args) { // 1. Get list of current staff from Pure var pureClient =...
31.772727
133
0.538865
[ "MIT" ]
UniversityOfBrightonComputing/PureToContensisImporter
PureToContensisImporter/Program.cs
2,099
C#
using System; namespace YoloTrain.Mvvm.ApplicationServices { /// <summary> /// IDispatcher /// </summary> public interface IDispatcher { /// <summary> /// Executes the specified delegate with the specified arguments on the thread the <see cref="System.Windows.Threading.Dispatcher" ...
44.190476
176
0.665948
[ "MIT" ]
judwhite/YoloTrain
YoloTrain/Mvvm/ApplicationServices/IDispatcher.cs
930
C#
using System.Linq; namespace Algo.Sorting { /// <summary> /// QuickSort implementation. /// </summary> public class QuickSort : Sorter<int> { /// <summary> /// Sorts the elements of an array. /// </summary> /// <param name="input">The input array.</param> //...
26
80
0.433984
[ "MIT" ]
scripni/algo
Algo/Algo/Sorting/QuickSort.cs
1,744
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
44.09375
165
0.59674
[ "MIT" ]
BloodARG/tModLoaderTShock
TShock-general-devel/TShockAPI/Resources.Designer.cs
2,761
C#
using System.Linq; using System.Threading; using System.Threading.Tasks; using JetBrains.Collections.Viewable; using JetBrains.Core; using JetBrains.Lifetimes; using JetBrains.Rd.Reflection; using JetBrains.Rd.Tasks; using NUnit.Framework; namespace Test.RdFramework.Reflection { /// <summary> /// Live models can ...
27.304762
116
0.676666
[ "Apache-2.0" ]
IlyaAI/rd
rd-net/Test.RdFramework/Reflection/ProxyGeneratorModelTest.cs
2,869
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.239 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
37.512821
141
0.568353
[ "MIT" ]
sdrmaps/dotspatial
Source/DotSpatial.Serialization/Properties/Resources.Designer.cs
2,928
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
31.666667
85
0.511278
[ "MIT" ]
NinoSimeonov/Telerik-Academy
Databases/08. Entity Framework/Northwind.Models/Order_Subtotal.cs
665
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Runtime.CompilerServices; // ReSharper disable CompareOfFloatsByEqualityOperator namespace SixLabors.ImageSharp.ColorSpaces { /// <summary> /// Represents the coordinates of CIEXY chrom...
43.835443
138
0.635865
[ "Apache-2.0" ]
HighEndGuy/ImageSharp
src/ImageSharp/ColorSpaces/CieXyChromaticityCoordinates.cs
3,465
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using RazorStripe.Data; using RazorStripe.Models; namespace RazorStripe.A...
34.354839
142
0.648357
[ "MIT" ]
DragonMastery/RazorStripe
Areas/Identity/Pages/Account/Manage/ResetAuthenticator.cshtml.cs
2,132
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using ContosoUniversity.Models; namespace ContosoUniversity.Pages.Courses { public class Detail...
25.181818
76
0.562274
[ "MIT" ]
LouisT123/EFCoreRazorPAges
ContosoUniversity/ContosoUniversity/Pages/Courses/Details.cshtml.cs
1,108
C#
 using System; using System.Runtime.Serialization; namespace WOWSharp.Community.Wow { /// <summary> /// Item source types /// </summary> [Flags] [DataContract] public enum ItemSourceTypes { /// <summary> /// None /// </summary> [EnumMember(Value = "NONE"...
21.982143
50
0.483347
[ "MIT" ]
Shogobg/Blizzard.net-API
WOWSharp.Community/Wow/Items/ItemSourceTypes.cs
1,233
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using System.Reflection; namespace GrayStorm { public partial class shellcode : UserControl { #region init Gra...
41.189922
202
0.590007
[ "MIT" ]
GrayKernel/GrayStorm
GUI/shellcode.cs
10,629
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Euler.Problems { public class euler7 : problem { public euler7() { int primeCount = 0; int i = 0; while(primeCount <= 10001) { if (isPrime(i)) { primeCount++; } i++; } ...
15.044444
53
0.595273
[ "MIT" ]
Mastermindzh/c-sharp-testing-ground
c#/Euler/src/Euler/Problems/euler7.cs
679
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> //---...
41.458333
80
0.652261
[ "MIT" ]
Cicerofer/Udemy_Poo_Projetos_CSharp
Ler_Nomes_Notas/Ler_Nomes_Notas/obj/Debug/netcoreapp3.1/Ler_Nomes_Notas.AssemblyInfo.cs
995
C#
using FluentHub.Helpers; using FluentHub.Octokit.Queries.Repositories; using FluentHub.ViewModels.Repositories; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace FluentHub.Vi...
34.324324
128
0.63937
[ "MIT" ]
esibruti/FluentHub
src/FluentHub/ViewModels/UserControls/Blocks/FileContentBlockViewModel.cs
2,542
C#
using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 namespace Famoser.MassPass.Presentation.UniversalWindows.Pages.ContentPages { /// <summary> /// An empty page that can be used on its own or navigated to withi...
27.916667
94
0.664179
[ "MIT" ]
famoser/MassPass
Famoser.MassPass.Presentation.UniversalWindows/Pages/ContentPages/FolderContentPage.xaml.cs
672
C#
#nullable enable namespace Avalonia.Data.Core { interface ITransformNode { object? Transform(object? value); } }
13.5
41
0.651852
[ "MIT" ]
jairbubbles/Avalonia
src/Avalonia.Base/Data/Core/ITransformNode.cs
137
C#
using AutoMapper; using LinqKit; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using TestCase.DataAccess.Contracts; using TestCase.DataAccess.Entities.Locking; using TestCase.Model.Locking; using TestCase.Reposit...
42.8
161
0.633532
[ "MIT" ]
darjanbogdan/test-case
src/TestCase.Repository/Locking/LockRepository.cs
7,064
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; namespace ArtShop.Web.Models.ManageViewModels { public class ExternalLoginsViewModel { public IList<UserLoginInfo> CurrentLog...
24.714286
68
0.73025
[ "MIT" ]
Rusev12/ArtShop-ASP.NET-Core-MVC
ArtShop.Web/ArtShop.Web/Models/ManageViewModels/ExternalLoginsViewModel.cs
521
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.IO; using System.Collections; using System.Globalization; using System.Text; using System.Threading; using System.Runtime.CompilerServices; ...
33.532578
164
0.451212
[ "MIT" ]
ProgramFOX/corefx
src/System.IO.FileSystem/tests/Directory/GetDirectories_str.cs
11,839
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.WebSockets; using System.Reflection; using System.Text.Json; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Mic...
42.493506
239
0.643847
[ "Apache-2.0" ]
VelvetThePanda/SilkBot
src/Silk/Utilities/IServiceCollectionExtensions.cs
9,816
C#
using System; using System.Collections.Generic; using UnityEditor; namespace Obi { [InitializeOnLoad] public class ObiOniInitialize { private static BuildTargetGroup[] supportedBuildTargetGroups = { BuildTargetGroup.Standalone, BuildTargetGroup.Android, ...
27.972973
113
0.578744
[ "Apache-2.0" ]
Kasunay/Venomx
Assets/Obi/Editor/Common/ObiOniInitialize.cs
1,037
C#
using System.ComponentModel.DataAnnotations; namespace yzn.Users.Dto { public class ChangeUserLanguageDto { [Required] public string LanguageName { get; set; } } }
19.2
48
0.677083
[ "MIT" ]
sesamefly/abp
aspnet-core/src/yzn.Application/Users/Dto/ChangeUserLanguageDto.cs
192
C#