content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class UserControls_TimerControl : System.W...
27.142857
74
0.665789
[ "MIT" ]
jlpatton/AuditBenefits
UserControls/TimerControl.ascx.cs
1,140
C#
using System.Diagnostics.CodeAnalysis; using System.Xml.Serialization; namespace AIT.TFS.SyncService.Service.Configuration.Serialization { /// <summary> /// Class used to serialize a header configuration. /// </summary> public class MappingHeader { /// <summary> /// Prope...
34.457143
93
0.570481
[ "MIT" ]
AITGmbH/WordToTFS
Sources/TFS.SyncService.Service/Configuration/Serialization/MappingHeader.cs
2,412
C#
// *** 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...
33.631579
143
0.641628
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/Iap/Inputs/AppEngineVersionIamBindingConditionArgs.cs
1,278
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Configuration; namespace Doddle.Importing { public class Importer { private readonly IImportValidator _validator; public MissingColumnAction MissingColumnAct...
33.740385
127
0.573383
[ "MIT" ]
matthidinger/DoddleImport
Doddle.Importing/Importer.cs
3,509
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 Microsoft.CodeAnalysis.Text; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.UnitTests.CodeGeneration { public cl...
34
160
0.568182
[ "Apache-2.0" ]
0x53A/roslyn
src/EditorFeatures/Test/CodeGeneration/StatementGenerationTests.cs
2,244
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; namespace Azure.AI.MetricsAdvisor.Models { /// <summary> /// Alerts will only be triggered for anomalies in the top N series. /// Use <see cref="Top"/> to specify the number of timestamps to ...
35.833333
122
0.578488
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/AlertTriggering/TopNGroupScope.cs
1,728
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Text; namespace Microsoft.Deployment.Compression.Cab { internal class CabUnpacker : CabWorker { private NativeMethods.FDI.Handle fdiHand...
30.174009
231
0.689612
[ "MIT" ]
daoluong/MSFTCompressionCab.Core
Microsoft.Deployment.Compression.Cab/Microsoft.Deployment.Compression.Cab/CabUnpacker.cs
13,699
C#
using System.Collections.Generic; using System.Linq; namespace PanoramicData.OData.Client; public abstract class MetadataBase : IMetadata { protected MetadataBase(INameMatchResolver nameMatchResolver, bool ignoreUnmappedProperties, bool unqualifiedNameCall) { IgnoreUnmappedProperties = ignoreUnmapped...
40.655367
165
0.694414
[ "MIT" ]
panoramicdata/PanoramicData.OData.Client
src/PanoramicData.OData.Client.Core/Adapter/MetadataBase.cs
7,198
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; using Workplaces.DataModel.Models; using Workplaces.Service.Interfaces; namespace Workplaces.Controllers { [ApiController] [Route("api/[controller]")] public class UserWorkplacesController : Contr...
43.571429
128
0.648318
[ "MIT" ]
borislavdostov/WorkPlacesAPI
Workplaces/Controllers/UserWorkplacesController.cs
5,797
C#
/* http://www.cgsoso.com/forum-211-1.html CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源! CGSOSO 主打游戏开发,影视设计等CG资源素材。 插件如若商用,请务必官网购买! daily assets update for try. U should buy the asset from home store if u use it in your project! */ using RootSystem = System; using System.Linq; using System.Collections.Generic; namespace W...
22.163934
111
0.596893
[ "Apache-2.0" ]
154544017/BorderEscape
Assets/Standard Assets/Windows/Kinect/ColorSpacePoint.cs
1,446
C#
namespace Northwind.Application.Rooms.Models { public class RoomPreviewModel { public int RoomId { get; set; } public int RoomNumber { get; set; } public int RoomCapacity { get; set; } public string Notes { get; set; } } }
24.363636
45
0.608209
[ "MIT" ]
marekprokurat/DotNet-zadanie3
Northwind.Application/Rooms/Models/RoomPreviewModel.cs
270
C#
using System; using System.Collections.Generic; using System.DirectoryServices.AccountManagement; using System.Linq; using System.Net; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace PurpleSharp.Lib { public class Targets { public static List<Computer>...
33.771429
123
0.488438
[ "BSD-3-Clause" ]
clr2of8/PurpleSharp
PurpleSharp/Lib/Targets.cs
7,094
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace TextSheet___Beta { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() ...
23.181818
66
0.580392
[ "MIT" ]
Depthgr8/TextSheet
TextSheet - Beta/TextSheet - Beta/Program.cs
512
C#
using AntDesign; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components.RenderTree; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; namespace OpsMain.Client.Shared.C...
32.229885
143
0.585592
[ "MIT" ]
Guyiming/Blazor-Treadstone
src/OpsMain/Client/Shared/Component/AntdExt/TabsRouteView.cs
2,806
C#
namespace UIWidgets { using UnityEngine; /// <summary> /// Autocomplete for ListViewIcons. /// </summary> public class AutocompleteIcons : AutocompleteCustom<ListViewIconsItemDescription, ListViewIconsItemComponent, ListViewIcons> { /// <summary> /// Determines whether the beginning of value matches the Inp...
35.02
153
0.706453
[ "MIT" ]
cschladetsch/CardChess
Assets/External/NewUIWidgets/Scripts/Autocomplete/AutocompleteIcons.cs
1,753
C#
/* * tweak-api * * Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak. * * OpenAPI spec version: 1.0.8-beta.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under t...
50.012998
196
0.617936
[ "Apache-2.0" ]
tweak-com-public/tweak-api-client-csharp
src/TweakApi/Api/ProductTypeApi.cs
227,009
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Dynamic; using System.IO; using System.Web; using System.Web.Script.Serialization; using CsQuery.ExtensionMethods.Internal; using CsQuery.Utility; using CsQuery.Engine; using CsQuery.Web; using...
32.686747
180
0.574641
[ "MIT" ]
dturkenk/CsQuery
source/CsQuery/CQ_CsQuery/CreateFromUrl.cs
5,428
C#
using Microsoft.Toolkit.Parsers.Markdown; using Microsoft.Toolkit.Parsers.Markdown.Blocks; using Microsoft.Toolkit.Parsers.Markdown.Helpers; using Microsoft.Toolkit.Parsers.Markdown.Inlines; using MigraDoc.DocumentObjectModel; using MigraDoc.DocumentObjectModel.Tables; using System; using System.Collections.Generic; ...
30.106195
169
0.49177
[ "Unlicense" ]
LokiMidgard/KarthagoCharacterGeneratorTool
Parsers/WorkerCostBlock.cs
6,806
C#
/////////////////////////////////////////////////////////////////////////////////////////////// // // This File is Part of the CallButler Open Source PBX (http://www.codeplex.com/callbutler // // Copyright (c) 2005-2008, Jim Heising // All rights reserved. // // Redistribution and use in source and b...
44.264368
177
0.617502
[ "BSD-3-Clause" ]
cetin01/callbutler-in-vs2008
CallButler Manager/RemotingExceptionManager.cs
3,851
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Slowsharp { public class TimeoutException : SSRuntimeException { public TimeoutException() : base ("Execution has timed out") { } } }
18.235294
54
0.658065
[ "MIT" ]
pjc0247/SlowSharp
Slowsharp/Exception/TimeoutException.cs
312
C#
using System.Collections.Generic; namespace Melanchall.DryWetMidi.Smf.Interaction { internal sealed class PatternActionResult { #region Constants public static readonly PatternActionResult DoNothing = new PatternActionResult(); #endregion #region Constructor public ...
21.481481
103
0.576724
[ "MIT" ]
FabioZumbi12/drywetmidi
DryWetMidi/Smf.Interaction/Pattern/PatternActionResult.cs
1,162
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Page { /// <summary> /// Overrides the Device Orientation. /// </summary> [CommandResponse(ProtocolName.Page.SetDeviceOrientationOverride)] public class SetDeviceOrientationOverri...
23.066667
66
0.803468
[ "MIT" ]
brewdente/AutoWebPerf
MasterDevs.ChromeDevTools/Protocol/Page/SetDeviceOrientationOverrideCommandResponse.cs
346
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Messaging.Sharedlib.Commands { public interface IRegisterOrderCommand { public Guid OrderId { get; set; } public string PictureUrl { get; set; } public string U...
23.352941
46
0.677582
[ "MIT" ]
mvpnaresh/Assignment2
Faces.SharedLib/Messaging.Sharedlib/Commands/IRegisterOrderCommand.cs
399
C#
using AutoFixture; using EntityFrameworkCore.AutoFixture.Tests.Common.SpecimenBuilders; namespace EntityFrameworkCore.AutoFixture.Tests.Common.Customizations { public class IgnoredVirtualMembersCustomization : ICustomization { public void Customize(IFixture fixture) { fixture.Custo...
28.357143
83
0.75063
[ "MIT" ]
ccpu/EntityFrameworkCore.AutoFixture
src/EntityFrameworkCore.AutoFixture.Tests/Common/Customizations/IgnoredVirtualMembersCustomization.cs
399
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using War3Api.Object.Abilities; using War3Api.Object.Enums; using War3Net.Build.Object; using War3Net.Common.Extensions; namespace War3Api.Object.Abilities { public sealed class SacrificeAcolyte : Ability ...
24.605263
107
0.664171
[ "MIT" ]
YakaryBovine/AzerothWarsCSharp
src/War3Api.Object/Generated/1.32.10.17734/Abilities/SacrificeAcolyte.cs
935
C#
using System; using System.Collections.Generic; namespace ImageMetaExtractor { public static class ExposureApexAv { private static readonly double Log2 = Math.Log(2.0); /// <summary> /// F値 / AV値 テーブル (ジャスト1/3刻みにしたいので計算で求めない) /// </summary> private static readonly IRea...
30.64
87
0.342037
[ "MIT" ]
hsytkm/ImageCompareViewer
10_ImageMeta/ImageMetaExtractor/Interface/ExposureApexAv.cs
2,378
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Visualization.Data { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reflection; using System....
49.377814
199
0.62117
[ "MIT" ]
danbohus/psi
Sources/Visualization/Microsoft.Psi.Visualization.Windows/Data/DataManager.cs
30,715
C#
using System; using System.Web.Mvc; using DotNet; namespace Refiddle.Controllers { public class RegexController : Controller { [HttpPost] [ValidateInput(false)] public object Evaluate( string pattern, string corpus_text ) { var fiddleRunner = new FiddleRunner(); object result; try ...
24.918367
83
0.591319
[ "MIT" ]
FelisPhasma/refiddle-com
runners/DotNet/DotNet/Controllers/RegexController.cs
1,221
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Core { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial struct TimedTextSize { // Forced skipping of method Windows.Media.C...
31.090909
79
0.722222
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Core/TimedTextSize.cs
684
C#
// Copyright (c) 2015 Abel Cheng <abelcys@gmail.com> and other contributors. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // Repository: https://github.com/DataBooster/DbWebApi using System; using System.Text; using System.Net.Http; using System.Collections; n...
25.31746
101
0.760502
[ "MIT" ]
DataBooster/DbWebApi
Client/Net/DataBooster.DbWebApi.Client/HttpResponseClientException.cs
1,597
C#
//--------------------------------------------------------------------- // <copyright file="EntityTypeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner [....] // @backupOwner [....] //-------------------------------------------------...
33.25
138
0.554243
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/DataEntity/System/Data/Objects/DataClasses/EdmEntityTypeAttribute.cs
931
C#
namespace LangageBrainFuck {     public interface IInterpreteur     {         void ChargerProgramme(string codeDuProgramme);         void Executer();     } }
20.625
55
0.642424
[ "CC0-1.0" ]
Gabt88/420-W30-SF
random/LangageBrainFuck/LangageBrainFuck/IInterpreteur.cs
201
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace AdvocacyPlatformInstaller.Contracts { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// Interface fo...
26.608696
61
0.643791
[ "MIT" ]
Bhaskers-Blu-Org2/AdvocacyPlatform
Installer/AdvocacyPlatformInstaller.Contracts/Interface/ILoggedClient.cs
614
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using KonacniProjekat.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; namespace KonacniProjekat { public class ZnamenitostJednaModel : PageModel ...
28.390244
114
0.646907
[ "MIT" ]
aleksija16/ONT
Aplikacija/KonacniProjekat/Pages/ZnamenitostJedna.cshtml.cs
1,164
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/codecapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows...
55
157
0.78419
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/codecapi/eAVDecVideoInputScanType.cs
1,267
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace Natty.Utility.Reflection.Emit { public sealed class EmitUtils { private EmitUtils() { } public static void LoadInt32(ILGenerator gen, int value) { if (gen == nul...
27.881579
91
0.367154
[ "Apache-2.0" ]
wanglei0803/PrintBarCode
Natty.Utility/Reflection/Emit/EmitUtils.cs
6,357
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.305263
181
0.58792
[ "MIT" ]
deadlydog/DPSF
src/DPSF/DPSFResources.Designer.cs
3,926
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SelfInjectiveQuiversWithPotential.Plane { public class OrientedLineSegment { public Point Start { get; } public Point End { get; } public OrientedLineSegment(...
45.653266
165
0.618382
[ "MIT" ]
Samuel-Q/SelfInjectiveQuiversWithPotential
SelfInjectiveQuiversWithPotential/Plane/OrientedLineSegment.cs
9,087
C#
using System; namespace SnowLeopard.FastDFS { /// <summary> /// query which storage server to store file /// /// Reqeust /// Cmd: TRACKER_PROTO_CMD_SERVICE_QUERY_STORE_WITH_GROUP_ALL 107 /// Body: /// @ FDFS_GROUP_NAME_MAX_LEN bytes: group name /// Response /// C...
25.846154
73
0.595238
[ "MIT" ]
alienwow/SnowLeopard
src/SnowLeopard.FastDFS/Tracker/QUERY_STORE_WITH_GROUP_ALL.cs
1,010
C#
namespace Altsoft.PDFO { using System; public class SignatureLock : Resource { // Methods public SignatureLock(PDFDict dict) : base(dict) { } public static Resource Factory(PDFDirect direct) { return new SignatureLock((direct as PDFDict)); ...
24.796296
70
0.348394
[ "MIT" ]
silvath/siscobras
mdlPDF/Xml2PDF/Source/Altsoft/PDFO/SignatureLock.cs
2,678
C#
using ExpandedContent.Config; using ExpandedContent.Extensions; using ExpandedContent.Utilities; using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes; using Kingmaker.Blueprints.Classes.Prerequisites; using Kingmaker.Blueprints.Items; using Kingmaker.Designers.Mechanics.Facts; using Kingmaker.UnitLogic.Align...
69.564885
184
0.673872
[ "MIT" ]
bittercranberry/ExpandedContent
ExpandedContent/Tweaks/Archdevils/Mephistopheles.cs
9,115
C#
// OData .NET Libraries ver. 5.6.3 // 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 withou...
42.898305
158
0.657843
[ "Apache-2.0" ]
tapika/choco
lib/Microsoft.Data.Services.Client/ODataLib/EdmLib/Desktop/.Net4.0/Microsoft/Data/Edm/Interfaces/IEdmStructuredType.cs
2,531
C#
using System; using ChartDirector; namespace CSharpChartExplorer { public class surface : DemoModule { //Name of demo module public string getName() { return "Surface Chart (1)"; } //Number of charts produced in this demo module public int getNoOfCharts() { return 1; } ...
41.166667
100
0.54067
[ "Apache-2.0" ]
jojogreen/Orbital-Mechanix-Suite
NetWinCharts/CSharpWinCharts/surface.cs
2,717
C#
using System.Collections.Generic; using System.Linq; using FluentAssertions; using SheddingCardGames.Domain; namespace SheddingCardGames.Tests.EndToEnd { public class OlsenOlsenVariantVerifier { private readonly Game sut; private readonly Dictionary<int, CardCollection> playerHands; pr...
47.074074
113
0.67401
[ "MIT" ]
JonQuxBurton/CardGames
SheddingCardGames/SheddingCardGames.Tests/EndToEnd/OlsenOlsenVariantVerifier.cs
3,815
C#
#region copyright // ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIE...
37.016949
147
0.619734
[ "MIT" ]
AgneLukoseviciute/react-native-windows-samples
samples/TodosFeed/InventorySample/Inventory.App/Configuration/AppSettings.cs
4,370
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.738806
193
0.630908
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Storage/V20190601/ManagementPolicy.cs
6,665
C#
using System; using System.Collections.Generic; using System.Text; namespace MQTTnet.TestApp { public class TopicGenerator { public void Generate( int numPublishers, int numTopicsPerPublisher, out Dictionary<string, List<string>> topicsByPublisher, out Dictionary<string...
40.658824
134
0.5
[ "MIT" ]
76541727/MQTTnet
Source/MQTTnet.TestApp/TopicGenerator.cs
3,456
C#
using System; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; using QuickDeploy.Common; namespace QuickDepl...
34.844086
158
0.516741
[ "MIT" ]
mbiandiek/QuickDeploy
QuickDeploy.Server/QuickDeployTcpSslServer.cs
6,483
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace BrowseStorageXamarinForm.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally ...
34.84375
98
0.681614
[ "MIT" ]
SiasbRadvarZanganeh/Xamarin-Samples
BrowseStorageXamarinForm/BrowseStorageXamarinForm.iOS/AppDelegate.cs
1,117
C#
// CoinsData #define UNITY_ASSERTIONS using ClubPenguin; using Disney.Kelowna.Common.DataModel; using System; using UnityEngine; [Serializable] public class CoinsData : ScopedData { [SerializeField] private int coins = 0; public int Coins { get { return coins; } internal set { sendCoinEvents(value...
18.945055
78
0.695476
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin/CoinsData.cs
1,724
C#
using System.Linq; using Xunit; namespace Cake.Tools.ReadyAPI.TestEngine.Tests { public partial class TestEngineRunnerTests { [Fact] public void GetArguments_SecurityTestProvidedHasArgument() { var settings = new TestEngineSettings { S...
29.0625
104
0.566308
[ "MIT" ]
waxtell/Cake.Tools.ReadyAPI.TestEngine
Cake.Tools.ReadyAPI.TestEngine.Tests/TestEngineRunnerTests_SecurityTest.cs
1,395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharperArchitecture.Common.Exceptions { public class SharperArchitectureException : Exception { public SharperArchitectureException(string message) : base(message) { ...
23.740741
118
0.670827
[ "MIT" ]
maca88/PowerArhitecture
Source/SharperArchitecture.Common/Exceptions/SharperArchitectureException.cs
643
C#
using Gtk; using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.HOS.Services.Account.Acc; using Ryujinx.Ui.Common.Configuration; using Ryujinx.Ui.Widgets; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Processing; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System...
34.384848
199
0.556535
[ "MIT" ]
vdavalon01/Ryujinx
Ryujinx/Ui/Windows/UserProfilesManagerWindow.cs
11,349
C#
#nullable disable namespace NadekoBot.Modules.Utility.Common.Exceptions; public class StreamRoleNotFoundException : Exception { public StreamRoleNotFoundException() : base("Stream role wasn't found.") { } public StreamRoleNotFoundException(string message) : base(message) { } ...
22.65
80
0.701987
[ "MIT" ]
StefanPuia/nadeko
src/NadekoBot/Modules/Utility/_Common/Exceptions/StreamRoleNotFoundException.cs
453
C#
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Microsoft.VisualStudio.UserNotifications.Interop { [ComImport, TypeIdentifier, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("791A7AEF-BFFD-45E8-B164-FC8CDD423D69"), CompilerGenerated] publi...
49
150
0.694898
[ "MIT" ]
kevfromireland/visual-studio-2013-notifications-example
UserNotificationDemo/Interop/IVsUserNotification.cs
982
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerCollision : MonoBehaviour { private Rigidbody rb; private PlayerController player; // Use this for initialization void Start () { rb = GetComponent<Rigidbody>(); player = GetComponent<PlayerCo...
21
78
0.643625
[ "MIT" ]
Cheeryo/MageSmashBros
Mage Smash Bros/Assets/Scripts/Player/PlayerCollision.cs
653
C#
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Lti.Web.Services { public class ConfigService { private readonly IConfiguration config; public ConfigService(IConfiguration config) { ...
38.407407
113
0.711668
[ "MIT" ]
toddlindsey/lti-playground
LtiPlayground/Lti.Web/Services/ConfigService.cs
1,039
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; usi...
29.763158
106
0.70557
[ "Apache-2.0" ]
colinsteffen/ba-xamarin-android
bm_rest_webapi/bm_rest_webapi/Startup.cs
1,133
C#
using System; using System.Collections.Generic; using System.Text; using System.Web; using System.Web.UI; using Geomethod; namespace Geomethod.Web { /* public class WebLogInformer : ILogInformer { public WebLogInformer() { } #region ILogInformer Members public void Show(Exception ex, object obj) { th...
19.042553
81
0.656983
[ "MIT" ]
AlexAbramov/geomethod
Geomethod.Web/WebLogInformer.cs
895
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Text.Http.SingleSegment { public struct HttpHeaderBuffer { //TODO: Issue #390: Switch HttpHeaderBuffer to use Slices.Span. pr...
37.135135
161
0.588307
[ "MIT" ]
crummel/dotnet_corefxlab
src/System.Text.Http/System/Text/Http/Obsolete/HttpHeaderBuffer.cs
4,124
C#
using UnityEngine; public class TapToPlaceParent : MonoBehaviour { bool placing = false; void OnSelect() { placing = !placing; if (placing) { SpatialMapping.Instance.DrawVisualMeshes = true; } else { SpatialMapping.Instance.DrawVi...
23.204545
116
0.553379
[ "MIT" ]
YoungxHelsinki/Aalto-hololens
code/HolographicAcademy-Holograms-101/Origami/Assets/Scripts/TapToPlaceParent.cs
1,023
C#
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // do...
40.320755
129
0.728591
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
DNN Platform/DotNetNuke.Web/Api/Internal/Auth/WebFormsAuthMessageHandler.cs
2,138
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using Amazon.CloudFormation; using Amazon.CloudFormation.Model; using Amazon.Runtime; using Calamari.Aws.Exceptions; using Calamari.Aws.Integration; using Ca...
46.855019
273
0.606236
[ "Apache-2.0" ]
OctopusDeploy/Calamari
source/Calamari.Aws/Deployment/Conventions/DeployAwsCloudFormationConvention.cs
12,606
C#
namespace People_Recognizer { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
28.5
107
0.558772
[ "Apache-2.0" ]
akshays2112/People-Recognizer
People Recognizer/Form1.Designer.cs
1,142
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; namespace JWPush.Web.Models { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; set; } ...
28.77907
88
0.603232
[ "Unlicense" ]
GuyFawkesFromKorea/JWPushR
JWPush.Web/Models/ManageViewModels.cs
2,649
C#
namespace LINGYUN.Abp.MessageService.Subscriptions { public class UserSubscriptionsResult { public bool IsSubscribed { get; } public UserSubscriptionsResult(bool isSubscribed) { IsSubscribed = isSubscribed; } public static UserSubscriptionsResult Subscribed...
23.565217
60
0.625461
[ "MIT" ]
FanShiYou/abp-vue-admin-element-typescript
aspnet-core/modules/message/LINGYUN.Abp.MessageService.Application.Contracts/LINGYUN/Abp/MessageService/Subscriptions/Dto/UserSubscriptionsResult.cs
544
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
41.811321
272
0.651173
[ "MIT" ]
WhereIsMyTransport/Pulumi.Crds.CertManager
crd/dotnet/Certmanager/V1Alpha3/Inputs/IssuerSpecVaultArgs.cs
2,216
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
36.206522
195
0.640348
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/Internal/MarshallTransformations/GameSessionQueueDestinationUnmarshaller.cs
3,331
C#
namespace Capgemini.PowerApps.PackageDeployerTemplate.UnitTests.Services { using System; using System.Collections.Generic; using System.Linq; using Capgemini.PowerApps.PackageDeployerTemplate.Adapters; using Capgemini.PowerApps.PackageDeployerTemplate.Services; using FluentAssertions; using ...
42.655405
173
0.623792
[ "MIT" ]
Capgemini/powerapps-packagedeployer-template
tests/Capgemini.PowerApps.PackageDeployerTemplate.UnitTests/Services/ConnectionReferenceDeploymentServiceTests.cs
6,313
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 // //...
49.243243
113
0.701976
[ "Apache-2.0" ]
castleproject-deprecated/Castle.Windsor-READONLY
src/Castle.Windsor/Windsor/Diagnostics/IExposeDiagnostics.cs
1,822
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace IS.OAuth { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args) => ...
24.52381
70
0.572816
[ "MIT" ]
Amitpnk/IdentityServerDemo
IS/IS.OAuth/Program.cs
515
C#
using System; namespace Rightek.HttpClient.Dtos { public class CallbackArgs { public Settings Settings { get; set; } public Exception Exception { get; set; } public string ExceptionType { get; set; } public DateTimeOffset StartAt { get; set; } public DateTimeOffset EndA...
26.384615
51
0.632653
[ "MIT" ]
rightek/rightek.httpclient
src/Rightek.HttpClient/Dtos/CallbackArgs.cs
345
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Management.Automation.Runspaces; namespace SharePointPnP.PowerShell.Tests.Publishing { [TestClass] public class AddPublishingPageTests { #region Test Setup/CleanUp [ClassInitialize] public static void Ini...
31.648352
145
0.559028
[ "MIT" ]
Ashikpaul/PnP-PowerShell
Tests/Publishing/AddPnPPublishingPageTests.cs
2,880
C#
using TechTalk.SpecFlow; using BoDi; using RaaLabs.Edge.Modules.EventHub.Specs.Drivers; using Azure.Messaging.EventHubs; namespace RaaLabs.Edge.Modules.EventHub.Specs.Steps { [Binding] class EventHubBridgeSteps { private readonly IObjectContainer _container; public EventHubBridgeSteps(IOb...
36.233333
132
0.73965
[ "MIT" ]
RaaLabs/Edge
Edge.Modules.EventHub.Specs/Steps/EventHubBridgeSteps.cs
1,089
C#
using System; using System.Security.Cryptography; using System.Text; namespace SecureJaroWinkler { public class Hash { public Hash() { } public enum HashType : int { MD5, SHA1, SHA256, SHA512, } public ...
28.63522
93
0.4698
[ "MIT" ]
uva-bi-sdad/secure_jaro_winkler_cs
SecureJaroWinkler/Hash.cs
4,555
C#
using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Collections.Generic; using System.Linq; using Soothsharp.Translation.Trees.CSharp.Statements; using Soothsharp.Translation.Trees.Silver; namespace Soothsharp.Translation.Trees.CSharp { internal class BlockSharpnode : StatementSharpnode { private...
43.864
153
0.4793
[ "MIT" ]
Soothsilver/cs2sil
Soothsharp.Translation/Trees/CSharp/Statements/BlockSharpnode.cs
5,485
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zokma.Libs.Audio { /// <summary> /// Exception for invalid state; /// </summary> public class InvalidAudioEngineStateException : Exception { /// <summary> /...
22.541667
63
0.615527
[ "MIT" ]
zokma/live-sounds
LiveSoundsSolution/Zokma.Libs/Audio/InvalidAudioEngineStateException.cs
543
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
43.909295
222
0.610339
[ "MIT-feh" ]
AIKICo/UnitsNet
UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs
39,214
C#
//Problem 5. Maximal increasing sequence //Write a program that finds the maximal increasing sequence in an array. //Example: //input result //3, 2, 3, 4, 2, 2, 4 2, 3, 4 using System; using System.Linq; class MaximalIncreasingSequence { static void Main() { string task = "Problem 5. Ma...
23.059701
203
0.633657
[ "MIT" ]
SHAMMY1/Telerik-Academy
Homeworks/CSharpPartTwo/01.Arrays/Arrays-Homework/05.MaximalIncreasingSequence/MaximalIncreasingSequence.cs
1,547
C#
/* * File: MethodInfoMixin.cs * * Author: Akira Sugiura (urasandesu@gmail.com) * * * Copyright (c) 2016 Akira Sugiura * * This software is MIT License. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files...
36.055556
89
0.681561
[ "MIT" ]
urasandesu/AutoFixture.AutoMoqPrig
AutoFixture.AutoMoqPrig/Mixins/System/Reflection/MethodInfoMixin.cs
1,949
C#
using UAlbion.Api; namespace UAlbion.Core.Events { [Event("e:run_renderdoc")] public class RunRenderDocEvent : EngineEvent { } }
19.285714
79
0.733333
[ "MIT" ]
BenjaminRi/ualbion
src/Core/Events/RunRenderDocEvent.cs
137
C#
[CompilerGeneratedAttribute] // RVA: 0xFD850 Offset: 0xFD951 VA: 0xFD850 private sealed class TerrainUtility.TerrainMap.<>c__DisplayClass4_0 // TypeDefIndex: 3672 { // Fields public int groupID; // 0x10 // Methods // RVA: 0x1B47E90 Offset: 0x1B47F91 VA: 0x1B47E90 public void .ctor() { } // RVA: 0x1B494C0 Offse...
25.375
89
0.738916
[ "MIT" ]
SinsofSloth/RF5-global-metadata
_no_namespace/TerrainUtility.TerrainMap.----c__DisplayClass4_0.cs
406
C#
using UnityEngine; namespace ZoroDex.SimpleCard.Data.Character { [CreateAssetMenu(menuName = "Data/Character")] public class CharacterData : ScriptableObject,ICharacterData { [SerializeField] private Sprite artwork; [Range(1, 16)] [SerializeField] private int attack; [Range(1, 16)...
36.65625
71
0.610401
[ "MIT" ]
led0warlpl/SimpleCard
Assets/Scripts/ZoroDex/SimpleCard/Battle/StaticData/CharacterData/CharacterData.cs
1,175
C#
using System; using System.Linq; using Base.Core; using Base.Defs; using Harmony; using PhoenixPoint.Common.Core; using PhoenixPoint.Geoscape.Entities; using PhoenixPoint.Geoscape.Entities.Sites; namespace AssortedAdjustments.Patches { internal static class DifficultyOverrides { public st...
54.24359
395
0.688253
[ "MIT" ]
Mad-Mods-Phoenix-Point/AssortedAdjustments
Source/AssortedAdjustments/Patches/EnableDifficultyOverrides.cs
4,233
C#
using System; namespace Project { public class MultiparameterCalculatorAdapter : CalculatorAdapter { private int[] _values; public MultiparameterCalculatorAdapter(Calculator calculator, params int[] values) : base(calculator) { _values = values; } ...
22.055556
90
0.521411
[ "MIT" ]
danieldeveloper001/csharp_design_patterns
src/structural/adapter/002_concrete_internal_services/Adapter/MultiparameterCalculatorAdapter.cs
794
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Application.Interfaces; using Persistence.RelationalDb; namespace Persistence { public static class DependencyInjection { public static IServiceCollection AddPersistenceServices(...
29.571429
123
0.819646
[ "CC0-1.0" ]
vitptosek/AlzaCaseStudy
Src/Infrastructure/Persistence/DependencyInjection.cs
623
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.Extensions.Logging; namespace RolaltyCardProject.Pages { public class IndexModel : PageModel { private readonly IL...
19.615385
53
0.672549
[ "MIT" ]
pedroesli/RoyaltyCardProject
RolaltyCardProject/RolaltyCardProject/Pages/Index.cshtml.cs
512
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using Chatter.CQRS; namespace Chatter.MessageBrokers.Recovery.CircuitBreaker { public class CircuitBreakerOptionsBuilder { private int _openToHalfOpenWaitTimeInSeconds = 15; private int _con...
52.058824
189
0.70573
[ "MIT" ]
brenpike/Chatter
src/Chatter.MessageBrokers/src/Chatter.MessageBrokers/Recovery/CircuitBreaker/CircuitBreakerOptionsBuilder.cs
6,197
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Drawing; using System.IO; using System.Runtime.InteropServices; usin...
40.257839
246
0.576802
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/HtmlElementTests.cs
120,695
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.Extensions.Logging; using Serilog; using ILogger = Microsoft.Extensions.Logging.ILogger; namespace TPP.Api { public static class AppLogging { public static ILoggerFactory LoggerF...
28.105263
84
0.649813
[ "MIT" ]
Bhaskers-Blu-Org2/SPP_Public
src/api/Web/TPP.Web.Api/AppLogging.cs
536
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using DG.Tweening; using UnityEngine.SceneManagement; public class PilotTesting_Question : MonoBehaviour { [Header("UI")] public Image continueTip; public RectTransform bg; public Text _text; [Hea...
27.465517
56
0.650973
[ "MIT" ]
neil841004/Cube-Adventure
Assets/Scripts/PilotTesting_Question.cs
1,595
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CleanArchitecture.Infrastructure.Caching { /// <summary> /// This class includes cache options for Redis Cache. /// </summary> internal class RedisCacheOption { ///...
24.04
58
0.622296
[ "MIT" ]
furkandeveloper/CleanArchitecture
src/Infrastructure/Caching/RedisCacheOption.cs
603
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FMC.EFRepository { public interface IRepository<T> { void Create(T entity); T Read(Guid id); void Update(T entity); void Delete(T entity); I...
16.045455
35
0.643059
[ "Apache-2.0" ]
zcs0228/FMC
FMC/FMC/EFRepository/IRepository.cs
355
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeA...
39.742857
137
0.76348
[ "MIT" ]
333fred/roslyn
src/Features/LanguageServer/Protocol/Handler/Formatting/FormatDocumentRangeHandler.cs
1,393
C#
//---------------------------------------------- // MeshBaker // Copyright © 2011-2012 Ian Deane //---------------------------------------------- using UnityEngine; using System.Collections; using System.IO; using System; using System.Collections.Generic; using System.Text; using System.Reflection;...
55.629857
378
0.527626
[ "Apache-2.0" ]
lmj921/PerformanceExample
PerformanceExample/Assets/MeshBaker/scripts/core/TextureCombiner/MB3_TextureCombinerPipeline.cs
54,407
C#
namespace CHUSHKA.Service { using CHUSHKA.Data; using CHUSHKA.Models; using CHUSHKA.Service.Contracts; using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; public class OrdersService : IOrdersService { private readonly Chus...
22.681818
50
0.527054
[ "MIT" ]
SonicTheCat/ASP.NET-Core
02.Introduction to Razor - Views and Layouts/CHUSHKA/CHUSHKA.Service/OrdersService.cs
1,000
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace Multiverse.ToolBox { public class valueItem { public string value = ""; public string type = ""; public List<string> enumList = new List<string>(); } public class NameValueObject : IEnumerable<valueItem> { pub...
26.546784
116
0.490583
[ "MIT" ]
AustralianDisabilityLimited/MultiversePlatform
lib/NameValuePairs/NameValuePairs/NameValueObject.cs
9,079
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using AutoMapper; using LightXun.Study.FakeXiecheng.API.Services; using LightXun.Study.FakeXiecheng.API.Dtos; using LightXun.Study.FakeXiecheng.API.Models; namespace LightXun.Study.FakeXiec...
36.300971
114
0.644825
[ "MIT" ]
lightxun/LXDP
91.Code/LightXun.Study.FakeXiecheng.API/Controllers/TouristRoutePicturesController.cs
3,817
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Core.Extensions; using WalkingTec.Mvvm.Mvc; using WalkingTec.Mvvm.Mvc.Admin.ViewModels.DataPrivilegeVMs; namespace WalkingTec.Mvvm.Admin.Api { [ActionDescription("数据...
29.446541
147
0.496796
[ "MIT" ]
huangdongqin/WTM
src/WalkingTec.Mvvm.Mvc.Admin/DataPrivilegeController.cs
4,720
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using RazorPagesMovie.Mod...
27.446809
81
0.569767
[ "MIT" ]
teodragoi/TSP.NET
Asp_Dragoi_Teodor_Rp/RazorPagesMovie/RazorPagesMovie/Program.cs
1,290
C#