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
//------------------------------------------------------------------------------ // <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> //------------------------------------------...
40.652174
80
0.64385
[ "MIT" ]
aleynazengin/CSharp101_Patika
Calisma7/obj/Debug/net5.0/Calisma7.AssemblyInfo.cs
935
C#
namespace TwitchLeecher.Gui.ViewModels { public class VideosLoadingViewVM : ViewModelBase { // Data Template Marker } }
20
52
0.685714
[ "MIT" ]
dstftw/TwitchLeecher
TwitchLeecher/TwitchLeecher.Gui/ViewModels/VideosLoadingViewVM.cs
142
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("02....
38.27027
84
0.749294
[ "MIT" ]
ewgeni-dinew/04.Databases_Advanced-Entity_Framework
01.Defining Classes/02.Creating Constructors/Properties/AssemblyInfo.cs
1,419
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("06...
38.405405
84
0.746657
[ "MIT" ]
vic-alexiev/TelerikAcademy
OOP/Homework Assignments/6. Common Type System/06. BinarySearchTreeDemo/Properties/AssemblyInfo.cs
1,424
C#
using CadEditor; using System; //css_include shared_settings/BlockUtils.cs; //css_include shared_settings/SharedUtils.cs; public class Data { public OffsetRec getScreensOffset() { return new OffsetRec(0x10010, 21, 16*16, 16, 16); } public bool isBigBlockEditorEnabled() { return false; } public bool isBlockEdit...
49.37037
113
0.706677
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/tiny_toon_adventures_6/Settings_TinyToonAdventures6-1-6.cs
1,333
C#
using Nirvana.CQRS; using Nirvana.Data; using Nirvana.Mediation; using Nirvana.Util.Tine; using TechFu.Nirvana.EventStoreSample.Domain.Domain.Security; using TechFu.Nirvana.EventStoreSample.Services.Shared; using TechFu.Nirvana.EventStoreSample.Services.Shared.Services.Security.Command; using TechFu.Nirvana.EventStoreS...
36.72093
111
0.652312
[ "MIT" ]
nirvana-framework/Samples
src/EventStore/TechFu.Nirvana.EventStoreSample.Domain/Handlers/Security/Commands/CreateAnonymousUserHandler.cs
1,579
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Luis; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.AI.QnA.Dialogs; using Microsoft....
47.705769
220
0.566655
[ "MIT" ]
christian7877/botframework-solutions
samples/csharp/assistants/enterprise-assistant/VirtualAssistantSample/Dialogs/MainDialog.cs
24,809
C#
namespace eQuantic.Core.Data.Repository.Sql { public interface ISqlRepository<TEntity, TKey> : IRepository<IQueryableUnitOfWork, TEntity, TKey> where TEntity : class, IEntity, new() { } }
33.333333
139
0.735
[ "MIT" ]
eQuantic/core-data
src/Repository/Sql/ISqlRepository.cs
202
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("Un...
38.243243
84
0.74417
[ "Apache-2.0" ]
anaselhajjaji/UnoBench
UnoBunch.iOS/Properties/AssemblyInfo.cs
1,418
C#
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved namespace Microsoft...
34.5
93
0.532315
[ "MIT" ]
9578577/Windows-classic-samples
Samples/Hyper-V/FibreChannel/cs/DeleteSan.cs
2,482
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Grabacr07.KanColleViewer.Models; using Grabacr07.KanColleViewer.Properties; using Grabacr07.KanColleViewer.ViewModels.Messages; using Grabacr07.KanColleViewer.Views.Controls; using ...
27
67
0.797101
[ "MIT" ]
KCV-Localisation/KanColleViewer
Grabacr07.KanColleViewer/Views/Behaviors/ZoomAction.cs
623
C#
namespace Aggregator.Core.Interfaces { public interface IWorkItemImplementation { IWorkItemLinkCollection WorkItemLinksImpl { get; } } }
22.428571
58
0.726115
[ "Apache-2.0" ]
evertonmc/tfsaggregator
Aggregator.Core/Aggregator.Core/Interfaces/IWorkItemImplementation.cs
159
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace CoreWCF.Configuration { internal static class BasicHttpMessageCredentialTypeHelper { internal static bool IsDefined(BasicHttpMessageCredentialType value) ...
32.6
76
0.707566
[ "MIT" ]
AlexanderSemenyak/CoreWCF
src/CoreWCF.ConfigurationManager/src/CoreWCF/Configuration/BasicHttpMessageCredentialTypeHelper.cs
491
C#
namespace MemoryDB.SqlServer.Test.Models { public class Address { public int AddressId { get; set; } public string AddressLine1 { get; set; } public string AddressLine2 { get; set; } public string PostCode { get; set; } } }
24.454545
48
0.609665
[ "MIT" ]
peteh1989/MemoryDB
tests/MemoryDB.SqlServer.Test/Models/Address.cs
271
C#
#region LGPL License /************************************************************************* Crazy Eddie's GUI System (http://crayzedsgui.sourceforge.net) Copyright (C)2004 Paul D Turner (crayzed@users.sourceforge.net) C# Port developed by Chris McGuirk (leedgitar@latenitegames.com) Compatible...
32.197183
132
0.643045
[ "MIT" ]
astyanax/Project-Xenocide
xna/branches/Unreviewed_Patches_branch/Dependancies/CeGui/CeGui/Source/RenderableImage.cs
6,858
C#
using System; using System.Collections.Generic; class A { static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse); static (int, int) Read2() { var a = Read(); return (a[0], a[1]); } static void Main() { var (h, w) = Read2(); var sv = Read2() - new P(1, 1); var ev = Read2() ...
31.311688
126
0.547283
[ "MIT" ]
sakapon/AtCoder-Contests
CSharp/Contests/ATC002/A.cs
5,012
C#
using HotChocolate.Data.Filters; using HotChocolate.Execution; using HotChocolate.Types; using Microsoft.Extensions.DependencyInjection; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Serializers; using MongoDB.Driver; using System; us...
34.868778
98
0.47768
[ "MIT" ]
Alxandr/hotchocolate
src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/MongoDbFindFluentTests.cs
7,706
C#
/* * MIT License * * Copyright (c) 2020 plexdata.de * * 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,...
30.96368
115
0.521192
[ "MIT" ]
akesseler/LineEndingsReplacer
code/src/LineEndingsReplacer/Entities/WorkResultListItem.cs
12,790
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Google_Hash_Code { public class Library { public int AmountOfBooks { get; set; } public int SignupProcessTime { get; set; } public int ShippingCapac...
28.074074
93
0.627968
[ "MIT" ]
flabbet/hashcode_2020_qualification
Google Hash Code/Google Hash Code/Library.cs
760
C#
using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace PlottingTools { public class PlotterView { MeshPlotter m_plotter; public PlotterView(MeshPlotter plotter) { m_plotter = plotter; } private double m_obsX = 70;...
20.780822
70
0.428697
[ "MIT" ]
sinairv/GridSoccerSimulator
Source/Tools/Plot3D/PlotterView.cs
4,553
C#
namespace Gu.Units.Tests.Internals.Parsing { using System.Globalization; public class ErrorCase<T> : SuccessCase<T>, IErrorCase { public ErrorCase(string text, int start, T expected, int expectedEnd, string expectedMessage) : base(text, start, expected, expectedEnd) { ...
32.608696
126
0.652
[ "MIT" ]
GuOrg/Gu.Units
Gu.Units.Tests/Internals/Parsing/Sources/ErrorCase{T}.cs
752
C#
#region Using directives using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Blazorise.Utils; using Microsoft.AspNetCore.Components; #endregion namespace Blazorise { public partial class Select<TValue> :...
29.944681
165
0.523376
[ "MIT" ]
akusmin/Blazorise
Source/Blazorise/Select.razor.cs
7,039
C#
// Licensed under the MIT License. // Copyright (c) Microsoft Corporation. All rights reserved. using System.Collections.Generic; using System.Runtime.CompilerServices; using AdaptiveExpressions; using Microsoft.Bot.Builder.Dialogs.Adaptive.Conditions; using Microsoft.Bot.Connector; using Newtonsoft.Json; namespace ...
40.457143
210
0.711864
[ "MIT" ]
Robulane/botbuilder-dotnet
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive.Teams/TriggerConditions/OnTeamsO365ConnectorCardAction.cs
1,418
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.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.Configur...
35.228571
122
0.532036
[ "Apache-2.0" ]
1175169074/aspnetcore
src/Http/Routing/test/testassets/Benchmarks/Program.cs
2,466
C#
namespace AngularProject1.Api.Configuration { public interface IApiConfiguration { string GetAzureConnectionString(); } }
20.285714
44
0.71831
[ "MIT" ]
bogdanpolak/weather-angular-netcore
AngularAPI/Api/Configuration/IApiConfiguration.cs
144
C#
using NBitcoin; using Newtonsoft.Json; namespace Stratis.Bitcoin.Features.Wallet.Models { public class AddressBalanceModel { [JsonProperty(PropertyName = "address")] public string Address { get; set; } [JsonProperty(PropertyName = "coinType")] public CoinType CoinType { get; s...
26.47619
58
0.660072
[ "MIT" ]
AI-For-Rural/EXOSFullNode
src/Stratis.Bitcoin.Features.Wallet/Models/AddressBalanceModel.cs
558
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using Org.BouncyCastle.Asn1; using Xky.Core.Model; namespace Xky.Core { /// <summary> /// 脚本引擎 /// </summary> public class Script { private readon...
31.707928
114
0.514256
[ "Apache-2.0" ]
snowsylar/waterwheel-frontend
Xky.Core/Script.cs
24,276
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...
30.963731
101
0.590529
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Mgn/Generated/Model/UpdateLaunchConfigurationResponse.cs
5,976
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 Internal.Runtime; using Internal.Text; using Internal.TypeSystem; namespace ILCompiler.DependencyAnalysis { public class R...
32.609023
121
0.584044
[ "MIT" ]
333fred/runtime
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/ReadyToRunHeaderNode.cs
4,337
C#
// Copyright © 2020 Vera@Versus. All rights reserved. Licensed under the MIT License. namespace AnnoSerializer.Serialization.Core { public enum CompressionTypes { None, Zlib } }
21.333333
86
0.729167
[ "MIT" ]
Veraatversus/AnnoSavegameViewer
src/AnnoSerializer/Serialization/Core/CompressionTypes.cs
195
C#
using System; using System.Collections.Generic; using System.Text; namespace ZCore.Util { class StringExtensions { } }
13
34
0.657343
[ "MIT" ]
winkedev/CoreProject
ZCore/Util/StringExtensions.cs
145
C#
using System; using System.Threading.Tasks; namespace Owin.Security.Providers.GitHub { /// <summary> /// Default <see cref="IGitHubAuthenticationProvider"/> implementation. /// </summary> public class GitHubAuthenticationProvider : IGitHubAuthenticationProvider { /// <summary> /// ...
41.74
180
0.644466
[ "MIT" ]
gauravbhavsar/OwinOAuthProviders
Owin.Security.Providers/GitHub/Provider/GitHubAuthenticationProvider.cs
2,089
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
40.255319
246
0.674947
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/kubestone/dotnet/Kubernetes/Crds/Operators/Kubestone/Perf/V1Alpha1/Inputs/Iperf3SpecServerConfigurationPodSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionsArgs.cs
1,892
C#
using System; using Serilog; using NBomber.CSharp; using NBomber.Plugins.Http.CSharp; using NBomber.Plugins.Network.Ping; namespace CSharp.HttpTests { // in this example we will log every raquest/response to local log file // in this example we use: // - NBomber.Http (https://nbomber.com/docs/plugins-http)...
33.55814
111
0.579349
[ "Apache-2.0" ]
abenedykt/NBomber
examples/CSharp/HttpTests/TracingHttp.cs
1,443
C#
using ScriptEngine.Machine.Contexts; namespace osf { [ContextClass ("КлФильтрыУведомления", "ClNotifyFilters")] public class ClNotifyFilters : AutoContext<ClNotifyFilters> { private int m_fileName = (int)System.IO.NotifyFilters.FileName; // 1 Имя файла. private int m_directoryName = (int)S...
33.590909
126
0.624718
[ "MPL-2.0" ]
Nivanchenko/OneScriptForms
OneScriptForms/OneScriptForms/NotifyFilters.cs
2,530
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Security.Cryptography; using System.Collections.Specialized; using System.Text.RegularExpressions; namespace WzComparerR2.WzLib { public class Wz_Crypto { public Wz_Crypto() { this.keys...
32.124242
115
0.383549
[ "MIT" ]
Atomadeus/WzComparerR2
WzComparerR2.WzLib/Wz_Crypto.cs
10,633
C#
// ReSharper disable CheckNamespace // ReSharper disable ObjectCreationAsStatement // ReSharper disable StringLiteralTypo using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using AM; #nullable enable namespace UnitTests.AM.Collections { [TestClass] public class SpanEnumeratorTest { ...
22.86
61
0.547682
[ "MIT" ]
amironov73/ManagedIrbis5
Source/Tests/UnitTests/Source/AM/Collections/RefEnumeratorTest.cs
1,145
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Blackbird.Stark.Trees; using Blackbird.Stark.Trees.Nodes; namespace Blackbird.Stark.Extensions { public static class TreeExtensions { public static void PrintTree<TK, TV>(this ITree<TK, TV> self) where TK: IComp...
35.83432
126
0.356671
[ "MIT" ]
Blackbird-tech/Stark
Blackbird.Stark/Extensions/TreeExtensions.cs
6,072
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MarkupExtension.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Catel development team. All rights reserved. // </copyright> // ------------------------------...
30.876106
146
0.538836
[ "MIT" ]
gautamsi/Catel
src/Catel.MVVM/Catel.MVVM.WP80/Windows/Markup/MarkupExtension.cs
3,491
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
37.931373
99
0.623934
[ "Apache-2.0" ]
GMS-online/Xamarin.Auth
samples/bugs-triaging/AccountStore/AccountStoreTest.UWP/App.xaml.cs
3,871
C#
using PnP.Core.Model.Security; using PnP.Core.Services; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace PnP.Core.Model.SharePoint { /// <summary> /// Public interface to define a List object of SharePoint Online /// </summary> [Con...
48.901361
1,078
0.639111
[ "MIT" ]
DonKirkham/pnpcore
src/sdk/PnP.Core/Model/SharePoint/Core/Public/IList.cs
28,756
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; 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.Reflection; namespace Choreograph { public parti...
32.719818
213
0.54372
[ "MIT" ]
Hynchus/DMFamiliar
Choreograph/MainForm.cs
14,366
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.ML.OnnxRuntime.Tensors; using System; using System.Buffers; using System.Diagnostics; using System.Runtime.InteropServices; namespace Microsoft.ML.OnnxRuntime { /// <summary> /// A type of data tha...
43.023499
135
0.506069
[ "MIT" ]
Alexander-code-365/onnxruntime
csharp/src/Microsoft.ML.OnnxRuntime/OrtValue.shared.cs
16,480
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Text; namespace Shadowsocks.Controller { public class FileManager { public static bool ByteArrayToFile(string fileName, byte[] content) { try { ...
34.570093
123
0.444174
[ "Apache-2.0" ]
Benjamartin/shadowsocksr-csharp
shadowsocks-csharp/Controller/FileManager.cs
3,701
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 ...
42.302326
106
0.782848
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-dms-enterprise/Dms_enterprise/Transform/V20181101/PauseDataCorrectSQLJobResponseUnmarshaller.cs
1,819
C#
namespace AplikasiIsg { partial class Setting { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.748899
108
0.549391
[ "MIT" ]
tony4mail/AplikasiIsg
AplikasiIsg-master/AplikasiIsg/Setting.Designer.cs
9,933
C#
// CellPhoneAppBehaviour public enum CellPhoneAppBehaviour { LoadScene, ChangeScreen, LoadSettings }
13
33
0.817308
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin.CellPhone/CellPhoneAppBehaviour.cs
104
C#
using System; using VkNet.Utils; namespace VkNet.Model { /// <summary> /// Вариант ответа в опросе /// </summary> [Serializable] public class PollAnswer { /// <summary> /// Идентификатор варианта ответа /// </summary> public long? Id { get; set; } /// <summary> /// Текст ответа /// </summary> p...
19.74
57
0.593718
[ "MIT" ]
Azrael141/vk
VkNet/Model/PollAnswer.cs
1,135
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using UnprofessionalsApp.Data; namespace UnprofessionalsApp.Data.Migrations { [DbC...
34.989011
125
0.470844
[ "MIT" ]
sapphire119/NullPro
src/Data/UnprofessionalsApp.Data/Migrations/UnprofessionalsDbContextModelSnapshot.cs
19,106
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой...
43.446429
117
0.724209
[ "MIT" ]
Albeoris/Memoria
Memoria.Client/Properties/AssemblyInfo.cs
3,423
C#
using System; using System.Collections.Generic; using System.Linq; namespace TestClient { public class StartUp { public static void Main() { string[] input = Console.ReadLine().Split().ToArray(); Dictionary<int, BankAccount> accounts = new Dictionary<int, BankAccount>()...
28.028846
91
0.428473
[ "MIT" ]
DanielBankov/SoftUni
C# Fundamentals/C# OOP Basics/01. Defining Classes - Lab/TestClient/StartUp.cs
2,917
C#
// Copyright 2022 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 ...
43.790123
146
0.654074
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Identity.AccessContextManager.V1/Google.Identity.AccessContextManager.V1.GeneratedSnippets/AccessContextManagerClient.ListAccessPoliciesRequestObjectAsyncSnippet.g.cs
3,547
C#
using System; namespace JugaAgenda_v2 { class Work { public enum Status { todo_no_components, todo_yes_components, // 5 = yellow doing, // 9 = blue done, // 2 = green cancel // 8 = gray } private string description; ...
28.850962
131
0.460757
[ "MIT" ]
Arno1235Official/JugaAgenda
JugaAgenda_v2/Classes/Work.cs
6,003
C#
// *********************************************************************** // Copyright (c) 2004 Charlie Poole // // 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, incl...
30.053543
138
0.48842
[ "MIT" ]
Oipo/nunit
src/NUnitFramework/tests/Assertions/AssertEqualsTests.cs
19,086
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Modifications Copyright (c) C Daniel Waddell. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namesp...
27.708333
107
0.652632
[ "Apache-2.0" ]
cdwaddell/ExampleSingleSignOn
ExampleSingleSignOn/Program.cs
667
C#
using Newtonsoft.Json; using System; using System.Diagnostics.Contracts; using System.Linq; using System.Reflection; using System.Runtime.Serialization; namespace OneUpside.Data { /// <summary> /// A serialisable function. /// </summary> /// <typeparam name="A">Argument type</typeparam> /// <typeparam nam...
28.621951
79
0.577759
[ "BSD-3-Clause" ]
1Upside/OneUpside-Data
SFunc`3.cs
2,349
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
31.035088
153
0.607123
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Cdn/Outputs/EndpointDeliveryRuleCookiesCondition.cs
1,769
C#
#pragma checksum "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_StatusMessage.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "caf0ba0e017fe2d5d40e06cba52017213983ba34" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledI...
53.415094
270
0.741611
[ "MIT" ]
TodorNikolov89/Projects
IdentityDemo/IdentityDemo/obj/Debug/netcoreapp2.2/Razor/Areas/Identity/Pages/Account/Manage/_StatusMessage.cshtml.g.cs
5,662
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using PlaywrightSharp.Chromium; using PlaywrightSharp.Chromium.Protocol.Browser; using PlaywrightSharp.Chromium.Protocol.Emulation; using PlaywrightSharp.Chromium.Protocol.Target; namespace PlaywrightSharp { ...
38.136364
163
0.605284
[ "MIT" ]
slang25/playwright-sharp
src/PlaywrightSharp.Chromium/ChromiumBrowserContext.cs
5,034
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("Pro...
37.675676
84
0.748207
[ "MIT" ]
alecamaracm/SeniorCapstone_LEGO
SeniorCapstone_LEGO_VS/ProjectHelper/Properties/AssemblyInfo.cs
1,397
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DatabaseWorkers { partial class Worker { public override string ToString() { return FirstName + " " + LastName + " (reprimands: " + this.Reprimand.Count + "...
23.388889
109
0.610451
[ "MIT" ]
kpagacz/software-engineering
programowanie-komponentowe/lab-9/PK_2019_2020_07_DatabaseWorkes/DatabaseWorkers/WorkerExtenstion.cs
423
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace ItLank.CleanArchitecture.Web.Filters { public class ValidateModelAttribute : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext context) { if (!context.ModelState.Is...
26.705882
80
0.665198
[ "MIT" ]
ShabanGomaa/CleanArchitecture
src/ItLank.CleanArchitecture.Web/Filters/ValidateModelAttribute.cs
456
C#
// Licensed to Finnovation Labs Limited under one or more agreements. // Finnovation Labs Limited 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.ComponentModel.DataAnnotations.Schema; using...
48.90678
121
0.695807
[ "MIT" ]
finlabsuk/open-banking-connector
src/OpenBanking.Library.Connector/Models/Persistent/VariableRecurringPayments/DomesticVrpConsent.cs
11,544
C#
using OpenQA.Selenium.Appium; using SpecFlow.Actions.Appium.Configuration.Android; using SpecFlow.Actions.Appium.Driver; using System; namespace SpecFlow.Actions.Android.Driver { public class AndroidAppDriverOptions : IDriverOptions { private readonly IAndroidConfiguration _androidConfiguration; ...
30.69697
82
0.687068
[ "BSD-3-Clause" ]
AngHelll/SpectFlow
Plugins/SpecFlow.Actions.Android/SpecFlow.Actions.Android/Driver/AndroidAppDriverOptions.cs
1,015
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30.06
105
0.614105
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20170301/Outputs/MonitorConfigResponse.cs
1,503
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...
34.368421
101
0.699847
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/_bcl45+netstandard/IDescribeMaintenanceWindowTasksPaginator.cs
1,306
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> //---...
33.526316
80
0.549451
[ "MIT" ]
scantegra/scantegra
src/Scantegra.Core/Entities/OptionSets/selectedmobileofflineenabledentityrelationships.cs
637
C#
using System.Threading.Tasks; namespace Atrea.PolicyEngine.Policies.Input { /// <summary> /// An async input policy, which can take in an item and return an <see cref="InputPolicyResult" /> to indicate /// whether the item should be processed or not by the policy engine. /// </summary> ///...
46.736842
134
0.652027
[ "MIT" ]
itabaiyu/atrea-policyengine
src/Atrea.PolicyEngine/Policies/Input/IAsyncInputPolicy.cs
890
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.Practices.EnterpriseLibrary.Validation.Validators; namespace Microsoft.Practices.EnterpriseLibrary.Validation { /// <summary> /// Helps b...
33.774194
126
0.591213
[ "Apache-2.0" ]
Microsoft/validation-application-block
source/Src/Validation/CompositeValidatorBuilder.cs
4,190
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using Knomes.Localize; namespace Knomes.Localize.DataAnnotations { public class LocStringLengthAttribute : StringLengthAttribute { public Lo...
35.523077
168
0.56518
[ "MIT" ]
knoepdan/Bom
Source/Common/Knomes.Localize/DataAnnotations/LocStringLengthAttribute.cs
2,311
C#
using System; using Microsoft.AspNetCore.Mvc.Rendering; namespace AspNetCoreIdentityFido2Mfa.Areas.Identity.Pages.Account.Manage; public static class ManageNavPages { public static string Index => "Index"; public static string Email => "Email"; public static string ChangePassword => "ChangeP...
41.44186
137
0.760943
[ "MIT" ]
vanillajonathan/AspNetCoreIdentityFido2Mfa
AspNetCoreIdentityFido2Mfa/Areas/Identity/Pages/Account/Manage/ManageNavPages.cs
1,784
C#
namespace MiniRent.Application.Common.Models; public class Result { internal Result(bool succeeded, IEnumerable<string> errors) { Succeeded = succeeded; Errors = errors.ToArray(); } public bool Succeeded { get; set; } public string[] Errors { get; set; } public static Result...
20.68
63
0.632495
[ "MIT" ]
r-ost/MiniRent
src/Application/Common/Models/Result.cs
519
C#
using Informapp.InformSystem.WebApi.Models.ExampleValues; using System.Collections.Generic; using System.Diagnostics; namespace Informapp.InformSystem.WebApi.Models.Version1.EndPoints.Tests.Values.TestBodyValues { public partial class TestBodyValuesV1Request : IExampleMemberProvider { static TestBodyV...
33.25
97
0.609774
[ "MIT" ]
InformappNL/informapp-api-dotnet-client
src/WebApi.Models/Version1/EndPoints/Tests/Values/TestBodyValues/TestBodyValuesV1Request.Example.cs
1,332
C#
using DirSync.Interface; using System; using System.Threading.Tasks; namespace DirSync.Reporter { public class VoidSyncProgress : ISyncProgress { public async Task CompleteAsync(string message, TimeSpan elapsed, double ratesInBytesPerMs) { await Task.CompletedTask; } ...
22.736842
99
0.650463
[ "MIT" ]
JerryBian/dirsync
src/Reporter/VoidSyncProgress.cs
434
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ModelSetupJsonConverter.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full licens...
38.818182
159
0.589227
[ "MIT" ]
hugener/Sundew.Generator
Source/Sundew.Generator/Converters/Json/ModelSetupJsonConverter.cs
2,137
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using JetBrains.Annotations; using Microsoft.Data.Entity.Identity; using Microsoft.Data.Entity.Infrastructure; using Micr...
42.04918
121
0.704094
[ "Apache-2.0" ]
mj1856/EntityFramework
src/EntityFramework.Core/Storage/DataStoreServices.cs
2,565
C#
// <auto-generated /> namespace WypozyczalniaSamochodow.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed par...
28.2
100
0.63357
[ "MIT" ]
miloszkulesza/WypozyczalniaSamochodow
WypozyczalniaSamochodow/Migrations/201803151748134_moc_typ_opis_auta.Designer.cs
846
C#
using MicroService.Data.Enums; using System; using System.Collections.Generic; using System.Text; namespace MicroService.Data.Validation { public class JsonResponse : IJsonResponse { /// <summary> /// 错误集合 /// </summary> /// <value>The errors.</value> public ValidationE...
26.6
92
0.450501
[ "MIT" ]
DotNetExample/Surging.GoodDemo
SurgingDemo/01.Infrastructure/MicroService.Data/Validation/JsonResponse.cs
3,250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdentityExample.Data; using IdentityExample.Middleware; using IdentityExample.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Exten...
30.245614
110
0.609629
[ "MIT" ]
1RedOne/20486D-DevelopingASPNETMVCWebApplications
Allfiles/Mod11/Democode/01_IdentityExample_end/IdentityExample/Startup.cs
1,726
C#
#if false using NWheels.Compilation.Adapters.Roslyn.SyntaxEmitters; using MetaPrograms.Expressions; using MetaPrograms.Members; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace NWheels.Compilation.Adapters.Roslyn.UnitTests.SyntaxEmitters { public class FieldSyntaxEmitterT...
41.48913
168
0.645271
[ "MIT" ]
felix-b/MetaPrograms
Source/MetaPrograms.CSharp.Tests/Writer/SyntaxEmitters/FieldSyntaxEmitterTests.cs
3,819
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; namespace Microsoft.CodeAnalysis.ErrorReporting { internal static class WatsonExtensions { ...
31.787879
100
0.586273
[ "MIT" ]
AlexanderSemenyak/roslyn
src/VisualStudio/Core/Def/Watson/WatsonExtensions.cs
1,051
C#
using System; using System.Collections.Generic; using System.Linq; public class AddingPolynomial { public static void Main() { var length = int.Parse(Console.ReadLine()); var first = Console.ReadLine(); var second = Console.ReadLine(); var sum = SumOfArrays(first, second, leng...
23.452381
81
0.559391
[ "MIT" ]
dushka-dragoeva/TelerikSeson2016
Programing C#/C # Part II/03. Methods-Homework/11. Adding-Polynomial/AddingPolynomial.cs
987
C#
using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using SharpBrick.PoweredUp; using SharpBrick.PoweredUp.Functions; using static SharpBrick.PoweredUp.Directions; namespace Example; public class ExampleCalibrationSteering : BaseExample { public override async Task ExecuteAsync() { ...
32
111
0.75293
[ "MIT" ]
Berdsen/powered-up
examples/SharpBrick.PoweredUp.Examples/ExampleCalibrationSteering.cs
1,024
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/UserEnv.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows;...
45.1
145
0.715817
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTW.cs
2,708
C#
namespace MoneyTracker.database { public class TransYear { public int Id {get;set;} public int Year {get;set;} } }
21.166667
34
0.669291
[ "MIT" ]
deandevl/MoneyTrackerApp
MoneyTrackerAppSol/MoneyTrackerApp/database/TransYear.cs
129
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-generate...
44.59375
181
0.600561
[ "MIT" ]
StillLearnin/mileage-tracker
Mileage Tracker/Properties/Resources.Designer.cs
2,856
C#
using Abp; using Abp.Application.Services.Dto; namespace YiHan.Cms.Authorization.Users.Dto { public class UnlinkUserInput { public int? TenantId { get; set; } public long UserId { get; set; } public UserIdentifier ToUserIdentifier() { return new UserIdentifier(Ten...
20.764706
56
0.623229
[ "MIT" ]
Letheloney/YiHanCms
src/YiHan.Cms.Application/Authorization/Users/Dto/UnlinkUserInput.cs
355
C#
using System; namespace TokAboutIt.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
18.909091
70
0.668269
[ "MIT" ]
MichaelJolley/letstokaboutit
src/TokAboutIt/Models/ErrorViewModel.cs
208
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.Dynamics365.UIAutomation.Api; using Microsoft.Dynamics365.UIAutomation.Browser; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Security; namespace Microsoft.Dynamic...
38.12766
140
0.634487
[ "MIT" ]
operep/Easy-Repro-Example
Microsoft.Dynamics365.UIAutomation.Sample/Web/NegativeScenarios/BusinessProcessFlow/InvalidBusinessProcessFlow.cs
1,794
C#
namespace Reginald.Core.Products { using System; using System.Threading.Tasks; using System.Windows; using Microsoft.WindowsAPICodePack.Shell; using Reginald.Core.AbstractProducts; using Reginald.Core.Base; using Reginald.Core.Utilities; public class Application : ShellItem { ...
27.821429
92
0.572529
[ "MIT" ]
GBS3/reginald
Reginald.Core/Products/Application.cs
1,560
C#
using System.Collections.Generic; using System.Linq; namespace Items { #region ItemEntityType public class Item { private readonly int _id; private readonly List<Tag> _tags = new List<Tag>(); private Item(int id, string name) { _id = id; Name = name; ...
24.029412
66
0.47858
[ "MIT" ]
medlab/320-online-prototype
TecPoints/Backend/AutoTest/Finally/ItemsWebApi/Item.cs
817
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; namespace Aspnetcore.OrderingApp.Models { public class Client { [Required] public string FirstName { get; set; } [Required] [Display(Name = "...
34.948718
125
0.595745
[ "MIT" ]
wghglory/Aspnetcore.OrderingApp
Aspnetcore.OrderingApp/Models/Client.cs
1,365
C#
using System; namespace FxSsh.Messages.Connection { public class SessionOpenConfirmationMessage : ChannelOpenConfirmationMessage { } }
16.555556
80
0.765101
[ "MIT" ]
glmnet/FxSsh
FxSsh/Messages/Connection/SessionOpenConfirmationMessage.cs
151
C#
using System; using System.Collections.Generic; using NBitcoin.BouncyCastle.Math; using NBitcoin.Rules; namespace NBitcoin { public class Consensus : IConsensus { /// <inheritdoc /> public long CoinbaseMaturity { get; set; } /// <inheritdoc /> public Money PremineReward { get;...
33.349693
79
0.621965
[ "MIT" ]
CPPDevCrypto/X42-FullNode
src/NBitcoin/Consensus.cs
5,438
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace WebApi { public abstract class ModuleType { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)...
24.625
55
0.744501
[ "MIT" ]
lboss75/issue24867
WebApi/Model/ModuleType.cs
593
C#
using Microsoft.AspNetCore.Components; using Money.Commands; using Money.Events; using Money.Queries; using Money.Services; using Neptuo.Commands; using Neptuo.Events; using Neptuo.Events.Handlers; using Neptuo.Logging; using Neptuo.Queries; using System; using System.Collections.Generic; using System.IO; using System...
25.064815
78
0.599557
[ "Apache-2.0" ]
ScriptBox21/Money
src/Money.Blazor.Host/Components/PwaInstall.razor.cs
2,709
C#
/* * Copyright (c) 2013-$Date: 2016-01-25 19:33:46 -0600 (Mon, 25 Jan 2016) $ TIBCO Software Inc. * Licensed under a BSD-style license. Refer to [LICENSE] * For more information, please contact: * TIBCO Software Inc., Palo Alto, California, USA * * $Id: UpgradeException.cs 83756 2016-01-26 01:33:46Z bmahurka $ ...
22.866667
95
0.625364
[ "BSD-3-Clause" ]
ehilly-tibco/TIBCO-Messaging
eftl-dotnet-sdk/TIBCO.EFTL.WINRT/websocket/UpgradeException.cs
686
C#
using System; using UnityEngine.Events; namespace JellyFish.Events.UnityEvents { [Serializable] public class StringEvent : UnityEvent<string> { } }
16.5
49
0.715152
[ "MIT" ]
Uncle-Uee/jellyfish-lite
Assets/JellyFish-Lite/Scripts/Runtime/Events/CustomUnityEvents/StringEvent.cs
167
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DelegatesAndEvents { //public delegate int WorkPerformedHandler(object sender, WorkerPerformedEventArgs e); class Worker { public event EventHandler<WorkerPerformedEventAr...
26.563636
90
0.540041
[ "MIT" ]
SamIge7/SideWork
DelegatesAndEvents/DelegatesAndEvents/Worker.cs
1,463
C#
using XMPPEngineer.Im; using System; using System.Collections.Generic; namespace XMPPEngineer.Extensions { /// <summary> /// Implements the 'Chat States Notifications' extension as defined in XEP-0085. /// </summary> internal class ChatStateNotifications : XmppExtension, IInputFilter<Message> { ...
36.136842
84
0.55986
[ "MIT" ]
ParamountVentures/Sharp.Xmpp
Extensions/XEP-0085/ChatStateNotifications.cs
3,435
C#