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
namespace Schema.NET { using System; using System.Runtime.Serialization; using Newtonsoft.Json; /// <summary> /// A radio channel that uses FM. /// </summary> [DataContract] public partial class FMRadioChannel : RadioChannel { /// <summary> /// Gets the name of the t...
24.4
65
0.594262
[ "MIT" ]
radetskyi/Schema.NET
Source/Schema.NET/core/FMRadioChannel.cs
488
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// ParamInfo Data Structure. /// </summary> public class ParamInfo : AlipayObject { /// <summary> /// 参数名 /// </summary> [JsonPropertyName("key")] public string ...
21.130435
41
0.524691
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/ParamInfo.cs
500
C#
using GB28181.App; using System.Collections.Generic; namespace GB28181.Config { public interface ISipStorage { void Read(); void Save(SIPAccount account); List<SIPAccount> Accounts { get; } //Get Local Default SipDomain Info SIPAccount GetLocalSipAccout(); } }
16
42
0.640625
[ "MIT" ]
GB28181/GB28181.Platform2016
GB28181.SIPSorcery/Config/IStorageConfig.cs
322
C#
using AutoMapper; using starbase_nexus_api.Entities.InGame; using starbase_nexus_api.Models.InGame.MaterialCategory; namespace starbase_nexus_api.Profiles.InGame { public class MaterialCategoryProfile : Profile { public MaterialCategoryProfile() { CreateMap<MaterialCatego...
30.529412
79
0.697495
[ "MIT" ]
WildChild85/starbase-nexus-api
starbase-nexus-api/Profiles/InGame/MaterialCategoryProfile.cs
521
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...
34.891089
158
0.633087
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/CreateImageResponseUnmarshaller.cs
3,524
C#
static internal class VoidType { public static readonly VARP.Scheme.Data.VoidType Void = new VARP.Scheme.Data.VoidType(); }
31.75
92
0.771654
[ "MIT" ]
hww/VARP
Assets/Varp/Scheme/Data/VoidType.cs
127
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PasswordItBackend.Systems { public static class DataScrambler { //Charcter collections for scrambling use //When processing char values as numbers, all values have to b...
44.255474
303
0.565727
[ "MIT" ]
ElephantInTheRom/PasswordIt
PasswordItBackend/Systems/DataScrambler.cs
6,065
C#
using BrockAllen.MembershipReboot.Hierarchical; using BrockAllen.MembershipReboot.Mvc.Areas.UserAccount.Models; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; namespace BrockAllen.MembershipReboot.Mvc.Areas.UserAccount.Controllers { [Authorize] public class ChangeEmailController : Controll...
32.375
103
0.507722
[ "BSD-3-Clause" ]
SoftwareStudio/BrockAllen.MembershipReboot
samples/NoSql/SingleTenantWebApp/Areas/UserAccount/Controllers/ChangeEmailController.cs
3,628
C#
// --------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // // The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files...
40.783002
164
0.538554
[ "MIT" ]
Bhaskers-Blu-Org2/Windows-appsample-annotated-audio
AnnotatedAudio/ViewModel/SessionViewModel.cs
22,555
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class KaziArac : Arac { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
14.947368
52
0.609155
[ "MIT" ]
BurakErenCatal/space-miners
project19/Assets/scripts/Arac/KaziArac.cs
286
C#
using System.Linq; using Jint.Native; using Jint.Native.Object; using Jint.Runtime.Descriptors; namespace Jint.Runtime.Environments { /// <summary> /// Represents an object environment record /// http://www.ecma-international.org/ecma-262/5.1/#sec-10.2.1.2 /// </summary> public sealed class Object...
29.113636
127
0.576893
[ "Apache-2.0" ]
CSWCSS-InnoTech/Schobol
InnoTecheLearning/InnoTecheLearning/InnoTecheLearning.Droid/Jint/Runtime/Environments/ObjectEnvironmentRecord.cs
2,564
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
40.277108
131
0.658989
[ "Apache-2.0" ]
szywi/Lean
Common/Data/HistoryProviderInitializeParameters.cs
3,345
C#
using System; using LibHac.Common; using LibHac.Diag; using static LibHac.Fs.StringTraits; namespace LibHac.Fs.Common { public ref struct DirectoryPathParser { private Span<byte> _buffer; private byte _replacedChar; private int _position; // Todo: Make private so ...
30.316667
113
0.495327
[ "BSD-3-Clause" ]
Thealexbarney/LibHac
src/LibHac/Fs/Common/DirectoryPathParser.cs
3,640
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows.Markup; namespace ExpandTreeViewSilverlight { /// <summary> /// ViewModel for the Taxonomy data source and its derived classes. /// This ViewModel adds the notion of node...
32.242138
117
0.562274
[ "MIT" ]
bstollnitz/old-wpf-blog
48-ExpandTreeViewPart2/ExpandTreeViewSilverlight/ViewModel.cs
10,255
C#
using System.Diagnostics.Contracts; using System.Xml; using NUnit.Framework; using WordFind.Models.Trie; namespace WordFind.Tests.Models.Trie { [TestFixture] public class NodeTests { [Test] public void WhenAttachingANode_ReturnTheNode() { var root = new N...
24.657895
62
0.52508
[ "MIT" ]
malevy/WordFind
WordFind.Tests/Models/Trie/NodeTests.cs
939
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.OutlookApi { #region Delegates #pragma warning disable #pragma warning restore #endregion /// <summary> /// CoClass ViewFont /// SupportByVersion Outlook, 12,14,15,16 /// </summary> ...
28.138686
163
0.658885
[ "MIT" ]
DominikPalo/NetOffice
Source/Outlook/Classes/ViewFont.cs
3,857
C#
// Copyright 2017 the original author or authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
29.831933
98
0.572676
[ "ECL-2.0", "Apache-2.0" ]
SteeltoeOSS/Management
src/Steeltoe.Management.EndpointBase/Mappings/MappingDescription.cs
3,552
C#
using System; using UnityEngine; public class AsteroidModel : BaseModel { public float speed; public GameObject explosion; public float tumble; public int baseScore = 10; protected int score; void Start() { Init(); InitializeMovement(); ChangeSize(); } ...
25.584071
143
0.598755
[ "Apache-2.0" ]
carneymo/wormhole
Assets/Scripts/Model/AsteroidModel.cs
2,893
C#
using System; using HmsPlugin.Button; using HmsPlugin.Extensions; using UnityEngine; namespace HmsPlugin.Window { public class ModalDialog : ModalWindow { private IDrawer _footer; private Action _onOk; private Action _onCancel; private const int MAX_BUTTON_SIZE = 80; ...
27.157895
181
0.548062
[ "MIT" ]
DimitriUK/Junction-21-Huawei-Example
Assets/Huawei/Editor/General/UI/Window/ModalDialog.cs
2,582
C#
namespace MilitaryElite.Models.Soldiers.PrivateSoldier { using MilitaryElite.Models.Soldiers.Interfaces; public class Private : Soldier, IPrivate { public Private(int id, string firstName, string lastName, decimal salary) : base(id, firstName, lastName) { this.Sala...
27.047619
100
0.607394
[ "MIT" ]
Statev7/SoftUni
C03_C#OOP-October-2021/06_Interfaces and Abstraction - Exercise/P07_MilitaryElite/Models/Soldiers/PrivateSoldiers/Private.cs
570
C#
namespace 河北干部网络学院挂机 { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 ...
45.475655
138
0.571899
[ "MIT" ]
elceric/hebgb
Form1.Designer.cs
12,398
C#
using System; using System.Linq.Expressions; using System.Collections.Generic; namespace Restful.Linq { /// <summary> /// 定义用于创建和执行 IInsertable 对象所描述的插入的方法。 /// </summary> public interface IInsertProvider { /// <summary> /// 构造一个 IInsertable 对象,该对象可计算指定表达式树所表示的插入。 /// </sum...
29.4
89
0.594388
[ "Apache-2.0" ]
linli8/Restful
src/Restful/Restful.Linq/IInsertProvider.cs
1,486
C#
// **************************************************************** // Copyright 2007, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 // **************************************************************** using System; ...
30.152672
109
0.512405
[ "Apache-2.0" ]
SvenPeldszus/conqat
org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/tests/MessageWriterTests.cs
3,950
C#
/* * Copyright 2004 The Apache Software Foundation * * 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...
28.910394
119
0.624101
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/tools/monodoc/Lucene.Net/Lucene.Net/Store/InputStream.cs
8,066
C#
using System.ComponentModel.DataAnnotations; namespace KdyWeb.Entity.SearchVideo { /// <summary> /// 影片类型 /// </summary> /// <remarks> /// 电影、电视剧、纪录片、综艺、动画 /// </remarks> public enum Subtype : byte { [Display(Name = "未知")] None = 0, /// <summary> /// 电影...
17.893617
45
0.401902
[ "Apache-2.0" ]
bohejing/KdyWeb.NetCore
src/KdyWeb.Entity/SearchVideo/Enum/Subtype.cs
935
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System.Diagnostics; using System.IO; namespace OpenLiveWriter.CoreServices { /// <summary> /// A TransientFile represents a file without a location; it is composed ...
31.980583
186
0.541287
[ "MIT" ]
DNSNets/OpenLiveWriter
src/managed/OpenLiveWriter.CoreServices/TransientFile.cs
3,294
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.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
52.821195
297
0.56331
[ "MIT" ]
lambdaxymox/roslyn
src/Features/Core/Portable/EditAndContinue/AbstractEditAndContinueAnalyzer.cs
250,216
C#
// Originally copyright (c) 2009 Dino Chiesa and Microsoft Corporation. // All rights reserved. // See license.txt, section Ionic.Zlib license #if __MonoCS__ using System; using System.IO; using ClassicalSharp; namespace Ionic.Zlib { internal class DeflateStream : ReadOnlyStream { ZlibCodec z; b...
29.333333
96
0.635052
[ "BSD-3-Clause" ]
Andresian/ClassicalSharp
ClassicalSharp/Ionic.Zlib/DeflateStream.cs
2,211
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...
43.917526
178
0.656338
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/QuickSight/Generated/Model/UnsupportedUserEditionException.cs
4,260
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 NuGet.Packaging; using NuGet.Services.Entities; using NuGetGallery.Packaging; using NuGetGal...
45.77037
151
0.648487
[ "Apache-2.0" ]
304NotModified/NuGetGallery
src/NuGetGallery/RequestModels/VerifyPackageRequest.cs
6,181
C#
namespace In.ProjectEKA.HipServiceTest.OpenMrs { public static class Endpoints { public static class OpenMrs { public const string OnProgramEnrollmentPath = "ws/rest/v1/bahmniprogramenrollment"; public const string OnVisitPath = "ws/rest/v1/visit"; pub...
30.705882
96
0.601533
[ "MIT" ]
thanakritTW/hip-service
test/In.ProjectEKA.HipServiceTest/OpenMrs/Endpoints.cs
522
C#
namespace LogSpect.Formatting.MethodEvents { using System; using System.Reflection; public interface IFormattingModeReader { /// <summary> /// Reads the attributes of the specified property and determines how it should be serialized when the containing object is logged. ...
33.894737
140
0.652174
[ "MIT" ]
LorandBiro/LogSpect
Source/LogSpect.Core/Formatting/MethodEvents/IFormattingModeReader.cs
646
C#
using System.Diagnostics; using System.Text; using System.Windows.Forms; using ARKBreedingStats.species; using ARKBreedingStats.values; namespace ARKBreedingStats.uiControls { public partial class Hatching : UserControl { public Hatching() { InitializeComponent(); } ...
38.746479
150
0.568521
[ "MIT" ]
CataclysmicAngel/ARKStatsExtractor
ARKBreedingStats/uiControls/Hatching.cs
2,753
C#
namespace EasyCon2.Graphic { public struct HSVColor { public double H { get; private set; } public double S { get; private set; } public double V { get; private set; } Color _c; public HSVColor(Color c) { _c = c; var r = _c.R / 255.0; ...
25.829268
57
0.372993
[ "MIT" ]
ca1e/PokemonTycoon
EasyCon2/Graphic/HSVColor.cs
1,061
C#
namespace SqlMigrator.Core.ExecutionBuilder { public class SqlCommand { public string Comments { get; set; } public string Command { get; set; } } }
17.8
44
0.629213
[ "MIT" ]
avifatal/sql-blinker
SqlMigrator.Core/ExecutionBuilder/SqlCommand.cs
178
C#
using System; using System.Collections.Generic; using System.Linq; namespace DirectedGraphLesson.Clients { public class SymbolGraph { private List<string[]> _graphData; private DirectedGraph _graph; private Dictionary<string, int> _index; public SymbolGraph() ...
25.183673
76
0.467585
[ "MIT" ]
mainframebot/csharp-datastructures-graphs
DirectedGraphLesson/Clients/SymbolGraph.cs
2,470
C#
using SFA.DAS.ApplyService.Application.Apply.Roatp; using System; namespace SFA.DAS.ApplyService.Web.ViewModels.Roatp { public class ConfirmTrusteesViewModel : WhosInControlViewModel, IPageViewModel { public bool VerifiedCompaniesHouse { get; set; } public Guid ApplicationId { get; set; } ...
44.545455
111
0.688776
[ "MIT" ]
uk-gov-mirror/SkillsFundingAgency.das-apply-service
src/SFA.DAS.ApplyService.Web/ViewModels/Roatp/WhosInControl/ConfirmTrusteesViewModel.cs
982
C#
using System; using System.Text; using System.Xml.Linq; using Microsoft.AspNetCore.DataProtection.XmlEncryption; using Microsoft.Extensions.DependencyInjection; using SS.Api.infrastructure.exceptions; namespace SS.Api.infrastructure.encryption { public class AesGcmXmlEncryptor : IXmlEncryptor { privat...
33.473684
87
0.652516
[ "Apache-2.0" ]
bcgov/sheriff-scheduling
api/infrastructure/encryption/AesGcmXmlEncryptor.cs
1,274
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...
29.443299
115
0.595238
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/CodeGuruReviewer/Generated/Model/ThirdPartySourceRepository.cs
2,856
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 * ...
30.980392
82
0.648734
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Dayu/V20180709/Models/DescribeInsurePacksResponse.cs
1,652
C#
/* ** $Id: lzio.c,v 1.31.1.1 2007/12/27 13:02:25 roberto Exp $ ** a generic input stream interface ** See Copyright Notice in lua.h */ using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace KopiLua { using ZIO = Lua.Zio; public partial class Lua { ...
23.895833
97
0.553909
[ "MIT" ]
DGoodayle/kopilua
src/lzio.cs
3,441
C#
#define DISABLE_LOGOS using System; using System.Collections.Generic; using System.Reflection; using System.Windows; using System.Windows.Threading; using ModernMessageBoxLib; namespace SaberColorfulStartmenu { /// <summary> /// App.xaml 的交互逻辑 /// </summary> public partial class App : Application ...
34.206349
116
0.581439
[ "MIT" ]
hv0905/SaberColorfulStartmenu
SaberColorfulStartmenu/App.xaml.cs
2,191
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
41.038961
123
0.626266
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/speech/v1p1beta1/google-cloud-speech-v1p1beta1-csharp/Google.Cloud.Speech.V1P1Beta1.StandaloneSnippets/AdaptationClient.ListCustomClassesRequestObjectSnippet.g.cs
3,160
C#
using System; using Xamarin.Forms; namespace UrbanSketchers.Controls { /// <summary> /// Image that supports connected animations /// </summary> public class ConnectedImage : Image { private bool _started; /// <summary> /// Gets or sets the native control /...
26.864407
80
0.538801
[ "MIT" ]
mscherotter/UrbanSketchers
UrbanSketchers/UrbanSketchers/Controls/ConnectedImage.cs
1,587
C#
using UnityEngine; using System.Collections; namespace EnhancedScrollerDemos.JumpToDemo { public class Data { public string cellText; } }
15.9
42
0.710692
[ "BSD-3-Clause" ]
bac0264/LuaTest
Assets/EnhancedScroller v2/Demos/04 Jump To Demo/Data.cs
161
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using NiceShop.Common; using NiceShop.Data.Models; using NiceShop.Data.Repositories.Contracts; namespace NiceShop.Web.Common.MiddleWares.Seeders { public class SeedCategory { private readonly RequestDelegate next; ...
28.54902
80
0.559066
[ "MIT" ]
km3to/NiceShop
src/NiceShop.Web/Common/MiddleWares/Seeders/SeedCategory.cs
1,458
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...
36.664286
149
0.595558
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/NetworkManager/Generated/Model/Internal/MarshallTransformations/CreateCoreNetworkRequestMarshaller.cs
5,133
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
35.72
98
0.554311
[ "MIT" ]
rifraf/IronRuby_Framework_4.7.2
Languages/Ruby/Ruby/RubyCompatibility.cs
895
C#
using System; using System.Linq; using Xamarin.Forms; using Plugin.Geolocator; namespace GeolocatorTests { public class App : Application { Label listenLabel; public App() { var label = new Label { Text = "Click Get Location" }; ...
35.451777
217
0.480813
[ "MIT" ]
ghuntley/GeolocatorPlugin
tests/GeolocatorTests/GeolocatorTests.cs
6,986
C#
using System; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using CodingCoach.Core.Services; using Xamarin.Forms; using CodingCoach.Models; using CodingCoach.Services; using CodingCoach.Views; namespace CodingCoach.ViewModels { public class ItemsVi...
32.551282
103
0.513194
[ "MIT" ]
bbenetskyy/mobile
CodingCoach/CodingCoach/ViewModels/ItemsViewModel.cs
2,541
C#
namespace catEncyption_GUI { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
44.723926
107
0.596708
[ "Apache-2.0" ]
t41372/catEncyption-GUI
catEncyption-GUI/Form1.Designer.cs
7,294
C#
using Microsoft.Extensions.Options; using Newtonsoft.Json; using System; using System.IO; using System.Threading.Tasks; using Omnia.CLI.Infrastructure; using System.ComponentModel; using Spectre.Cli; namespace Omnia.CLI.Commands.Subscriptions { [Description("Remove a given subscription configuration.")] publi...
34.788462
105
0.644555
[ "MIT" ]
davidcaldas/omnia-cli
src/Console/Commands/Subscriptions/RemoveCommand.cs
1,811
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 Y...
36.203936
132
0.508647
[ "Apache-2.0" ]
Arch/Npoi.Core
src/Npoi.Core/Util/ShortList.cs
20,238
C#
using AbpApi.Localization; using Volo.Abp.AuditLogging; using Volo.Abp.BackgroundJobs; using Volo.Abp.FeatureManagement; using Volo.Abp.Identity; using Volo.Abp.IdentityServer; using Volo.Abp.Localization; using Volo.Abp.Localization.ExceptionHandling; using Volo.Abp.Modularity; using Volo.Abp.PermissionManagement; us...
33.933333
86
0.683202
[ "MIT" ]
bartvanhoey/AbpApiConsumedByXamarin
XamarinForms/AbpApi/src/AbpApi.Domain.Shared/AbpApiDomainSharedModule.cs
2,038
C#
using UnityEngine; public class Weapon : ScriptableObject { public new string name = ""; public float baseDamage = 0f; public Sprite image; public AudioClip pickUpSound; public bool isGun = false; public int value = 0; }
17.769231
40
0.731602
[ "MIT" ]
edunne4/Zombs
Scripts/Weapon.cs
233
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using...
44.552876
163
0.623844
[ "Apache-2.0" ]
BlackGad/NuGet.Client
src/NuGet.Core/NuGet.PackageManagement/IDE/PackageRestoreManager.cs
24,014
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace PdfiumViewer { /// <summary> /// The text and rect. /// </summary> public class PdfTextAndRect { /// <summary> /// The text /// </summary> public string...
23.285714
74
0.503067
[ "Apache-2.0" ]
HiraokaHyperTools/PdfiumViewer
PdfiumViewer/PdfTextAndRect.cs
817
C#
using NBitcoin; using System.Linq; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Blockchain.TransactionOutputs; using WalletWasabi.Helpers; using WalletWasabi.Tests.Helpers; using WalletWasabi.WabiSabi; using WalletWasabi.WabiSabi.Backend; using WalletWasabi.WabiSabi.Backend.Rounds; using Wal...
41.420814
210
0.786978
[ "MIT" ]
dorisoy/WalletWasabi
WalletWasabi.Tests/UnitTests/WabiSabi/Backend/PhaseStepping/StepOutputRegistrationTests.cs
9,154
C#
using FluentValidation; namespace CulinaCloud.CookBook.Application.Ingredients.Queries.GetIngredient { public class GetIngredientQueryValidator : AbstractValidator<GetIngredientQuery> { public GetIngredientQueryValidator() { RuleFor(x => x.Id) .NotEmpty(); }...
25.230769
84
0.658537
[ "MIT" ]
zayscue/culina-cloud
src/Services/CookBook/CookBook.Application/Ingredients/Queries/GetIngredient/GetIngredientQueryValidator.cs
330
C#
using System; using System.Linq; using Lightweight.Model.Entities; using NHibernate; using NHibernate.Linq; using System.Collections.Generic; using System.Transactions; using Lightweight.Business.Exceptions; namespace Lightweight.Business.Repository.Entities { public class UserRepository : Repository<Guid, User> ...
26.835821
118
0.502039
[ "MIT" ]
noir2501/lightweight
src/Lightweight.Business/Repository/Entities/UserRepository.cs
5,396
C#
namespace Recipes.Data.Configurations { using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Recipes.Data.Models; public class RecipeLikeConfiguration : IEntityTypeConfiguration<RecipeLike> { public void Configure(EntityTypeBuilder<RecipeLike> r...
27.8125
79
0.676404
[ "MIT" ]
ChristinaNikolova/Recipes---React
server/RecipesWebApi/Data/Recipes.Data/Configurations/RecipeLikeConfiguration.cs
447
C#
using NHibernate; using Pizza.Framework.Operations; using Pizza.Framework.Persistence.Transactions; using Pizza.Framework.TestTypes.Model.PersistenceModels; using Pizza.Framework.TestTypes.ViewModels.Customers; using Pizza.Framework.ValueInjection; namespace Pizza.Framework.IntegrationTests.SutServices { [Transac...
34.230769
115
0.738202
[ "MIT" ]
dwdkls/pizzamvc
tests/Pizza.Framework.IntegrationTests/SutServices/CustomersCrudService.cs
892
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.ML.Core.Data; namespace Microsoft.ML.Runtime.Data { /// <summary> /// An estimator class f...
39.466667
155
0.671453
[ "MIT" ]
wtgodbe/machinelearning
src/Microsoft.ML.Data/DataLoadSave/CompositeReaderEstimator.cs
2,370
C#
using Microsoft.AspNetCore.Authorization; namespace Microsoft.Extensions.DependencyInjection { public static class Authorization { public static AuthorizationOptions SetupAuthorizationPolicies(this AuthorizationOptions options) { //https://docs.asp.net/en/latest/security/authorizat...
29.727273
104
0.525382
[ "Apache-2.0" ]
exeGesIS-SDM/content-templates
src/sourceDev.WebApp/Config/Authorization.cs
1,637
C#
using BBI.Game.Data; namespace Subsystem.Wrappers { public class CostAttributesWrapper : CostAttributes { public CostAttributesWrapper(CostAttributes other) { Resource1Cost = other.Resource1Cost; Resource2Cost = other.Resource2Cost; } public int Resource1Cost { get; set; } public int Resource2Cost ...
19.941176
52
0.743363
[ "MIT" ]
AGameAnx/Subsystem
Subsystem/Wrappers/Ability/CostAttributesWrapper.cs
341
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using NOtification_Backend.Logging; using NOtification_Backend.Connections; using System.Threading; namespace NOtification_Backend { static class Program { /// <summary> ...
22.375
71
0.670391
[ "MIT" ]
Kezuino/SMPT31
NOtification Backend/NOtification Backend/Program.cs
539
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TSS { public class Player : MonoBehaviour { public Vector2 touch1, touch2, angle; public float r; public GameObject shot; public bool s; public IEnumerator CoolDown(){ WaitForSeconds w = new WaitForSeco...
26.568182
107
0.630453
[ "MIT" ]
Plet53/UnnamedMobileTwinStickShooterExperiment
Assets/Scripts/TSS.cs
1,169
C#
namespace UnionFind { public class WeightedQuickUnion : IUnionFind { private int componentCount; private int[] dots; private int[] componentSize; public WeightedQuickUnion(int N) { this.componentCount = N; dots = new int[N]; componentSize = new int[N]; for (int i=0; i<N; i++) { dots[i] ...
17.333333
61
0.614423
[ "MIT" ]
doctral/Medium-Union-Find
UnionFind/WeightedQuickUnion.cs
1,042
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
40.25
101
0.587578
[ "MIT" ]
HiteshRamnani/fhir-server
src/Microsoft.Health.Fhir.CosmosDb/Features/Search/Queries/IQueryBuilder.cs
807
C#
// Copyright (c) 2014 Daniel Grunwald // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
39.609756
127
0.712746
[ "MIT" ]
AraHaan/ILSpy
ICSharpCode.Decompiler/IL/InstructionFlags.cs
3,250
C#
using Ducksoft.SOA.Common.Utilities; using System.Collections.Generic; using System.Configuration; using System.Data.Entity; using System.Data.Entity.Core.EntityClient; using System.Data.SqlClient; using System.Linq; using System.Runtime.Serialization; namespace Ducksoft.SOA.Common.DataContracts { /// <summary> ...
31.823256
95
0.498538
[ "MIT" ]
hpsanampudi/Ducksoft.Soa.Common
DataContracts/DbConnectionInfo.cs
6,844
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.470/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; using System.Windows.Forms; names...
26.20339
90
0.600906
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470
Source/Krypton Toolkit Suite Extended/Applications/Palette Creator/UX/TMSChromeForm.cs
1,548
C#
using Microsoft.Extensions.Hosting; using Microsoft.AspNetCore.Hosting; using System; using Microsoft.AspNetCore.Builder; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace App { public class Program { public static void Main() ...
31.785714
101
0.639326
[ "MIT" ]
hyperpc/AspNetCoreFxAdv
inside-asp-net-core-3/ch_16/S1601/App/Program.cs
892
C#
using Mokkit.Playground.SampleScenery; using Moq; namespace Mokkit.Playground.Setups { public class CoreSetup: IStageSetup<string> { public void SetupMocks(IMokkit<string> mokkit) { mokkit.Customize<Mock<IService1>>(mock => mock.Setup(service1 => service1.Call1())); mok...
28.8125
96
0.635575
[ "MIT" ]
GrafGenerator/mokkit
src/Mokkit.Playground/Setups/CoreSetup.cs
463
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="EntityInspector.xaml.cs" company="Slash Games"> // Copyright (c) Slash Games. All rights reserved. // </copyright> // -----------------------------------------------------------...
35.077844
120
0.596961
[ "MIT" ]
SlashGames/slash-framework
Tools/BlueprintEditor/Slash.Tools.BlueprintEditor.WPF/Source/Inspectors/Controls/EntityInspector.xaml.cs
5,860
C#
////////////////////////////////////////////// // Apache 2.0 - 2016-2017 // Author : Derek Tremblay (derektremblay666@gmail.com) ////////////////////////////////////////////// using System; using System.Text; using System.Windows.Input; using WpfHexaEditor.Core.Native; namespace WpfHexaEditor.Core { ...
38.396648
123
0.495417
[ "Apache-2.0" ]
AuroraView/WPFHexEditorControl
WPFHexaEditor.Control/Core/KeyValidator.cs
6,875
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using System.ComponentModel; using System.Threading; namespace DS4Windows { public enum DsState : byte { [Description("Disconnected")] Disconnecte...
38.574555
197
0.480034
[ "MIT" ]
JustForFunDeveloper/DS4Windows
DS4Windows/DS4Control/UdpServer.cs
28,200
C#
using GizmoFort.Connector.ERPNext.PublicTypes; using GizmoFort.Connector.ERPNext.WrapperTypes; using System.ComponentModel; namespace GizmoFort.Connector.ERPNext.ERPTypes.Purpose_of_travel { public class ERPPurpose_of_travel : ERPNextObjectBase { public ERPPurpose_of_travel() : this(new ERPObject(DocTyp...
26.4
90
0.635281
[ "MIT" ]
dmequus/gizmofort.connector.erpnext
Libs/GizmoFort.Connector.ERPNext/ERPTypes/Purpose_of_travel/ERPPurpose_of_travel.cs
924
C#
#pragma checksum "..\..\..\MyControler\Tabele.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E7407B48DEB957545C6E8D97F777CAC9A98ADAF8C6E8993504CA4FA4A601388D" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime V...
38.962963
160
0.645913
[ "MIT" ]
ademvelika/AReport
MYDIPLOMA/MYDIPLOMA/obj/Debug/MyControler/Tabele.g.cs
4,210
C#
using RunSetcanRun.Combats; using RunSetcanRun.Controllers; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace RunSetcanRun.Managers { public class CheckpointManager : MonoBehaviour { [SerializeField] CheckpointController[] _checkpointControllers...
27.121212
114
0.683799
[ "Unlicense" ]
smtzengin/SetcanProject
RunSetcanRun/Assets/GameFolders/Scripts/Concretes/Managers/CheckpointManager.cs
895
C#
using System; namespace EntityFramework.Repository { public interface IUnitOfWorkSession<TContext> : IDisposable where TContext : IDbContext { void Commit(); } }
20
64
0.65
[ "MIT" ]
philieu/EntityFramework.Repository
EntityFramework.Repository/IUnitOfWorkSession.cs
202
C#
using System; using System.Collections.Generic; namespace BibliId.Web.Models.Entities { public partial class TokenRevocation { public int Id { get; set; } public int AccountId { get; set; } public string TokenHash { get; set; } public string Reason { get; set; } public ...
26
59
0.630342
[ "MIT" ]
BibliTech/Roslyn.ViewModels
BibliTech.Roslyn.ViewModels.Demo/Entities/TokenRevocation.cs
470
C#
using MLAgents.InferenceBrain; namespace MLAgents.Sensor { public enum SensorCompressionType { None, PNG, } /// <summary> /// Sensor interface for generating observations. /// For custom implementations, it is recommended to SensorBase instead. /// </summary> public int...
37.854545
126
0.626801
[ "Apache-2.0" ]
Hustacds/ml-agents
UnitySDK/Assets/ML-Agents/Scripts/Sensor/ISensor.cs
2,082
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing.Drawing2D; namespace NewtonsMethod { public partial class Form1 : Form { ...
31.834225
81
0.451201
[ "MIT" ]
PacktPublishing/Improving-your-C-Sharp-Skills
Chapter15/NewtonsMethod/Form1.cs
5,955
C#
using System; using System.Diagnostics; using System.IO; using System.Linq; namespace NLUL.Core.Client.Runtime { public class UserInstalledWine : IRuntime { /// <summary> /// Name of the runtime. /// </summary> public string Name => "WINE"; /// <summary> /// Whe...
34.785714
152
0.565503
[ "MIT" ]
Frozenreflex/Nexus-LU-Launcher
NLUL.Core/Client/Runtime/UserInstalledWine.cs
2,435
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Hippo.SuperMarket.WebApp { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration...
22.65
60
0.679912
[ "MIT" ]
voceanl/HSuperMarket
HSuperMarket/Hippo.SuperMarket.WebApp/Global.asax.cs
455
C#
// Copyright (c) 2020 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System; using System.Com...
36.964286
226
0.632528
[ "MIT" ]
Evangelink/ReactiveUI
src/ReactiveUI/Platforms/android/ReactiveFragment.cs
6,212
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" ]
Shaw6157/ToyLibrary
DemoXamarinCloud/DemoXamarin/DemoXamarin.Android/Properties/AssemblyInfo.cs
1,288
C#
#if MODULE_AUDIO || PACKAGE_DOCS_GENERATION using UnityEngine.Localization.Events; namespace UnityEngine.Localization.Components { /// <summary> /// Component that can be used to Localize an [AudioClip](https://docs.unity3d.com/ScriptReference/AudioClip.html) asset. /// Provides an update event <see cref=...
53.827586
181
0.735426
[ "MIT" ]
WeLikeIke/DubitaC
Source/Library/PackageCache/com.unity.localization@1.2.1/Runtime/Component Localizers/LocalizeAudioClipEvent.cs
1,561
C#
// ReSharper disable RedundantUsingDirective // ReSharper disable DoNotCallOverridableMethodsInConstructor // ReSharper disable InconsistentNaming // ReSharper disable PartialTypeWithSinglePart // ReSharper disable PartialMethodWithSinglePart // ReSharper disable RedundantNameQualifier // ReSharper disable UnusedMember...
32.307692
88
0.723016
[ "Apache-2.0" ]
raminrahimzada/Geco
Test/Geco.Tests/Database/Model/Shift.cs
1,260
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using Charlotte.Tools; using System.Collections; namespace Charlotte { public partial class TreeSheetWin : Form { ...
23.96633
101
0.681933
[ "MIT" ]
stackprobe/Annex
Bodewig/Chroco/MkList/MkList/TreeSheetWin.cs
7,286
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...
37.942308
192
0.621896
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/ComplianceExecutionSummaryUnmarshaller.cs
3,946
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace MergeSpectra { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() ...
22.818182
66
0.573705
[ "Apache-2.0" ]
Jamejarrs/WALICDH
source/seabreeze-3.0.11/util/MergeSpectra/src/Program.cs
504
C#
using Microsoft.Extensions.Primitives; namespace Handyman.Azure.Functions.Http.ApiVersioning { public class ValidationContext { public string ErrorMessage { get; set; } public bool Optional { get; internal set; } public string MatchedVersion { get; set; } public StringValues Va...
31.923077
64
0.679518
[ "MIT" ]
JonasSamuelsson/Handyman
src/Handyman.Azure.Functions/src/Http/ApiVersioning/ValidationParams.cs
417
C#
using System; using System.Drawing; using System.Collections; namespace Crainiate.Diagramming.Layouts { internal class GridNode { public int X; public int Y; public GridNode() { } public GridNode(int x, int y) { X = x; Y = y; } } }
11.391304
39
0.641221
[ "BSD-2-Clause" ]
digitalmavica/opendiagram
Previous_Versions/Version_4.1/OpenDiagram.Diagramming/Open.Diagramming.Layouts/GridNode.cs
262
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using Debug = System.Diagnostics.Debug; using StringBuilder = System.Text.StringBuilder; public class Clicountingd2 { public int count(string[] g) { var n = g.Length; var id = new int[n, n]; var k =...
30.662162
130
0.446011
[ "MIT" ]
Camypaper/TopCoder
workspace/SRM 696/Clicountingd2.cs
2,269
C#
using FlavBattle.Core; using FlavBattle.State; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIManager : MonoBehaviour { public FormationPanel FormationPanel; public ArmyPanel ArmyPanel; public ActionButtonsPanel ActionButtonsPanel; ...
26
83
0.605891
[ "MIT" ]
Flavkupe/FlavBattle
Assets/Scripts/UI/UIManager.cs
4,110
C#
// // PaketApplicationPath.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 Matthew Ward // // 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 restr...
32.018182
93
0.745599
[ "MIT" ]
mrward/monodevelop-paket-addin
src/MonoDevelop.Paket/MonoDevelop.Paket/PaketApplicationPath.cs
1,763
C#
// ----------------------------------------------------------------------------- // GENERATED CODE - DO NOT EDIT // ----------------------------------------------------------------------------- using System; using System.Linq; using System.Collections.Generic; using Hl7.Fhir.Model; using Hl7.Fhir.Utility; using System...
34.241611
210
0.659153
[ "BSD-3-Clause" ]
brianpos/fhir-net-web-api
src/Hl7.Fhir.Custom.Serializers/Generated/FhirCustomXmlReader.Contract.ActionSubjectComponent.cs
5,104
C#
using System; using System.Collections.Generic; namespace Gloson.Collections.Generic { //------------------------------------------------------------------------------------------------------------------- // /// <summary> /// Comparer Builder /// </summary> // //----------------------------------------...
25.200935
119
0.526052
[ "MIT" ]
Dmitry-Bychenko/Gloson.Standard.Solution
Gloson.Standard/Collections/Generic/Gloson.Collections.Generic.Comparers.cs
5,395
C#