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
/** * Copyright 2013 Canada Health Infoway, 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...
43.114583
143
0.663928
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-ccda-r1_1/Main/Ca/Infoway/Messagebuilder/Model/Ccda_r1_1/Diagnosticimagingreport/RelatedDocument.cs
4,139
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...
46.459677
178
0.675056
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/S3Outposts/Generated/Model/ConflictException.cs
5,761
C#
namespace GifDirectEditor { partial class GifWrapperFrm { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary>...
50.183761
146
0.604616
[ "MIT" ]
TheNeoBurn/GifWrapper
GifDirectEditor/GifWrapperFrm.Designer.cs
11,749
C#
using Promitor.Core.Scraping.Configuration.Serialization; using Promitor.Core.Scraping.Configuration.Serialization.v1.Model; using Promitor.Core.Scraping.Configuration.Serialization.v1.Model.ResourceTypes; using Promitor.Core.Scraping.Configuration.Serialization.v1.Providers; using Xunit; namespace Promitor.Tests.Uni...
36.142857
101
0.648221
[ "MIT" ]
3lvia/promitor
src/Promitor.Tests.Unit/Serialization/v1/Providers/ApiManagementDeserializerTests.cs
2,279
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Off-Sync.com. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *---------------------------------------------------------------------------...
29.144279
101
0.50495
[ "MIT" ]
off-sync/mapping-mappert
test/OffSync.Mapping.Mappert.Reflection.Tests/ReflectionMappingDelegateBuilderTest.cs
5,860
C#
namespace CurrentUserService.Tests { using System; using ICSSoft.Services; using Xunit; /// <summary> /// Class of unit test for <see cref="CurrentUserService"/>. /// </summary> public class CurrentUserServiceTest { /// <summary> /// Test implementation of <see c...
30.670732
96
0.5666
[ "MIT" ]
AlexBurmatov/NewPlatform.Flexberry.ORM
NewPlatform.Flexberry.ORM.Tests/CurrentUserService/CurrentUserServiceTest.cs
2,517
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("Ta...
38.081081
84
0.747339
[ "MIT" ]
andreykata/SoftUni
Programming Basics/2016 June/CSharpProgrammingBasic03SimpleConditions/Task03BiggerNumber/Properties/AssemblyInfo.cs
1,412
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICU...
47.732653
1,310
0.506606
[ "MIT" ]
flecoqui/ASTool
cs/ASTool/ASTool.Core/ISMHelper/IsmFile.cs
23,391
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 ...
58.256098
123
0.685158
[ "Apache-2.0" ]
Antholoj/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheAtomicityMode.cs
4,777
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Qwiq.Identity { [Serializable] public class MultipleIdentitiesFoundException : ApplicationException { public MultipleIdentitiesFoundException(string displayName, IEnumerable<string> matches) : ...
30.4375
160
0.673511
[ "MIT" ]
rjmurillo/Qwiq
src/Qwiq.Identity/MultipleIdentitiesFoundException.cs
974
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("Eve...
37.675676
84
0.748207
[ "MIT" ]
Karamihova/Programming-Basics
LoopLab/EvenPowersOf2/Properties/AssemblyInfo.cs
1,397
C#
namespace NCubeSolvers.Core { public enum Axis { X, Y, Z } }
10.777778
28
0.43299
[ "MIT" ]
EdwardSalter/NCubeSolver
src/Core/Axis.cs
99
C#
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.Networking; public class LevelLoader : MonoBehaviour { private static string gameDataProjectLocation = "/gameData.json"; GameData gameData; public static LevelLoader instance; void Awake() { i...
26.741463
134
0.683327
[ "MIT" ]
Nomadjackalope/elemental-breakout
Assets/Scripts/Game/LevelLoader.cs
5,484
C#
using System; using System.IO; using System.Threading.Tasks; using System.Xml.Serialization; using Osma.Mobile.App.Services.Interfaces; using Xamarin.Forms; namespace Osma.Mobile.App.Services { public class KeyValueStoreService : IKeyValueStoreService { public bool IsInitialized() => Application.Curre...
28.990826
99
0.517722
[ "Apache-2.0" ]
Arsh-Sandhu/aries-mobileagent-xamarin
src/Osma.Mobile.App/Services/KeyValueStoreService.cs
3,162
C#
using Godot; using System; public class PlayerTrail : CPUParticles2D { // Called when the node enters the scene tree for the first time. public override void _Ready() { GD.Print("PlayerTrail::_Ready()"); } // Called every frame. 'delta' is the elapsed time since the previous frame. ...
25.533333
80
0.587467
[ "Apache-2.0" ]
CodeCafeOpenShiftGame/PodEscape
src/Actors/Player/PlayerTrail.cs
766
C#
using System.Collections.Generic; using System.Linq; using System.Text; namespace SpeedrunComSharp { internal static class StringHelpers { internal static string ToParameters(this string parameters) { if (string.IsNullOrEmpty(parameters)) return ""; else...
25.809524
88
0.535978
[ "MIT" ]
Deecellar/Lessplit
SpeedrunDotComSharpStandard/StringHelpers.cs
1,086
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; namespace Microsoft.Azure.Functions.Worker.Diagnostics { internal class FunctionInvocati...
31.629032
142
0.608363
[ "MIT" ]
Azure/azure-functions-dotnet-worker
src/DotNetWorker.Core/Diagnostics/FunctionInvocationScope.cs
1,963
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Seclusion.Models; using Windows.UI.Xaml.Data; namespace Seclusion.Views { public class FromAbilityToStringConverter : IValueConverter { public object Convert(object value, Type tar...
24.842105
99
0.509181
[ "MIT" ]
slimCODE/slim-lib
src/samples/Seclusion/Seclusion.Shared/Views/FromAbilityToStringConverter.cs
1,418
C#
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using LinqToTwitter; using LinqToTwitter.Common; namespace ConsoleDemo.CSharp { class AccountActivityDemos { internal static async Task RunAsync(TwitterContext twitterCtx) { char key; do ...
36.147321
110
0.506113
[ "Apache-2.0" ]
JoeMayo/LinqToTwitter
Samples/LinqToTwitter6/Console/ConsoleDemo.CSharp/ConsoleDemo.CSharp/AccountActivityDemos.cs
8,099
C#
using System; namespace RI.Framework.Bus.Internals { /// <summary> /// Describes the state of a send operation. /// </summary> [Serializable] public enum SendOperationItemState { /// <summary> /// The send operation is newly created and is not yet processed. /// </summary> New = 0, /// <su...
22.1
133
0.630769
[ "Apache-2.0" ]
gosystemsgmbh/RI_Framework
RI.Framework.Common/Bus/Internals/SendOperationItemState.cs
1,107
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.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.Web.CodeGeneration.Templat...
45.643564
136
0.643167
[ "Apache-2.0" ]
Arvinds-ds/Scaffolding
test/VS.Web.CG.Core.Test/CodeGeneratorActionsServiceTests.cs
4,610
C#
#region License // The PostgreSQL License // // Copyright (C) 2017 The Npgsql Development Team // // Permission to use, copy, modify, and distribute this software and its // documentation for any purpose, without fee, and without a written // agreement is hereby granted, provided that the above copyright notice // and ...
41.73913
115
0.6125
[ "MIT" ]
muhammet-kandemir-95/MA.Dal.Dao
MA.Dao.Generate.VSIX/MA.Dao.Generate.VSIX.App/Other Databases/Npgsql/Tls/RsaPKCS1.cs
4,800
C#
#region Licence /* The MIT License (MIT) Copyright © 2015 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limita...
39.73913
100
0.731947
[ "MIT" ]
uQr/Paramore.Brighter
paramore.brighter.commandprocessor.tests.nunit/CommandProcessors/When_A_Handler_Is_Part_Of_An_Async_Pipeline.cs
2,753
C#
// <copyright file="Weibull.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2013 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this sof...
38.620626
139
0.545897
[ "MIT" ]
WeihanLi/mathnet-numerics
src/Numerics/Distributions/Weibull.cs
21,028
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...
56.029762
685
0.636088
[ "Apache-2.0" ]
aws/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/SimpleNotificationService/Basic/Connect-SNSNotification-Cmdlet.cs
18,854
C#
// ===================================================================== // <copyright file="Program.cs" company="Advanced Micro Devices, Inc."> // Copyright (c) 2011-2019 Advanced Micro Devices, Inc. All rights reserved. // </copyright> // <author> // AMD Developer Tools Team // </author> // <summary> // Give...
49.609929
194
0.586991
[ "MIT" ]
jdrouan-goog/gpu_performance_api
source/public_counter_compiler/program.cs
6,995
C#
using System; using OSharp.Data.Entity; using OSharp.Core.Security; namespace OSharp.Demo.Consoles.EntityConfigurations { public class FunctionConfiguration : EntityConfigurationBase<Function, Guid> { } }
17
80
0.764706
[ "Apache-2.0" ]
VictorTzeng/osharp
samples/OSharp.Demo.Consoles/EntityConfigurations/FunctionConfiguration.cs
223
C#
namespace WarMachine.Engine { using Interfaces; using Models; public class MachineFactory : IMachineFactory { public IPilot HirePilot(string name) { var pilot = new Pilot(name); return pilot; } public IFighter ManufactureFighter(string name, dou...
27.148148
116
0.61528
[ "MIT" ]
VVoev/Telerik-Academy
05.C#ObjectOrientedProgramming/ExamPreparation/OOP12Dec2013/WarMachine/Engine/MachineFactory.cs
735
C#
using System.Runtime.Serialization; using System.Text.Json.Serialization; #pragma warning disable 1591 namespace Plotly.Models.Traces.ScatterMapBoxs.Markers.ColorBars { /// <summary> /// Same as <c>showtickprefix</c> but for tick suffixes. /// </summary> [JsonConverter(typeof(EnumConverter))] ...
21.444444
64
0.606218
[ "MIT" ]
trmcnealy/Plotly.WPF
Plotly/Models/Traces/ScatterMapBoxs/Markers/ColorBars/ShowTickSuffixEnum.cs
579
C#
namespace VaporStore.Data.Models.Enums { public enum CardType { Debit, Credit } }
13.75
39
0.572727
[ "MIT" ]
BorisLechev/C-DB
Entity Framework Core/Exams/01.09.2018/VaporStore/Data/Models/Enums/CardType.cs
112
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Quaver.API.Enums; using Quaver.Shared.Config; using Quaver.Shared.Database.Maps; using Quaver.Shared.Graphics; using Quaver.Shared.Graphics.Form.Dropdowns; using Quaver.Shared.Graphics.Form.Dropdowns.Custom; using Qu...
33.515789
135
0.602701
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Adrriii/Quaver
Quaver.Shared/Screens/Selection/UI/FilterPanel/Dropdowns/FilterDropdownGroupBy.cs
3,184
C#
namespace Logger.Interfaces { public interface ILayout { string FormatError(IError error); } }
14.5
41
0.646552
[ "MIT" ]
DimchoLakov/CSharpOOPAdvanced
01.SOLID - Exercise/Logger/Interfaces/ILayout.cs
118
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic; ...
26.966368
155
0.649871
[ "Apache-2.0" ]
SNBnani/Xian
Ris/Client/FolderTreeNode.cs
12,027
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using EventStore.Client.Users; using Grpc.Core; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; #nullable enable namespace...
42.016
109
0.730293
[ "Apache-2.0" ]
BrunoZell/EventStore-Client-Dotnet
src/EventStore.Client.UserManagement/EventStoreUserManagementClient.cs
10,504
C#
using System.Windows.Controls; namespace ForgeModGenerator.TextureGenerator.Views { /// <summary> SoundGenerator UI View-ViewModel </summary> public partial class TextureGeneratorPage : Page { public TextureGeneratorPage() => InitializeComponent(); } }
25.363636
63
0.727599
[ "MIT" ]
Prastiwar/ForgeModGenerator
ForgeModGenerator/app/ForgeModGenerator.Wpf/Source/Modules/TextureGenerator/TextureGeneratorPage.xaml.cs
281
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using TygaSoft.Model; using TygaSoft.BLL; using TygaSoft.WebHelper; namespace TygaSoft.Web.Admin.ActivityNew { public partial class AddActivityPush : System...
27.577778
114
0.506849
[ "MIT" ]
qq283335746/Infoztc
src/Team12/TygaSoft/Web/Admin/ActivityNew/AddActivityPush.aspx.cs
1,243
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...
43.679167
161
0.679863
[ "Apache-2.0" ]
CanerIrfanoglu/Lean
Tests/Algorithm/Framework/Portfolio/BaseWeightingPortfolioConstructionModelTests.cs
10,485
C#
// Copyright © 2015 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Platformus.Globalization.Frontend.ViewModels; namespace Platformus.Forms.Frontend.ViewModels.Shared { public class FieldOptionViewModel : V...
31.666667
111
0.771053
[ "Apache-2.0" ]
5118234/Platformus
src/Platformus.Forms.Frontend/ViewModels/Shared/FieldOption/FieldOptionViewModel.cs
383
C#
namespace MappingSPO.Project.DL.Entities { public partial class BibUserEntity { public BibUserEntity() { InitializePartial(); } public long CalcId { get; set; } public int UserId { get; set; } public CalculationEntity Calculation { get; set; } ...
20.333333
58
0.584699
[ "MIT" ]
hmohcine/MappingSPO
MappingSPO.Project.DL/Entities/BibUserEntity.cs
366
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RelevantFileDetectorTests.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licens...
35.12766
121
0.601454
[ "Apache-2.0" ]
Jaykul/pickles
src/Pickles/Pickles.Test/DirectoryCrawlers/RelevantFileDetectorTests.cs
1,653
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.387755
192
0.632915
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/GreengrassV2/Generated/Model/Internal/MarshallTransformations/IoTJobRateIncreaseCriteriaUnmarshaller.cs
3,664
C#
using System; using System.Windows; using System.Windows.Data; namespace WPFDevelopers.Converts { class AngleToPointConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { double angle = (doub...
29
124
0.628352
[ "MIT" ]
WPFDevelopersOrg/WPFDevelopers
src/WPFDevelopers/Converts/AngleToPointConverter.cs
785
C#
using System.Threading.Tasks; using Meziantou.Analyzer.Rules; using TestHelper; using Xunit; namespace Meziantou.Analyzer.Test.Rules { public sealed class DoNotUseBlockingCallInAsyncContextAnalyzer_AsyncContextTests { private static ProjectBuilder CreateProjectBuilder() { return ne...
23.032051
116
0.558493
[ "MIT" ]
meziantou/Meziantou.Analyzer
tests/Meziantou.Analyzer.Test/Rules/DoNotUseBlockingCallInAsyncContextAnalyzer_AsyncContextTests.cs
10,781
C#
namespace BenchProcessor { partial class Output { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
40.532468
162
0.588273
[ "Apache-2.0" ]
abutun/bench-processor
BenchProcessor/Output.Designer.cs
3,123
C#
using System.Collections.Generic; using Abc.Zebus.Persistence; using Abc.Zebus.Serialization; using Abc.Zebus.Testing; using Abc.Zebus.Testing.Extensions; using Abc.Zebus.Tests.Messages; using NUnit.Framework; namespace Abc.Zebus.Tests.Serialization { [TestFixture] public class MessageSerializerTests { ...
47.583333
142
0.734501
[ "MIT" ]
biarne-a/Zebus
src/Abc.Zebus.Tests/Serialization/MessageSerializerTests.cs
2,857
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("vpm-server")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguration ("")] [assem...
35.357143
81
0.736364
[ "MIT" ]
nathanial/vgk-package-manager
vpm-server/Properties/AssemblyInfo.cs
992
C#
using System.Web; using System.Web.Optimization; using Camalot.Common.Extensions; using Camalot.Common.Mvc.Extensions; namespace Madb.Site { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bun...
26.857143
90
0.779255
[ "Apache-2.0" ]
camalot/madb
Madb.Site/App_Start/BundleConfig.cs
378
C#
using System.Collections.Generic; using ValkyrieTools; namespace Assets.Scripts.Content { /// <summary> /// Class to define a dictionary of KEYS, Strings in all available languages /// </summary> public class DictionaryI18n { private const char QUOTES = '\"'; private const char CO...
35.347305
133
0.472246
[ "Apache-2.0", "MIT" ]
trinithy2000/valkyrie
unity/Assets/Scripts/Content/DictionaryI18n.cs
17,711
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...
28.981132
109
0.670573
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/ElastiCache/Generated/Model/CreateSnapshotResponse.cs
1,536
C#
namespace EnvironmentAssessment.Common.VimApi { public class KmipServerInfo : DynamicData { protected string _name; protected string _address; protected int _port; protected string _proxyAddress; protected int? _proxyPort; protected int? _reconnect; protected string _protocol; protected int? _nbio; ...
12.322835
45
0.566134
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/K/KmipServerInfo.cs
1,565
C#
using UnityEngine; using System.Collections; using EasyMobile.Internal; namespace EasyMobile { [System.Serializable] public class RatingDialogContent { // Placeholders for replacable strings. public const string PRODUCT_NAME_PLACEHOLDER = "$PRODUCT_NAME"; public readonly static Ra...
34.344828
106
0.595131
[ "MIT" ]
AndreeBurlamaqui/HyperBeatMIX
Assets/EasyMobile/Scripts/Modules/Utilities/StoreReview/RatingDialogContent.cs
3,986
C#
namespace SaaSPOCModel.Security { public class VMLogin { public string UserName { get; set; } public string Password { get; set; } } }
18.222222
44
0.603659
[ "MIT" ]
POCProjects-22/SaaSPOC2
SaaSPOCModel/Security/VMLogin.cs
166
C#
// ReSharper disable once CheckNamespace namespace Binance.Cache { /// <summary> /// Depth of market updated event. /// </summary> public class OrderBookCacheEventArgs : CacheEventArgs { #region Public Properties /// <summary> /// The depth of market snapshot (order book). ...
23.058824
59
0.57398
[ "MIT" ]
MyJetWallet/Binance
src/Binance/Cache/Events/OrderBookCacheEventArgs.cs
786
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2...
50.454545
165
0.765766
[ "MIT" ]
enisgurkann/UblTr
Ubl-Tr/Common/CommonBasicComponents/TestMethodType.cs
555
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace SA { [CreateAssetMenu(menuName = "Conditions/IsPlayerEscapeExitAggroTransition")] public class IsPlayerEscapeExitAggroTransition : Condition { public override bool CheckAICondition(AIStateManager aiState) ...
26.35
80
0.694497
[ "MIT" ]
Amulet-Games/VolunsTale-Codes-Repository
Assets/Scripts/AI/AI_Transitions/IsPlayerEscapeExitAggroTransition.cs
529
C#
namespace CoolNameGenerator.Forms { partial class CoolNameResultForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </sum...
51.561737
172
0.612694
[ "Apache-2.0" ]
Behzadkhosravifar/CoolNameGenerator
src/CoolNameGenerator/Forms/CoolNameResultForm.Designer.cs
76,004
C#
// <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning disable 0169 namespace Radzen.Blazor { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet...
25.88
118
0.751932
[ "MIT" ]
longvutam/vtl-nvp
Radzen.Blazor/obj/Debug/net5.0/RazorDeclaration/RadzenFileInput.razor.g.cs
1,294
C#
namespace DS4Windows { public class HidDeviceCapabilities { internal HidDeviceCapabilities(NativeMethods.HIDP_CAPS capabilities) { Usage = capabilities.Usage; UsagePage = capabilities.UsagePage; InputReportByteLength = capabilities.InputReportByteLength; ...
52.204545
79
0.707444
[ "MIT" ]
Adminixtrator/DS4Windows
DS4Windows/HidLibrary/HidDeviceCapabilities.cs
2,299
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 CAIActionBruxaFriendlyAttackAction : CAINpcActionSubtree { public C...
32.434783
146
0.760054
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CAIActionBruxaFriendlyAttackAction.cs
724
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V231.Segment; using NHapi.Model.V231.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V231.Group { ///<summary> ///Represents the RRD_O02_RESPONSE Group. A Group is an o...
29.428571
155
0.66326
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V231/Group/RRD_O02_RESPONSE.cs
3,914
C#
using System.Collections.Generic; using System.Linq; using Moq; namespace Casino.Tests.DSL { public class GameBuilder { private readonly List<Player> _players = new List<Player>(); private IDice _dice; public GameBuilder WithDiceWhichAlwaysDropsOne() { var dice = n...
23.613636
80
0.525505
[ "MIT" ]
Ceridan/Casino
Casino.Tests/DSL/GameBuilder.cs
1,041
C#
using System; using System.Collections.Generic; using Public.Common.Lib.Visuals; namespace Eshunna.Lib { /// <summary> /// Scales an image down to a maximum allowable size. The maximum size is given in terms of a maximum dimension size, such that whether landscape or portrait oriented (whether heig...
44.084746
280
0.677432
[ "MIT" ]
MinexAutomation/Public
Source/Malachite/Scripts/Eshunna/Eshunna.Lib/Code/Classes/MaximumDimensionSizeImageScaler.cs
2,603
C#
using AutoMapper; using CloudConsult.Identity.Domain.Entities; using CloudConsult.Identity.Domain.Events; using CloudConsult.Identity.Domain.Responses; namespace CloudConsult.Identity.Infrastructure.Mappers { public class IdentityMapper : Profile { public IdentityMapper() { CreateM...
31.866667
122
0.600418
[ "MIT" ]
devntofficial/CloudConsultRC
NET Microservices/identity-service/CloudConsult.Identity.Infrastructure/Mappers/IdentityMapper.cs
958
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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 Licen...
29.814516
137
0.503652
[ "Apache-2.0" ]
BlueCode2019/TensorFlow.NET
src/TensorFlowNET.Core/Keras/Engine/Sequential.cs
3,699
C#
using System; using MongoDB.Driver; namespace QuizBotCore.Database { public class MessageTextRepository { public const string CollectionName = "telegramMessages"; private readonly IMongoCollection<DialogMessages> textCollection; public DialogMessages Messages { get; private set; } ...
26
84
0.542735
[ "Apache-2.0" ]
742PM/Quiz
Quiz/QuizBotCore/Database/MessageTextRepository.cs
1,172
C#
using System.Collections.Generic; namespace DynamicsCrm.DevKit.Shared.Models.Cli { public class JsonGenerator { public string profile { get; set; } public string rootfolder { get; set; } public string rootnamespace { get; set; } public string type { get; set; } public s...
26.733333
49
0.625935
[ "MIT" ]
allandecastro/Dynamics-Crm-DevKit
v2/DynamicsCrm.DevKit.Shared/Models/Cli/JsonGenerator.cs
403
C#
using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Serilog; using Serilog.Events; namespace AbpTailwindBlazor { public class Program { public static int Main(string[] args) { Log.Logger = new LoggerC...
28.824561
94
0.531345
[ "MIT" ]
antosubash/AbpTailwindBlazor
src/AbpTailwindBlazor.HttpApi.Host/Program.cs
1,645
C#
using System; using System.Collections; using System.Collections.Generic; using SkyFramework; using UnityEngine; using UnityEngine.Events; namespace SkyFramework { /// <summary> /// 事件中心 /// </summary> public class EventSystem : SingletonMono<EventSystem> { private Dictionary<string, UnityA...
25.173913
121
0.498561
[ "MIT" ]
magicskysword/SkyFramework
Assets/SkyFramework/Runtime/Event/EventSystem.cs
1,789
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// <summary>Additional details of Sub Tasks</summary> public partial class JobSubTaskAdditionalDetails : Microsoft.Azure.PowerShel...
37.266667
112
0.734347
[ "MIT" ]
AverageDesigner/azure-powershell
src/DataProtection/generated/api/Models/Api202101/JobSubTaskAdditionalDetails.cs
1,089
C#
namespace DragonSpark.Identity.DeviantArt.Claims; public sealed class Website : DeviantArtClaim { public static Website Default { get; } = new (); Website() : base(nameof(Website).ToLower()) {} }
25
50
0.73
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Identity.DeviantArt/Claims/Website.cs
202
C#
using System.Drawing; using SpaceSim.Kernels; using SpaceSim.Orbits; using VectorMath; namespace SpaceSim.SolarSystem.Moons { class Moon : MassiveBodyBase { public override string ApoapsisName { get { return "Aposelene"; } } public override string PeriapsisName { get { return "Perise...
28.086207
131
0.577655
[ "MIT" ]
JohnnyOneSpeed/SpaceSim
src/SpaceSim/SolarSystem/Moons/Moon.cs
1,631
C#
using System.Collections.Generic; using NBitcoin.BitcoinCore; namespace NBitcoin { public interface IStandardScriptsRegistry { void RegisterStandardScriptTemplate(ScriptTemplate scriptTemplate); bool IsStandardTransaction(Transaction tx, Network network); bool AreOutputsStandard(Netw...
28.130435
85
0.75425
[ "MIT" ]
zeptin/StratisFullNode
src/NBitcoin/IStandardScriptsRegistry.cs
649
C#
#pragma checksum "C:\c-\Lab_90_MVC_core\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "335f069dd332764f947c3abb0ad5753f2ffa084e" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Index), @"m...
62.776423
356
0.684517
[ "MIT" ]
SebastianTrifa/c-
Lab_90_MVC_core/obj/Debug/netcoreapp2.1/Razor/Views/Home/Index.g.cshtml.cs
15,443
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using WPF.DataForms.Mapping.FieldDescriptions.Base; namespace WPF.DataForms.Mapping.FieldDescriptions { /// <summary> /// CustomPropertyDefinition /// </summary> p...
25.542857
110
0.630872
[ "MIT" ]
usercode/WPF.DataForms
src/WPF.DataForms/Mapping/FieldDescriptions/CustomDescription.cs
896
C#
using KAMI.Cameras; using KAMI.Utilities; using System; namespace KAMI.Games { public class Killzone3PS3 : Game<HVecVACamera> { DerefChain m_hor; DerefChain m_vert; public Killzone3PS3(IntPtr ipc, string version) : base(ipc) { var baseChain = version switch ...
39.128205
123
0.589122
[ "MIT" ]
AphelionWasTaken/KAMI
KAMI/Games/Killzone3PS3.cs
1,528
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.MSHTMLApi { ///<summary> /// DispatchInterface IHTMLEventO...
32.215517
169
0.677281
[ "MIT" ]
NetOffice/NetOffice
Source/MSHTML/DispatchInterfaces/IHTMLEventObj4.cs
3,737
C#
using System; using System.Windows.Forms; namespace TimeTracker { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Applicat...
17.7
56
0.694915
[ "Unlicense" ]
nelsonlaquet/time-tracker
TimeTracker/Program.cs
356
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.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.VisualStudio.Language.Intellisense; using Roslyn.U...
49.125
211
0.677269
[ "Apache-2.0" ]
ElanHasson/roslyn
src/EditorFeatures/Core/Implementation/Peek/DefinitionPeekableItem.cs
4,718
C#
/* Copyright 2009-2021 Intel 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
27.226415
72
0.661123
[ "Apache-2.0" ]
SPEMoorthy/MeshCentralRouter
SettingsForm.cs
1,445
C#
// <copyright file="IOutputPort.cs" company="Ivan Paulovich"> // Copyright © Ivan Paulovich. All rights reserved. // </copyright> namespace Application.UseCases.Withdraw { using Domain; using Domain.Debits; /// <summary> /// Output Port. /// </summary> public interface IOutputP...
24.684211
62
0.503198
[ "Apache-2.0" ]
Borhan-az/CleanArchitecture-manga
accounts-api/src/Application/UseCases/Withdraw/IOutputPort.cs
939
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17929 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.580645
151
0.583955
[ "Apache-2.0" ]
coderserdar/CSharpExamples
SourceCode/ShellAbout dialog/ShellAbout dialog/Properties/Settings.Designer.cs
1,074
C#
namespace Microsoft.Research.SpeechWriter.Core { internal interface ITokenTileFilter : ITileFilter { bool IsTokenVisible(int token); } }
22.428571
53
0.713376
[ "MIT" ]
MSREnable/Hands-Free-Keyboard
Microsoft.Research.SpeechWriter/Microsoft.Research.SpeechWriter.Core/ITokenTileFilter.cs
159
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Text; using IPioneerReceiverControl.Rx.Model; using PioneerReceiverControl.Rx.Model; namespace PioneerReceiverControl.Rx.ExtensionMethod { public static class ByteStreamEx { private const byte CR = 0x0D; //Carriag...
36.426667
152
0.354685
[ "MIT" ]
1iveowl/PioneerReceiverControl.Rx
src/main/PioneerReceiverControl.Rx/ExtensionMethod/ByteStreamEx.cs
2,734
C#
using System; using EPiServer.DataAbstraction; using EPiServer.ServiceLocation; namespace AlloyAngularJS.Business { /// <summary> /// Provides extension methods for types intended to be used when working with page types /// </summary> public static class PageTypeExtensions { /// <summary> ...
29.32
108
0.65075
[ "Apache-2.0" ]
episerver/AlloyAngularJS
AlloyAngularJS/Business/PageTypeExtensions.cs
733
C#
using System; using System.Data; using System.Data.SqlClient; namespace Marten.Integration.Tests.TestsInfrasructure { public abstract class DapperTest : IDisposable { protected bool wasDisposed = false; protected readonly IDbConnection DbConnection; protected readonly string SchemaNam...
27.985294
108
0.561745
[ "MIT" ]
amarish-kumar/GoldenEye
src/Core/Backend.Core.Dapper.Integration.Tests/Infrastructure/DapperTest.cs
1,905
C#
using NSubstitute; using Xunit; namespace xUnit2.Demo.Tests.NSubstitute.Demo.LessonBase { /// <summary> /// 自动递归模拟 /// </summary> public class Lesson15 { //替代实例一旦被设置属性或方法,则将自动返回非NULL值。 //例如,任何属性或方法如果返回接口、委托或纯虚类*,则将自动的返回替代实例自身。 //通常这被称为递归模拟技术,而且是非常实用的。 //比如其可以避免显式地设置...
29.592814
123
0.583569
[ "MIT" ]
AtwindYu/DotNet.Quick.AllInOne
sources/UnitTest/xUnit2.Demo.Tests/NSubstitute.Demo/LessonBase/Lesson15.cs
6,574
C#
using EFBot.Launcher.ViewModels; namespace EFBot.Launcher { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow { public MainWindow() { InitializeComponent(); } } }
18.466667
45
0.577617
[ "MIT" ]
iXab3r/EndlessFrontierBot
Sources/EFBot.Launcher/MainWindow.xaml.cs
279
C#
using System; using TheGarden.DataAccess.Model; using System.Linq; namespace TheGarden.DataAccess { public class CheckTables { public void CheckCustomer(string first_name) { using (var db = new LimsGardenContext()) { var customerData = db.Customer ...
24.657143
95
0.544612
[ "MIT" ]
2002-feb24-net/dianalim-project0
TheGarden/TheGarden.DataAccess/CheckTables.cs
863
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web.WebPages; using Microsoft.TestCommon; using Moq; namespace System.Web.M...
44.692
204
0.616218
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
test/System.Web.Mvc.Test/Test/RazorViewTest.cs
11,175
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.451/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; using ExtendedControls.ExtendedToo...
47.678571
786
0.652185
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.451
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/ExtendedToolkit/Controls/Krypton Controls/KryptonColourButtonToolStripMenuItem.cs
4,007
C#
using System.Linq; using JollySamurai.UnrealEngine4.T3D; using JollySamurai.UnrealEngine4.T3D.Map; using UnityEngine; namespace JollySamurai.UnrealEngine4.Import.Map.Converters { public class StaticMeshComponentConverter : ComponentConverter<StaticMeshComponent> { protected override void CreateCompone...
43.846154
153
0.704678
[ "MIT" ]
iainmckay/com.jollysamurai.unrealengine4-import
Editor/Map/Converters/StaticMeshComponentConverter.cs
1,712
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
34.57377
91
0.531532
[ "MIT" ]
kylerlee/Stationery-Store-Inventory-System-Web-App
ADProject_Team10/Store/UpdateReorderLevelAndQuantity.aspx.designer.cs
2,111
C#
namespace COL.UnityGameWheels.Core.Asset { /// <summary> /// Asset index in the remote server. /// </summary> public class AssetIndexForRemote : AssetIndexAugmented { public override string Header => Constant.RemoteIndexFileHeader; public override string ObsoleteHeader => Constant....
29.916667
89
0.704735
[ "MIT" ]
GarfieldJiang/UnityGameWheels.Core
Core/Asset/AssetIndexForRemote.cs
361
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using Ionic.Zip; using System.IO; namespace SeriesNamer.tvdb { public class Database { private readonly string apikey; private readonly string mirror; public Database...
41.636872
128
0.528109
[ "MIT" ]
madeso/PrettyGood.net
SeriesNamer/SeriesNamer/tvdb/Database.cs
7,455
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Audio; public class AudioReverbData { public AudioReverbData() { } public AudioReverbData(AudioReverbData a) { hfReference = a.hfReference; density = a.density; diffusion = a.di...
38.493243
123
0.640688
[ "MIT" ]
naelstrof/ShapedAudioReverbZones
Assets/ShapedAudioReverbZones/Plugins/AudioReverbConsumer.cs
5,699
C#
using System; using System.Runtime.Serialization; namespace Grasews.Domain.Exceptions { public class OntologyTermNotFoundException : Exception { public OntologyTermNotFoundException() : base("Ontology Term not found with given Id.") { } public OntologyTermNotFoundException(str...
27.375
119
0.677321
[ "MIT" ]
mlcalache/grasews
Grasews.Domain/Exceptions/OntologyTermNotFoundException.cs
659
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MainViewModel.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // ------------------------------------------------------------------...
32.566667
120
0.450444
[ "MIT" ]
B3zaleel/helix-toolkit
Source/Examples/SharpDX.Core/CoreWpfTest/MainViewModel.cs
11,726
C#
using FluentAssertions; using Kros.KORM.Converter; using Kros.KORM.Injection; using Kros.KORM.Materializer; using Kros.KORM.Metadata; using Kros.KORM.Metadata.Attribute; using Kros.KORM.UnitTests.Helper; using NSubstitute; using System; using System.Collections.Generic; using System.Data; using System.Linq; using Syst...
32.418239
155
0.519643
[ "MIT" ]
Mikado3780/Kros.Libs
Kros.KORM/tests/Kros.KORM.UnitTests/Materializer/MethodModelFactoryShould.cs
20,620
C#
// // Copyright (c) 2019-2020 Ryujinx // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program i...
35.946237
180
0.652109
[ "MIT" ]
AkechiShiro/Ryujinx
Ryujinx.Audio.Renderer/Dsp/Command/PcmFloatDataSourceCommandVersion1.cs
3,343
C#
using System.Collections.Generic; using System.Text; using JetBrains.Annotations; using TestableFileSystem.Interfaces; namespace TestableFileSystem.Analyzer.Tests.TestDataBuilders { /// <summary /> internal sealed class TypeSourceCodeBuilder : SourceCodeBuilder { [NotNull] [ItemNotNull] ...
24.183673
77
0.547679
[ "Apache-2.0" ]
sankarpraveen02/sample
src/Analyzer.Tests/TestDataBuilders/TypeSourceCodeBuilder.cs
1,187
C#