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 Advanced.Algorithms.BitAlgorithms; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Advanced.Algorithms.Tests.BitAlgorithms { /// <summary> /// Compute modulus division by 1 <...
28.5
71
0.680451
[ "MIT" ]
dreegoo/Advanced-Algorithms
Advanced.Algorithms.Tests/BitAlgorithms/DivisionModulus_Tests.cs
800
C#
/* * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
25.945946
75
0.532813
[ "Apache-2.0" ]
MaferYangPointJun/Spring.net
test/Spring/Spring.Scheduling.Quartz.Tests/Scheduling/Quartz/TestMethodInvokingTask.cs
1,920
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.88764
153
0.602138
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsIsNARequest.cs
3,461
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.Linq; namespace Microsoft.Azure.Devices.Api.Test.JobClient { using System; using System.Collections.Generic; using System.Net; using Syst...
40.090909
139
0.621032
[ "MIT" ]
MicrosoftDocs/azure-iot-sdk-csharp
service/Microsoft.Azure.Devices/test/Microsoft.Azure.Devices.Api.Test/JobClient/HttpJobClientTests.cs
3,530
C#
using UnityEngine; using UnityEditor; using UnityEditor.SceneManagement; using System; using System.Linq; using System.Collections.Generic; using Chisel; using Chisel.Core; namespace Chisel.Editors { [CustomPropertyDrawer(typeof(SurfaceDescription))] public sealed class SurfaceDescriptionPropertyDrawer : Prop...
45.461538
136
0.644388
[ "MIT" ]
FV7VR3/Chisel.Prototype
Packages/com.chisel.editor/Chisel/Editor/PropertyDrawers/SurfaceDescriptionPropertyDrawer.cs
3,548
C#
using System; using System.Collections.Generic; using System.Linq; using GOTHAM.Model; using GOTHAM.Repository.Abstract; using GOTHAM.Tools; using NHibernate.Linq; namespace Gotham.Application.Generators { /// <summary> /// Contains static functions for estimating, converting and generating Nodes. /// </...
36.867769
168
0.517261
[ "Unlicense", "MIT" ]
perara/gotham
GothamVS/OLD/GOTHAM/Application/Generators/NodeGenerator.cs
8,924
C#
// ====================================== // Author: Ebenezer Monney // Email: info@ebenmonney.com // Copyright (c) 2017 www.ebenmonney.com // // ==> Gun4Hire: contact@ebenmonney.com // ====================================== using System; using System.Collections.Generic; using System.IO; using System.Linq; using Sy...
28.092593
106
0.560316
[ "MIT" ]
GaneshRajChauhan/GSupport
src/QuickApp/Program.cs
1,517
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Microsoft.Extensions.Logging; using ParkShark.Domain; namespace ParkShark.Data.Model { public class ParkSharkDbContext : DbContext ...
36.338235
99
0.505463
[ "MIT" ]
merken/ParkShark
ParkShark.Data/Model/ParkSharkDbContext.cs
4,944
C#
using System; using System.IO; using BinarySerialization; using EfsTools.Items.Base; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Base { [Serializable] public class MultiLineStringsItemBase : ItemBase, IBinarySerializable { [Ignore] ...
29.275
119
0.590094
[ "MIT" ]
AndroPlus-org/EfsTools
EfsTools/Items/Base/MultiLineStringsItemBase.cs
1,171
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("Num...
37.837838
84
0.747857
[ "MIT" ]
Radostta/Programming-Basics-And-Fundamentals-SoftUni
Advanced-Loops-Excercises/NumberTable-Book/Properties/AssemblyInfo.cs
1,403
C#
using System.Collections; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using static Mirror.Tests.AsyncUtil; namespace Mirror.Tests { public class Flags : NetworkBehaviour { public bool serverFunctionCalled; public bool serverCallbackFunctionCalled; public bool...
26.846154
71
0.594078
[ "MIT" ]
aka-coke/MirrorNG
Assets/Mirror/Tests/Runtime/FlagsTests.cs
4,188
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.745098
227
0.641663
[ "MIT" ]
ScriptBox21/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/AccessPackageAssignmentFilterByCurrentUserRequestBuilder.cs
2,333
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http.Headers; using System.Web.Http.Description; using CalculatorLibWeb.Areas.HelpPage.ModelDescriptions; namespace CalculatorLibWeb.Areas.HelpPage.Models { /// <summary> /// The model that represents an API displayed on t...
36.685185
123
0.615851
[ "MIT" ]
fakefunction/WebApiWithSocialLogins
src/CalculatorLibWeb/Areas/HelpPage/Models/HelpPageApiModel.cs
3,962
C#
using System; namespace ECode.Core { public class AssemblyLoadException : Exception { public AssemblyLoadException(string message) : base(message) { } } }
14.714286
52
0.587379
[ "MIT" ]
gz-chenzd/ECode
ECode.Core/Exceptions/AssemblyLoadException.cs
208
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; using UnityEngine.UI; using UnityEngine.Serialization; using TMPro; namespace Microsoft.MixedReality.Toolkit.Experimental.Joystick { /// <summary> /// Example ...
40.632124
190
0.576639
[ "MIT" ]
HyperLethalVector/ProjectEsky-UnityIntegration
Assets/MRTK/SDK/Experimental/Joystick/JoystickController.cs
7,844
C#
using Doublelives.Api.Mappers; using Doublelives.Api.Models.Cfgs.Requests; using Doublelives.Service.Cfgs; using Doublelives.Service.WorkContextAccess; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace Doublelives.Api.Controllers { public class CfgController : AuthControllerBase { ...
27.636364
91
0.652412
[ "MIT" ]
lzw5399/dl-admin
dl-api-csharp/Doublelives.Api/Controllers/CfgController.cs
924
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Web.Mvc { internal delegate IUnvalidatedRequestValues UnvalidatedRequestValuesAccessor(ControllerContext controllerContext); }
40.428571
133
0.823322
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
src/System.Web.Mvc/UnvalidatedRequestValuesAccessor.cs
285
C#
using System; using NetOffice; namespace NetOffice.ExcelApi.Enums { /// <summary> /// SupportByVersion Excel 15 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/jj231153.aspx </remarks> [SupportByVersionAttribute("Excel", 15)] [EntityTypeAttr...
26.555556
120
0.648536
[ "MIT" ]
NetOffice/NetOffice
Source/Excel/Enums/XlSlicerCacheType.cs
717
C#
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
32.170732
119
0.579479
[ "BSD-3-Clause" ]
cuteofdragon/Standard-Toolkit
Source/Krypton Components/Krypton.Ribbon/ButtonSpec/ButtonSpecMinimizeRibbon.cs
3,960
C#
 #region Copyright (C) 2017 Kevin (OSS开源作坊) 公众号:osscoder /*************************************************************************** *   文件功能描述:微信支付模快 —— 实体基类 * *   创建人: Kevin * 创建人Email:1985088337@qq.com * 创建日期:2017-2-23 * ****************************************************************************...
25.300412
106
0.472674
[ "Apache-2.0" ]
cnark/OSS.PayCenter
WX/OSS.PayCenter.WX/BaseMos.cs
6,990
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum QUAKE_DOOR_STATE { OPEN, OPENING, RECESSED_DELAYING, RECESSED_OPENING, RECESSED_CLOSING, CLOSED, CLOSING }; public class QuakeDoor : MonoBehaviour { public QUAKE_DOOR_STATE state = QUAKE_DOOR_STATE.CLOSED; public Ve...
22.613065
143
0.688444
[ "Unlicense" ]
affonsoamendola/quake1h3vr
Assets/Scripts/QuakeDoor.cs
4,502
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.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Text...
37.2
149
0.58414
[ "MIT" ]
Acidburn0zzz/runtime
src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessStartInfo.cs
7,440
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Numerics; using SixLabors.ImageSharp.Metadata.Profiles.Icc; namespace SixLabors.ImageSharp.Tests { internal static class IccTestDataProfiles { public static readonly IccProfileI...
51.276786
137
0.562076
[ "Apache-2.0" ]
GyleIverson/ImageSharp
tests/ImageSharp.Tests/TestDataIcc/IccTestDataProfiles.cs
11,488
C#
// =========================================================== // Copyright (C) 2014-2015 Kendar.org // // 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...
50.933333
131
0.710079
[ "MIT" ]
endaroza/Node.Cs
Src/Node.Cs.Lib/OnReceive/ISessionManager.cs
1,528
C#
using System; using System.Collections.Generic; using System.Linq; namespace EasyPost { public class ScanFormList : Resource { public List<ScanForm> scanForms { get; set; } public bool has_more { get; set; } public Dictionary<string, object> filters { get; set; } /// <summary> ...
31.956522
103
0.613605
[ "MIT" ]
CemHortoglu/easypost-csharp
EasyPost/ScanFormList.cs
737
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Web.Script.Serialization; namespace IPFilter.Tests.Apps { [TestClass] public class DelugeTests { internal static readonly JavaScriptSerializer serializer = new JavaScriptSerializer(); [TestMethod, Ignore] ...
31.965517
388
0.599784
[ "MIT" ]
DavidMoore/ipfilter
Tests/UnitTests/IPFilter.Tests/Apps/DelugeTests.cs
929
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...
34.583333
243
0.638855
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20200301/GetServiceEndpointPolicyDefinition.cs
3,320
C#
using System; using System.Windows.Forms; using Autofac; using WarpDeck.Application; using WarpDeck.Application.Device; using WarpDeck.Application.Monitor; namespace WarpDeck.Windows { internal static class Program { [STAThread] private static void Main(string[] args) { Syst...
34.192308
86
0.668166
[ "MIT" ]
armunro/WarpDeck
WarpDeck.Windows/Program.cs
889
C#
//----------------------------------------------------------------------------- // FILE: WorkflowMutableRequest.cs // CONTRIBUTOR: Jeff Lill // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this fi...
30.464286
100
0.612349
[ "Apache-2.0" ]
codelastnight/neonKUBE
Lib/Neon.Temporal/Internal/WorkflowMessages/WorkflowMutableRequest.cs
2,561
C#
using System; namespace QS.Utilities { public static class CurrencyWorks { public static string CurrencyShortName = "₽"; public static string CurrencyShortFormat = "{0:N2} ₽"; public static string GetShortCurrencyString(Decimal value) { return String.Format(CurrencyShortFormat, value); } public sta...
20.904762
64
0.744875
[ "Apache-2.0" ]
Art8m/QSProjects
QS.Utilities/CurrencyWorks.cs
445
C#
using Microsoft.AspNetCore.Mvc; using System; using System.ComponentModel; using Xms.Core.Context; using Xms.Core.Data; using Xms.Data.Provider; using Xms.Infrastructure.Utility; using Xms.Logging.AppLog; using Xms.Logging.AppLog.Domain; using Xms.Web.Framework.Context; using Xms.Web.Framework.Controller; using Xms.We...
31.464286
120
0.550889
[ "MIT" ]
feilingdeng/xms
Presentation/Xms.Web/Controllers/PlatformController.cs
2,679
C#
namespace OfficeTicTacToe.Actors.Interfaces { public interface IPastState { int StateToken { get; set; } int NextStateToken { get; set; } } }
21.25
44
0.629412
[ "Apache-2.0" ]
DXFrance/OfficeTicTacToe
OfficeTicTacToe.Actors.Interfaces/IPastState.cs
172
C#
using Function.Interfaces; using System; using System.IO; using System.Reflection; namespace Function.Utilities { internal class FileHelper : IFileHelper { public string GetToxicPlantAnimalFileLocation(string fileName) { return Path.Combine(Path.GetDirectoryName(Assembly.GetExecuti...
27.055556
98
0.646817
[ "MIT" ]
Animundo/ToxicPlants
Function/Utilities/FileHelper.cs
489
C#
using System; using System.Globalization; using System.IO; using System.Net.Http; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.EventGrid; using Microsoft.Azure.EventGrid.Models; using Microsoft.Exte...
48.818182
151
0.608835
[ "MIT" ]
KayMKM/botframework-telephony
samples/csharp_dotnetcore/05a.telephony-recording-download-function/CallRecordingDownloader.cs
9,666
C#
// This file is automatically generated. using System; using System.Text; using System.Runtime.InteropServices; namespace Steam4NET { [StructLayout(LayoutKind.Sequential,Pack=4)] public class ISteamUser014VTable { public IntPtr GetHSteamUser0; public IntPtr BLoggedOn1; public IntPtr GetSteamID2; public Int...
59.888889
410
0.808612
[ "MIT" ]
Benramz/SteamBulkActivator
Steam4NET2/autogen/ISteamUser014.cs
10,241
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System.Collections.Generic...
38.763258
158
0.52118
[ "MIT" ]
microsoftgraph/OpenAPI.NET.OData
src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs
20,467
C#
namespace Rest.ClientRuntime.Test.JsonRpc { public sealed class Error { public int code { get; set; } public string message { get; set; } public object data { get; set; } } }
21.3
43
0.586854
[ "Apache-2.0" ]
brywang-msft/rest-client-runtime-test-net-poc
Rest.ClientRuntime.Test/Rest.ClientRuntime.Test/JsonRpc/Error.cs
215
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZenPlayer { static class MyExtensions { private static Random rng = new Random(); // Courtesy https://stackoverflow.com/a/1262619/415551 public static void Shu...
22.392857
62
0.499203
[ "MIT" ]
jwalthour/morse_player
ZenPlayer/ZenPlayer/MyExtensions.cs
629
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; public class EnviromentManager : MonoBehaviour { public static EnviromentManager _instance; public GameObject currentEnviroment; public GameObject enviromentContainer; public GameObject cameraContainer; public GameObject fadePanelSamsung; publi...
28.963636
90
0.776208
[ "MIT" ]
gdeioannes/VRLilyGarafulicMuseum
Assets/Scripts/EnviromentManager.cs
3,188
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FinSharp.AlphaVantage.Tests { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { } } }
16.071429
51
0.622222
[ "MIT" ]
klinki/finsharp
FinSharp.AlphaVantage/FinSharp.AlphaVantage.Tests/UnitTest1.cs
225
C#
using Microsoft.Extensions.Configuration; using Surging.Cloud.CPlatform; using Surging.Cloud.CPlatform.Exceptions; namespace Surging.Hero.Auth.Domain.Tenants { public class TenantConfigProvider : ITenantConfigProvider { public TenantConfig Get() { if (AppConfig.Configuration == nul...
28.833333
69
0.608382
[ "MIT" ]
liuhll/hero
src/Services/Auth/Surging.Hero.Auth.Domain/Tenants/TenantConfigProvider.cs
738
C#
using System; using System.Runtime.InteropServices; using VulkanCore.Khr; namespace VulkanCore.Mvk { /// <summary> /// Provides Brenwill Workshop specific extension methods for the <see cref="Instance"/> class. /// </summary> public static unsafe class InstanceExtensions { /// <summary> ...
39.03681
184
0.639321
[ "MIT" ]
BastianBlokland/hellotriangle-dotnet
vulkancore/src/Mvk/InstanceExtensions.cs
6,365
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/St...
23.154088
142
0.638598
[ "Apache-2.0" ]
1M15M3/StockSharp
BusinessEntities/SecurityExternalId.cs
7,363
C#
/* * Original author: Brendan MacLean <brendanx .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2009 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in com...
52.978142
229
0.613185
[ "Apache-2.0" ]
mhhur/pwiz
pwiz_tools/Skyline/TestFunctional/OptimizeTest.cs
58,170
C#
/* * MIT License * * Copyright (c) 2020 MiYA LAB(K.Miyauchi) * * 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 ...
35.625
102
0.532912
[ "MIT" ]
miyalab/miyalab.csharp
GraphicMonitor/GraphicMonitor.cs
7,815
C#
using System; using System.Threading; namespace ConstructTcpServer { /// <summary> /// Holds all information needed to associate a thread /// with a particular game session. /// </summary> public class GameContext { public ProducerConsumerQueue<string[]> MessageQueue; public Co...
29.473684
143
0.619643
[ "MIT" ]
dgerding/Construct
ConstructSensors/WindowsSensors/Construct.Sensors.ConstructGameSensor/GameContext.cs
1,122
C#
namespace TechnicalInterview.App.Tasks { public static class PrimeNumber { //Task: /* * Establish if a given integer is a prime number */ public static bool IsPrime(int number) { if ((number & 1) == 0) { if (number == 2) ...
21.607143
57
0.378512
[ "MIT" ]
LucasMoffitt/Common-Technical-Interview-Questions
src/TechnicalInterview.App/Tasks/PrimeNumber.cs
607
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.Linq; using Microsoft.CodeAnalysis.CodeGeneration; using Microsoft.CodeAnalysis.Formatting; using Microsoft.CodeAnalysis.Formatting...
63.493333
211
0.727425
[ "Apache-2.0" ]
Unknown6656/roslyn
src/EditorFeatures/Test/TestExportProvider.cs
9,524
C#
namespace OfficeEntry.Infrastructure.Services.Xrm.Entities { public enum AccessReasons { CriticalWork = 948160000, RegularWork = 948160002, PickUpADocument = 948160001, PickUpOfficeEquipment = 948160003, Other = 948160004 } public enum ApprovalStatus { ...
21.825
59
0.575029
[ "MIT" ]
opc-cpvp/OfficeEntry
src/Infrastructure/Services/Xrm/Entities/OptionSets.cs
875
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using SharpRepository.Repository.FetchStrategies; using SharpRepository.Repository.Queries; namespace SharpRepository.Repository.Traits { /// <summary> /// Based on the Interface Segregation Principle (ISP), the /// ICanGet inte...
51.681818
130
0.700088
[ "Apache-2.0" ]
Magicianred/SharpRepository
SharpRepository.Repository/Traits/ICanGet.cs
2,274
C#
using System; namespace FinalExam15August { class Program { static void Main(string[] args) { string message = Console.ReadLine(); string cmd = String.Empty; while ((cmd = Console.ReadLine()) != "Decode") { string[] cmdArgs = cm...
29.046154
89
0.470869
[ "MIT" ]
AokiNayo/CSharp-Fund
FundamentalsExamPreparation/Final Exam - 15 August 2020/FinalExam15August/FinalExam15August/Program.cs
1,890
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. namespace ReactiveUI { /// <summary> /// Extension methods associated with the ControlFetcher class. //...
31.029412
129
0.582938
[ "MIT" ]
SpiegelSoft/ReactiveUI
src/ReactiveUI/Platforms/android/ResolveStrategy.cs
1,057
C#
// // PriorityPicker.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2008 Alan McGovern // // 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 restrict...
38.20765
159
0.580664
[ "MIT" ]
issueg2k4g34j2g/monotorrent
src/MonoTorrent.PiecePicking/MonoTorrent.PiecePicking/PriorityPicker.cs
6,992
C#
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.com) 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 ...
40
103
0.738415
[ "MIT" ]
0xcitchx/miningcore
src/MiningCore/Blockchain/Monero/MoneroWorkerJob.cs
1,640
C#
using BusinessTrack.DataAccess.Concrete.EntityFrameworkCore.Contexts; using BusinessTrack.DataAccess.Interfaces; using BusinessTrack.Entities.Interfaces; using System.Collections.Generic; using System.Linq; namespace BusinessTrack.DataAccess.Concrete.EntityFrameworkCore.Repositories { public class EfGenericReposi...
31.169492
106
0.609027
[ "MIT" ]
cihatsolak/BusinessTrackApp
BusinessTrackApplication/BusinessTrack.DataAccess/Concrete/EntityFrameworkCore/Repositories/EfGenericRepository.cs
1,841
C#
// Copyright (c) 2021 EPAM Systems // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
33.641026
106
0.719512
[ "Apache-2.0" ]
epam/fix-antenna-net-core
FixAntenna/NetCore/FixEngine/Session/IBackupFixSession.cs
1,314
C#
using System.Collections.Generic; namespace Unity.Cloud.UserReporting { /// <summary> /// Represents a user report measure. /// </summary> public struct UserReportMeasure { #region Properties /// <summary> /// Gets or sets the end frame number. /// </summary> ...
24.382353
64
0.546441
[ "MIT" ]
Andy3118/FoxPlatformer
game-assets/UserReporting/Scripts/Client/UserReportMeasure.cs
831
C#
using System; using System.Collections.ObjectModel; using System.Composition; using System.Linq; using System.Reactive.Linq; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using NBitcoin; using ReactiveUI; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Models; namespace WalletWasabi.Gui.Controls.Wa...
24.682353
132
0.726406
[ "MIT" ]
BrianSipple/WalletWasabi
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
2,098
C#
using System; using System.Linq; namespace Songhay.Publications.Models { /// <summary> /// Implements <see cref="IIndexEntry"/>. /// </summary> /// <remarks> /// The opinion here is that this class demonstrates /// the advantages of Typescript over a “classic” OOP language. /// /// The...
29.491667
93
0.51427
[ "MIT" ]
BryanWilhite/Songhay.Publications
Songhay.Publications/Models/IndexEntry.cs
3,543
C#
using System; using System.Collections.Generic; using System.Linq; using SudokuSolver.Functional; using SudokuSolver.Techniques.Wings; namespace SudokuSolver.Techniques.Helpers.Sets { internal record AlmostLockedSet { public IReadOnlyList<Cell> SetCells { get; } public ICollectionType Collectio...
41.043478
195
0.602048
[ "MIT" ]
raphael-kahler/SudokuSolver
src/SudokuSolver/Techniques/Helpers/Sets/AlmostLockedSet.cs
2,832
C#
/** * Copyright 2019 The Knights Of Unity, created by Pawel Stolarczyk * * 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 requ...
33.433036
135
0.608359
[ "Apache-2.0" ]
ArisTsevrenis/unity-sampleproject
JollyRoger/Assets/DemoGame/Scripts/Profile/ProfileUpdatePanel.cs
7,491
C#
#if __IOS__ || MACCATALYST using PlatformView = UIKit.UIView; #elif MONOANDROID using PlatformView = Android.Views.View; #elif WINDOWS using PlatformView = Microsoft.Maui.Platform.RootNavigationView; #elif (NETSTANDARD || !PLATFORM) || (NET6_0 && !IOS && !ANDROID) using PlatformView = System.Object; #endif namespace ...
27.388889
64
0.762677
[ "MIT" ]
10088/maui
src/Core/src/Handlers/FlyoutView/IFlyoutViewHandler.cs
495
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Bson; public class JsonError { public string type; public string message; public int code; public string redirect; public JsonError() { } ...
25.458633
103
0.503144
[ "Apache-2.0" ]
elky84/unity-net-sample
unity_game_test/Assets/Scripts/APIClient.cs
14,169
C#
using GraphQL; using GraphQL.Types; using GraphQLDotNetCore.Contracts; using GraphQLDotNetCore.GraphQL.GraphQLTypes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GraphQLDotNetCore.GraphQL.GraphQLQueries { public class AppQuery : ObjectGraphType { ...
29.205128
117
0.543459
[ "MIT" ]
andreatosato/graphql
CodeMaze/graphql-series-graphql-mutations/GraphQLDotNetCore/GraphQL/GraphQLQueries/AppQuery.cs
1,141
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using PrantikAPI.DataLayer; using Pra...
28.841121
92
0.565457
[ "MIT" ]
anikchowdhury/Prantik
PrantikAPI/PrantikAPI/Controllers/PaymentsController.cs
3,088
C#
using UnityEngine; using System.Collections; [ExecuteInEditMode] [RequireComponent(typeof(Camera))] public class PostProcessDepthGrayscale : MonoBehaviour { public Material mat; Camera camera; void Start () { camera = GetComponent<Camera> (); camera.depthTextureMode = DepthTextureMode.Depth; } void OnRen...
23.954545
70
0.774194
[ "MIT" ]
dmdSpirit/FeaturesCollection
Assets/inWork/Snow/PostProcessDepthGrayscale.cs
529
C#
using System; namespace scopely.msgpacksharp.tests { public class Tank { public Tank() { } public float MaxSpeed { get; set; } public string Name { get; set; } public AnimalMessage Cargo { get; set; } } }
16.75
48
0.544776
[ "Apache-2.0" ]
scopely/msgpack-sharp
msgpack-sharp-tests/Tank.cs
270
C#
namespace Root.Coding.Code.Models.E01D.Base.Signalling { public class Signal<TSignalContent>:TypeReferencedSignalBase, StandardSignal_I { /// <summary> /// Get or sets the action to be performed on the content of the signal /// </summary> public string Action { get; set; } ...
30.196078
82
0.566234
[ "Apache-2.0" ]
E01D/Base
src/E01D.Base.Signalling.Models/Coding/Code/Models/E01D/Base/Signalling/StandardSignal.cs
1,542
C#
using CharlieBackend.Core.Entities; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CharlieBackend.Data.Repositories.Impl.Interfaces { public interface IRepository<T> where T : BaseEntity { IQueryable<T> GetQueryableNoTracking(); Task<List<T>> GetA...
22.592593
83
0.688525
[ "MIT" ]
BobinMathew/WhatBackend
CharlieBackend.Data/Repositories/Impl/Interfaces/IRepository.cs
612
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
40.257539
435
0.66477
[ "BSD-3-Clause" ]
N3X15/VoxelSim
OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
49,396
C#
/****************************************************************************** * The MIT License * Copyright (c) 2003 Novell Inc. www.novell.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the Software), to deal * in the Sof...
43.316667
115
0.610619
[ "MIT" ]
DennisGlindhart/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/Extensions/AddReplicaRequest.cs
5,198
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("Ex...
39.540541
84
0.755297
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Microsoft Office Developer Documentation Team/Exchange 2013 101 Code Samples/59862-Exchange 2013 101 Code Samples/Exchange 2013 Copy folders programmatically on Exchange servers/C#/Ex15_FindFolderIdByDisplayName_CS/Properties/AssemblyInfo.cs
1,466
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OOup.Tasks { public class DockerTask : CommandLine { public DockerTask(DockerCommand dCommand, string command, string arguments) : base("docker", $"{dCommand.ToString()} {comma...
17.244186
148
0.465947
[ "Apache-2.0" ]
kaladinstorm84/OOup
OOup/Tasks/DockerTask.cs
1,485
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace T...
38.59375
182
0.591093
[ "Apache-2.0" ]
Gao996/HPSocket.Net
demo/TcpAgent-TestEcho/Properties/Resources.Designer.cs
2,804
C#
extern alias IFCExportUIOverride; extern alias IFCExportUI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autodesk.Revit.DB; namespace bimsync.UI { public class IFCExportConfigurationCustom { public IFCExportConfigurationCust...
44.010695
185
0.645687
[ "MIT" ]
arif-hanif/bimsync4Revit
bimsync/UI/IFCExportConfigurationCustom.cs
16,462
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UnityEditor.PostProcessing { public sealed class CurveEditor { #region Enums enum EditMode { None, Moving, TangentEdit } enum Tangent { ...
36.486455
188
0.478936
[ "Unlicense" ]
rYuuk/SceneLoader
Assets/Flooded_Grounds/PostProcessing/Editor/Utils/CurveEditor.cs
30,977
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.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using ...
56.211268
183
0.661989
[ "MIT" ]
cydhaselton/cfx-android
src/CoreFx.Private.TestUtilities/src/System/Diagnostics/RemoteExecutorTestBase.Process.cs
3,991
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace ICSimulator { class MyTracer { public static ulong id = 0, id2 = 0; public static void trace(Flit f, string loc, BufRingMultiNetwork_Coord c) { //return; if (f.packet....
34.612667
151
0.491537
[ "MIT" ]
CMU-SAFARI/NOCulator
hring/src/Net/BufRingNetwork_Multi.cs
28,417
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
23.444444
81
0.390995
[ "MIT" ]
teahelaschuk/site
haiku/wip.aspx.designer.cs
424
C#
using FluentValidation.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft...
30.402985
115
0.622975
[ "MIT" ]
mirusser/Learning-dontNet
src/FluenValidationDemo/FluentValidation.WebApi/Startup.cs
2,037
C#
using Sandbox; public partial class TerrygeddonPlayer : Player { public enum PlayerTeam { Spectator, Selecting, Ready, InGame, Eliminated, Dead, Finished }; [Net] public PlayerTeam Team { get; protected set; } = PlayerTeam.Spectator; private TimeSince timeSinceJumpReleased; private DamageInfo l...
20.444954
134
0.688355
[ "MIT" ]
rndtrash/terrygeddon
code/Player.cs
4,459
C#
using Savvyio.Commands; using Savvyio.Domain; using Savvyio.EventDriven; using Savvyio.Queries; namespace Savvyio.Extensions { /// <summary> /// Extension methods for the <see cref="SavvyioOptions"/> class. /// </summary> public static class SavvyioOptionsExtensions { /// <summary> ...
48.870968
226
0.687789
[ "MIT" ]
codebeltnet/classlib-savvyio
src/Savvyio.Extensions.Dispatchers/SavvyioOptionsExtensions.cs
1,517
C#
using System; using System.Linq; using System.Windows.Forms; using IllusionsPerception.Model; namespace IllusionsPerception.Student { public partial class Form6 : Form { private int _id = 0; public Form6() { InitializeComponent(); var context = new IllusionsPerc...
27.872881
68
0.468531
[ "MIT" ]
IManfis/IllusionsPerception
IllusionsPerception/IllusionsPerception/Student/Form6.cs
3,291
C#
using System.Reflection; 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("GAB.ImageProcessingPipeline.Web")] [assembl...
38.571429
84
0.752593
[ "MIT" ]
HenrikWM/NNUG_GAB2018
src/ImageProcessingPipeline/GAB.ImageProcessingPipeline.Web/Properties/AssemblyInfo.cs
1,351
C#
using System; using System.IO; using System.Linq; using UnityEditor; public static class PathHelper { /// <summary> /// 创建目录。自动建立子目录 /// </summary> /// <param name="path">文件夹路径</param> /// <param name="allowAssets">是否去掉路径开头的 assets</param> public static void Mkdirp(string path, bool allowAsset...
27.511111
89
0.562197
[ "MIT" ]
gengen1988/unity-common-scripts
Editor/PathHelper.cs
1,292
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Component...
42.773196
185
0.53298
[ "Apache-2.0" ]
TrustPayments/csharp-sdk
src/TrustPayments/Model/Charge.cs
12,447
C#
using System; using System.Collections.Generic; using System.Linq; class LernMoment { public LernMoment(string name, DateTime erschienenAm) { Name = name; ErschienenAm = erschienenAm; } public string Name { get; private set; } public DateTime ErschienenAm { get; private set; } } /// <summary> /// Zeigt dir ...
25.538462
83
0.692771
[ "CC0-1.0" ]
Kch76/LernMoment-csharp
FuncDelegate/Programm.cs
996
C#
// Lucene version compatibility level < 7.1.0 using J2N; using ICU4N.Text; using Lucene.Net.Analysis.CharFilters; using Lucene.Net.Analysis.Util; using Lucene.Net.Util; using System; using System.Diagnostics; using System.IO; using System.Text; using ExceptionToClassNameConventionAttribute = Lucene.Net.Support.Excepti...
34.779026
123
0.547383
[ "Apache-2.0" ]
azhoshkin/lucenenet
src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilter.cs
9,288
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.112903
171
0.596323
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsBesselKRequestBuilder.cs
2,611
C#
using PlatinDashboard.Domain.Entities; using System.Collections.Generic; namespace PlatinDashboard.Domain.Interfaces.Repositories { public interface IStoreRepository : IRepositoryBase<Store> { IEnumerable<Store> GetByCompany(int companyId); Store GetByCompanyAndExternalId(int companyId, int ex...
35.666667
81
0.751402
[ "Apache-2.0" ]
TcavalcantiDesenv/RepasseApcd
src/APCD/src/PlatinDashboard.Domain/Interfaces/Repositories/IStoreRepository.cs
537
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace SimpleIdServer.UI.Authenticate.LoginPassword.Exceptions { public static class ErrorCodes { public const string UNKNOWN_USER = "unkn...
41.1
107
0.751825
[ "Apache-2.0" ]
LaTranche31/SimpleIdServer
src/UI/SimpleIdServer.UI.Authenticate.LoginPassword/Exceptions/ErrorCodes.cs
413
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...
43.853659
315
0.682981
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20170601/Inputs/PublicIPAddressDnsSettingsArgs.cs
1,798
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Reflection; using System.Text; using System.Linq; using System.Data.Linq.SqlClient; using System.Threading; namespace System.Data.Linq.Mapping { internal class AttributedMetaModel :...
29.643836
120
0.698013
[ "MIT" ]
mindbox-moscow/data-linq
Mindbox.Data.Linq/Mapping/AttributedMetaModel.cs
8,656
C#
using NUnit.Framework; using Ryujinx.Audio.Renderer.Parameter.Effect; using System.Runtime.CompilerServices; namespace Ryujinx.Tests.Audio.Renderer.Parameter.Effect { class BufferMixerParameterTests { [Test] public void EnsureTypeSize() { Assert.AreEqual(0x94, Unsafe.SizeOf...
22.6875
71
0.683196
[ "MIT" ]
0MrDarn0/Ryujinx
Ryujinx.Tests/Audio/Renderer/Parameter/Effect/BufferMixerParameterTests.cs
365
C#
using DNS.Protocol.ResourceRecords; using DNS.Protocol.Utils; using System; using System.Collections.Generic; using System.Linq; namespace DNS.Protocol { public class Request : IRequest { private static readonly Random RANDOM = new Random(); private IList<Question> questions; private ...
28.589552
114
0.544505
[ "MIT" ]
ChickenSeller/Netch
Netch/3rd/DNS/Protocol/Request.cs
3,833
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.IO; using netCommander.FileSystemEx; using System.Diagnostics; namespace netCommander { public class PanelCommandRunExe : PanelCommandBase { public PanelCommandRunExe() : base(Option...
31.072581
192
0.508175
[ "MIT" ]
Yomodo/netCommander
PanelCommands/PanelCommandRunExe.cs
3,855
C#
using System.Collections.Generic; namespace Basket.API.Entities { public class ShoppingCart { public string UserName { get; set; } public List<ShoppingCartItem> Items { get; set; } = new List<ShoppingCartItem>(); public ShoppingCart() { } public ShoppingCart(s...
21
89
0.478992
[ "MIT" ]
MarcinSiennicki/AspnetMicroservices
src/Services/Basket/Basket.API/Entities/ShoppingCart.cs
716
C#
using NeuralNetworkVisualizer.Preferences.Brushes; using NeuralNetworkVisualizer.Preferences.Pens; using NeuralNetworkVisualizer.Preferences.Text; using System; using Draw = System.Drawing; namespace NeuralNetworkVisualizer.Preferences { public class Preference : IDisposable { private LayerPreference ...
39.918605
224
0.609962
[ "MIT" ]
sebastiantramontana/NeuralNetworkVisualizer
NeuralNetworkViewer/Preferences/Preference.cs
3,435
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/recommendationengine/v1beta1/user_event.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Prot...
39.309933
392
0.659045
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.RecommendationEngine.V1Beta1/Google.Cloud.RecommendationEngine.V1Beta1/UserEvent.g.cs
105,272
C#
/** * $File: JCS_EaseMath.cs $ * $Date: $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2016 by Shen, Jen-Chieh $ */ using UnityEngine; using System.Collections; namespace JCSUnity { /// <summary> ...
25.137931
83
0.599451
[ "MIT" ]
edwin-channel/JCSUnity
Assets/JCSUnity/Scripts/Effects/Tweener/JCS_EaseMath.cs
731
C#