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
// 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.Threading.Tasks; using CommunityToolkit.Common.Helpers; using Windows...
42.159091
116
0.635849
[ "MIT" ]
w-ahmad/WindowsCommunityToolkit
CommunityToolkit.WinUI/Helpers/ObjectStorage/ApplicationDataStorageHelper.CacheFolder.cs
3,710
C#
using System.Threading.Tasks; using Hyperledger.Indy.PoolApi; using Streetcred.Sdk.Contracts; using Streetcred.Sdk.Utils; namespace Streetcred.Sdk.Runtime { /// <inheritdoc /> public class DefaultPoolService : IPoolService { protected static Pool Pool; /// <inheritdoc /> public vi...
30.375
107
0.661523
[ "Apache-2.0" ]
dznz/streetcred-sdk
src/Streetcred.Sdk/Runtime/DefaultPoolService.cs
974
C#
using System; namespace DlibDotNet.Dnn { public sealed class Adam : Solver { #region Constructors public Adam() : this(0.0005f, 0.9f, 0.999f) { } public Adam(float weightDecay, float momentum1, float momentum2) { this...
19.034483
88
0.488225
[ "MIT" ]
thanhthai18/DlibDotNet
src/DlibDotNet/Dnn/Adam.cs
1,106
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MultiSelectionCalendar; using Reunion.Common; using Reunion.Common.Model; using Reunion.Web.Models; using TUtils.Common.MVC; namespace Reunion.Web.Controllers { public class ParticipantController : Con...
33.5
111
0.752593
[ "MIT" ]
Tommmi/Reunion
source/Reunion.Web/Controllers/ParticipantController.cs
3,955
C#
using System.IO; using System.Net; using System.Text; using Xunit; namespace RequestReduce.Facts.Integration { public class SassLessCoffeeFacts { [Fact] public void WillGetCompilesLessAsCss() { const string expected = "#header {\n color: #4d926f;\n}\n"; ...
35.975
145
0.565323
[ "Apache-2.0" ]
andrewdavey/RequestReduce
RequestReduce.Facts.Integration/SassLessCoffeeFacts.cs
2,880
C#
using System.IO; using System.Linq; using System.Text; using Microsoft.Xna.Framework.Graphics; using SpaceShared; using StardewModdingAPI; using StardewValley; namespace SpaceCore.Framework { internal static class Commands { internal static void Register() { Command.Register("player...
41.025806
118
0.493159
[ "MIT" ]
ChulkyBow/StardewValleyMods
SpaceCore/Framework/Commands.cs
6,359
C#
using System.Collections.Generic; using Orchard.Mvc.Routes; using Orchard.WebApi.Routes; namespace Meso.TyMetro.Routing { public class RoleApiRoutes : IHttpRouteProvider { public IEnumerable<Orchard.Mvc.Routes.RouteDescriptor> GetRoutes() { return new[]{ new HttpRo...
27.482759
85
0.593476
[ "BSD-3-Clause" ]
pochuan0720/OrchardMeso1.10.2
src/Orchard.Web/Modules/Meso.TyMetro/Routing/RoleApiRoutes.cs
799
C#
using System; using System.Collections.Generic; using StandWorld.Definitions; using StandWorld.Helpers; using StandWorld.Visuals; using UnityEngine; namespace StandWorld.Entities { public class Mountain : Tilable { private ConnectedTilable _connectedTilable; public Mountain(Vector2Int...
26.777778
74
0.59751
[ "MIT" ]
Stand1k/StandWorld
Assets/StandWorld/Scripts/Entities/Mountain.cs
966
C#
namespace RTCV.Plugins { using System; using System.ComponentModel.Composition; using RTCV.PluginHost; [Export(typeof(IPlugin))] public class TestPlugin : IPlugin { public string Name => "TestPlugin"; public string Description => "Test plugin"; public string Author => "N...
23.882353
103
0.583744
[ "MIT" ]
fossabot/RTCV
Source/Plugins/TestPlugin/TestPlugin.cs
812
C#
namespace P08.MilitaryElite.Models { using Contracts; public class Repair : IRepair { public string PartName { get; private set; } public int HoursWorked { get; private set; } public Repair(string partName, int hoursWorked) { this.PartName = partName; ...
22.608696
82
0.578846
[ "MIT" ]
msotiroff/Softuni-learning
C# Fundamentals Module/CSharp-OOP-Basics/Feb 2018 instance/05.InterfacesAndAbstraction/InterfacesAndAbstraction/P08.MilitaryElite/Models/Repair.cs
522
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...
31.344828
162
0.685369
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/KubernetesConfiguration/Inputs/ScopeNamespaceArgs.cs
909
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityModel; using IdentityServer.Data.Entities; using IdentityServer4.Events; using IdentityServer4.Extensions; using IdentityServer4...
41.263298
150
0.563906
[ "MIT" ]
dodandeniya/MyAppointments
myAppointments-service/IdentityServer/Quickstart/Account/AccountController.cs
15,515
C#
using System; using System.Collections.Generic; using System.Text; using YTLiveLib.Classes.API; namespace YTLiveLib.Events { public class ReceiveMessageArgs : EventArgs { public ChatMessage ChatMessage; public ReceiveMessageArgs(ChatMessage message) { ChatMessage = message; } ...
21.866667
56
0.698171
[ "MIT" ]
jpdante/YTLiveLib
YTLiveLib/Events/ReceiveMessageArgs.cs
330
C#
namespace ScalaWay.Domain.Abstractions.Auditing { public interface IHasCreationTime { DateTime CreateTime { get; set; } } public interface IHasCreationTime<TIdentityKey> : IHasCreationTime { TIdentityKey CreatorId { get; set; } } }
22.75
70
0.673993
[ "MIT" ]
ScalaWay/ScalaWay
src/ScalaWay.Domain.Abstractions/Auditing/IHasCreationTime.cs
275
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
35.566038
154
0.525199
[ "MIT" ]
mgnz/squidex
src/Squidex/Areas/Api/Controllers/Apps/Models/ContributorDto.cs
1,888
C#
// DbgDraw for Unity. Copyright (c) 2019 Peter Schraut (www.console-dev.de). See LICENSE.md // https://github.com/pschraut/UnityDbgDraw using UnityEngine; #pragma warning disable IDE0018 // Variable declaration can be inlined #pragma warning disable IDE0017 // Object initialization can be simplified namespace Oddworm...
35.5
115
0.659805
[ "MIT" ]
pschraut/UnityDbgDraw
Runtime/Core/DbgDraw.Line.cs
925
C#
using Blogifier.Core.Extensions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace App { public class Startup { ...
25.644444
79
0.594454
[ "MIT" ]
jwmxyz/Blogifier.Core
src/App/Startup.cs
1,154
C#
using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; namespace MoneroInteractive.WebApp.Localization { public class LocalizationConfiguration { public string[] AvailableLanguages { get; set; } ...
23.75
59
0.734211
[ "MIT" ]
leonardochaia/xmr-tutorials
MoneroInteractive.WebApp/Localization/LocalizationConfiguration.cs
382
C#
using System; using System.Collections.Generic; using ParadoxNotion; using ParadoxNotion.Serialization.FullSerializer; namespace ParadoxNotion.Serialization { ///Handles UnityObject references serialization public class fsUnityObjectConverter : fsConverter { public override bool CanProcess(Type ty...
33.296703
160
0.572937
[ "MIT" ]
Marcgs96/Guild-Master
Guild Master/Assets/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/fsUnityObjectConverter.cs
3,032
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Storage")] [assembly: AssemblyDescription("This plugin acquires Storage data. Values come from th...
43.607143
191
0.757576
[ "BSD-3-Clause" ]
sebastianzillessen/MISD-OWL
Code/MISDCode/MISD.Plugins.Linux/Storage/AssemblyInfo.cs
1,224
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO.Abstractions.TestingHelpers; using System.Collections.Generic; using Cmf.Common.Cli.Objects; using Cmf.Common.Cli.Commands; using Cmf.Common.Cli.Handlers; using System.CommandLine; using System.CommandLine.Invocation; using System.IO.Abstractions; usin...
40.851752
184
0.343824
[ "BSD-3-Clause" ]
cesarmeira90/cli
tests/Specs/JsonValidator.cs
15,156
C#
using System; using FluentFTP.Servers; using FluentFTP.Helpers; #if !CORE using System.Web; #endif #if (CORE || NETFX) using System.Threading; #endif #if ASYNC using System.Threading.Tasks; #endif using System.Linq; namespace FluentFTP { public partial class FtpClient : IFtpClient, IDisposable { #region Derefere...
30.796009
154
0.680251
[ "MIT" ]
Dylan-DutchAndBold/FluentFTP
FluentFTP/Client/FtpClient_FileProperties.cs
13,891
C#
using JustBenchmark.BenchmarkExecutors; using System; using System.Reflection; using System.Threading.Tasks; namespace JustBenchmark { /// <summary> /// Parallel line benchmark for method returns Task /// </summary> public class ParallelTaskBenchmarkAttribute : Attribute, IBenchmarkExecutor { /// <sum...
26.530303
79
0.63735
[ "MIT" ]
OldMansClub/JustBenchmark
JustBenchmark/BenchmarkExecutors/ParallelTaskBenchmarkAttribute.cs
1,753
C#
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "51D069302E1354B97D588B2282D61C0CBB8F79990C95F9F5818AE1D38FE05F48" //------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Exe...
32.295775
142
0.621457
[ "Unlicense" ]
rcaropreso/RDAGen
RDAGen/obj/Debug/App.g.cs
2,304
C#
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.Logic)] [Tooltip("Tests if the value of a string variable has changed. Use this to send an event on change, or store a bool that can be used in other operatio...
22.730769
157
0.677665
[ "MIT" ]
aiden-ji/oneButtonBoB
Assets/PlayMaker/Actions/Logic/StringChanged.cs
1,182
C#
using HeadlessSc.Areas.Headless.Models; namespace HeadlessSc.Pipelines.GetFieldModel { public class GetDefaultFieldModelProcessor : IHeadlessGetFieldModelPipeline { public void Process(GetFieldModelArgs args) { if (args.Result != null || !args.Field.HasValue) return...
30.857143
92
0.650463
[ "MIT" ]
BissTalk/vue-headless-sitecore
src/Foundation/code/HeadlessSc/Pipelines/GetFieldModel/GetDefaultFieldModelProcessor.cs
434
C#
using System; using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; namespace LanguageExt.ClassInstances { /// <summary> /// Integer number /// </summary> public struct TChar : Eq<char>, Ord<char>, Monoid<char>, Arithmetic<char> { public static readonly TChar Inst = default(T...
28.182927
81
0.494591
[ "MIT" ]
1iveowl/language-ext
LanguageExt.Core/ClassInstances/TChar.cs
2,313
C#
namespace Merchello.Core.Gateways { using System; using System.Collections.Generic; using Models; using Services; using Umbraco.Core.Cache; /// <summary> /// Defines the GatewayBase /// </summary> public abstract class GatewayProviderBase : IProvider { #region Fields ...
34.47619
179
0.620994
[ "MIT" ]
cfallesen/Merchello
src/Merchello.Core/Gateways/GatewayProviderBase.cs
3,622
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { [JsonObject(MemberSerialization.OptIn)] [JsonConverter(typeof(ReadAsTypeJsonConverter<TypeMapping>))] public interface ITypeMapping { [JsonProperty("dynamic_date_formats")] IEnumerable<string> DynamicDateFormats { get; set...
43.178571
217
0.734595
[ "Apache-2.0" ]
lukapor/NEST
src/Nest/Mapping/TypeMapping.cs
9,674
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...
32.313559
101
0.612379
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.cs
3,813
C#
using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace NetCoreKit.Infrastructure.AspNetCore.Configuration { public static class ConfigurationExtensions { public static string GetHostUri(this IConfiguration config, IHostingEnvironment env, string groupName) { ...
32.092593
111
0.683208
[ "MIT" ]
toanvo/netcorekit
src/NetCoreKit.Infrastructure.AspNetCore/Configuration/ConfigurationExtensions.cs
1,733
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime...
30.729167
139
0.678644
[ "MIT" ]
InMyBload/et6.0-ilruntime
Unity/Assets/Clod/ILBinding/ETModel_HotfixHelper_Binding.cs
1,475
C#
using MediatR; using StructureMap; namespace SFA.DAS.EmployerAccounts.DependencyResolution { public class MediatorRegistry : Registry { public MediatorRegistry() { For<IMediator>().Use<Mediator>(); For<MultiInstanceFactory>().Use<MultiInstanceFactory>(c => c.GetAllInsta...
28.866667
90
0.655889
[ "MIT" ]
SkillsFundingAgency/das-employeraccounts
src/SFA.DAS.EmployerAccounts/DependencyResolution/MediatorRegistry.cs
435
C#
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using Thrift; using Thrift.Collections; using System.Runtime.Serializati...
24.506897
76
0.536232
[ "MIT" ]
Banandana/LineSharp
LINE/gen-csharp/ProductList.cs
7,107
C#
using System; using Org.BouncyCastle.Crypto.Parameters; namespace Org.BouncyCastle.Crypto.Modes { /** * implements a Output-FeedBack (OFB) mode on top of a simple cipher. */ public class OfbBlockCipher : IBlockCipher { private byte[] IV; private byte[] ofbV; ...
30.938547
84
0.506501
[ "BSD-3-Clause" ]
GaloisInc/hacrypto
src/C#/BouncyCastle/BouncyCastle-1.7/crypto/src/crypto/modes/OfbBlockCipher.cs
5,538
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
31.298742
111
0.669848
[ "BSD-3-Clause" ]
Armienn/Nea
NeaProgramServer/MainWindow.xaml.cs
9,955
C#
// // Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
35.966667
105
0.662033
[ "BSD-3-Clause" ]
0xC057A/NLog
src/NLog/LayoutRenderers/MachineNameLayoutRenderer.cs
3,237
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> //--...
35.933333
151
0.587199
[ "MIT" ]
KrimReaper/L0002B
Task-3/PersonalInfoRegistration/Properties/Settings.Designer.cs
1,080
C#
using System; using System.Collections.Generic; using System.Text; using OpenQA.Selenium; namespace Selenium.Internal.SeleniumEmulation { internal class GetCookieByName : SeleneseCommand { protected override object HandleSeleneseCommand(IWebDriver driver, string locator, string value) ...
27.882353
105
0.672996
[ "Apache-2.0" ]
hugs/selenium
selenium/src/csharp/WebdriverBackedSelenium/Internal/SeleniumEmulation/GetCookieByName.cs
476
C#
// <copyright file="Models.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> namespace Microsoft.Azure.Networking.Infrastructure.RingMaster.Tools.FiniteModelCheckerUnitTest.GeneralizedDieHard { using System.Collections.Generic; using FiniteModelChecker; ...
40.570248
114
0.57364
[ "MIT" ]
Azure/RingMaster
src/Tools/FiniteModelChecker/UnitTest/GeneralizedDieHard/Models.cs
4,911
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Dapper; using Hangfire.Console; using Hangfire.Server; using HtmlAgilityPack; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Relisten.Api.Models...
37.152778
131
0.55529
[ "MIT" ]
RelistenNet/RelistenApi
RelistenApi/Services/Importers/JerryGarciaComImporter.cs
13,375
C#
using System; using System.Reflection; using NPC; using Pipliz; using Server.AI; using Random = System.Random; namespace Pandaros.Settlers { public static class ExtentionMethods { public static double NextDouble(this Random rng, double min, double max) { return rng.NextDouble() * (...
31.07438
137
0.513032
[ "MIT" ]
pipliz/Pandaros.Settlers
Pandaros.Settlers/Pandaros.Settlers/ExtentionMethods.cs
3,762
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...
27.235294
111
0.556156
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/FraudDetector/Generated/Model/Outcome.cs
3,704
C#
using System.Collections.Generic; using System.Text; namespace LeetCode.P6; public class Solution { private const int HorizontalPadding = 2; // Runtime: 136 ms, (38.25%) // Memory Usage: 37.8 MB, (86.98%) public string Convert(string s, int numRows) { var horizontalLines = new List<char>...
24.375
71
0.514286
[ "MIT" ]
ch200c/leetcode-cs
LeetCode/P6/Solution.cs
1,367
C#
using System; using TreniniDotNet.Common.Data; using TreniniDotNet.Infrastructure.Dapper; using TreniniDotNet.Infrastructure.Database.Testing; namespace TreniniDotNet.Infrastructure.Persistence.Repositories { public abstract class DapperRepositoryUnitTests<TRepository> { protected TRepository Repositor...
33.458333
83
0.722291
[ "MIT" ]
CarloMicieli/TreniniDotNet
Tests/Infrastructure.UnitTests/Persistence/Repositories/DapperRepositoryUnitTests.cs
803
C#
namespace BroachingAnalysis { partial class frmOptions { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
47.815152
160
0.591292
[ "Unlicense" ]
addshore/BroachingAnalysis
BroachingAnalysis/frmOptions.Designer.cs
15,781
C#
/* * API Doctor * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * 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 ...
38
87
0.71
[ "MIT" ]
BarryShehadeh/apidoctor
ApiDoctor.Validation/OData/Function.cs
1,902
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution....
45.213056
292
0.561499
[ "Apache-2.0" ]
Weflac/nodejstools
Common/Product/SharedProject/ProjectNode.cs
269,570
C#
namespace TypeReferences.Demo.Editor { using UnityEditor; using UnityEngine; internal static class InfoBox { public static void Draw(string text) { // Used to add some margin between the the HelpBox and the property. const float marginHeight = 2f; R...
36.236842
107
0.628177
[ "MIT" ]
DanAmador/ClassTypeReference-for-Unity
Samples~/Usage Examples/Editor/InfoBox.cs
1,379
C#
using SlipeServer.Scripting.EventDefinitions; using SlipeServer.Server.Elements; using System; namespace SlipeServer.Scripting { public interface IScriptEventRuntime { void AddEventHandler(string eventName, Element attachedTo, EventDelegate callbackDelegate); void RemoveEventHandler(string ev...
39.36
140
0.748984
[ "MIT" ]
ChronosX88/Slipe-Server
SlipeServer.Scripting/IScriptEventRuntime.cs
986
C#
using SecondHand.Data.Models; using SecondHand.Data.Repositories.Base; using SecondHand.Data.Repositories.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SecondHand.Data.Repositories { public class NotificationsRepository : E...
25.1
99
0.750996
[ "MIT" ]
vixataaa/asp-project
src/SecondHand/SecondHand.Data/Repositories/NotificationsRepository.cs
504
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; namespace PTSharp { class STL { // Binary STL reader is based on the article by Frank Niemeyer ...
43.198556
152
0.432392
[ "MIT" ]
xfischer/PTSharp
STL.cs
11,966
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using SteamAuth; using System.IO.Ports; namespace SteamAuthConsole { class Program { static void Main(string[] args) { SteamGuar...
23.304348
65
0.634328
[ "MIT" ]
CrafterOfWorlds/SteamAuthConsole
Program.cs
538
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> //--...
36.848276
181
0.557365
[ "MIT" ]
dragonfruitnetwork/Dragon6-Locale
DragonFruit.Six.Locale/Objects/Weapons.Designer.cs
5,345
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
49.495146
187
0.631718
[ "MIT" ]
3quanfeng/azure-powershell
src/Batch/Batch/Models/BatchClient.JobSchedules.cs
9,993
C#
using System; using System.IO; using System.Net; using System.Net.Http; using NGitLab.Extensions; using NGitLab.Models; namespace NGitLab.Impl { public partial class HttpRequestor { /// <summary> /// A single request to gitlab, that can be retried. /// </summary> private sealed...
34.53202
110
0.468474
[ "MIT" ]
ubisoft/NGitLabBackup
NGitLab/Impl/HttpRequestor.GitLabRequest.cs
7,012
C#
using System; using System.IO; using System.Security.Cryptography; namespace ByteDev.Crypto.Hashing.Algorithms { /// <summary> /// Represents the hashing algorithm HMACSHA256. /// </summary> public class HmacSha256Algorithm : IHashAlgorithm { private readonly string _key; /// <sum...
33.883333
123
0.557796
[ "MIT" ]
ByteDev/ByteDev.Crypto
src/ByteDev.Crypto/Hashing/Algorithms/HmacSha256Algorithm.cs
2,035
C#
#region Copyright (c) 2017 Leoxia Ltd // -------------------------------------------------------------------------------------------------------------------- // <copyright file="FileSystemInfoFactory.cs" company="Leoxia Ltd"> // Copyright (c) 2017 Leoxia Ltd // </copyright> // // .NET Software Development ...
40.76087
131
0.609333
[ "MIT" ]
leoxialtd/Leoxia.Abstractions
src/Leoxia.Implementations.IO/FileSystemInfoFactory.cs
3,752
C#
//------------------------------------------------------------------------- // Copyright © 2019 Province of British Columbia // // 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://...
41.216216
99
0.636066
[ "Apache-2.0" ]
WadeBarnes/healthgateway
Apps/Common/src/Delegates/IImmunizationDelegate.cs
1,528
C#
using System; using Orchard.ContentManagement; using Orchard.Tasks.Indexing; namespace Orchard.Indexing.Models { public class IndexingTask : IIndexingTask { private readonly IContentManager _contentManager; private readonly IndexingTaskRecord _record; private ContentItem _item; priv...
34.111111
88
0.585505
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Web/Modules/Orchard.Indexing/Models/IndexingTask.cs
1,228
C#
#if UNITY_2019_1_OR_NEWER using UnityEditor; namespace UnityAtoms.Editor { /// <summary> /// Constant property drawer of type `GameObject`. Inherits from `AtomDrawer&lt;GameObjectConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`. /// </summary> [CustomPropertyDrawer(typeof(GameObjectConstant))] ...
31.307692
150
0.7543
[ "MIT" ]
sampaiodias/unity-atoms
Packages/Core/Editor/Drawers/Constants/GameObjectConstantDrawer.cs
407
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //----------------------------------------------------------------------- // </copyright> // <summary>Helper class to create projects for testing..</summary> //--------...
34
106
0.57754
[ "MIT" ]
0n1zz/main
src/Build.UnitTests/Definition/ProjectHelpers.cs
1,498
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.645161
151
0.58473
[ "Apache-2.0" ]
becker-portilla/ListenScanner
ListenScannerClient/Properties/Settings.Designer.cs
1,076
C#
using System; using System.Collections.Generic; using System.Net.Http.Headers; using KeyPayV2.Au.Models.Common; using KeyPayV2.Au.Enums; namespace KeyPayV2.Au.Models.Common { public class GetShiftsModel { public int? KioskId { get; set; } public int? LocationId { get; set; } ...
26.166667
51
0.636943
[ "MIT" ]
KeyPay/keypay-dotnet-v2
src/keypay-dotnet/Au/Models/Common/GetShiftsModel.cs
471
C#
namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions; public interface IEventBus { void Publish(IntegrationEvent @event); void Subscribe<T, TH>() where T : IntegrationEvent where TH : IIntegrationEventHandler<T>; void SubscribeDynamic<TH>(string eventName) w...
27.714286
76
0.719931
[ "MIT" ]
0x55xx5/eShopOnContainers
src/BuildingBlocks/EventBus/EventBus/Abstractions/IEventBus.cs
584
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _8._5._1.prirucnik { public class Osoba { // deklaracija događaja public delegate void NaPromjenuImenaDelegat(object sender, EventArgs e); public event NaPromje...
20.114286
80
0.536932
[ "MIT" ]
robertlucic66/AlgebraCSharp2019-1
ConsoleApp1/8.5.1.prirucnik/Osoba.cs
707
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...
31.333333
105
0.677305
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Compute/V20190301/Outputs/ReplicationStatusResponse.cs
1,128
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RestaurantReviews.DataAccessLayer; using RestaurantReviews.Library; namespace RestaurantReviews.CRUD { class Client { static void Main(string[] args) { Restaura...
26.764706
83
0.574176
[ "MIT" ]
1804-Apr-USFdotnet/louis-wilson-project1
RestaurantReviews.Library/RestaurantReviews.CRUD/Client.cs
1,822
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; namespace AdvancedRenderPipeline.Runtime { public static class ShaderTagManager { #region ShaderTagIds public static readonly ShaderTagId[] LEGACY_SHADER_TAGS = { new ShaderTagId("Always"), new Sh...
33.184211
92
0.77954
[ "MIT" ]
GuardHei/UltimateTAA
Assets/AdvancedRenderPipeline/Runtime/ShaderTagManager.cs
1,261
C#
using UnityEngine; namespace DefaultNamespace { public class MultiLineCacheTest { public void Test(Transform t) { t.position = t.position + t.position + t.posit{caret}ion; var x = new Vector3(10, 0, 0); x += new Vector3(0, 10, 10); t...
22
69
0.524064
[ "Apache-2.0" ]
20chan/resharper-unity
resharper/resharper-unity/test/data/CSharp/Intentions/QuickFixes/CachePropertyValue/MultiLineCacheTest.cs
374
C#
using Microsoft.Extensions.Configuration; using SharpRepository.Ioc.StructureMap.Factories; using SharpRepository.Repository; using SharpRepository.Repository.Configuration; using StructureMap; using StructureMap.Pipeline; namespace SharpRepository.Ioc.StructureMap { public static class StructureMapExtensions ...
47.895522
199
0.689935
[ "Apache-2.0" ]
Magicianred/SharpRepository
SharpRepository.Ioc.StructureMap/StructureMapExtensions.cs
3,211
C#
using System.ComponentModel.DataAnnotations; namespace EmpowerData.EntityModels { public partial class CMS_PhoneType { [Key] public int PhoneTypeSysID { get; set; } [Required] [StringLength(10)] public string PhoneType { get; set; } } }
19.4
47
0.632302
[ "Apache-2.0" ]
HaloImageEngine/EmpowerClaim-hotfix-1.25.1
EmpowerData/EntityModels/CMS_PhoneType.cs
291
C#
using System; using System.Linq; using System.Threading.Tasks; using Elsa.Scripting.CSharp.Services; using Elsa.Services; using Elsa.Services.Models; using Fluid; using Fluid.Values; namespace Elsa.Scripting.CSharp.Filters { public class WorkflowDefinitionIdFilter : ICSharpFilter { private readonly IW...
38.828571
125
0.695364
[ "MIT" ]
g10101k/elsa-core
src/scripting/Elsa.Scripting.CSharp/Filters/WorkflowDefinitionIdFilter.cs
1,361
C#
using Azure.Messaging.EventGrid; using Demo.Infrastructure.Events; using Demo.WebApi.Auth; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; namespace Demo.WebApi.Controllers { public class EventsCon...
30.78125
126
0.691371
[ "MIT" ]
nvdvlies/dotnet-api-and-angular-frontend-modular-monolith
src/Demo.WebApi/Controllers/EventsController.cs
987
C#
using System.Collections.ObjectModel; using Myra.Attributes; using Newtonsoft.Json; #if !XENKO using Microsoft.Xna.Framework; #else using Xenko.Core.Mathematics; #endif namespace Myra.Graphics2D.UI { public class MenuItem : ListItem, IMenuItemsContainer, IMenuItem { private readonly ObservableCollection<IMenuIte...
17.419355
98
0.653704
[ "MIT" ]
Genobreaker/Myra
src/Myra/Graphics2D/UI/MenuItem.cs
1,622
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 Tarea32 { public partial class FRMMAYMEN : Form { public FRMMAYMEN() {...
23.084112
89
0.392308
[ "Apache-2.0" ]
Luissf1/Programas-C-
Tarea32/Tarea32/Form1.cs
2,472
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 System; using System.Linq; using System.Reflection; using OpenQA.Selenium; using Xunit.Sdk; namespace Blazorise.E2ETests.Infrastructure { /...
35.816327
111
0.621083
[ "Apache-2.0" ]
Luk164/Blazorise
Tests/Blazorise.E2ETests/Infrastructure/CaptureSeleniumLogsAttribute.cs
1,757
C#
using TeamSpark.AzureDay.WebSite.Data.Entity.Table; namespace TeamSpark.AzureDay.WebSite.Data.Service.Table { public class CouponService : TableServiceBase<Coupon> { protected override string TableName { get { return "Coupon"; } } public CouponService(string accountName, string accountKey) : base(acc...
19.722222
61
0.740845
[ "MIT" ]
AzureDay/2016-WebSite
TeamSpark.AzureDay.WebSite.Data/Service/Table/CouponService.cs
357
C#
//---------------------------------------------- // Flip Web Apps: Beautiful Transitions // Copyright © 2016 Flip Web Apps / Mark Hewitt // // Please direct any bugs/comments/suggestions to http://www.flipwebapps.com // // The copyright owner grants to the end user a non-exclusive, worldwide, and perpetual lice...
41.636364
163
0.598617
[ "MIT" ]
Kaiweitu/eecs494_p3
Assets/FlipWebApps/BeautifulTransitions/Scripts/Shake/Components/ShakeCamera.cs
5,499
C#
using System; namespace SampleProject { /// <summary> /// Test /// <code language="csharp">// This is sample code</code> /// </summary> public class ExampleClass { public int Id { get; set; } /// <summary> /// Gets a sample name /// </summary> /// <para...
36.914894
117
0.560231
[ "MIT" ]
MarkSFrancis/DocsGenerator
Sample/SampleProject/ExampleClass.cs
1,737
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.655172
114
0.658354
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20190701/Inputs/PublicIPAddressSkuArgs.cs
802
C#
using System; using System.Collections.Generic; using Calamari.Common.Plumbing.ServiceMessages; using Calamari.Testing.LogParser; namespace Calamari.Testing { public class TestCalamariCommandResult { public TestCalamariCommandResult(int exitCode, IReadOnlyDictionary<string, TestOutputVariable> outputV...
43.166667
131
0.701416
[ "Apache-2.0" ]
OctopusDeploy/Calamari
source/Calamari.Testing/TestCalamariCommandResult.cs
1,556
C#
using System; using System.Collections.Generic; using System.Text; namespace ByteBank.Funcionarios { class GerenteDeConta : Funcionario { public GerenteDeConta(string cpf) : base(cpf, 4000) { } public override void AumentarSalario() { Salario *= 1.05; } ...
22.473684
62
0.578454
[ "MIT" ]
alan1tavares/labs
DotNet/Alura/Excessoes/01-ByteBank/Funcionarios/GerenteDeConta.cs
429
C#
using System; using NetOffice; namespace NetOffice.OutlookApi.Enums { /// <summary> /// SupportByVersion Outlook 12, 14, 15 /// </summary> [SupportByVersionAttribute("Outlook", 12,14,15)] [EntityTypeAttribute(EntityType.IsEnum)] public enum OlContextMenu { /// <summary> /// SupportByVersion ...
26.759259
52
0.618685
[ "MIT" ]
NetOffice/NetOffice
Source/Outlook/Enums/OlContextMenu.cs
1,445
C#
// // C4Listener_native_ios.cs // // Copyright (c) 2018 Couchbase, Inc 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....
35.62963
105
0.692308
[ "Apache-2.0" ]
lore-coolshop/couchbase-lite-net
src/LiteCore/src/LiteCore.Shared/Interop/iOS/C4Listener_native_ios.cs
2,886
C#
/* *************************************************************************** Copyright (c): 2013 Hericus Software, Inc. License: The MIT License (MIT) Authors: Steven M. Cherry *************************************************************************** */ using System; using System.Threading; namespac...
22.358382
90
0.610134
[ "MIT" ]
smc314/helix
server/net/glob/LogMsg.cs
3,870
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; namespace Microsoft.MixedReality.Toolkit.Core.Interfaces.InputSystem { /// <summary> /// Provides eye tracking information. /// </summary>...
39.535714
156
0.682023
[ "MIT" ]
Bhaskers-Blu-Org2/GalaxyExplorer
Assets/MixedRealityToolkit/Interfaces/InputSystem/IMixedRealityEyeSaccadeProvider.cs
1,109
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Apartmant.Database.ApartmentDataSetTableAdapters; namespace Apartment.UserInterface.Room { public partial class AddRoomTypeU...
31.280899
97
0.509339
[ "MIT" ]
isman-usoh/apament-management-system
Apartmant/UserInterface/Room/AddRoomTypeUI.cs
2,930
C#
namespace Csla.Analyzers.Tests.Targets.IsOperationMethodPublicAnalyzerTests { public class AnalyzeWhenTypeIsNotStereotype { public void DataPortal_Fetch() { } } }
24.714286
76
0.791908
[ "MIT" ]
angtianqiang/csla
Source/Csla.Analyzers/Csla.Analyzers.Tests/Targets/IsOperationMethodPublicAnalyzerTests/AnalyzeWhenTypeIsNotStereotype.cs
175
C#
using System.Resources; 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. [ass...
34.612903
84
0.742777
[ "MIT" ]
fpommerening/Spartakiade2017-RabbitMQ
Samples/IoT/src/ContractsPortable/Properties/AssemblyInfo.cs
1,076
C#
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright (c) 2017-2019 Swan & The Quaver Team <support@quavergame.com>. */ using System; using System.Collecti...
30.970588
132
0.541944
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
IceDynamix/Quaver.API
Quaver.API/Maps/Structures/TimingPointInfo.cs
3,159
C#
// ******************************************************************************* // <copyright file="LocationFilter.cs" company="Intuit"> // Copyright (c) 2019 Intuit // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
38.865169
102
0.618098
[ "Apache-2.0" ]
lisashort/TSheets-V1-DotNET-SDK
Intuit.TSheets/Model/Filters/LocationFilter.cs
3,461
C#
using System; namespace UCS.Core.Crypto.TweetNaCl { public class curve25519xsalsa20poly1305 { public const int crypto_secretbox_PUBLICKEYBYTES = 32; public const int crypto_secretbox_SECRETKEYBYTES = 32; public const int crypto_secretbox_BEFORENMBYTES = 32; public const int cry...
36.313953
104
0.560359
[ "Apache-2.0" ]
Dekryptor/UCS
Ultrapowa Clash Server/Utilities/TweetNaCl/curve25519xsalsa20poly1305.cs
3,125
C#
namespace Snarkorel.lkcar_schedule.json { public class SeasonDto { public string id { get; set; } //season id public string text { get; set; } } }
19.555556
50
0.602273
[ "MIT" ]
Snarkorel/lkcar_schedule
lkcar_schedule/json/SeasonDto.cs
178
C#
namespace Ocelot.LoadBalancer.LoadBalancers { using Ocelot.Middleware; using Ocelot.Responses; using Ocelot.Values; using System; using System.Collections.Generic; using System.Threading.Tasks; public class RoundRobin : ILoadBalancer { private readonly Func<Task<List<Service>>>...
25.534884
98
0.558288
[ "MIT" ]
AnthonySteele/Ocelot
src/Ocelot/LoadBalancer/LoadBalancers/RoundRobin.cs
1,100
C#
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using PokemonUnity; using PokemonUnity.Monster; using PokemonUnity.Monster.Data; using PokemonUnity.Attack; using PokemonUnity.Inventory; namespace Tests { [TestClass] public class PokemonTest { //Create 2 assert test; 1 for reg...
41.895311
226
0.682024
[ "BSD-3-Clause" ]
AceOfSpadesProduc100/Trying-out-Pokemon-Unity
UnitTestProject/PokemonTest.cs
38,511
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\wincodec.h(8542,5) using System; using System.Runtime.InteropServices; namespace DirectN { [ComImport, Guid("3d4c0c61-18a4-41e4-bd80-481a4fc9f464"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public partial interface IWICDdsFra...
46.25
268
0.681081
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/IWICDdsFrameDecode.cs
927
C#
using System; using System.Collections.ObjectModel; using Xamarin.Forms; namespace FormsCommunityToolkit.Effects { public static class SearchBarSuggestionEffect { public static readonly BindableProperty SuggestionsProperty = BindableProperty.CreateAttached("Suggestions", typeof(ObservableCollection<st...
39.017544
265
0.698291
[ "MIT" ]
JanDeDobbeleer/Effects
src/Effects/SearchBarSuggestionEffect.cs
2,226
C#
using System; using System.Windows.Forms; namespace iSpyApplication { public partial class Prompt : Form { public string Val; public Prompt() { InitializeComponent(); button1.Text = LocRm.GetString("OK"); } public Prompt(string l...
22.03125
78
0.460993
[ "Apache-2.0" ]
isaacandy/ispyconnect
iSpyApplication/Prompt.cs
1,412
C#
// DeflateStream.cs // ------------------------------------------------------------------ // // Copyright (c) 2009-2010 Dino Chiesa. // All rights reserved. // // This code module is part of DotNetZip, a zipfile class library. // // ------------------------------------------------------------------ // // This code is l...
41.074224
168
0.531016
[ "MIT" ]
06needhamt/MonoGame
MonoGame.Framework/Utilities/Deflate/DeflateStream.cs
30,436
C#