content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.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;...
23.37931
57
0.731563
[ "MIT" ]
bbo76/syno.downloader
src/UserControls/AddSubFolderDialog.xaml.cs
680
C#
using AElf.Kernel.SmartContract.Application; using AElf.Kernel.TransactionPool.Infrastructure; using AElf.Kernel.Txn.Application; using AElf.Modularity; using Microsoft.Extensions.DependencyInjection; using Volo.Abp.Modularity; namespace AElf.Kernel.TransactionPool { [DependsOn(typeof(CoreKernelAElfModule))] p...
45.307692
111
0.75382
[ "MIT" ]
AElfProject/AElf
src/AElf.Kernel.TransactionPool/TransactionPoolAElfModule.cs
1,178
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PEQuick.Flags; using PEQuick.MetaData; using PEQuick.TableRows; namespace PEQuick.IL { public class MethodBody { private MethodBodyFormat _format; private uint _size; private byte[...
37.040984
91
0.474884
[ "MIT" ]
Drawaes/dotnetXperiments
PEQuick/PEQuick/IL/MethodBody.cs
4,521
C#
namespace MonoGameMPE.Core.Profiles { public class RingProfile : Profile { public float Radius { get; set; } public CircleRadiation Radiate { get; set; } public override void GetOffsetAndHeading(out Vector offset, out Axis heading) { FastRand.NextUnitVector(out heading); ...
34.736842
87
0.593939
[ "MIT" ]
Jjagg/MgMercury
Core/Profiles/RingProfile.cs
662
C#
using InventorySystem.Items.Radio; using Nexus.Entities.Items.Base; using Nexus.Enums; namespace Nexus.Entities.Items { /// <summary> /// Represents an in-game inventory radio. /// </summary> public class RadioItem : BaseItem { internal InventorySystem.Items.Radio.RadioItem radio; ...
32.268657
117
0.581406
[ "MIT" ]
NexusCommunity/Nexus
Nexus/Entities/Items/RadioItem.cs
2,164
C#
using System; using System.Collections.Generic; using System.Linq; public class Program { private static int doll = 0; private static int train = 0; private static int bear = 0; private static int bicycle = 0; private static Stack<int> materials = new Stack<int>(ReadArr()); private static Que...
29.552941
134
0.487261
[ "MIT" ]
aalishov/School
School-2020_2021/11B_Solutions/03-Module Algorithms/S08-StackAndQueue/P14-SantasPresentFactory/Program.cs
2,514
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Polly; using Polly.Registry; using Stoolball.Caching; using Stoolball.Matches; namespace Stoolball.Data.Cache { public class CachedMatchListingDataSource : IMatchListingDataSource { private readonly ICacheableMatchList...
48.075
205
0.75299
[ "Apache-2.0" ]
stoolball-england/stoolball-org-uk
Stoolball.Data.Cache/CachedMatchListingDataSource.cs
1,925
C#
using ARKBreedingStats.uiControls; namespace ARKBreedingStats { partial class BreedingPlan { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen b...
57.472401
180
0.65462
[ "MIT" ]
EmkioA/ARKStatsExtractor
ARKBreedingStats/BreedingPlan.Designer.cs
44,783
C#
// Copyright 2015 Coinprism, Inc. // // 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 agree...
38.319588
142
0.572774
[ "Apache-2.0" ]
numerum-tech/openchain
src/Openchain.SqlServer/SqlServerLedger.cs
3,719
C#
// // $Id: InputFileTag.cs 8596 2010-11-29 21:33:06Z zeqiangma $ // // The contents of this file are subject to the Mozilla Public License // Version 1.1 (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.mozilla.org/MPL/ // ...
27.5
121
0.469992
[ "Apache-2.0" ]
shze/pwizard-deb
pwiz_tools/Bumbershoot/scanranker/GUI/InputFileTag.cs
6,215
C#
namespace P01_BillsPaymentSystem.Data { public class Configuration { public const string ConnectionString = "Server=PIROMAN\\SQLEXPRESS;Database=BillsPaymentSystem;Integrated Security=True;"; } }
30.857143
130
0.75463
[ "MIT" ]
pirocorp/Databases-Advanced---Entity-Framework
06. Advanced Relations/Exercises/P01_BillsPaymentSystem/P01_BillsPaymentSystem.Data/Configuration.cs
218
C#
using System; using System.Text; using UnityEditor.Graphing; using UnityEngine; namespace UnityEditor.ShaderGraph.Internal { [Serializable] public abstract class VectorShaderProperty : AbstractShaderProperty<Vector4> { internal override bool isExposable => true; internal override...
37.88
300
0.705385
[ "MIT" ]
ellcraig/RollABall
Roll-A-Ball/Library/PackageCache/com.unity.shadergraph@10.2.2/Editor/Data/Graphs/VectorShaderProperty.cs
947
C#
using UnityEngine; using System.Collections; using UnityEditor; using UnityEngine.SceneManagement; using System.Collections.Generic; using System.IO; using System; using System.Globalization; using UnityEditor.SceneManagement; using UnityEngine.Rendering; using Object = UnityEngine.Object; public class ExportStages {...
38.158065
166
0.49273
[ "MIT" ]
ghiboz/gStageEditor_Demo
Assets/gStageEditor/Export/Editor/ExportStage.cs
23,660
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. #if !NO_PERF using System; using System.Collections.Generic; using System.Threading; namespace System.Reac...
30.943182
94
0.525891
[ "Apache-2.0" ]
LeeCampbell/Rx.NET
Rx.NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/MostRecent.cs
2,725
C#
using HelperProject.HelperLibrary.Exceptions; using HelperProject.HelperLibrary.Plugins; using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace HelperProject.HelperLibrary { public class XMLBuild : XMLFile { public List<Task> tasks { get; private set; } ...
33.797297
184
0.506997
[ "MIT" ]
dimabru/InstallationManager
Common/CommonTester/BaseView/HelperLibrary/XMLBuild.cs
2,503
C#
/* MIT License Copyright (c) 2011-2019 Markus Wendt (http://www.dodoni-project.net) All rights reserved. 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 li...
45.269521
217
0.539478
[ "MIT" ]
dodoni/dodoni.net
XLBasicComponents/ExcelDataConverter.cs
35,946
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.ImageSharp.Processing { /// <summary> /// The function implements the Lanczos kernel algorithm as described on /// <see href="https://en.wikipedia.org/wiki/Lanczos_resampling#Algorithm">Wik...
24.757576
94
0.52754
[ "Apache-2.0" ]
axunonb/ImageSharp
src/ImageSharp/Processing/Transforms/Resamplers/Lanczos3Resampler.cs
819
C#
/***************************************************************************** * ==> Class Find -----------------------------------------------------------* * *************************************************************************** * Description : Find form to allow find text operations. * * ...
35.5
103
0.450577
[ "MIT" ]
Jeanmilost/Visual-Mercutio
Tools/Visual Mercutio Reports manager/RichTextEditor/RichTextEditorForms/Find.cs
7,883
C#
// Copyright 2014 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NodaTime.Calendars; using NUnit.Framework; namespace NodaTime.Test.Calendars { public class HebrewMonthConverterTest { private con...
34.381818
106
0.585933
[ "Apache-2.0" ]
0xced/nodatime
src/NodaTime.Test/Calendars/HebrewMonthConverterTest.cs
1,893
C#
using Akka.Actor; using Akka.Actor.Internals; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Akka.Serialization { /// <summary> /// Class NewtonSoftJsonSerializer. /// </summary> public class Newt...
40.126866
127
0.581365
[ "Apache-2.0" ]
forki/akka.net
src/core/Akka/Serialization/NewtonSoftJsonSerializer.cs
5,379
C#
using Google.Apis.Auth.OAuth2; using Google.Apis.Calendar.v3; using Google.Apis.Calendar.v3.Data; using Google.Apis.Services; using Google.Apis.Util.Store; using System; using System.Threading; namespace Lanina.Public.Web.Api.ThirdPartyClients.Google { public class GoogleCalendarClient { private reado...
36.785714
127
0.58835
[ "MIT" ]
laninayazilim/LaNina.Public.Web.Api
ThirdPartyClients/Google/GoogleCalendarClient.cs
2,577
C#
using Doctrina.ExperienceApi.Data.Json; using Newtonsoft.Json.Linq; namespace Doctrina.ExperienceApi.Data.InteractionTypes { public class InteractionComponent : JsonModel { public InteractionComponent() { } public InteractionComponent(JsonString jsonString) : this(jsonString.ToJToken(), ApiVe...
27.354167
116
0.534653
[ "MIT" ]
bitflipping-net/experience-api
src/Data/InteractionTypes/InteractionComponent.cs
1,315
C#
 namespace NCop.IoC.Fluent { public interface ICastableRegistration<in TCastable> : IReuseStrategyRegistration { ICasted ToSelf(); ICasted From<TService>() where TService : TCastable, new(); } }
22.4
85
0.678571
[ "MIT" ]
sagifogel/NCop
NCop.IoC/Fluent/ICastableRegistration`1.cs
226
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; using System.Configuration; namespace SubtitlesMatcher.Infrastructure { public static class WebPageHelper { public static string RetrieveWebPageContent(string url, Encoding encoding...
27.22807
103
0.612113
[ "MIT" ]
oshvartz/subsmatcher
Src/SubtitlesMatcher.Infrastructure/WebPageHelper.cs
1,554
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 04.12.2020. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
28.923567
155
0.56155
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Subtract/Complete/Int16/Int16AsInt32/TestSet_001__fields.cs
4,543
C#
/** * Autogenerated by Thrift Compiler (0.11.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ namespace Apache.Hive.Service.Rpc.Thrift { public enum TTypeId { BOOLEAN_TYPE = 0, TINYINT_TYPE = 1, SMALLINT_TYPE = 2, INT_TYPE = 3, BIGINT_TYPE = 4, F...
20.135135
67
0.628188
[ "Apache-2.0" ]
SamuelFisher/Airlock.Hive
lib/Apache.Hive.Service.Rpc.Thrift/TTypeId.cs
745
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BookStore.Business.Abstract; using BookStore.Entity.Concrete; using BookStore.DataAccess.Functions; using System.Threading.Tasks; namespace BookStore.Business.Functions { public class UserManager : IUserService { ...
25.4
74
0.604549
[ "MIT" ]
berkili/BookStore
BookStore.Business/Functions/UserManager.cs
1,145
C#
using System; namespace Orleans.Versions.Compatibility { [Serializable] public class AllVersionsCompatible : CompatibilityStrategy { public static AllVersionsCompatible Singleton { get; } = new AllVersionsCompatible(); private AllVersionsCompatible() { } public override b...
21.958333
93
0.620493
[ "MIT" ]
seralexeev/orleans
src/Orleans.Core.Abstractions/Versions/Compatibility/AllVersionsCompatible.cs
529
C#
using System.Collections; using Game; namespace NPC_Behaviour { public class DropBehaviour : AgentBehaviour { private Item _item; public DropBehaviour(Agent agent, Item item) : base(agent) { _item = item; base.Init(); } public override IEnumerato...
23.547619
66
0.54095
[ "MIT" ]
doingitraith/Story-generation-with-mutli-agent-systems
Project/Information Flow Game Mechanic/Assets/Scripts/NPC Behaviour/DropBehaviour.cs
989
C#
using LazZiya.ImageResize.Tools; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Text; namespace LazZiya.ImageResize { /// <summary> /// Add text watermark over the image. /// </summary> public static class TextWatermark { ...
37.531915
122
0.525794
[ "MIT" ]
LazZiya/ImageResize
LazZiya.ImageResize/TextWatermark.cs
3,530
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.Design; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using Microsoft.Extens...
26.892377
162
0.572453
[ "MIT" ]
joshuakristanto/EventsCalender
EventCalendarIntegrated/EventCalendar/EventCalendar/Controllers/AuthController.cs
5,997
C#
using Newtonsoft.Json.Linq; using System; namespace BankingClientV1 { static class User { private static string TAG, PIN, BALANCEINPUT, ERROR; private static Boolean RECEIPT, WAITINGFORCARD; private static double BALANCE; public static Boolean inputBlocked, offline; ...
22.368421
79
0.483922
[ "MIT" ]
thomasvt1/BankingGUI
BankingClientV1/User.cs
2,552
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ejercicio_15 : MonoBehaviour { //15. Existen dos reglas que identifican dos conjuntos de valores: //- El número es de un solo dígito. //- El número es impar. //A partir de estas reglas, creá un algoritmo que a...
27.692308
153
0.560417
[ "MIT" ]
NachoBerardo/Guia-de-Programacion-1
Assets/Ejercicio_15.cs
1,454
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.Collections.Generic; using System.Linq; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructur...
43.830508
111
0.668213
[ "Apache-2.0" ]
MareevOleg/EntityFrameworkCore
src/EFCore/Metadata/Conventions/Internal/RuntimeConventionSetBuilder.cs
2,586
C#
using System.Collections.Generic; using VoteMonitor.Entities; namespace VoteMonitor.Api.Form.Models { public class QuestionDTO { public QuestionDTO() { OptionsToQuestions = new List<OptionToQuestionDTO>(); } public int Id { get; set; } public string FormCod...
28.086957
80
0.616099
[ "MPL-2.0" ]
adascaliteiradu/monitorizare-vot
src/api/VoteMonitor.Api.Form/Models/QuestionDTO.cs
648
C#
using Xunit; namespace BusinessApp.Infrastructure.IntegrationTest { public class CommonFixture { public const string Name = "Common Fixture"; } [CollectionDefinition(CommonFixture.Name)] public class CommonCollectionFixture : ICollectionFixture<CommonFixture> { // This class ha...
27.666667
78
0.698795
[ "MIT" ]
pinterweb/dotnet-solution-template
CSharp/src/BusinessApp.Infrastructure.IntegrationTest/CommonFixture.cs
498
C#
using System; using System.IO; using Akka.Actor; using Akka.Configuration; namespace znode1 { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); var configFile = File.ReadAllText("znode1.hcon"); va...
23.958333
71
0.52
[ "MIT" ]
mtmk/akkadotnetexamples
zcluster/znode1/Program.cs
577
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ using Microsoft.AspNetCore.Authentication; u...
36.716981
98
0.643371
[ "Apache-2.0" ]
AaqibAhamed/AspNet.Security.OAuth.Providers
src/AspNet.Security.OAuth.Twitch/TwitchAuthenticationDefaults.cs
1,948
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace QuantumTask { public class Program { public st...
25.666667
70
0.645022
[ "MIT" ]
farhadsoft/QuantumTask
QuantumTask/Program.cs
693
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("01....
38.054054
84
0.746449
[ "MIT" ]
vankatalp360/Programming-Fundamentals-2017
Strings - More Exercise/01. Serialize String/Properties/AssemblyInfo.cs
1,411
C#
namespace Discord { public enum TagHandling { Ignore = 0, //<@53905483156684800> -> <@53905483156684800> Remove, //<@53905483156684800> -> Name, //<@53905483156684800> -> @Voltana NameNoPrefix, //<@53905483156684800> -> Voltana Fu...
38.428571
84
0.542751
[ "MIT" ]
CaptainGlac1er/Discord.Net
src/Discord.Net.Core/Entities/Messages/TagHandling.cs
540
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.295455
81
0.657099
[ "Apache-2.0" ]
kimii/tencentcloud-sdk-dotnet
TencentCloud/Dts/V20180330/Models/DescribeSyncCheckJobRequest.cs
1,309
C#
using DotNetty.Buffers; namespace DotNetty.Codecs.MqttFx.Packets { /// <summary> /// 发布消息 /// </summary> public sealed class PublishPacket : Packet { /// <summary> /// 重发标志 /// 如果DUP标志被设置为0,表示这是客户端或服务端第一次请求发送这个PUBLISH报文。 /// 如果DUP标志被设置为1,表示这可能是一个早前报文请求的重发。 /...
30.711712
110
0.486653
[ "MIT" ]
linfx/MqttFx
src/DotNetty.Codecs.MqttFx/Packets/PublishPacket.cs
3,707
C#
namespace ConsoleAsksFor; /// <summary> /// Options related to history. /// </summary> public sealed record HistoryOptions { /// <summary> /// '.console\history.json' /// </summary> internal const string FilePath = @".console\history.json"; /// <summary> /// Whether or not history is persiste...
33.575
137
0.631422
[ "Apache-2.0" ]
Pjotrtje/ConsoleAsksFor
src/ConsoleAsksFor/Configuration/HistoryOptions.cs
1,345
C#
using System; using System.Collections.Generic; using System.Linq; public class PerformanceCar : Car { private List<string> addOns; public PerformanceCar(string brand, string model, int yearOfProduction, int horsepower, int acceleration, int suspension, int durability) : base(brand, model, yearOfProduction, ...
26.057143
282
0.595395
[ "MIT" ]
tanyta78/CSharpOOP
Exam Preparation/NeedForSpeed/SampleExam/Models/Cars/PerformanceCar.cs
914
C#
using System.Collections.Generic; using KontrolSystem.TO2.Binding; namespace KontrolSystem.KSP.Runtime.KSPVessel { public partial class KSPVesselModule { [KSClass] public class SimulatedVessel { public List<SimulatedPart> parts = new List<SimulatedPart>(); private int count...
40.966292
186
0.523862
[ "MIT" ]
untoldwind/KontrolSystem
KSPRuntime/KSPVessel/KSPVesselModule.SimulatedVessel.cs
3,648
C#
 namespace MagiCloud.Features { /// <summary> /// 高亮方式类型 /// </summary> public enum HighLightType { Shader, Model } }
11.428571
29
0.5
[ "MIT" ]
LiiiiiWr/MagiCloudSDK
Assets/MagiCloud/Expansion/Features/FeaturesType.cs
174
C#
using System; using System.Collections.Generic; using NHapi.Base.Log; using NHapi.Model.V24.Group; using NHapi.Model.V24.Segment; using NHapi.Model.V24.Datatype; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; namespace NHapi.Model.V24.Message { ///<summary> /// Represents a RQI_I01 m...
27.997167
146
0.638976
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V24/Message/RQI_I01.cs
9,883
C#
/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License...
43.984026
281
0.603036
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/GuardDuty/Basic/Update-GDFilter-Cmdlet.cs
13,767
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Playnite.Database; using Playnite.SDK.Models; using Playnite; using Moq; using NUnit.Framework; using Playnite.Settings; using Playnite.Common.System; namespace Play...
37.651376
140
0.552144
[ "MIT" ]
ArashBaba/Playnite
source/PlayniteTests/Database/GameDatabaseTests.cs
4,106
C#
using AltV.Net.Data; using AltV.Net.NetworkingEntity; using AltV.Net.NetworkingEntity.Elements.Entities; using Entity; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; namespace ResurrectionRP_Server.Entities { public class Entity { #re...
26.891089
132
0.522459
[ "MIT" ]
PourrezJ/ResurrectionRP-Framework
ResurrectionRP_Server/Entities/Entity.cs
2,718
C#
//using System; //using System.Collections; //using System.IO; //using System.Runtime.Remoting; //using System.Runtime.Remoting.Channels; //using System.Runtime.Remoting.Messaging; //using Zyan.Communication.Toolbox; //TODO: Implement Null transport without .NET dependency. //namespace Zyan.Communication.P...
45.387255
205
0.571768
[ "MIT" ]
ErrCode/Zyan.Core.LocalIPC
branches/withoutremoting/Zyan.Communication/Protocols/Null/NullClientChannelSink.cs
9,261
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("Sea...
37.297297
84
0.745652
[ "MIT" ]
constantimi/Object-Oriented-Programming
csharp/2020-03-24-csharp-regular-expressions/Search/Properties/AssemblyInfo.cs
1,383
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using VerifyTests; static class ApplyScrubbers { static HashSet<string> currentDirectoryReplacements = new(); static string tempPath; static string altTempPath; static ApplyScrubbers() { var ...
35.632184
125
0.654516
[ "MIT" ]
elnigno/Verify
src/Verify/Serialization/Scrubbers/ApplyScrubbers.cs
3,016
C#
using System; using DragonSpark.Sources.Parameterized; namespace DragonSpark.Aspects.Validation { sealed class AutoValidationControllerFactory : ParameterizedSourceBase<IAutoValidationController> { public static IParameterizedSource<IAutoValidationController> Default { get; } = new AutoValidationControllerFactory...
34.535714
131
0.784902
[ "MIT" ]
DragonSpark/VoteReporter
Framework/DragonSpark/Aspects/Validation/AutoValidationControllerFactory.cs
969
C#
/* VDS.Common is licensed under the MIT License Copyright (c) 2012-2015 Robert Vesse Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the r...
36.090826
109
0.561529
[ "MIT" ]
Piskopatmusa/vds-common
test/Trees/BinaryTreeDeleteTests.cs
39,339
C#
using System.Web.Mvc; namespace RockPaperScissors.Web { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.692308
80
0.65625
[ "Apache-2.0" ]
jasondentler/RockPaperScissors
app/RockPaperScissors.Web/App_Start/FilterConfig.cs
258
C#
// ---------------------------------------------------------------------- // <copyright file="LocalTableStructureOptionsBuilder.cs" company="Xavier Solau"> // Copyright © 2021 Xavier Solau. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. // </copyright> // -----...
39.866667
190
0.652174
[ "MIT" ]
xaviersolau/TableModel
src/libs/SoloX.TableModel/Options/Builder/Impl/LocalTableStructureOptionsBuilder.cs
2,993
C#
using Micky5991.Samp.Net.Framework.Elements.TextDraws; namespace Micky5991.Samp.Net.Framework.Constants { /// <summary> /// Defines useful constants for screen related calculations. /// </summary> public class ScreenConstants { /// <summary> /// Maximum screen width used for UI elem...
28.47619
83
0.608696
[ "MIT" ]
Micky5991/samp-dotnet
src/dotnet/Micky5991.Samp.Net.Framework/Constants/ScreenConstants.cs
598
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 Microsoft.Diagnostics.Tracing; using Microsoft.Diagnostics.Tracing.Etlx; using System; using System.Diagnosti...
37.097222
116
0.46739
[ "MIT" ]
Sean-Driscoll/diagnostics
src/tests/Microsoft.Diagnostics.Tools.RuntimeClient/Program.cs
13,357
C#
using Dapper; using Microsoft.Extensions.Logging; using System.Data.Common; using System.Threading.Tasks; using YesSql.Collections; namespace YesSql.Commands { public sealed class DeleteDocumentCommand : DocumentCommand { private readonly string _tablePrefix; public override int ExecutionOrder ...
36.5
160
0.696673
[ "MIT" ]
ThisNetWorks/yessql
src/YesSql.Core/Commands/DeleteDocumentCommand.cs
1,022
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 // // h...
45.0625
101
0.63754
[ "Apache-2.0" ]
WadeBarnes/healthgateway
Apps/AdminWebClient/src/Server/Services/ICovidSupportService.cs
2,166
C#
using GamepadSemester.Common; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Graphics.Display; using Windows.UI.ViewManagement; using Windows.UI.Xaml; ...
39.279412
128
0.665855
[ "Apache-2.0" ]
GudoshnikovaAnna/qreal
plugins/appFamily/Joystick/SettingsPage.xaml.cs
6,631
C#
namespace OpenTibiaUnity.Core.Store { public class StoreOpenParameters { StoreOpenParameterAction _openAction; OpenParameters.IStoreOpenParamater _openParamater = default; public StoreOpenParameterAction OpenAction { get => _openAction; } public OpenParameters.IStoreOpenParamat...
35.185185
119
0.674737
[ "MIT" ]
DwarvenSoft/OpenTibia-Unity
OpenTibia/Assets/Scripts/Core/Store/StoreOpenParameters.cs
952
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...
25.3125
88
0.635802
[ "ECL-2.0", "Apache-2.0" ]
XBeg9/pulumi-databricks
sdk/dotnet/Inputs/ClusterLibraryCranArgs.cs
810
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Nop.Plugin.MultiFactorAuth.GoogleAuthenticator.Factories; using Nop.Plugin.MultiFactorAuth.GoogleAuthenticator.Models; using Nop.Web.Framework.Components; namespace Nop.Plugin.MultiFactorAuth.GoogleAuthenticator.Components { /// <summary> ///...
32.653846
119
0.691402
[ "CC0-1.0" ]
peterthomet/BioPuur
nopCommerce 4.4/src/Plugins/Nop.Plugin.MultiFactorAuth.GoogleAuthenticator/Components/GAAuthenticationViewComponent.cs
1,700
C#
namespace ETModel { public class NumericWatcherAttribute : BaseAttribute { public NumericType NumericType { get; } public NumericWatcherAttribute(NumericType type) { this.NumericType = type; } } }
17.666667
53
0.740566
[ "MIT" ]
13294029724/ET
Unity/Assets/Model/Module/Numeric/NumericWatcherAttribute.cs
214
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
40.226415
364
0.658537
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/IObjectidadoxiofederalreportexport.cs
2,132
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CBTTaskRidingManagerPlayerHorseDismount : CBTTaskRidingManagerHorseDismo...
33.695652
151
0.769032
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CBTTaskRidingManagerPlayerHorseDismount.cs
753
C#
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // // Unle...
34.238095
101
0.662031
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Clients/ClientFactoryContext.cs
1,440
C#
using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage.Table; namespace AccidentalFish.Foundations.Resources.Azure.TableStorage { public interface IAsyncTableStorageRepositoryFactory { Task<IAsyncTableStorageRepository<T>> CreateAsync<T>(string tableName) where T : ITableEntity, new(); ...
29.545455
109
0.781538
[ "MIT" ]
JTOne123/AccidentalFish.Foundations
Source/AccidentalFish.Foundations.Resources.Azure/TableStorage/IAsyncTableStorageRepositoryFactory.cs
327
C#
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
81.524752
241
0.747875
[ "MIT" ]
Gurrimo/Luminaire
Assets/Editor/Generated/Black/Sequence/Actor/SequenceActionActorSetMoveController.generated.cs
8,234
C#
using System; using System.ComponentModel.DataAnnotations.Schema; namespace Dorisoy.Pan.Data { public class DocumentVersion: BaseEntity { public Guid Id { get; set; } public Guid DocumentId { get; set; } public string Path { get; set; } public string Message { get; set; } ...
30.086957
51
0.608382
[ "MIT" ]
dorisoy/-Dorisoy.Pan
SourceCode/Src/Dorisoy.Pan.Data/Entities/DocumentVersion.cs
694
C#
// Copyright 2020 Confluent Inc. // // 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 in w...
33.084746
116
0.672643
[ "Apache-2.0" ]
3schwartz/confluent-kafka-dotnet
src/Confluent.SchemaRegistry/ReferenceSubjectNameStrategy.cs
1,952
C#
using System; using System.Collections.Generic; namespace Crt.Data.Database.Entities { /// <summary> /// Role to Permission associative table for assignment of permissions to parent roles. /// </summary> public partial class CrtRolePermission { /// <summary> /// Unique identifier f...
37.328947
204
0.582658
[ "Apache-2.0" ]
ychung-mot/net6
api/Crt.Data/Database/Entities/CrtRolePermission.cs
2,839
C#
namespace OrdBase.Migrations { using System; using System.Data.Entity.Migrations; public partial class TranslationDb : DbMigration { public override void Up() { CreateTable( "dbo.Clients", c => new { ...
40.061538
101
0.462366
[ "MIT" ]
Arxcis/OrdBaseNetStandard
OrdBase/Migrations/201706211043478_TranslationDb.cs
2,604
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v1/resources/hotel_performance_view.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google....
37.305263
227
0.702455
[ "Apache-2.0" ]
chrisdunelm/google-ads-dotnet
src/V1/Stubs/HotelPerformanceView.cs
7,088
C#
namespace EasySql.Databases.TypeMappings { public class DecimalTypeMapping : TypeMappingBase { public DecimalTypeMapping() : base(typeof(decimal), System.Data.DbType.Decimal) { } } }
22
87
0.659091
[ "MIT" ]
jxnkwlp/EasySql
src/EasySql.Core/Databases/TypeMappings/DecimalTypeMapping.cs
222
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace DllUtils.Exceptions { public class MemoryAllocationException : InjectionException { public MemoryAllocationException() { } ...
23.931034
115
0.688761
[ "MIT" ]
Rutherther/csharp-dll-injector
DllUtils/Exceptions/MemoryAllocationException.cs
696
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
40.551724
153
0.619898
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IServicePrincipalCreatePasswordSingleSignOnCredentialsRequestBuilder.cs
1,176
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; namespace Mpdn.RenderScript { namespace Mpdn.ImageProcessor { public partial class ImageProcessorConfigDialog : ImageProcessorConfigDialogBase { private string m_ShaderPa...
30.909722
102
0.513817
[ "MIT" ]
Shiandow/RenderScripts
RenderScripts/Mpdn.ImageProcessor.ConfigDialog.cs
4,453
C#
using ServiceStack.Redis; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hbms.Mes.Common { /// <summary> /// RedisBase类,是redis操作的基类,继承自IDisposable接口,主要用于释放内存 /// </summary> public abstract class RedisBase : IDisposable ...
23.192982
61
0.481846
[ "Apache-2.0" ]
huangming771314520/Mes
Hbms.Mes.Common/RedisCache/RedisBase.cs
1,450
C#
using UnityEngine; using UnityEngine.UI; namespace GameData.ScoreBoards { public class LeaderBoardUI : MonoBehaviour { [SerializeField] private Text entryPositionText = null; [SerializeField] private Text entryNameText = null; [SerializeField] private Text entryScoreText...
26.541667
74
0.659341
[ "MIT" ]
hr18aba/The-Endless-Crucifix
LeaderBoardUI.cs
639
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...
38.459459
84
0.749824
[ "MIT" ]
pkindalov/beginner_exercises
StringsDictionnriesLambdaAndLinQ/ExtractSentencesByKeyword/Properties/AssemblyInfo.cs
1,426
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
38.95122
128
0.579837
[ "CC0-1.0" ]
USGS-WiM/STNServices2
STNDB/landownercontact.cs
1,597
C#
/**************************************************************************** While the underlying libraries are covered by LGPL, this sample is released as public domain. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITN...
33.922261
133
0.503021
[ "MIT" ]
d3x0r/xperdex
DirectShowLibV2/Samples/Players/DxPlay/Form1.cs
9,600
C#
using System.Collections.Generic; using Castle.MicroKernel.Registration; using Castle.Windsor; using Tx.ToolBox.Wpf.SampleApp; using Tx.ToolBox.Wpf.Tools; namespace Tx.ToolBox.Wpf.Tests.Demo.Tools { class ToolBarSample : SampleBase { public ToolBarSample() { Name = "Toolbar Sample"...
22.136364
76
0.655031
[ "MIT" ]
Telliax/Tx.ToolBox
Tx.ToolBox.Wpf.Tests/Demo/Tools/ToolBarSample.cs
489
C#
// // Copyright (c) 2011-2014 Exxeleron GmbH // // 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 appli...
33.434211
91
0.511216
[ "Apache-2.0" ]
exxeleron/qSharp
TickSubscriber/TickSubscriber.cs
2,543
C#
using System; using System.Linq.Expressions; using FluentValidation; using FluentValidation.Internal; using FluentValidation.TestHelper; namespace Miru.Testing { public static class ValidationTestExtensions { public static void SetValue<TRequest, TProperty>( this TRequest model, ...
38.305263
177
0.608134
[ "MIT" ]
MiruFx/Miru
src/Miru.Testing/ValidationTestExtensions.cs
3,639
C#
namespace Nest { public interface IQueryVisitor { /// <summary> /// The current depth of the node being visited /// </summary> int Depth { get; set; } /// <summary> /// Hints the relation with the parent, i,e queries inside a Must clause will have VisitorScope.Must set. /// </summary> VisitorScope S...
23.849057
107
0.742722
[ "Apache-2.0" ]
niemyjski/elasticsearch-net
src/Nest/QueryDsl/Visitor/QueryVisitor.cs
6,322
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; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Advapi32 { [GeneratedDllImport(Interop.Libr...
34
165
0.730104
[ "MIT" ]
DarkBullNull/runtime
src/libraries/Common/src/Interop/Windows/Advapi32/Interop.ConvertStringSidToSid.cs
578
C#
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
44.446809
84
0.732408
[ "BSD-3-Clause" ]
Key4ce/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeDomain.cs
2,089
C#
using SSRD.CommonUtils.Result; using SSRD.IdentityUI.Admin.Areas.GroupAdmin.Models.Invite; using System.Threading.Tasks; namespace SSRD.IdentityUI.Admin.Areas.GroupAdmin.Interfaces { public interface IGroupAdminInviteDataService { Task<Result<GroupAdminInviteViewModel>> GetInviteViewModel(string group...
27.75
83
0.792793
[ "MIT" ]
faizu-619/IdentityUI
src/IdentityUI.Admin/Areas/GroupAdmin/Interfaces/IGroupAdminInviteDataService.cs
335
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
36.714286
84
0.757198
[ "MIT" ]
XamYu/XamarinExamples
SharedForms/SharedForms/SharedForms.Android/Properties/AssemblyInfo.cs
1,288
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using DesignScriptStudio.Graph.Core; namespace DesignScriptStudio.Graph.Ui { class LibraryTreeViewModel ...
27.864865
115
0.508729
[ "Apache-2.0" ]
junmendoza/DesignScriptStudio
UIs/Studio/DesignScriptStudio.Graph.Ui/LibraryTreeViewModel.cs
8,250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MonoTouch.Foundation; using MonoTouch.UIKit; using Xamarin.Forms; using Xamarin.Forms.Labs.Controls; using Xamarin.Forms.Labs.iOS.Controls; using Xamarin.Forms.Labs.Sample.iOS; [assembly: ExportRenderer(typeof(Dyna...
30.433962
98
0.587105
[ "Apache-2.0" ]
Applifting/Xamarin-Forms-Labs
samples/Xamarin.Forms.Labs.Sample.iOS/DynamicListView/BasicListRenderer.cs
1,613
C#
namespace Ahk.Grader { public enum GradingOutcomes { Graded, FailedToGrade, Inconclusive } }
13
31
0.569231
[ "MIT" ]
akosdudas/ahk-cli
src/Graders/Ahk.Grader.Domain/GradingOutcomes.cs
132
C#
using System.Web; using System.Web.Optimization; namespace UserManagement.API { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(n...
38.321429
113
0.590867
[ "MIT" ]
devshsakariya/AddWebTask
UserManagement.API/App_Start/BundleConfig.cs
1,075
C#
using DCL.Interface; using UnityEngine; using UnityEngine.UI; namespace DCL.HelpAndSupportHUD { public class HelpAndSupportHUDView : MonoBehaviour { public bool isOpen { get; private set; } = false; public event System.Action OnClose; private const string PATH = "HelpAndSupportHUD"; ...
31.041667
125
0.601342
[ "Apache-2.0" ]
JuanMartinSalice/unity-renderer
unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/HelpAndSupportHUD/HelpAndSupportHUDView.cs
2,235
C#
namespace Nortwind.WebFormsUI { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
48.319444
128
0.600987
[ "MIT" ]
ozguncan/NLayeredApp
NLayeredAppDemo/Nortwind.WebFormsUI/Form1.Designer.cs
20,896
C#