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;...
26.961039
125
0.5342
[ "MIT" ]
maxeuken/HSP-Sprint-1
API.Zahnraddimensionierungsprogramm.GruppeJ/API.Zahnraddimensionierungsprogramm.GruppeJ/Window2.xaml.cs
2,088
C#
using lib12.Mathematics.Extensions; using Shouldly; using Xunit; namespace lib12.Tests.Mathematics { public class IntExtensionTests { [Fact] public void to_bool_returns_false_if_given_zero() { 0.ToBool().ShouldBeFalse(); } [Fact] public void to_bool...
20.047619
60
0.60095
[ "MIT" ]
kkalinowski/lib12
lib12.Tests/Mathematics/IntExtensionTests.cs
423
C#
// // SecureMimeTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2020 Xamarin Inc. (www.xamarin.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...
42.392
193
0.716071
[ "MIT" ]
EssentialNRG/MimeKit
UnitTests/Cryptography/SecureMimeTests.cs
68,889
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace Limpl { public interface IReadOnlyScanner<T> { T LookAhead(int k); T Current {get;} T Next {get;} bool End {get;} int Position {get;} } public interface IScanner<T> : ...
22.290323
83
0.592258
[ "Apache-2.0" ]
vanillity/limpl
Limpl.dll/Parsing/Scanner.cs
2,766
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
32.561404
103
0.628772
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/DocDB/Generated/Model/DBClusterParameterGroup.cs
3,712
C#
/* * 房间模式的用户头像 */ using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RoomPlayer : MonoBehaviour { public Image _vipIcon; public Text _vipLevel; public Text _winRate; public Image _headBg; public Image _head; public Image _ownerImg; public Text _...
23.190909
121
0.701294
[ "MIT" ]
iniwap/LianQiClient
Assets/App/View/Lobby/RoomPlayer.cs
2,640
C#
//BODY FORMAT: /// Header Byte (Specifies Format) /// Code Section /// SEH Sections using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection.Emit; using DataDynamics.PageFX.Common.CodeModel; using DataDynamics.PageFX.Common.CodeModel.Statements; u...
32.224299
172
0.47907
[ "MIT" ]
GrapeCity/pagefx
source/libs/Core/IL/MethodBody.cs
20,688
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/d2d1effectauthor.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; us...
35.352941
145
0.689407
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeInfoTests.cs
1,805
C#
// ====================================================================== // // Copyright (C) 2018-2068 湖南心莱信息科技有限公司 // All rights reserved // // filename : FromMessageBase.cs // description : // // created by codelove1314@live.cn at 2021-02-09 10:48:27 // Blog:ht...
29.242857
120
0.507572
[ "MIT" ]
xin-lai/Magicodes.Wx.Sdk
src/Magicodes.Wx.PublicAccount.Sdk.AspNet/ServerMessages/From/FromMessageBase.cs
2,137
C#
namespace bgTeam.ProduceMessages { public interface IDictionaryConfig { string EntityType { get; set; } string EntityKey { get; set; } string Description { get; set; } string DateFormatStart { get; set; } int? DateChangeOffset { get; set; } int? GroupOrderBy...
18.75
44
0.562222
[ "MIT" ]
101stounarm101/bgTeam.Core
src/bgTeam.Core.Esb/ProduceMessages/IDictionaryConfig.cs
452
C#
using SecKill.Model; using System.Threading.Tasks; namespace SecKill.Helper { internal static class TaskException { public static void LogExcetion(this Task task) { task.ContinueWith(t => { var aggException = t.Exception.Flatten(); foreac...
25.095238
64
0.550285
[ "MIT" ]
SinnoSong/SecKill
SecKill/Helper/TaskException.cs
529
C#
using Abp.Application.Navigation; using Abp.Localization; using Xn.Authorization; namespace Xn.Web.Startup { /// <summary> /// This class defines menus for the application. /// </summary> public class XnNavigationProvider : NavigationProvider { public override void SetNavigation(INavigatio...
41.473404
96
0.361934
[ "MIT" ]
nguyen2504/XnBoiler
aspnet-core/src/Xn.Web.Mvc/Startup/XnNavigationProvider.cs
7,811
C#
using System.Data.Entity; namespace Smi.DataAccess { public interface IAccountDbContext { IDatabase Database { get; } DbSet<Account> Account { get; set; } DbSet<AccountOwners> AccountOwners { get; set; } DbSet<Users> Users { get; set; } } }
24.75
57
0.599327
[ "MIT" ]
mishrsud/CSharpApplicationSamples
CustomSqlWithEntityFramework/SqlWithEf/src/Smi.DataAccess/IAccountDbContext.cs
299
C#
using System; using System.Threading.Tasks; using Amplified.Monads.Internal.Extensions; using JetBrains.Annotations; namespace Amplified.Monads.Extensions { public static class MaybeMapAsync { public static AsyncMaybe<TResult> MapAsync<T, TResult>( this Maybe<T> source, [Instant...
29.25
67
0.620513
[ "MIT" ]
Nillerr/Amplified.Monads.Maybe
Amplified.Monads.Maybe/src/Extensions/Maybe/Async/MaybeMapAsync.cs
585
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at ...
43.888889
137
0.607595
[ "MIT" ]
3quanfeng/azure-powershell
src/Automation/Automation/Cmdlet/GetAzureAutomationJobOutputRecord.cs
2,319
C#
using Infrastructure.Enumeration; using System; using System.Collections.Generic; using System.Text; namespace eShop.Payment.Payment { public class Status : Enumeration<Status, string> { public static Status Submitted = new Status("SUBMITTED", "Submitted", "Payment has been submitted"); public...
33.954545
108
0.688086
[ "MIT" ]
charlessolar/eShopOnContainersDDD
src/Contexts/Payment/Language/Payment/Status.cs
749
C#
using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using Honeti; using NumberConversions; using UnityEngine; using UnityEngine.UI; using SilknowMap; using UnityEngine.UI.Extensions; using Debug = UnityEngine.Debug; public class TimeSlid...
35.285714
118
0.65803
[ "Apache-2.0" ]
silknow/silkmap
Assets/scripts/TimeSlider.cs
3,707
C#
namespace GraphQLTest.Models { public class Address { public string City { get; set; } public string Street { get; set; } } }
17.222222
42
0.580645
[ "MIT" ]
saeedeldah/GraphQL
GraphQLTest/GraphQLTest/Models/Address.cs
157
C#
// // System.Net.NetworkInformation.IcmpV6Statistics // // Authors: // Gonzalo Paniagua Javier (gonzalo@novell.com) // Atsushi Enomoto (atsushi@ximian.com) // // Copyright (c) 2006-2007 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this sof...
35.091185
91
0.748029
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/System/System.Net.NetworkInformation/IcmpV6Statistics.cs
11,545
C#
using UnityEngine; namespace InsaneOne.Core { /// <summary>Used to handle OnTrigger* event in separated class. </summary> public interface ITriggerEnterHandler { void TriggerEnterAction(Collider entered); } }
23.4
79
0.709402
[ "MIT" ]
InsaneOneHub/Core
InsaneOne/Core/Sources/Interfaces/ITriggerEnterHandler.cs
236
C#
//----------------------------------------------------------------------- // <copyright file="SunnyWeatherSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright>...
31.744186
106
0.528449
[ "Apache-2.0" ]
BearerPipelineTest/akka.net
src/core/Akka.Cluster.Tests.MultiNode/SunnyWeatherSpec.cs
4,097
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<...
46.057895
1,368
0.589418
[ "MIT" ]
Kusnaditjung/MimDms
src/Dms.Ambulance.V2100/Generated/CV_ObservationType.cs
8,751
C#
using Xrm.Models.Interfaces; namespace Xrm.Domain.Events { public class InfiniteLoopEvent1 : IEvent { } }
12.1
44
0.68595
[ "MIT" ]
GlobalSolutions365/XrmProjectTemplateCQS
Xrm.Domain/Events/InfiniteLoopEvent1.cs
123
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// MybankCreditLoantradeLoanarRepayModel Data Structure. /// </summary> [Serializable] public class MybankCreditLoantradeLoanarRepayModel : AopObject { /// <summary> /// 贷款客户在网商的会...
26.604651
67
0.534091
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/MybankCreditLoantradeLoanarRepayModel.cs
1,368
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace npva.Chart { /// <summary> /// 論理座標で場所を決める文字列ラベル /// </summary> class AxisDependantString : IDrawableObject { /// <summary> /// 軸を指定して...
28.141304
120
0.521823
[ "MIT" ]
lordhollow/NPVA
npva/Chart/AxisDependantString.cs
2,849
C#
namespace WebApiHttpBatchServer.Areas.HelpPage.ModelDescriptions { public class DictionaryModelDescription : KeyValuePairModelDescription { } }
26.666667
75
0.78125
[ "MIT" ]
georgeolson/angular-http-batcher
servers/WebApi2/WebApiHttpBatchServer/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs
160
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("SoonLearning.Math_Fast.SYSS300.QCSS9DS2_221")] [assembly: AssemblyDescription("")] [assembly...
27.357143
91
0.742167
[ "MIT" ]
LigangSun/AppCenter
source/Apps/Math_Fast_SYSS300/221_230/SoonLearning.Math_Fast.SYSS300.QCSS9DS2_221/Properties/AssemblyInfo.cs
2,197
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ThePLeagueDomain.Models.Schedule; using ThePLeagueDomain.ViewModels.Schedule; namespace ThePLeagueDomain.Converters.Schedule { public class GameTimeConverter { #region Methods public static GameTimeVie...
29.125
99
0.633476
[ "MIT" ]
omikolaj/the-p-league-api
ThePLeagueDomain/Converters/Schedule/GameTimeConverter.cs
1,167
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("Fo...
37.756757
84
0.743737
[ "MIT" ]
Bhekinkosi12/XamarinFormsLayoutChallenges
Formula1/Formula1/Formula1.iOS/Properties/AssemblyInfo.cs
1,400
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x100c_116a-a9b6ee12")] public void Method_100c_116a() { ii(0x100c_116a, 5); push(0x38); ...
76.802632
114
0.444064
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-100c-116a.cs
5,837
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...
45.788732
462
0.716087
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DataMigration/V20180715Preview/Outputs/MigrateSqlServerSqlDbTaskPropertiesResponse.cs
3,251
C#
using System; using System.IO; using Enumerations; using System.Collections.Generic; using System.Runtime.InteropServices; namespace LeptonicaSharp { public partial class _All { // flipdetect.c (242, 1) // pixOrientCorrect(pixs, minupconf, minratio, pupconf, pleftconf, protation, debug) as Pix //...
47.26652
145
0.656088
[ "BSD-2-Clause" ]
Phreak87/LeptonicaSharp
CS_LIB/Functions/flipdetect.cs
21,459
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.Reflection; using Microsoft.EntityFrameworkCore.Metadata.Conventions; using Microsoft.EntityFrameworkCore...
42.89977
225
0.586567
[ "Apache-2.0" ]
davidroth/EntityFrameworkCore
test/Microsoft.EntityFrameworkCore.Tests/Metadata/Conventions/Internal/ConventionDispatcherTest.cs
37,237
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HTLib3 { public static partial class Collections { public static TValue[] HSelectByKeys<TKey, TValue>(this Dictionary<TKey, TValue> dict, params TKey[] keys) { List<TValue> va...
25.578947
115
0.590535
[ "MIT" ]
htna/HCsbLib
HCsbLib/HCsbLib/HTLib3/Core/Collection/Collections.HSelectByKeys.cs
488
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 System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis...
44.066667
165
0.608926
[ "Apache-2.0" ]
0x53A/roslyn
src/Features/Core/Portable/SpellCheck/AbstractSpellCheckCodeFixProvider.cs
5,290
C#
namespace LogJoint.Postprocessing { internal class NeverRunState : PostprocessorOutputRecordState { public NeverRunState(Context ctx) : base(ctx) { } public override LogSourcePostprocessorState GetData() { return ctx.owner.BuildData(LogSourcePostprocessorState.Status.NeverRun); } public over...
23.1
76
0.742424
[ "MIT" ]
rkapl123/logjoint
trunk/model/postprocessing/manager/states/NeverRunState.cs
464
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 "license" fi...
33.02008
105
0.580151
[ "Apache-2.0" ]
joshongithub/aws-sdk-net
sdk/src/Services/Connect/Generated/Model/CreateUserRequest.cs
8,222
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Microsoft.AspNetCore.Components; using Microsoft.MobileBlazorBindings.Core; using Microsoft.MobileBlazorBindings.Elements.Handlers; using System; using System.Threading.Tasks; using XF = Xamarin.Forms; namespace Microsoft.MobileBlazorBin...
36.412371
119
0.58154
[ "MIT" ]
CipherLab/MobileBlazorBindings
src/Microsoft.MobileBlazorBindings/Elements/TimePicker.generated.cs
3,532
C#
namespace Pickle { public enum ObjectSourceType { Asset = 1 << 0, Scene = 1 << 1 } }
12.666667
32
0.482456
[ "MIT" ]
AlexMeesters/Pickle
Runtime/ObjectSourceType.cs
116
C#
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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 la...
33.3
89
0.668669
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
module/ASC.Mail.Server/ASC.Mail.Server/Core/Dao/DkimDao.cs
1,998
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(6590)] [Attributes(9)] public class LteB7C1RxGain { [ElementsCount(16)] [ElementType("uint16")] ...
19.52381
44
0.597561
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/LteB7C1RxGainI.cs
410
C#
//------------------------------------------------------------------------------ // Generated by the DevExpress.Blazor package. // To prevent this operation, add the DxExtendStartupHost property to the project and set this property to False. // // XAF.ExposureNotification.Blazor.Server.csproj: // // <Project Sdk="Micro...
39.714286
113
0.63759
[ "MIT" ]
egarim/xamarin.exposurenotification
XAF.ExposureNotification.Blazor.Server/Startup.DevExpress.cs
1,112
C#
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace MinhaAppVisualStudio { public class Program ...
24.64
76
0.698052
[ "MIT" ]
ferjesusjs8/Formacao_FullstackDeveloper_DevIo_NetAngular
Iniciando_Com_AspNetCore/MinhaAppVisualStudio/MinhaAppVisualStudio/Program.cs
618
C#
/* * author:symbolspace * e-mail:symbolspace@outlook.com */ /// <summary> /// 字符串随机类,辅助生成一些随机的字符串序列。 /// </summary> public static class StringRandomizer { #region methods #region Next /// <summary> /// 生成指定长度的字符串(任何字符)。 /// </summary> /// <param name="length">长度。</param> /// <retur...
29.237179
117
0.459987
[ "MIT" ]
symbolspace/Symbol
src/Symbol/.global/StringRandomizer.cs
5,613
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; using EfsTools.Items.Data; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(6921)] [Attributes(9)] public class Wcdma1500Im2IValue { [ElementsCount(1)] ...
19.863636
40
0.613272
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/Wcdma1500Im2IValueI.cs
437
C#
/* * Copyright 2004,2006 The Poderosa Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * $Id: WindowPreference.cs,v 1.2 2011/10/27 23:21:55 kzmi Exp $ */ using System; using System.Collections.Generic; using System...
39.65493
139
0.639407
[ "Apache-2.0" ]
FNKGino/poderosa
Core/WindowPreference.cs
11,564
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.IO; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; using Charlotte.Commons; using Charlotte.Tests; namespace Charlotte { class Program { static ...
15.155172
41
0.630262
[ "MIT" ]
soleil-taruto/wb
t20210325/Claes20200001/Claes20200001/Program.cs
881
C#
using System; using System.Collections.Generic; using UnityEngine; using System.IO; public class Wav { private const long DataChunkHeader = 0x61746164; private Stream _stream; private BinaryReader _reader; private Header _header; private List<DataChunk> _chunks; private int _chunkIndex; p...
31.214689
148
0.568326
[ "MIT" ]
Coco10086/Diablerie
Assets/Scripts/Diablerie/Engine/IO/Wav.cs
5,527
C#
/* * Copyright 2013-2015 Vitalii Fedorchenko (nrecosite.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free Software Foundation * You can be released from the requirements of the licen...
27.074667
110
0.60199
[ "Apache-2.0" ]
andy840119/recommender
src/NReco.Recommender/taste/impl/common/FastIDSet.cs
10,153
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 KubernetesService.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// <summary...
37.945055
135
0.607588
[ "MIT" ]
tonnyeremin/kubernetes_gen
KubernetesService/Source/CSharp_Kubernetes/Models/Iok8sapiextensionsv1beta1HTTPIngressPath.cs
3,453
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("Act...
37.837838
84
0.747857
[ "MIT" ]
Hassan822/Akka-Testing
ActorModel/ActorModel.Tests/Properties/AssemblyInfo.cs
1,403
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using Moq; using System.Data.Entity; using RoboBraille.WebApi.Models; using System.Collections.Generic; using System.Text; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net.Http; using RoboBraille...
45.970297
258
0.600043
[ "Apache-2.0" ]
sensusaps/RoboBraille.Web.API
RoboBraille.WebApi.Test/TestControllers/TestHtmlToText.cs
4,645
C#
using Oxide.Core.Libraries; using Oxide.Core.Libraries.Covalence; using System; namespace Oxide.Game.Hurtworld.Libraries { public class Server : Library { #region Initialization internal static readonly BanManager BanManager = BanManager.Instance; internal static readonly ChatManagerS...
33.174419
118
0.589905
[ "MIT" ]
CryptoJones/Oxide
Games/Oxide.Hurtworld/Libraries/Server.cs
2,855
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Assertions; public class Item { public enum ItemType { Carrot, Apple, Meat, } public ItemType itemType; public int amount = 0; public Sprite getSprite() { Debug.Log((int)itemType); switch (i...
24.8
76
0.693548
[ "Apache-2.0" ]
zacharyselk/Test-Project
Test Project/Assets/Scripts/Item.cs
868
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 // //...
29.236842
76
0.70207
[ "Apache-2.0" ]
castleproject-deprecated/Castle.Windsor-READONLY
src/Castle.Windsor.Tests/Facilities/TypedFactory/Delegates/UsesFooAndDelegate.cs
1,111
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> //--...
38.652778
179
0.603665
[ "MIT" ]
Y-Manoj-Kumar/WindowsPresentationFoundation
WPF Demo Area/Properties/Resources.Designer.cs
2,785
C#
/* Copyright 2011 Google 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 writing, sof...
33.77193
111
0.625974
[ "Apache-2.0" ]
Victhor94/loggencsg
vendors/gapi/Src/GoogleApis/ApplicationContext.cs
1,927
C#
using System; using System.Collections.Generic; using System.Linq; using DoubleEntry.Common.Exceptions; namespace DoubleEntry.Broker { public class EventBroker : IEventBroker { private readonly IEventBrokerRepository _repository; public EventBroker(IEventBrokerRepository repository) {...
27.755102
86
0.6
[ "MIT" ]
kyogeti/double-entry-exploring
src/DoubleEntry.Broker/EventBroker.cs
1,362
C#
using Hellang.Middleware.ProblemDetails; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions...
33.920455
92
0.636851
[ "MIT" ]
HusseinShukri/DotNET-RPG
RPG/RPG.API/.vshistory/Startup.cs/2021-08-29_14_28_31_700.cs
2,987
C#
using System; using ASTRA.EMSG.Business.Reporting; namespace ASTRA.EMSG.Business.Reports.BenchmarkauswertungInventarkennwerten { [Serializable] public class BenchmarkauswertungInventarkennwertenParameter : BenchmarkauswertungParameter { } }
25.7
94
0.81323
[ "BSD-3-Clause" ]
astra-emsg/ASTRA.EMSG
Master/ASTRA.EMSG.Business/Reports/BenchmarkauswertungInventarkennwerten/BenchmarkauswertungInventarkennwertenParameter.cs
257
C#
//----------------------------------------------------------------------- // <copyright file="AbstractDispatcher.cs" company="Akka.NET Project"> // Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright...
33.889313
151
0.588017
[ "Apache-2.0" ]
codemaveric/akka.net
src/core/Akka/Dispatch/AbstractDispatcher.cs
8,881
C#
using UWPX_UI_Context.Classes.DataTemplates.Controls; using Windows.UI.Xaml.Media; namespace UWPX_UI_Context.Classes.DataContext.Controls { public class ImObservatoryBadgeControlContext { //--------------------------------------------------------Attributes:---------------------------------------------...
33.362319
144
0.385317
[ "MPL-2.0" ]
LibreHacker/UWPX-Client
UWPX_UI_Context/Classes/DataContext/Controls/ImObservatoryBadgeControlContext.cs
2,304
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Inbox2.Platform.Interfaces.Enumerations { public static class DownloadStates { public const int None = 0; public const int Initial = 10; public const int Downloading = 20; public const int Downloaded ...
23.3125
50
0.726542
[ "BSD-3-Clause" ]
Klaudit/inbox2_desktop
Code/Platform/Interfaces/Enumerations/DownloadStates.cs
375
C#
//Write a program that finds the maximal increasing sequence in an array. using System; class MaximalIncreasingSequence { static void Main() { string[] input = Console.ReadLine().Split(','); int[] numbers = new int[input.Length]; for (int i = 0; i < input.Length; i++) { ...
23.649123
74
0.409496
[ "MIT" ]
milkokochev/Telerik
C#2/HomeWorks/01. Arrays/Maximal increasing sequence/MaximalIncreasingSequence.cs
1,350
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace LilyPathDemo { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main () { ...
22.045455
65
0.6
[ "MIT" ]
jaquadro/LilyPath
LilyPathDemo/Program.cs
487
C#
using UnityEngine; using System; public class menu_crewmate_controller : MonoBehaviour { public Color[] colorList; public SpriteRenderer[] crewmates; public double[] randomCrewmate; public int[] randomCrewmateOut; void Start () { selectCrewmate(); } void selectCrewmate() { randomCrewmate[0] = System.M...
41.853333
248
0.722842
[ "Apache-2.0" ]
Homebrew-Ports/Among-Us-for-the-3ds
Assets/Scripts/menu/menu_crewmate_controller.cs
3,141
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Advertisements; public class InitializeAds : MonoBehaviour { string gameId = "3528723"; bool testMode = true; void Start() { Advertisement.Initialize(gameId, testMode); } }
18.8125
51
0.714286
[ "MIT" ]
westmacgames/speedcube
Assets/Scripts/Advertising/InitializeAds.cs
303
C#
using PhilipDaubmeier.CompactTimeSeries; using PhilipDaubmeier.GraphIoT.Core.Aggregation; using PhilipDaubmeier.GraphIoT.Core.ViewModel; using PhilipDaubmeier.GraphIoT.Graphite.Model; using System; using System.Collections.Generic; using System.Linq; namespace PhilipDaubmeier.GraphIoT.Graphite.Parser.Query { publ...
39.654321
117
0.651619
[ "MIT" ]
philipdaubmeier/GraphIoT
src/GraphIoT.Graphite/Parser/Query/QueryOptimizer.cs
3,214
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Paytabs.Paytabscardrecognizer.Cards.Pay.Paycardsrecognizer.Sdk.UI.Views { // Metadata.xml XPath class reference: path="/api/package[@name='com.paytabs.paytabscardrecognizer.cards.pay.paycardsrecognizer.sdk.ui.vie...
60.311321
422
0.767558
[ "MIT" ]
amr-Magdy-PT/xamarin-paytabs-binding
android/CardScanBindingLib/obj/Debug/generated/src/Com.Paytabs.Paytabscardrecognizer.Cards.Pay.Paycardsrecognizer.Sdk.UI.Views.TabletCardRecognitionHolderLinearLayout.cs
6,393
C#
using System.Text.RegularExpressions; using Dalamud.Game.Chat; using Dalamud.Game.Chat.SeStringHandling; using Dalamud.Plugin; using ImGuiNET; namespace AetherSense.Triggers { public class ChatTrigger : TriggerBase { private string regexPattern = ""; private int duration = 1000; private bool wasPreviousMessag...
26.039604
132
0.698859
[ "BSD-3-Clause" ]
yuyuisyuyu/AetherSense
AetherSense/Triggers/ChatTrigger.cs
2,632
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
58.053435
179
0.672584
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDriveItemVersionRequest.cs
7,605
C#
using EfCore.InMemoryHelpers; using EntityFrameworkCore.Cacheable; using Master40.DB.Data.Helper; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; namespace Master40.DB.Data.Context { public class InMemoryContext : ProductionDomainContext { public InMemoryContext(DbContextOptions<Mast...
39.203209
112
0.593098
[ "Apache-2.0" ]
pascalschumann/Master-4.0
Master40.DB/Data/Context/InMemoryContext.cs
7,333
C#
// ******************************************************************************************************** // Product Name: DotSpatial.Positioning.dll // Description: A library for managing GPS connections. // ******************************************************************************************************** //...
36.066225
234
0.528186
[ "Apache-2.0" ]
1stResponder/pinpoint
DotSpatial.Positioning/BluetoothAddress.cs
10,894
C#
/**** * Created by: Akram Taghavi-Burrs * Date Created: Feb 23, 2022 * * Last Edited by: Jacob Sharp * Date Last Edited: March 7, 2022 * * Description: GameManager object for the entire game ****/ /** Import Libraries **/ using System; //C# library for system properties using System.Collections; using System...
33.230216
223
0.620048
[ "MIT" ]
jhsharp/PuzzleGame
PuzzleGameUnity/Assets/Scripts/Management/Managers/GameManager.cs
9,238
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; using OpenRiaServices.Hosting; using OpenRiaServices.Server; using OpenRiaServices.Server.Test.Utilities; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace OpenRiaServices.Tools...
39.328231
130
0.655265
[ "Apache-2.0" ]
erikoijwall/OpenRiaServices
src/OpenRiaServices.Tools/Test/CodeGenSharedEntitiesTests.cs
23,127
C#
using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.WebUtilities; using Sereno.Domain.Entity; namespace Sereno.STS.UI.Pages.Account { [A...
34.888889
104
0.61283
[ "MIT" ]
sergiomcalzada/sereno
src/Sereno.STS.UI/Pages/Account/ConfirmEmailChange.cshtml.cs
2,200
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace JupiterCapstone.Models { public class SubCategory { public SubCategory() { Products = new HashSet<Product>(); } [...
32.666667
93
0.647959
[ "MIT" ]
kenelight4u/CAPSTONE-TEAM-JUPITER
SRC/JupiterCapstone/Models/SubCategory.cs
982
C#
using System; using System.Collections.Generic; using System.Data.Entity; using VendingMachineApp.DataAccess.Entities; namespace VendingMachineApp.DataAccess.EF { internal sealed class DatabaseInitializer : CreateDatabaseIfNotExists<VendingMachineDbContext> { protected override void Seed(VendingMachin...
33.554545
98
0.326741
[ "MIT" ]
DrunkyBard/VendingMachine
src/VendingMachine/DataAccess/EF/DatabaseInitializer.cs
3,715
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x901c-f62f58b4")] public void Method_0000_901c() { ii(0x901c, 4); enter(0x40, 0); /* e...
69.603448
95
0.325985
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-0000-901c.cs
4,037
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.108108
83
0.687094
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Dts/V20180330/Models/DescribeRegionConfRequest.cs
1,077
C#
namespace DeemZ.Services.UserServices { using System.Collections.Generic; using System.Threading.Tasks; using DeemZ.Models.FormModels.User; using DeemZ.Models.ViewModels.User; public interface IUserService { IEnumerable<T> GetAllUsers<T>(string searchTerm = null, int page = 1, int quan...
42.961538
97
0.700985
[ "MIT" ]
Berat-Dzhevdetov/DeemZ
DeemZ/DeemZ.Services/UserServices/IUserService.cs
1,119
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensio...
31.909091
111
0.65622
[ "MIT" ]
hugoham/workshop-netcore
src/Pencil42.PakjesDienst.Web/Startup.cs
2,106
C#
using System; using Microsoft.Extensions.Logging; using Xunit.Abstractions; namespace BackgroundProcessing.Core.Tests { /// <summary> /// <see cref="ILogger{TCategoryName}"/> implementation that outputs to xunit <see cref="ITestOutputHelper"/>. /// </summary> /// <typeparam name="T">The service type.<...
25.860465
145
0.597122
[ "Apache-2.0" ]
nventive/BackgroundProcessing
BackgroundProcessing.Core.Tests/XunitLogger.cs
1,114
C#
using System; using System.IO; using System.Diagnostics; using System.Reflection; using SharpTools; namespace SharpTools { public static class Program { public static string FixExtension(string path) { //core3 creates exes in win and no extension in unix //core2 creats d...
39.681416
153
0.555308
[ "MIT" ]
JTOne123/SharpTools
SharpTools.Test.Console/Program.cs
4,484
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
25.8125
103
0.582082
[ "Apache-2.0" ]
dwainew/aws-sdk-net
sdk/src/Services/DocDB/Generated/AmazonDocDBConfig.cs
2,065
C#
// Taken from https://github.com/xunit/samples.xunit/blob/master/UseCulture/UseCultureAttribute.cs using System; using System.Globalization; using System.Reflection; using System.Threading; using Xunit.Sdk; /// <summary> /// Apply this attribute to your test method to replace the /// <see cref="Thread.CurrentThread"...
40.35
107
0.679678
[ "BSD-2-Clause" ]
chtoucas/Narvalo.NET
tests/TestCommon/UseCultureAttribute.cs
3,230
C#
/* * Licensed to the Apache Software Foundation (ASF) Under one or more * contributor license agreements. See the NOTICE file distributed with * this work for Additional information regarding copyright ownership. * The ASF licenses this file to You Under the Apache License, Version 2.0 * (the "License"); you may not u...
33.666667
74
0.720792
[ "Apache-2.0" ]
0xAAE/npoi
main/SS/Formula/Functions/Sign.cs
1,010
C#
using System; using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.Linq; using System.Threading.Tasks; using BuildXL.Cache.ContentStore.Interfaces.Logging; using BuildXL.Cache.ContentStore.Utils; using BuildXL.Cache.Monitor.App.Analysis; using Kusto.Data.Common; namespace ...
45.273292
240
0.577034
[ "MIT" ]
Bhaskers-Blu-Org2/BuildXL
Public/Src/Cache/Monitor/App/Rules/CheckpointSizeRule.cs
7,291
C#
using System; using System.Collections.Generic; using System.Data.Objects; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.Caching; namespace System { public static class LinqExtensions { public static IQueryable<T> Search<T>(this IQueryable<T> model, string ...
36.678571
227
0.589873
[ "Apache-2.0" ]
Sopcce/.Net-Common-Utility
Sop.Common.Helper/Extensions/LinqExtensions.cs
5,179
C#
using System; using EasyRabbitMQ.Infrastructure; using EasyRabbitMQ.Logging; using EasyRabbitMQ.Publish; using EasyRabbitMQ.Serialization; using EasyRabbitMQ.Subscribe; namespace EasyRabbitMQ.Configuration { public class EasyRabbitMQConfigurer { private readonly IContainer _container = new SuperSimpl...
28.180328
114
0.659104
[ "Apache-2.0" ]
simonbaas/EasyRabbitMQ
src/EasyRabbitMQ/Configuration/EasyRabbitMQConfigurer.cs
1,721
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> //--...
39.666667
151
0.582633
[ "MIT" ]
felpasl/MdTranslate
src/MdTranslate.Wpf/Properties/Settings.Designer.cs
1,073
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PartyPartUsers.Models { [Table("users")] public class User { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long? user_id { get; set; } public stri...
29.277778
61
0.639469
[ "Apache-2.0" ]
Party-Part/party-part-users
PartyPartUsers/PartyPartUsers/Models/User.cs
527
C#
using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Query; using System; namespace Xrm.DataManager.Framework.Tests { public class RemoveAsyncTasksDataJob : PickAndProcessDataJobBase//FullProcessDataJobBase//PickAndProcessDataJobBase { public RemoveAsyncTasksDataJob(JobSettings jobSettings, JobProcessPara...
30.840909
128
0.627119
[ "MIT" ]
AymericM78/Xrm.DataManager.Framework
Xrm.DataManager.Framework.Tests/DataJobs/RemoveAsyncTasksDataJob.cs
1,359
C#
using GameStore.Services.Articles.Models; namespace GameStore.Services.Articles { public class ArticleServiceModel : IArticleModel { public int Id { get; set; } public string Content { get; set; } public string Title { get; set; } public string CreatedOn { get; set; } ...
18.5
52
0.606178
[ "MIT" ]
MarianAtanasovv/ASP.NET-Core-Project-Gaming-Store
GameStore/GameStore/Services/Articles/Models/ArticleServiceModel.cs
520
C#
using System.Reflection; // // 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("CommandLine.dll")] [assembly : AssemblyDescription("Automatic parsing and ...
44.142857
95
0.705502
[ "BSD-3-Clause" ]
jozefizso/xsd2db
Common/CommandLineParser/AssemblyInfo.cs
2,472
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
27.53
146
0.681075
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-dataworks-public/Dataworks_public/Model/V20200518/ListNodeIORequest.cs
2,753
C#
using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Skybrud.Umbraco.GridData.Json.Converters; namespace Skybrud.Umbraco.GridData.Values { /// <summary> /// Class representing the HTML value of a control. /// </summary> [JsonConverter(typeof(GridControlValueStringConverter))] ...
29.085106
98
0.631309
[ "MIT" ]
nvisage-gf/Skybrud.Umbraco.GridData
src/Skybrud.Umbraco.GridData/Values/GridControlHtmlValue.cs
1,369
C#
using System.Collections.Generic; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; using Newtonsoft.Json.Linq; using SmartFormat.Core.Parsing; using SmartFormat.Extensions; namespace SmartFormat.Performance { /* BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042 AMD Ryzen 9 3900X, 1 CPU, 24 logical and 1...
37.628571
110
0.515718
[ "MIT" ]
axuno/SmartFormat.NET
src/Performance/ReflectionVsStringSourceTests.cs
6,587
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace ScintillaNet.Configuration { [Serializable] public class ConfigFile : ConfigItem { [NonSerialized] protected ConfigFile[] includedFiles; [XmlArray("includes")] [XmlArrayIt...
35.452055
113
0.556414
[ "MIT" ]
Acidburn0zzz/flashdevelop
PluginCore/ScintillaNet/Configuration/ConfigFile.cs
2,516
C#
using System; using System.Data.Common; using System.Diagnostics; using Judger.Core.Database.Internal.DbOperator; using Judger.Core.Database.Internal.Entity; using Judger.Models; using Judger.Models.Database; using Judger.Models.Judge; namespace Judger.Core.Database.Internal { /// <summary> /// 数据库单组用例评测器 ...
33.493056
112
0.563757
[ "MIT" ]
Azure99/OpenJudger
src/Judger.Core/Database/Internal/SingleCaseJudger.cs
4,939
C#