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) 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.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using BuildXL.Cache.ContentStore.Inte...
41.202703
153
0.50082
[ "MIT" ]
MatisseHack/BuildXL
Public/Src/Cache/ContentStore/App/DedupHashContent.cs
6,098
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace CorePOC.DataLayer.Repositories { public class EntityCoreContext : DbContext { // public virtual DbSet<Item } }
22.454545
46
0.732794
[ "MIT" ]
ApoTheOne/PPOC
DotNetApi/DataLayer/Repositories/EntityCoreContext.cs
247
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...
26.975
118
0.599629
[ "Apache-2.0" ]
mikemissakian/aws-sdk-net
sdk/src/Services/CodeStarconnections/Generated/AmazonCodeStarconnectionsConfig.cs
2,158
C#
 using UnityEngine; namespace Knowdes { public class EntryAfterEditSaver : MonoBehaviour { [SerializeField] private EditPanel _editPanel; private Entry _entry = null; private EntryDataRepository _entryDataRepository; protected virtual void Start() { _editPanel.OnEntryChanged += onEntryChanged;...
20.258065
66
0.732484
[ "MIT" ]
BlackLambert/knowdes
Knowdes Project/Assets/Scripts/Edit/EntryAfterEditSaver.cs
630
C#
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.Threading.Tasks; using DotNetCore.CAP.Diagnostics; using DotNetCore.CAP.Infrastructure; using DotNetCore.CAP.I...
34.809045
141
0.604446
[ "MIT" ]
edelibas/CAP
src/DotNetCore.CAP/IPublishMessageSender.Base.cs
6,929
C#
// Copyright 2017 by PeopleWare n.v.. // 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 writ...
35.833333
84
0.60814
[ "Apache-2.0" ]
peopleware/net-ppwcode-vernacular-nhibernate
src/III/MappingByCode/Versioned/AuditableVersionedPersistentObjectMapper.cs
1,722
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Dapper; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Ray.Core.Serialization; using Ray.Core.Snapshot; using Ray.Core.Storage; using Ray.Storage.SQLCore; using Ray.Storage....
47.217105
286
0.605824
[ "MIT" ]
ElanHasson/Ray
src/Ray.Storage.PostgreSQL/Storage/ArchiveStorage.cs
7,179
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using mcp.Server.Data; namespace mcp.Server.Data.Migrations { [DbContext(typeof(Ap...
37.422414
131
0.402695
[ "MIT" ]
srenner/mcp-v2
mcp/mcp/Server/Data/Migrations/ApplicationDbContextModelSnapshot.cs
43,412
C#
using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Sensit.TestSDK.Utilities.Tests { [TestClass] public class LineSplitterTests { [TestMethod] public void DetectorTestTwoLinesArrivingTogether() { // Create a list to hold data packets. List<byte[]> result_line...
34.344828
269
0.718876
[ "MIT" ]
SensitTechnologies/TestSDK
UnitTests/Utility/LineSplitterTests.cs
998
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
33.726027
106
0.604184
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/DataSync/Generated/Model/Internal/MarshallTransformations/OptionsMarshaller.cs
4,924
C#
using System.Collections.Generic; using System.Reflection; namespace Umbraco.Core.Plugins { //TODO: Copied locally since we don't want to reference MVC from Core this will change with rc2 public interface IUmbracoAssemblyProvider { IEnumerable<Assembly> CandidateAssemblies { get; } } }
28.363636
99
0.74359
[ "MIT" ]
Shazwazza/Umbraco9
src/Umbraco.Core/Plugins/IUmbracoAssemblyProvider.cs
314
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой...
43.517857
117
0.725482
[ "MIT" ]
OlegShatin/SemPoliticsWpfDB
SemPoliticsWpfDB/Properties/AssemblyInfo.cs
3,427
C#
namespace Zone.UmbracoPersonalisationGroups.Criteria.Session { public enum SessionSettingMatch { Exists, DoesNotExist, MatchesValue, ContainsValue, GreaterThanValue, GreaterThanOrEqualToValue, LessThanValue, LessThanOrEqualToValue, Matches...
21
61
0.619048
[ "MIT" ]
twaddell/UmbracoPersonalisationGroups
Zone.UmbracoPersonalisationGroups/Criteria/Session/SessionSetting.cs
548
C#
/* * Copyright 2019 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 ...
35.789474
75
0.796324
[ "ECL-2.0", "Apache-2.0" ]
AlCapslock/gamebuilder
Assets/UIAssets/Scripts/RenderableLibraryUI.cs
1,360
C#
using System; namespace HotChocolate.Types.Descriptors { public sealed class ClrTypeDirectiveReference : IDirectiveReference { public ClrTypeDirectiveReference(Type clrType) { ClrType = clrType ?? throw new ArgumentNullException(nameof(clrType)); } ...
21.411765
68
0.623626
[ "MIT" ]
Coldplayer1995/GraphQLTest
src/Core/Types/Types/Descriptors/TypeReferences/ClrTypeDirectiveReference.cs
364
C#
#region License // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 // /...
33.087302
142
0.602303
[ "Apache-2.0" ]
BartDM/fluentmigrator
src/FluentMigrator.Tests/Integration/Processors/Jet/JetProcessorTests.cs
4,171
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Collections.ObjectModel; namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics { /// <summary> /// Pr...
28.769231
138
0.622995
[ "MIT" ]
06needhamt/MonoGame
MonoGame.Framework.Content.Pipeline/Graphics/MipmapChainCollection.cs
1,498
C#
#region License // Copyright (c) 2016-2018 Cisco Systems, Inc. // 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, cop...
37.207792
92
0.66911
[ "MIT" ]
webex/webex-windows-sdk-example
KitchenSink-WPF/Models/DeviceData.cs
2,867
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações a este ficheiro poderão provocar um comportamento incorrecto e perder-se-ão se // o código...
45.75
99
0.669399
[ "MIT" ]
Pedro-Lopes/Template
_template/Copia/tests/Template.Application.Tests/obj/Debug/netcoreapp3.1/Template.Application.Tests.AssemblyInfo.cs
1,107
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using FishAquariumWebApp.Models; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; namespace FishAquariumWebApp.Pages.Portions { ...
30.914894
125
0.648314
[ "MIT" ]
youstinus/fish-aquarium
src/server-core/FishAquariumWebApp/Pages/Portions/Create.cshtml.cs
1,455
C#
using System; using System.Reflection; using HarmonyLib; using Verse; namespace Multiplayer.Compat { /// <summary>Stuffed Floors by Fluffy</summary> /// <see href="https://github.com/fluffy-mods/StuffedFloors"/> /// <see href="https://steamcommunity.com/sharedfiles/filedetails/?id=853043503"/> [MpCo...
28.8
107
0.659722
[ "MIT" ]
rwmt/RimWorld-Multiplayer-Compatibility
Source/Mods/StuffedFloors.cs
866
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.IO.IsolatedStorage; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading; using accel; using dbg; using er; using er....
23.082192
72
0.642136
[ "Unlicense" ]
WanKerr/Sonic4Episode1
Sonic4Episode1/AppMain/Types/GMS_GMK_PMARKER_WORK.cs
1,685
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; using Modix.Data.Utilities; namespace Modix.Data.Models.Core { /// <summary> /// Describes a mapping that assigns an arbitrary designation to a particular role within a guild...
33.544554
125
0.572314
[ "MIT" ]
JasonHughes94/MODiX
Modix.Data/Models/Core/DesignatedRoleMappingEntity.cs
3,390
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/comment/unmarkelect 接口的请求。</para> /// </summary> public class CgibinCommentUnmarkElectRequest : CgibinCommentMarkElectRequest, IMapResponse<CgibinCommentUnmarkElectRequest, CgibinCommentUnmarkElectResponse> ...
33.2
161
0.740964
[ "MIT" ]
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComment/CgibinCommentUnmarkElectRequest.cs
350
C#
 using System.Collections; using System.Collections.Generic; namespace Monster.Entity.DomainModels { public class SaveModel { public Dictionary<string, object> MainData { get; set; } public List<Dictionary<string, object>> DetailData { get; set; } public List<object> DelKeys { get; set...
23.947368
72
0.615385
[ "Apache-2.0" ]
guipie/Api
Monster.Entity/DomainModels/Core/SaveDataModel.cs
495
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class CharityMarathon { static void Main() { var days = int.Parse(Console.ReadLine()); var participants = int.Parse(Console.ReadLine()); var laps = decim...
28.595745
69
0.53869
[ "MIT" ]
mlkumanova/Programming-Fundamentals
Exams/Problem 1. Charity Marathon/CharityMarathon.cs
1,346
C#
namespace SuperMassive.Tests.Unit.Extensions { using System.Linq; using NUnit.Framework; using SuperMassive.Extensions; public class IntegerExtensionsTest { [TestCase(short.MinValue)] [TestCase(0)] [TestCase(short.MaxValue)] public void IntegerExtensions_AsMask_With...
31.377358
99
0.612147
[ "MIT" ]
PulsarBlow/SuperMassive
tests/SuperMassive.Tests.Unit/Extensions/IntegerExtensionsTest.cs
1,665
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
39.187919
157
0.581264
[ "BSD-3-Clause" ]
Smurf-IV/Krypton-Toolkit-Suite-NET-Core
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Draw/ViewDrawRibbonDesignCluster.cs
5,842
C#
using System; using System.ComponentModel; using System.IO; using System.Windows.Forms; using Alphora.Dataphor.Frontend.Client; namespace Alphora.Dataphor.Dataphoria.FormDesigner.DesignerTree { public class DesignerNode : BaseNode, ISite, IDisposable { /// <summary> Constructs a node, but doe...
37.100897
183
0.528978
[ "BSD-3-Clause" ]
DBCG/Dataphor
Dataphor/Dataphoria/FormDesigner/DesignerTree/DesignerNode.cs
16,547
C#
// See the LICENSE file in the project root for more information. using System; using Microsoft.ML.Data; namespace Scikit.ML.ProductionPrediction { public class EmptyCursor : RowCursor { Func<int, bool> _needCol; IDataView _view; CursorState _state; public EmptyCursor(IDataV...
28.140625
114
0.564131
[ "MIT" ]
xadupre/machinelearningext
machinelearningext/ProductionPrediction/EmptyCursor.cs
1,803
C#
using System; using DataStructures; using DataStructures.Stack; using Xunit; namespace DataStructuresTests { public class BracketValidationTests { [Fact] public void CanValidateBalancedStringTest() { BracketValidation bracketValidation = new BracketValidation(); ...
25.685714
78
0.644049
[ "MIT" ]
selmaT273/DSA
DataStructuresTests/BracketValidationTests.cs
901
C#
// Mach1 SDK // Copyright © 2017 Mach1. All rights reserved. namespace Mach1 { public enum Mach1DecodeAlgoType : int { Mach1DecodeAlgoSpatial = 0, Mach1DecodeAlgoAltSpatial, Mach1DecodeAlgoHorizon, Mach1DecodeAlgoHorizonPairs, Mach1DecodeAlgoSpatialPairs }; }
25.818182
143
0.75
[ "Unlicense" ]
Mach1Studios/m1-sdk
include/c#/Mach1DecodeAlgoType.cs
287
C#
namespace CinemaAPI.Data.EF { using System; using System.Data.Entity.Migrations; public partial class TicketsTableAdded : DbMigration { public override void Up() { CreateTable( "dbo.Tickets", c => new { ...
31.735294
74
0.444856
[ "MIT" ]
bozhidar-slavov/14.ASP.NET-Web-API
CinemaAPI/CinemaAPI.Data.EF/Migrations/202001301058484_TicketsTableAdded.cs
1,079
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...
31.611111
97
0.679262
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20200601/Outputs/ConnectionMonitorOutputResponse.cs
1,138
C#
namespace DomainServices.Logging { using System.Text.Json.Serialization; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Ardalis.GuardClauses; using Abstractions; /// <summary> /// An immutable structure representing a log entry /// <...
36.822034
202
0.550058
[ "MIT" ]
larsmichael/DomainServices
Source/DomainServices/Logging/LogEntry.cs
4,347
C#
using Model = StoreModels; using Entity = StoreDL.Entities; namespace StoreDL { public interface ICustomerOrderHistoryMapper { Model.CustomerOrderHistory ParseCustomerOrderHistory(Entity.CustomerOrderHistory customerOrderHistory); Entity.CustomerOrderHistory ParseCustomerOrderHistory(Model.Custo...
36.6
111
0.811475
[ "MIT" ]
rjhakes/Richard_Hakes-P0
StoreApp/StoreDL/ICustomerOrderHistoryMapper.cs
366
C#
using System.Text; namespace Leak.Bencoding { public class BencodedText { private readonly BencodedData data; public BencodedText(string value) { this.data = new BencodedData(value); } public BencodedText(BencodedData data) { this.data ...
19.307692
57
0.511288
[ "MIT" ]
amacal/leak
sources/Leak.Bencoding/BencodedText.cs
755
C#
namespace Deveroom.VisualStudio.ProjectSystem { public interface IDeveroomOutputPaneServices { void WriteLine(string text); void SendWriteLine(string text); void Activate(); } }
23.777778
48
0.682243
[ "MIT" ]
Philip-Gullick/deveroom-visualstudio
Deveroom.VisualStudio/ProjectSystem/IDeveroomOutputPaneServices.cs
216
C#
using System; using System.Globalization; using System.Reflection; using Jint.Native; using Jint.Native.Function; namespace Jint.Runtime.Interop { /* /// <summary> /// Represents a FunctionInstance wrapper around a CLR method. This is used by user to pass /// custom methods to the engine. /// </sum...
36.692913
136
0.543562
[ "BSD-2-Clause" ]
rockyjvec/SpaceJS
Data/Scripts/SpaceJS/Jint/Runtime/Interop/DelegateWrapper.cs
4,660
C#
using System; namespace CHD.Client.Gui.Wcf { public sealed class DataChannelFactory : IDataChannelFactory { private readonly string _enpointAddress; private readonly IBindingProvider _bindingProvider; public DataChannelFactory( string enpointAddress, ...
26.921053
68
0.521017
[ "MIT" ]
lsoft/CHD
CHD.Client.Gui/Wcf/DataChannelFactory.cs
1,023
C#
// Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. using QuikSharp.DataStructures; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace QuikSharp { /// <summary> /// Функции для обращения к спискам доступных парам...
37.602837
112
0.610336
[ "Apache-2.0" ]
DevelopMan/QUIKSharp
src/QuikSharp/ClassFunctions/ClassFunctions.cs
5,947
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2017. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 13 Swallows Close, // Mornington, Vic 3931...
32.402985
82
0.590511
[ "BSD-3-Clause" ]
ALMMa/Krypton
Source/Krypton Components/ComponentFactory.Krypton.Docking/Event Args/ContextPageEventArgs.cs
2,174
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Cdn.Models { public partial class ManagedRuleDefinition { internal static ManagedRuleDefini...
28.75
99
0.568116
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedRuleDefinition.Serialization.cs
1,035
C#
using System.Linq; using System.Threading.Tasks; using Discord.Commands; using NadekoBot.Services; using NadekoBot.Services.Database.Models; using Discord; using NadekoBot.Extensions; using Discord.WebSocket; using System; using NadekoBot.Common.Attributes; using NadekoBot.Modules.CustomReactions.Services; namespace ...
40.59127
170
0.481816
[ "MIT" ]
2UNIEK/tunes-of-turmoil-radio-bot
src/NadekoBot/Modules/CustomReactions/CustomReactions.cs
20,466
C#
using System; using System.Messaging; using System.Text; using System.Threading; using Rhino.ServiceBus.Impl; using Xunit; namespace Rhino.ServiceBus.Tests { public class FailureToProcessMessage : MsmqTestBase { readonly ManualResetEvent gotFirstMessage = new ManualResetEvent(false); ...
35.637736
124
0.523401
[ "BSD-3-Clause" ]
brumschlag/rhino-tools
rhino-service.bus/Rhino.ServiceBus.Tests/FailureToProcessMessage.cs
9,444
C#
using System; public static class EnumExtensions { public static Enum InvertFlag(this Enum e, Enum flag) { var eval = Convert.ToInt32(e); var flagval = Convert.ToInt32(flag); if (e.HasFlag(flag)) { return (Enum)Enum.ToObject(e.GetType(), eval - flagval); } ...
21.45
68
0.547786
[ "MIT" ]
Haapavuo/UnityExtensions
Net/EnumExtensions.cs
429
C#
using System.Diagnostics; using AutoLot.Dal.Repos.Interfaces; using AutoLot.Models.ViewModels; using AutoLot.Mvc.Extensions; using AutoLot.Mvc.Models; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace AutoLot.Mvc...
29.521127
112
0.611164
[ "BSD-3-Clause", "MIT" ]
RomitMehta/presentations
DOTNETCORE/ASP.NETCore/v3.1/AutoLot/AutoLot.Mvc/Controllers/HomeController.cs
2,098
C#
using System; namespace NullableValueTypes { class Program { static void Main(string[] args) { bool? flag = true; PrintNullableTypeDetails(flag, true); int? number = null; PrintNullableTypeDetails(number, -10); int? number2 = 10; ...
29.963636
112
0.472087
[ "MIT" ]
FastTrackIT-WON-3/nullable-value-types
NullableValueTypes/NullableValueTypes/Program.cs
1,650
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.603448
83
0.630423
[ "Apache-2.0" ]
geffzhang/tencentcloud-sdk-dotnet
TencentCloud/Dcdb/V20180411/Models/DescribeDCDBRenewalPriceResponse.cs
1,919
C#
using System.Collections.Generic; using System.IO; namespace NetWebScript.JsClr.JsBuilder.JsSyntax { public class JsTokenWriter : StringWriter { internal void WriteTarget(JsToken token) { WriteLeft(JsPrecedence.Member, token); } internal void WriteComma...
29.628049
132
0.429101
[ "MIT" ]
jetelain/NetWebScript
NetWebScript/NetWebScript/JsClr/JsBuilder/JsSyntax/JsTokenWriter.cs
4,861
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Logica; namespace Presentacion { public partial class Menu : Form { private Form f...
25.361111
77
0.589631
[ "Apache-2.0" ]
andres15alvarez/McKaos
Presentacion/Menu.cs
2,741
C#
using System; using System.Diagnostics.CodeAnalysis; using HotChocolate.Resolvers; using static HotChocolate.Utilities.ThrowHelper; #nullable enable namespace HotChocolate { public static class ResolverContextExtensions { [return: MaybeNull] public static T GetGlobalValue<T>( this ...
27.141479
87
0.484895
[ "MIT" ]
BaptisteGirard/hotchocolate
src/HotChocolate/Core/src/Types/Extensions/ResolverContextExtensions.cs
8,441
C#
using System.Collections.Generic; using System.Xml; using Mozi.HttpEmbedded.Generic; namespace Mozi.HttpEmbedded.WebService { /// <summary> /// SOAP envelope封装 /// SOAP标准内容比较多,目前只实现WebService中需要封装的部分 /// </summary> public class SoapEnvelope { public List<Namespace> Namespaces = new L...
37.382671
126
0.56562
[ "MIT" ]
MoziCoder/Mozi.Network
Mozi.HttpEmbedded/WebService/SOAP.cs
10,761
C#
// <auto-generated> // ReSharper disable ConvertPropertyToExpressionBody // ReSharper disable DoNotCallOverridableMethodsInConstructor // ReSharper disable InconsistentNaming // ReSharper disable PartialMethodWithSinglePart // ReSharper disable PartialTypeWithSinglePart // ReSharper disable RedundantNameQualifier // Re...
33.625
91
0.654275
[ "MIT" ]
ansim/MvcSolutionTemplate
MvcProjectTemplate.Data/DbMigrationConfiguration.cs
1,614
C#
using System.Collections.Generic; namespace Maersk.Authentication.External { public interface IExternalAuthConfiguration { List<ExternalLoginProviderInfo> Providers { get; } } }
20
58
0.74
[ "MIT" ]
shalindasilva1/fiverr
aspnet-core/src/Maersk.Web.Core/Authentication/External/IExternalAuthConfiguration.cs
202
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.259259
151
0.579245
[ "MIT" ]
MarcGervais/csla
Samples/SimpleNTier/WpfUI/Properties/Settings.Designer.cs
1,062
C#
/* * Licensed to SharpSoftware under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * SharpSoftware licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not us...
34.226316
152
0.522836
[ "Apache-2.0" ]
AlexanderTaeschner/routing
src/Itinero/Profiles/DynamicProfile.cs
6,505
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.690141
197
0.608943
[ "MIT" ]
Bassman2/UsbMonitor
Demo/Demo .NET Framework 4.5/WpfDeviceCatcherMvvmFramework45/Properties/Resources.Designer.cs
2,820
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
40.954338
153
0.587691
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IdentityContainerUserFlowsCollectionRequest.cs
8,969
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. namespace System.Reflection { [Flags] public enum ResourceLocation { ContainedInAnotherAssembly ...
24.5625
71
0.692112
[ "MIT" ]
2E0PGS/corefx
src/Common/src/CoreLib/System/Reflection/ResourceLocation.cs
393
C#
namespace Apex.ConnectApi { using ApexSharp; using ApexSharp.ApexAttributes; using ApexSharp.Implementation; using global::Apex.System; /// <summary> /// /// </summary> public class SmartDataDiscoveryFilter { // infrastructure public SmartDataDiscoveryFilter(dynamic ...
18.814433
87
0.417534
[ "MIT" ]
apexsharp/apexsharp
Apex/ConnectApi/SmartDataDiscoveryFilter.cs
1,825
C#
/******************************************************************************* * Copyright © 2020 WaterCloud.Framework 版权所有 * Author: WaterCloud * Description: WaterCloud快速开发平台 * Website: *********************************************************************************/ using SqlSugar; using System; using System...
40.892617
176
0.544395
[ "MIT" ]
MonsterUncle/WaterCloud
WaterCloud.Domain/Entity/SystemManage/ModuleEntity.cs
6,500
C#
using HiddenWallet.SharedApi.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HiddenWallet.Daemon.Models { public class WalletCreateResponse : BaseResponse { public WalletCreateResponse() => Success = true; public string Mnemonic { get; set; }...
23.0625
52
0.761518
[ "MIT" ]
bob6664569/HiddenWallet
HiddenWallet.Daemon/Models/WalletCreateResponse.cs
371
C#
namespace YamAndRateApp.Utils { using System; using Windows.Data.Xml.Dom; using Windows.UI.Notifications; public class ToastManager { private ToastTemplateType toastTemplate; private XmlDocument toastXml; public ToastManager() { this.toastTemplate = Toa...
40.540984
102
0.661949
[ "MIT" ]
WindowsAppsTeam15/WinUniversalApps
YamAndRateApp/YamAndRateApp/Utils/ToastManager.cs
2,475
C#
using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; using UnityEngine.Internal; namespace LDtkUnity.Editor { [ExcludeFromDocs] public class LDtkSectionIntGrids : LDtkSectionDataDrawer<LayerDefinition> { protected override string PropertyName => LDtkProjectImp...
42.487179
188
0.701267
[ "MIT" ]
Cammin/LDtkToUnity
Assets/LDtkUnity/Editor/CustomEditor/SectionDrawers/LDtkSectionIntGrids.cs
1,659
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("Com...
37.297297
84
0.745652
[ "MIT" ]
dvinun/CommonDotNet
CommonDotNet/Properties/AssemblyInfo.cs
1,383
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CalculateShanten : MonoBehaviour { public int[] hand; public int shanten; private int[] hc; // acts like Hash table void init_hash() { hc = new int[889]; for (int i1 = 0; i1 ...
31.86413
103
0.392973
[ "MIT" ]
r3coder/mahjong-shanten-calculator
CalculateShanten.cs
5,863
C#
using System; using System.Collections.Generic; using TddEbook.TddToolkit.CommonTypes; namespace TypeReflection.Interfaces { public interface IType { bool HasPublicParameterlessConstructor(); bool IsImplementationOfOpenGeneric(Type openGenericType); bool IsConcrete(); IEnumerable<IFieldWrapper> Get...
39.03125
83
0.796637
[ "MIT" ]
grzesiek-galezowski/tdd-toolkit
TypeReflection.Interfaces/IType.cs
1,249
C#
namespace Bytewizer.TinyCLR.SecureShell { public enum DisconnectReason { None = 0, // Not used by protocol HostNotAllowedToConnect = 1, ProtocolError = 2, KeyExchangeFailed = 3, Reserved = 4, MacError = 5, CompressionError = 6, ServiceNotAvailable...
26.217391
41
0.598673
[ "MIT" ]
bytewizer/microserver
src/Bytewizer.TinyCLR.Terminal.Ssh/Terminal/DisconnectReason.cs
605
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Hebb : Act { public ComputeShader shader; public RenderTexture Synapse; public RenderTexture cortex; public Slider sliderPlastic; public Slider sliderNumber; private int kiMain = 0...
20.77027
101
0.603123
[ "MIT" ]
BelkinAndrey/BrainSquared
Assets/Scripts/Hebb.cs
1,539
C#
//----------------------------------------------------------------------------- // PageFlipControl.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using Microsoft.Xna.Framework; ...
34.580645
106
0.543532
[ "MIT" ]
SimonDarksideJ/XNAGameStudio
Samples/UISample_4_0/UISample/Controls/PageFlipControl.cs
3,216
C#
using System; using System.Collections.Generic; namespace Vertigo.Live { public static partial class LiveCollection { public static ILiveSet<T> AsLiveSet<T, TIDelta>(this ILiveCollection<T, TIDelta> source) where TIDelta : class, ICollectionDelta<T> { var cache = new Co...
36.088889
100
0.453202
[ "MIT" ]
filmackay/live
Live/Collection/Projection/LiveCollectionAsSet.cs
1,626
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...
35.694444
134
0.661089
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/Emr/Outputs/ClusterCoreInstanceFleet.cs
2,570
C#
using System.IO; using Path = System.IO.Path; namespace Nicodemus.Controls { public delegate void FileAvailableDelegate(object source, FileAvailableEventArgs args); public class FileAvailableEventArgs { public FileStream FileStream { get; set; } public string FileName { get; set; } ...
21.363636
91
0.578723
[ "MIT" ]
tessin/Nicodemus.Controls
Nicodemus.Controls/Files/FileAvailableEventArgs.cs
707
C#
using Chloe; using Chloe.Core; using Chloe.PostgreSQL; using Chloe.SqlServer; using Database; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace ChloeDemo { //[TestClass] public class P...
33.983903
198
0.469568
[ "MIT" ]
1163891508/Chloe
src/ChloeDemo/PostgreSQLDemo.cs
17,580
C#
using System; using System.Diagnostics; using System.Resources; using System.Windows; using System.Windows.Markup; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using Unity.Tests.WindowsPhone.Resources; namespace Unity.Tests.WindowsPhone { public partial class App :...
40.61435
127
0.614773
[ "Apache-2.0", "MIT" ]
drcarver/unity
BVT/Unity.Tests.WindowsPhone/Unity.Tests.WindowsPhone/App.xaml.cs
9,059
C#
namespace GoCardlessApi.Http.Serialisation { public static class DateFormat { public const string IsoDateFormat = "yyyy-MM-dd"; } }
21.714286
57
0.684211
[ "MIT" ]
john-hartley/GoCardless.Api
src/GoCardless.Api/Http/Serialisation/DateFormat.cs
154
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading.Tasks; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Samples { public partial class TextAnalyticsSamples : TextAnalyticsSampleBase {...
52.988304
194
0.52886
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample7_AnalyzeHealthcareEntitiesAsync.cs
9,063
C#
namespace Firebase.Storage { using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; public class F...
32.614035
185
0.559172
[ "MIT" ]
StephenHodgson/firebase-storage-dotnet
src/Firebase.Storage/FirebaseStorageTask.cs
3,720
C#
using System; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Mo...
36.333333
108
0.593272
[ "MIT" ]
cppseminar/APC
cppseminar/submissions/Startup.cs
2,943
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 System.Runtime.Serialization; namespace Microsoft.CodeAnalysis { /// <summary> /// Represents parse optio...
36.151515
184
0.700754
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Compilers/Core/Desktop/SerializableParseOptions.cs
1,195
C#
using System; using System.Windows.Forms; using System.ComponentModel; using System.ComponentModel.Design; using System.Windows.Forms.Design; namespace PX.HMRC { // This allows us to use the Windows Collection Editor outside of the Properties Control public class ColEditor<T> { public DialogResul...
27.273684
130
0.60247
[ "MIT" ]
mPisano/MTDCompliance
PX.HMRC/RuntimeServiceProvider.cs
2,593
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("CPU...
37.405405
84
0.746387
[ "MIT" ]
VanHakobyan/Useful_Pieces_Of_Code
CPUusige/CPUusige/Properties/AssemblyInfo.cs
1,387
C#
#region License /* Copyright © 2014-2022 European Support Limited 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 a...
31.3
122
0.573882
[ "Apache-2.0" ]
FOSSAware/Ginger
Ginger/Ginger/UserControlsLib/LiveSpyHandler.xaml.cs
5,009
C#
using Elite_Hockey_Manager.Classes.GameComponents; using System; using System.Collections.Generic; using System.Linq; namespace Elite_Hockey_Manager.Classes.LeagueComponents { [Serializable] public class Schedule { #region Fields [NonSerialized] public List<TeamPair> _teamsList = ...
33.357988
152
0.495166
[ "MIT" ]
skyre5/Elite-Hockey-Manager
Elite Hockey Manager/Elite Hockey Manager/Classes/LeagueComponents/Schedule.cs
11,277
C#
// Copyright (c) Pixel Crushers. All rights reserved. using PixelCrushers.DialogueSystem.SequencerCommands; using System; using System.Collections; using System.Collections.Generic; using System.Text.RegularExpressions; using UnityEngine; namespace PixelCrushers.DialogueSystem { /// <summary> //...
50.369683
282
0.550362
[ "MIT" ]
lilbonito/hammer_bar
Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Sequencer.cs
130,256
C#
namespace Lab3 { partial class Form8 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="d...
35.819277
107
0.544904
[ "MIT" ]
BorisLechev/-University
C#/Windows Forms/Lab3/Lab3/Form8.Designer.cs
2,975
C#
// PreregisterOperation using ClubPenguin.Net.Client; using ClubPenguin.Net.Client.Mappers; using ClubPenguin.Net.Domain; using hg.ApiWebKit.core.attributes; using hg.ApiWebKit.mappers; using System; [HttpBasicAuthorization("cp-api-username", "cp-api-password")] [HttpPOST] [HttpPath("cp-api-base-uri", "/player/v1/prer...
25.483871
123
0.801266
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin.Net.Client/PreregisterOperation.cs
790
C#
using System.Windows.Controls; namespace Speckle.DesktopUI.Streams.Dialogs.FilterViews { public partial class ParameterFilterView : UserControl { public ParameterFilterView() { InitializeComponent(); } } }
16.642857
56
0.72103
[ "Apache-2.0" ]
ENAC-CNPA/speckle-sharp
DesktopUI/DesktopUI/Streams/Dialogs/FilterViews/PropertyFilterView.xaml.cs
235
C#
using System; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Sockets; using UnityEditor; using UnityEngine; namespace UnityEditor.CacheServerTests { internal class LocalCacheServer : ScriptableSingleton<LocalCacheServer> { [SerializeField] public string m_path; [...
32.313433
130
0.509931
[ "Apache-2.0" ]
GDIVX/QophProject
MVP/Library/PackageCache/com.unity.scriptablebuildpipeline@1.5.2/Tests/Editor/CacheServer/LocalCacheServer.cs
4,332
C#
 using System.Reflection; using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: Guid("c6dd02fe-9e84-4cdc-a7f0-8517953f5750")]
21.857143
56
0.79085
[ "MIT" ]
TANZAME/ServiceStack.Redis.Cluster
ServiceStack.Redis.Cluster/Properties/AssemblyInfo.cs
155
C#
namespace CloudinaryDotNet.Test { public class TestConstants { public const string CloudName = "testcloud"; public const string DefaultApiKey = "1234"; public const string DefaultApiSecret = "abcd"; public const string DefaultRootPath = "http://res.cloudinary.com/testcloud/"; ...
41.428571
85
0.698276
[ "MIT" ]
jordansjones/CloudinaryDotNet
Shared.Tests/Constants.cs
582
C#
using System.ComponentModel.DataAnnotations; namespace CloudABISSampleWebApp.Models.MatchingServer.Models.Request { /// <summary> /// Register/Update/Verify API Request Model /// </summary> public class BiometricGenericRequest { /// <summary> /// Client-specific key provided by the...
49.725
172
0.638512
[ "Apache-2.0" ]
kernello/cloudabisv12-csharp-web-sample
CloudABISSampleWebApp/Models/MatchingServer/Models/Request/BiometricGenericRequest.cs
1,991
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.ServiceModel; using Client.BankServiceReference; namespace Client { public partial class ...
23.627451
82
0.73112
[ "MIT" ]
Team-on/works
0_homeworks/C#/9 wcf/4/Bank/Client/Form1.cs
1,207
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace mymgm.Models.AccountViewModels { public class ResetPasswordViewModel { [Required] [EmailAddress] public string Email { get; set; } ...
29.714286
125
0.659856
[ "MIT" ]
elijahlofgren/mymgm
Models/AccountViewModels/ResetPasswordViewModel.cs
832
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.843137
94
0.649078
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Lighthouse/V20200324/Models/InstanceTrafficPackage.cs
1,595
C#
using System; using Newtonsoft.Json; using Primary.Serialization; namespace Primary.Data.Orders { /// <summary> /// Has all the order information, plus the current state of the order. /// </summary> public class OrderStatus : Order { [JsonProperty("orderId")] public str...
30.224138
76
0.575014
[ "MIT" ]
naicigam/Primary.Net
Primary/Data/Orders/OrderStatus.cs
1,755
C#
namespace uTinyRipper.Classes.Shaders { public struct SamplerParameter : IAssetReadable { public SamplerParameter(uint sampler, int bindPoint) { Sampler = sampler; BindPoint = bindPoint; } public void Read(AssetReader reader) { Sampler = reader.ReadUInt32(); BindPoint = reader.ReadInt32(); }...
19.047619
54
0.695
[ "MIT" ]
Bluscream/UtinyRipper
uTinyRipperCore/Parser/Classes/Shader/Parameters/SamplerParameter.cs
402
C#
using EF6AspNetWebApi.Data; using LinqKit; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace EF6AspNetWebApi.Blogs.Posts { public class PostSummaryViewModel { public int Id { get; set; } ...
30.0625
95
0.557173
[ "MIT" ]
jayoungers/PatchMap
Examples/EF6AspNetWebApi/EF6AspNetWebApi/Blogs/Posts/PostViewModel.cs
1,926
C#
/*----------------------------------------------------------------------- Copyright (c) Microsoft Corporation. Licensed under the MIT license. -----------------------------------------------------------------------*/ using AdsGoFast.Models.Options; using AdsGoFast.SqlServer; using AdsGoFast.TaskMetaData; using Cron...
48.949495
344
0.600124
[ "MIT" ]
LeighS/azure-data-services-go-fast-codebase
solution/FunctionApp/PrepareFrameworkTasks.cs
24,230
C#