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 (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alexis Kochetov // Created: 2009.05.08 using System; using System.Globalization; using NUnit.Framework; namespace Xtensive.Orm.Tests.Core.Comparison { [TestFixture] public cla...
42.093458
114
0.674067
[ "MIT" ]
NekrasovSt/dataobjects-net
Orm/Xtensive.Orm.Tests.Core/Comparison/StringComparisonTest.cs
4,504
C#
namespace FlockingBirds.Configurator.Dependencies { using ViewModels; public class ViewModelsLocator { private readonly Container container; public ViewModelsLocator() { this.container = new Container(); } public IMainWindowViewModel MainWindowViewMode...
21.25
74
0.621176
[ "MIT" ]
pwasiewicz/flockingbirds
FlockingBirds.Configurator/Dependencies/ViewModelsLocator.cs
427
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.DateTime.Spanish.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; using Microsoft.Recognizers.Text.Number; using Microsoft.Reco...
41.1125
148
0.65339
[ "MIT" ]
QPC-database/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimePeriodExtractorConfiguration.cs
6,582
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Payroll { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, Xml...
24.311688
136
0.762286
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Payroll/Put_Tax_Levy_Deduction_Restriction_ResponseType.cs
1,872
C#
using Newtonsoft.Json; using Okex.Net.Converters; using Okex.Net.Enums; namespace Okex.Net.RestObjects.Funding { public class OkexTransferResponse { [JsonProperty("ccy")] public string Currency { get; set; } [JsonProperty("transId")] public long? TransferId { get; set; } ...
26.291667
71
0.635499
[ "MIT" ]
EricGarnier/OKEx.Net
Okex.Net/RestObjects/Funding/OkexTransferResponse.cs
633
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System.Collections.Generic; using Microsoft.PowerFx.Core.Binding; using Microsoft.PowerFx.Core.Functions.Delegation; using Microsoft.PowerFx.Core.Localization; using Microsoft.PowerFx.Core.Syntax.Nodes; using Microsoft.PowerFx.Core.Utils...
34.878049
135
0.71049
[ "MIT" ]
Grant-Archibald-MS/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/StartsWith.cs
1,432
C#
// ---------------------------------------------------------------------------- // <copyright file="PunSceneSettings.cs" company="Exit Games GmbH"> // PhotonNetwork Framework for Unity - Copyright (C) 2018 Exit Games GmbH // </copyright> // <summary> // Optional lowest-viewID setting per-scene. So PhotonViews don't g...
35.060241
168
0.523024
[ "MIT" ]
AcquaWh/App-Multiplayer
Assets/Photon/PhotonUnityNetworking/Code/Editor/PunSceneSettings.cs
5,820
C#
/* * Copyright 2013 Alastair Wyse (http://www.oraclepermissiongenerator.net/methodinvocationremoting/) * * 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/l...
37.383333
119
0.55506
[ "Apache-2.0" ]
alastairwyse/MethodInvocationRemoting
C#/OperatingSystemAbstraction/ExtendedTcpListener.cs
2,243
C#
// // System.OperationCanceledException.cs // // Authors: // Zoltan Varga <vargaz@freemail.hu> // Jérémie Laval <jeremie.laval@gmail.com> // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associate...
28.784946
109
0.723945
[ "MIT" ]
Badca52/LunaMultiplayer
TPL/System/OperationCanceledException.cs
2,679
C#
using System; namespace AvaloniaReactorUI.Animations { public class Animatable { private readonly Action<RxAnimation> _animateAction; public Animatable(object key, RxAnimation animation, Action<RxAnimation> action) { Key = key ?? throw new ArgumentNullException(nameof(key)...
29.8
88
0.632215
[ "MIT" ]
adospace/reactorui-avalonia
src/AvaloniaReactorUI/Animations/Animatable.cs
747
C#
 namespace ScooTeqBooking.Pages { partial class TimeDistanceChoice { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summ...
60.554545
167
0.663264
[ "MIT" ]
jonasluehrig/MooveTeq-Booking
MooveTeq-Booking/Pages/TimeDistanceChoice.Designer.cs
13,330
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. /****************************************************************************** * This file is auto-generated from ...
43.756684
187
0.585457
[ "MIT" ]
MSHOY/coreclr
tests/src/JIT/HardwareIntrinsics/X86/Sse41/CompareEqual.Int64.cs
16,365
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.Practices.EnterpriseLibrary.Common....
52.733333
125
0.641382
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/EnterpriseLibrary/Logging/Src/Logging/Configuration/Manageability/TraceListeners/WmiTraceListenerDataManageabilityProvider.cs
2,421
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
43.733333
150
0.574898
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Official Windows Platform Sample/Universal Windows app samples/111487-Universal Windows app samples/Network status background sample/C#/Shared/Scenario1_NetworkStatusWithInternetPresent.xaml.cs
9,842
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Concurrent; using System.Diagnostics.Tracing; using Xunit; namespace System.Linq.Parallel....
36.184211
126
0.573091
[ "MIT" ]
benjamin-bader/corefx
src/System.Linq.Parallel/tests/EtwTests.cs
1,375
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.Collections.Tests { public class SortedSet_Gen...
28.584416
115
0.616084
[ "MIT" ]
Priya91/corefx-1
src/System.Collections/tests/Generic/SortedSet/SortedSet.Generic.cs
4,404
C#
using System.IO; using MediaDashboard.Common.Config.Entities; using Newtonsoft.Json; namespace MediaDashboard.Common.Config.ConfigReaders { public class FileConfigReader : IConfigReader { private readonly string _configFilePath; public FileConfigReader(string configFilePath) { ...
27.521739
92
0.701422
[ "MIT" ]
Azure-Samples/media-services-dotnet-live-monitoring-dashboard
MediaDashboard.Common/Config/ConfigReaders/FileConfigReader.cs
633
C#
using System; using System.Collections.Generic; using Elasticsearch.Net; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.MockData; using Xunit; using static Nest.Infer; using System.Threading.Tasks; using FluentAssertions; using System.Linq; namespace Tests.Document.Single....
36.726027
192
0.74599
[ "Apache-2.0" ]
RossLieberman/NEST
src/Tests/Document/Single/Update/UpdateWithSourceApiTests.cs
2,683
C#
using System; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Formatters; namespace SpanJson.AspNetCore.Formatter { public class SpanJsonInputFormatter<TResolver> : TextInputFormatter where TResolver : IJsonFormatterResolver<byte, TResolver>, new() { public SpanJsonInpu...
36.526316
145
0.621758
[ "MIT" ]
cuteant/SpanJson
src/SpanJson.AspNetCore.Formatter/SpanJsonInputFormatter.cs
1,390
C#
using DevelopmentInProgress.TradeView.Core.Extensions; using DevelopmentInProgress.TradeView.Wpf.Common.Command; using DevelopmentInProgress.TradeView.Wpf.Common.Events; using DevelopmentInProgress.TradeView.Wpf.Common.Model; using DevelopmentInProgress.TradeView.Wpf.Common.Services; using DevelopmentInProgress.TradeV...
34.125436
177
0.529406
[ "Apache-2.0" ]
CasparsTools/tradeview
src/DevelopmentInProgress.TradeView.Wpf.Configuration/ViewModel/StrategyViewModel.cs
9,796
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace TPC_UPC.Resources { public class SaveAccountResource { [Required] [StringLength(50)] public string AccountName { get; set; } //dudas ...
24.045455
62
0.661626
[ "BSD-3-Clause" ]
lucas1619/TPC-BACKEND
TPC-UPC/Resources/SaveAccountResource.cs
531
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using NewLife; using NewLife.Data; using NewLife.Serialization; using Stardust.Data; using Stardust.Data.Configs; using Stardust.Models; using Stardust.Server.Common; using Stardust.Server.Services; namespace Stardust.S...
33.126263
162
0.522946
[ "MIT" ]
NewLifeX/Stardust
Stardust.Server/Controllers/DustController.cs
6,705
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CodeWars { /// <see cref="https://www.codewars.com/kata/541c8630095125aba6000c00/train/csharp"/> [TestClass] public class SumOfDigitsDigitalRoot { [TestMethod] public void Test() { Assert.AreEqual(7, Digit...
23.264706
89
0.523388
[ "MIT" ]
Hyolog/CodeWars
CodeWars/CodeWars/SumOfDigitsDigitalRoot.cs
791
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Thenewboston.Validator.Models { internal class ConnectionRequest { [JsonProperty(PropertyName = "message")] public ConnectionRequestMessage Message { get; set; } [JsonProper...
26.1
62
0.66092
[ "MIT" ]
Mirch/dotnetcore-sdk
src/Thenewboston/Validator/Models/ConnectionRequest.cs
524
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// koubei.advert.delivery.item.apply /// </summary> public class KoubeiAdvertDeliveryItemApplyRequest : IAlipayRequest<KoubeiAdvertDeliveryItemApplyResponse> { ...
23.528986
109
0.539267
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/KoubeiAdvertDeliveryItemApplyRequest.cs
3,273
C#
using GymWare.Entities; using GymWare.Logic; using GymWare.Entities.DTO; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using System.Web.Http.Cors; namespace GymWare.API.Controllers { public clas...
28.097561
93
0.626736
[ "MIT" ]
GMM-UTN/GymWare
GymWare-Backend/GymWare.API/Controllers/MembresiasController.cs
1,154
C#
using UnityEngine; namespace ET { public class SceneChangeComponent: Entity { public AsyncOperation loadMapOperation; public ETTaskCompletionSource tcs; } }
18.6
47
0.704301
[ "MIT" ]
AnotherEnd15/ET_NetcodeDemo
Unity/Assets/ModelView/Scene/SceneChangeComponent.cs
188
C#
// // Copyright (c) Seal Report (sealreport@gmail.com), http://www.sealreport.org. // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0.. // using Seal.Helpers; using System; using System.IO; using...
35.081395
189
0.600597
[ "Apache-2.0" ]
destevetewis/Seal-Report
Projects/SealLibrary/Model/OutputFolderDevice.cs
3,019
C#
// Copyright (C) 2004-2005 MySQL AB // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as published by // the Free Software Foundation // // There are special exceptions to the terms and conditions of the GPL // as it is applied ...
33.551181
102
0.754518
[ "MIT" ]
silvath/siscobras
mdlDataBaseAccess/mdlDataBaseAccess/MySqlClient/Common/NativeMethods.cs
4,261
C#
// World Conquer Online Project 2.5517 - Phoenix Project Based // This project has been created by Felipe Vieira Vendramini // Source Infrastructure based on Phoenix Source, written by Gareth Jensen // This source is targeted to Conquer Online, client version 5517 // // Computer User: Felipe Vieira // File Created by...
35.653846
74
0.692557
[ "MIT" ]
darkfoxdeveloper/FoxConquer5517
MsgServer/Structures/Interfaces/IQuenchDrop.cs
929
C#
/** * Copyright 2018 IBM Corp. 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 * * Unless required by applicable law o...
42.600629
262
0.579612
[ "Apache-2.0" ]
thiagoloureiro/dotnet-standard-sdk
src/IBM.WatsonDeveloperCloud.Conversation.v1/Model/CreateDialogNode.cs
13,547
C#
using System.CodeDom.Compiler; using System.Web.Razor.Parser.SyntaxTree; using ServiceStack.Razor.Templating; using ServiceStack.Text; using System; using System.CodeDom; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Web.Razor; using System.Web.R...
38.85283
151
0.573038
[ "BSD-3-Clause" ]
denza/ServiceStack
src/ServiceStack.Razor2/Compilation/CompilerServiceBase.cs
10,034
C#
namespace ExchangeRateResolver.Models { public interface IParsedObject { string OriginalCommand { get; set; } } }
19.142857
44
0.671642
[ "MIT" ]
oatcrunch/ExchangeRateResolverDotNET
ExchangeRateResolver/Models/IParsedObject.cs
136
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using HotChocolate; using HotChocolate.Language; using HotChocolate.Types; using StrawberryShake.CodeGeneration.Analyzers; using static StrawberryShake.CodeGeneration.Utilities.DocumentHelper; namespace Strawberry...
40.473029
99
0.574739
[ "MIT" ]
VarunSaiTeja/hotchocolate
src/StrawberryShake/CodeGeneration/src/CodeGeneration/Utilities/SchemaHelper.cs
9,754
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
83.535714
1,358
0.752031
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/UKCT_MT140701UK03SourceOfTemplateIdRoot.cs
2,339
C#
using Core.Entities; using System; using System.Collections.Generic; using System.Text; namespace Entities.Concrete { public class Order:IEntity { public int OrderID { get; set; } public int CustomerID { get; set; } public int EmployeeID { get; set; } public DateTime OrderDate ...
22.764706
47
0.638243
[ "MIT" ]
CerenSusuz/NorthwindProject
Entities/Concrete/Order.cs
389
C#
// <copyright file="AuthenticatorClientShould.cs" company="Okta, Inc"> // Copyright (c) 2020 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> using System; using System.Linq; using System.Text; us...
49.920635
144
0.374245
[ "Apache-2.0" ]
okta/okta-sdk-dotnet
src/Okta.Sdk.UnitTests/AuthenticatorClientShould.cs
6,292
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...
40.011364
191
0.628799
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/PlacementStrategy.cs
3,521
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.772727
194
0.633694
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WorkSpaces/Generated/Model/Internal/MarshallTransformations/DescribeTagsResponseUnmarshaller.cs
4,155
C#
 namespace Gimela.Net.Http.Sessions { /// <summary> /// Stores sessions in your favorite store /// </summary> /// <remarks> /// /// </remarks> public interface ISessionStore { /// <summary> /// Saves the specified session. /// </summary> /// <param name="session">The session.</param> ...
22.238095
67
0.563169
[ "MIT" ]
J-W-Chan/Gimela
src/Foundation/Net/Gimela.Net.Http/Sessions/ISessionStore.cs
936
C#
using System.Threading.Tasks; namespace Abp.Application.Features { /// <summary> /// Most simple implementation of <see cref="IFeatureDependency"/>. /// It checks one or more features if they are enabled. /// </summary> public class SimpleFeatureDependency : IFeatureDependency { /// <s...
36.519231
95
0.583992
[ "MIT" ]
nandotech/aspnetboilerplate
src/Abp/Application/Features/SimpleFeatureDependency.cs
1,901
C#
using System; using System.Windows.Forms; namespace GUI.Forms { public partial class SearchForm : Form { /// <summary> /// Gets whatever text was entered by the user in the search textbox. /// </summary> public string SearchText => findTextBox.Text; /// <summary> ...
35.462963
123
0.620366
[ "MIT" ]
John-Chan/ValveResourceFormat
GUI/Forms/SearchForm.cs
1,915
C#
using System.Threading.Tasks; using AssasApi.Request; using AssasApi.Model.Customer; using AssasApi.Model.Response; using AssasApi.Filter; namespace AssasApi.Data.BLL { public class CustomersBLL : BaseRequest { public CustomersBLL(ApiSettings settings) : base(settings) { } public async Task<...
31.463415
100
0.670543
[ "MIT" ]
augusto-ar/AssasApi
AssasApi/AssasApi/Data/BLL/CustomersBLL.cs
1,292
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Data.SqlClient; using System.Web.UI; using System.Collections.Generic; using System.Net.NetworkInformation; public class CGeneralFunction { public static DataTable filldata(string vqry) { ...
31.821138
226
0.561127
[ "MIT" ]
daynet/LIBRARYPROGRAMSYSTEM
App_Code/CGeneralFunction.cs
15,658
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 ...
49.881481
231
0.56341
[ "Apache-2.0" ]
RhnSharma/Lean
ToolBox/ZerodhaDownloader/ZerodhaDataDownloaderProgram.cs
6,734
C#
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
47.171429
197
0.769836
[ "MIT" ]
zer0Kerbal/ILSpy
ILSpy/Commands/ManageAssemblyListsCommand.cs
1,653
C#
using System.Collections; using System.Collections.Generic; using UnityEditor; #if UNITY_EDITOR using UnityEngine; #endif namespace QuestSystem { public abstract class BaseInfo : ScriptableObject { public int ID; #if UNITY_EDITOR [MenuItem("QuestSystem/Generate IDs")] static void Ge...
20.777778
65
0.553476
[ "MIT" ]
farlenkov/unity-dots-samples
unity-packages/com.unity-practice.quest-system/Runtime/Config/BaseInfo.cs
750
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using CppSharp.AST; using CppSharp.AST.Extensions; using CppSharp.Extensions; using CppSharp.Types; using ParserTargetInfo = CppSharp.Parser.ParserTargetInfo; using Type = CppSharp.AST.Type; namespace Cpp...
38.190955
135
0.552697
[ "MIT" ]
P-i-N/CppSharp
src/Generator/Generators/CSharp/CSharpTypePrinter.cs
30,402
C#
using Microsoft.AspNetCore.SignalR; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace VoiceTrigger { public class TriggerDispatcher : ITriggerDispatcher { private Dictionary...
31.698113
161
0.578571
[ "MIT" ]
faniereynders/VoiceTrigger
src/VoiceTrigger/TriggerDispatcher.cs
1,682
C#
using GizmoFort.Connector.ERPNext.PublicInterfaces; using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices; using GizmoFort.Connector.ERPNext.PublicTypes; namespace GizmoFort.Connector.ERPNext.ERPTypes.Quality_meeting_agenda { public class Quality_meeting_agendaService : SubServiceBase<ERPQuality_meeting_a...
36.941176
90
0.770701
[ "MIT" ]
dmequus/gizmofort.connector.erpnext
Libs/GizmoFort.Connector.ERPNext/ERPTypes/Quality_meeting_agenda/Quality_meeting_agendaService.cs
628
C#
using System; using System.Collections.Generic; using System.Linq; namespace Eumel.Dj.Mobile.Data { public static class Randomized { private static readonly Random randomNumbers = new Random(DateTime.UtcNow.Millisecond); public static T Random<T>(this IEnumerable<T> source) { ...
37.166667
132
0.655605
[ "MIT" ]
EUMEL-Suite/EUMEL.Dj
Eumel.Dj.Mobile/Data/Randomized.cs
1,117
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace Org.OpenAPITools.Model { /// <summary> /// /// </summary> [DataContract] public class Pipelines : List<Pipeline> { /// <summary> /// Get...
23.972973
68
0.651635
[ "MIT" ]
PankTrue/swaggy-jenkins
clients/csharp-dotnet2/generated/src/main/CsharpDotNet2/Org/OpenAPITools/Model/Pipelines.cs
887
C#
using Application.Common.Models; using Application.Users.Dtos; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Application.Auth.Dtos { public class RegisterDto { public UserRegisterDto UserRegisterDto { get; set; } ...
19.315789
60
0.72752
[ "MIT" ]
BinaryStudioAcademy/bsa-2021-scout
backend/src/Application/Auth/Dtos/RegisterDto.cs
369
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace NewsFocusApp { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in ...
24.75
148
0.639731
[ "MIT" ]
ivanmartinezmorales/cse-445-project-3
NewsFocusService/IService1.cs
1,190
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections; using Xunit; public class TupleTests { private class TupleTestDriver<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> { ...
60.517143
308
0.623176
[ "MIT" ]
bpschoch/corefx
src/System.Runtime/tests/System/Tuple.cs
42,482
C#
using Avalonia; namespace NP.Demos.Brushes { class Program { // Initialization code. Don't use any Avalonia, third-party APIs or any // SynchronizationContext-reliant code before AppMain is called: things aren't initialized // yet and stuff might break. public static void Main(s...
32.95
98
0.641882
[ "MIT" ]
npolyak/NP.CodeForAvaloniaInEasySampleArticle
NP.Demos.Brushes/Program.cs
659
C#
// <copyright file="VariableRepository.cs" company="Peter Ibbotson"> // (C) Copyright 2017 Peter Ibbotson // </copyright> namespace ClassicBasic.Interpreter { using System.Collections.Generic; using System.Linq; /// <summary> /// Repository of variables. /// </summary> public class VariableRe...
34.329897
119
0.543243
[ "MIT" ]
Thraka/ClassicBasic
ClassicBasic.Interpreter/VariableRepository.cs
3,332
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.IO; using System.Linq; using Terraria.Graphics; using Terraria.Localization; using Terraria.UI; using Terraria.WorldBuilding; namespace Terraria.ModLoader { /// <summary> /// This is w...
25.763231
214
0.70786
[ "MIT" ]
chi-rei-den/tModLoader
patches/tModLoader/Terraria/ModLoader/SystemLoader.cs
9,251
C#
using System; using System.Threading; using System.Threading.Tasks; using Ctf4e.Server.Data; using Ctf4e.Server.Data.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; namespace Ctf4e.Server.Services { public interface IConfigurationService { Task<int> GetFlagMin...
60.333333
149
0.735912
[ "MIT" ]
JanWichelmann/ctf4e
src/Ctf4e.Server/Services/ConfigurationService.cs
9,052
C#
namespace RecompressPng.VRM { /// <summary> /// Element of an array of "images" node. /// </summary> public struct ImageIndex { /// <summary> /// Index of buffer view. /// </summary> public int Index { get; set; } /// <summary> /// Name of...
28.057143
67
0.473523
[ "MIT" ]
koturn/RecompressPng
RecompressPng/VRM/ImageIndex.cs
984
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using NLog; using NLog.Config; using NLog.Targets; namespace BuyEngine.WebApi { public class Program { public static void Main(string[] args) { try { LogManager.Configuration = Config...
32.372549
129
0.563901
[ "Apache-2.0" ]
wamplerj/BuyEngine
src/BuyEngine.WebApi/Program.cs
1,651
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x17_9195-173a431")] public void Method_0017_9195() { ii(0x17_9195, 2); mov(ah, 0x40); /*...
28
90
0.535714
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-0017-9195.cs
448
C#
using System; using System.Collections.Generic; using System.Text; namespace Integrator.Models.Domain.EnumClasses { public enum EnumKbSkillType { HardSkill = 1, SoftSkill = 2 } }
16.076923
46
0.679426
[ "Apache-2.0" ]
Speedie007/Intergrator
Integrator.Web/Integrator.Models/Domain/EnumClasses/EnumKbSkillType.cs
211
C#
using Microsoft.AspNetCore.Authentication; namespace NextApi.Testing.Security.Auth { /// <inheritdoc /> public class TestAuthOptions: AuthenticationSchemeOptions { } }
17.636364
61
0.701031
[ "MIT" ]
DotNetNomads/NextApi
src/base/NextApi.Testing/Security/Auth/TestAuthOptions.cs
194
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...
32.674603
114
0.618897
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/UpdateAssociationStatusRequest.cs
4,117
C#
using System; using UnityEngine; using UnityEngine.Events; namespace DevLocker.Animations.AnimatorExpositor { /// <summary> /// Generic event listener. The response is an UnityEvent that can be used in the UI to link action directly. /// Use with AnimStateEventsTrigger. /// </summary> public class AnimEventListen...
21.789474
110
0.71256
[ "MIT" ]
NibbleByte/DevLocker
Assets/DevLocker/Animations/AnimatorExpositor/AnimEventListener.cs
828
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using Microsoft.AspNetCore.SignalR.Protocol; using Microsoft.AspNetCor...
35.623077
135
0.612611
[ "MIT" ]
48355746/AspNetCore
src/SignalR/perf/Microbenchmarks/DefaultHubLifetimeManagerBenchmark.cs
4,631
C#
using System; using Microsoft.Office.Interop.Excel; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using linqXl; using glpkXl; namespace glpkModelXLL { public class scenario { private string _wbPath; private string _ws; private string _list; pr...
40.639175
169
0.526129
[ "MIT" ]
maajdl/glpkModelXLL
glpkModelXLL32/glpkModelXLL/scenariosSheet.cs
3,944
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> //---...
73.034188
213
0.699707
[ "MIT" ]
chrischu/Wrapperator
src/Wrapperator.Wrappers/Xml/Linq/XElementStaticWrapper.cs
8,545
C#
using MSCLoader; using UnityEngine; namespace MiniMap { public class MiniMap : Mod { public override string ID => "MiniMap"; //Your mod ID (unique) public override string Name => "MiniMap"; //You mod name public override string Author => "BrennFuchS"; //Your Username public ove...
37.73494
175
0.579183
[ "MIT" ]
Krutonium/MiniMap
MiniMap/MiniMap.cs
3,134
C#
using System; using System.Collections.Generic; using System.Text; using static Xamarin.Forms.Platform.LibUI.Interop.NativeMethods; namespace Xamarin.Forms.Platform.LibUI.Controls { public class Group : Control { public string Title { get { return uiGrou...
20.377358
64
0.436111
[ "MIT" ]
zhongzf/Xamarin.Forms.Platform.LibUI
Xamarin.Forms.Platform.LibUI/Controls/Group.cs
1,082
C#
using System; using System.Globalization; namespace Microsoft.Maui.Controls { [Xaml.TypeConversion(typeof(Rect))] public class RectTypeConverter : TypeConverter { public override object ConvertFromInvariantString(string value) { if (value != null) { string[] xywh = value.Split(','); if (xywh.Lengt...
37.121212
205
0.724898
[ "MIT" ]
Eilon/maui
src/Controls/src/Core/RectTypeConverter.cs
1,225
C#
using System.Globalization; using DeltaEngine.Content; using DeltaEngine.Datatypes; using DeltaEngine.Rendering2D.Fonts; namespace FindTheWord { public class CharacterButton : GameButton { public CharacterButton(float xCenter, float yCenter, GameScreen screen) : base("CharBackground", GetDrawArea(xCe...
23.731183
98
0.673312
[ "Apache-2.0" ]
DeltaEngine/DeltaEngine
Samples/FindTheWord/CharacterButton.cs
2,209
C#
using AirVinyl.Model; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace AirVinyl.Web.Models { public class AirVinylViewModel { public IEnumerable<Person> People { get; set; } public Person Person { get; set; } public string AdditionalData { ...
21.8
55
0.62844
[ "MIT" ]
mcampulla/AirVinyl
AirVinyl.Web/Models/AirVinylViewModel.cs
438
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.AwsN...
29.346154
94
0.705111
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/KinesisAnalyticsV2/Inputs/ApplicationRecordFormatArgs.cs
763
C#
using System; using System.Collections.Generic; using System.Linq; using Hai.ExpressionsEditor.Scripts.Components; using UnityEditor; using UnityEngine; using Object = UnityEngine.Object; namespace Hai.ExpressionsEditor.Scripts.Editor.Internal.Modules { public class EeRenderingCommands { private readon...
35.397993
273
0.538265
[ "MIT" ]
SpiralP/combo-gesture-expressions-av3
Assets/Hai/ExpressionsEditor/Scripts/Editor/Internal/Modules/EeRendering.cs
21,168
C#
using System.Collections; using UnityEngine; using UnityEngine.AI; using WizardsCode.Ink; namespace WizardsCode.Character { /// <summary> /// A basic actor cue contains details of what an actor should do at upon a signal from the director. /// </summary> [CreateAssetMenu(fileName = "ActorCue"...
34.503817
205
0.550885
[ "MIT" ]
TheWizardsCode/Character
Assets/_Character/Character/Scripts/Runtime/ScriptableObjects/ActorCue.cs
4,520
C#
namespace Caliburn.Micro.Extras { using System; using System.Threading.Tasks; using Windows.UI.Popups; internal enum MessageBoxButton { OK = 0, OKCancel = 1, YesNoCancel = 3, YesNo = 4, } internal enum MessageBoxResult { None = 0, OK = 1, ...
35.6
146
0.600499
[ "MIT" ]
sokolinivan/Caliburn.Micro.Extras
src/Caliburn.Micro.Extras.WinRT45/MessageBox.cs
1,604
C#
using System; using System.Collections.Generic; using Highbyte.DotNet6502; namespace ConsoleTestPrograms { public class RunSimple { public static void Run() { // Test program // - adds values from two memory location // - divides it by 2 (rotate right one b...
46.970588
176
0.566061
[ "MIT" ]
highbyte/dotnet-6502
Examples/ConsoleTestPrograms/RunSimple.cs
3,196
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> //--...
36.013333
151
0.543132
[ "MIT" ]
SymCors/HMI-Y.A
Rozamac/Properties/Settings.Designer.cs
2,703
C#
namespace CrudeObservatory.Abstractions.Models { public enum IntervalType { Periodic, } }
13.875
47
0.657658
[ "MPL-2.0" ]
jkoplo/CrudeObservatory
src/Libraries/CrudeObservatory.Abstractions/Models/IntervalType.cs
113
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System.ComponentModel; using System.Runtime.Serialization; namespace Moryx.Configuration { /// <summary> /// Base implementation of IConfig to reduce redundant code /// </summary> [DataContract...
27.878049
76
0.613298
[ "Apache-2.0" ]
1nf0rmagician/MORYX-Core
src/Moryx/Configuration/ConfigBase.cs
1,143
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Zero...
35.632911
144
0.555595
[ "MIT" ]
MysteryJump/zerochsharp
src/ZerochSharp/Models/Boards/Board.cs
5,640
C#
using System; using System.Xml.Serialization; namespace Microsoft.Crm.Sdk { [XmlType(Namespace = "http://schemas.microsoft.com/crm/2006/WebServices")] [Serializable] public class CrmFloat { private bool isNullField; private bool isNullFieldSpecified; private string formattedval...
21.918367
167
0.435754
[ "MIT" ]
develmax/Crm.Sdk.Core
Microsoft.Crm.Sdk/Sdk/CrmFloat.cs
2,150
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Windows.Media; using Microsoft.VisualStudio.Text; using NuGet; namespace NuGetConsole.Implementation.Console { internal interface IPriva...
29.961612
125
0.474119
[ "Apache-2.0" ]
monoman/NugetCracker
Nuget/src/VsConsole/Console/Console/ConsoleDispatcher.cs
15,610
C#
 namespace DotNet.Core.SignalR.Models { public interface IPostRepository { System.Collections.Generic.List<Post> GetAll(); Post GetPost(int id); void AddPost(Post post); }}
23.222222
55
0.645933
[ "MIT" ]
moljac/Samples.DotNet.Core
JetBrains.IntelliJ.Rider/DotNet.Core/DotNet.Core.SignalRwithMVC/Models/IPostRepository.cs
211
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ApiViet.Helpers { class ParameterUtils { } }
14.230769
33
0.740541
[ "MIT" ]
TienDuyNGUYEN/APIViet
ApiViet/ApiViet/Helpers/ParameterUtils.cs
187
C#
using System; using System.Runtime.Serialization; using Melanchall.DryWetMidi.Common; namespace Melanchall.DryWetMidi.Smf { /// <summary> /// The exception that is thrown when the reading engine has encountered an invalid MIDI time /// code component (i.e. a value that doesn't belong to values of <see cre...
36.954545
115
0.642989
[ "MIT" ]
Amalgam-Cloud/drywetmidi
DryWetMidi/Smf/Exceptions/InvalidMidiTimeCodeComponentException.cs
3,254
C#
using BlazorMobile.Common.Helpers; using BlazorMobile.Helper; using BlazorMobile.Interop; using BlazorMobile.Services; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Web; using Xamarin.Forms; [assembly: InternalsVisi...
27.958763
101
0.629794
[ "MIT" ]
Appizeo/Blazor.Xamarin
src/BlazorMobile/Components/BlazorWebView.cs
2,714
C#
using Android.App; using Android.Content.PM; using Android.OS; using System.Net; using System.Net.Sockets; namespace LagoaVista.DeviceSimulator.Droid { [Activity(Label = "@string/app_name", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]...
30.230769
166
0.680662
[ "MIT" ]
LagoVista/MobileApps
src/LagoaVista.DeviceSimulator/LagoaVista.DeviceSimulator/LagoaVista.DeviceSimulator.Android/MainActivity.cs
788
C#
namespace NetMicro.Queues.Kafka.NFlags { public static class KafkaOptions { public const string GroupId = "kafka-group-id"; public const string BootstrapServers = "kafka-bootstrap-servers"; } }
27.75
73
0.689189
[ "MIT" ]
NetMicro/NetMicro
NetMicro.Queues.Kafka.NFlags/KafkaOptions.cs
224
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...
45.112211
283
0.608896
[ "Apache-2.0" ]
aws/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/AccessAnalyzer/Basic/New-IAMAAArchiveRule-Cmdlet.cs
13,669
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Runtime.CompilerServices; [assembly: Azure.Core.AzureResourceProviderNamespace("Microsoft.AppService")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240...
101.2
404
0.93083
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Properties/AssemblyInfo.cs
1,012
C#
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
32.192982
104
0.723161
[ "Apache-2.0" ]
Rocketmakers/FluentValidation
src/FluentValidation/Validators/NoopPropertyValidator.cs
1,835
C#
using System; using System.Collections.Generic; using System.Text; using Alexa.NET.Management.Api; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Alexa.NET.Management.Skills { public class SkillSummary { [JsonProperty("lastUpdated")] pub...
29.147059
96
0.680121
[ "MIT" ]
gberk/Alexa.NET.Management
Alexa.NET.Management/Skills/SkillSummary.cs
993
C#
using System; namespace Nucleo.EventArguments { [CLSCompliant(true)] public class DataCancelEventArgs<T> : DataEventArgs<T> { private bool _cancel = false; #region " Properties " public bool Cancel { get { return _cancel; } set { _cancel = value; } } #endregion #region " Constructors " ...
14.452381
89
0.678748
[ "MIT" ]
brianmains/Nucleo.NET
src/Nucleo/EventArguments/DataCancelEventArgs.cs
607
C#
using System.Collections.Generic; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under t...
26.490566
80
0.729345
[ "Apache-2.0" ]
luizfbicalho/Camunda.NET
camunda-bpmn-model-net/src/test/java/org/camunda/bpm/model/bpmn/instance/ExpressionTest.cs
1,406
C#
// * // * Copyright (C) 2008 Roger Alsing : http://www.RogerAlsing.com // * // * This library is free software; you can redistribute it and/or modify it // * under the terms of the GNU Lesser General Public License 2.1 or later, as // * published by the Free Software Foundation. See the included license.txt // * or htt...
29.32716
89
0.511892
[ "MIT" ]
TrevorDArcyEvans/EllieWare
code/SyntaxBox/Alsing.SyntaxBox/Document/SyntaxDefinition/Pattern/PatternList.cs
4,751
C#
using System; using System.Collections.Generic; namespace ClassLibrary1 { public class Person { public Guid Id { get; set; } public string Title { get; set; } public string GivenNames { get; set; } public string FamilyName { get; set; } public string Spouse { get; set;...
25.117647
51
0.599532
[ "MIT" ]
moerwald/VerifyPlayground
ClassLibrary1/Person.cs
429
C#
/* _BEGIN_TEMPLATE_ { "id": "ULDA_Brann_HP3", "name": [ "恐龙追踪", "Dino Tracking" ], "text": [ "<b>被动英雄技能</b>\n在你的回合开始时,<b>发现</b>你要抽\n的牌。", "[x]<b>Passive Hero Power</b>\nAt the start of your turn,\n<b>Discover</b> which card\nyou draw." ], "cardClass": "HUNTER", "type": "HERO_POWER", "cos...
23.344828
101
0.595273
[ "MIT" ]
chi-rei-den/Silverfish
cards/ULDUM/ULDA/Sim_ULDA_Brann_HP3.cs
785
C#