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
// *** 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...
46.77821
302
0.613126
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Storage/BlobContainer.cs
12,022
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...
37.287879
120
0.550508
[ "Apache-2.0" ]
anlblci/dotnetwatson
src/IBM.WatsonDeveloperCloud.Conversation.v1/Model/CreateDialogNode.cs
12,305
C#
using System.Collections.Generic; namespace rbkApiModules.UIAnnotations { public class FormDefinition { public FormDefinition(List<FormGroup> createInputs, List<FormGroup> updateInputs) { Create = createInputs; Update = updateInputs; } public List<FormG...
23.352941
89
0.632242
[ "MIT" ]
rbasniak/rbk-api-modules
rbkApiModules.UIAnnotations/Models/FormDefinition.cs
399
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request to get a device profile file. /// The response is either SystemAccess...
29.703125
130
0.612835
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemAccessDeviceFileGetRequest.cs
1,901
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
40.216216
106
0.759409
[ "MIT" ]
Jonas-BBW/Exercises
Testing/Stoppuhr/Stoppuhr/Properties/AssemblyInfo.cs
1,505
C#
using System; using System.CodeDom; using System.IO; using System.Text; using System.Web.Services.Configuration; using System.Web.Services.Description; using System.Web.Services.Protocols; using System.Xml.Serialization; namespace Commanigy.Iquomi.SoapExtensions { // The YMLAttribute allows a developer to s...
31.663102
87
0.696166
[ "MIT" ]
theill/iquomi
server/soapextensions/WsdlExtender.cs
5,921
C#
using System; using System.Collections.Generic; using System.Text; namespace LanguageServer.Parameters.TextDocument { /// <summary> /// For <c>textDocument/willSave</c> /// </summary> public class WillSaveTextDocumentParams { public TextDocumentIdentifier textDocument { get; set...
23.352941
65
0.65995
[ "MIT" ]
matarillo/LanguageServerProtocol
LanguageServer/Parameters/TextDocument/WillSaveTextDocumentParams.cs
399
C#
namespace System; partial class Func { public static IFunc<T1, T2, TResult> From<T1, T2, TResult>( Func<T1, T2, TResult> func) => new FuncImpl<T1, T2, TResult>( func ?? throw new ArgumentNullException(nameof(func))); }
23.636364
67
0.607692
[ "MIT" ]
pfpack/pfpack-core-func
src/core-func-ext-sync/Func.Extensions.Sync/Factory.From/From.02.cs
260
C#
// // The MIT License(MIT) // // Copyright(c) 2015 Hans Wolff // // 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...
45.019718
170
0.799962
[ "MIT" ]
hanswolff/fido-u2f-net
FidoU2f.Tests/TestFidoUniversalTwoFactor.cs
15,984
C#
namespace EnvironmentAssessment.Common.VimApi { public enum VirtualDeviceConfigSpecFileOperation { create, destroy, replace } }
13.7
49
0.788321
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/V/VirtualDeviceConfigSpecFileOperation.cs
137
C#
using Roadie.Dlna.Server.Metadata; namespace Roadie.Dlna.Server.Comparers { internal class DateComparer : TitleComparer { public override string Description => "Sort by file date"; public override string Name => "date"; public override int Compare(IMediaItem x, IMediaItem y) ...
26.115385
66
0.4919
[ "MIT" ]
sphildreth/roadie
Roadie.Dlna/Server/Comparers/DateComparer.cs
681
C#
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using ImGuiNET; using T3.Core; using T3.Core.Logging; using T3.Gui.Styling; using T3.Gui.Windows; namespace T3.Gui.UiHelpers { /// <summary> /// Renders the <see cref="ConsoleLogWindow"/> /// </summary> public c...
33.491379
174
0.533848
[ "MIT" ]
still-scene/t3
T3/Gui/UiHelpers/StatusErrorLine.cs
3,887
C#
using EPiServer.Find; using System.Collections.Specialized; namespace Foundation.Features.Locations { public interface IFilterBlock { string FilterTitle { get; set; } string AllConditionText { get; set; } ITypeSearch<LocationItemPage.LocationItemPage> AddFilter(ITypeSearch<LocationIte...
31.9375
150
0.76908
[ "Apache-2.0" ]
Beerwulf/foundation-mvc-cms
src/Foundation/Features/Locations/IFilterBlock.cs
511
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [...
38.685714
85
0.743722
[ "MIT" ]
rogeriorrodrigues/vssummit2017
FaceEmotionRecognition/FaceEmotionRecognition/FaceEmotionRecognition.Droid/Properties/AssemblyInfo.cs
1,357
C#
namespace Georadix.WebApi { using Georadix.WebApi.Testing; using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics.CodeAnalysis; using System.IdentityModel.Protocols.WSTrust; using System.IdentityModel.Tokens; using System.Linq; using Sys...
35.371134
117
0.618916
[ "MIT" ]
Georadix/Georadix.NET
src/Georadix.WebApi.Tests/JwtValidationHandlerFixture.cs
6,864
C#
using Loteria.Models; using Loteria.Models.DTO; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Http; namespace Loteria.api { public class SorteioController : ApiController { private LoteriaEntity entity = new LoteriaEntit...
29.728814
121
0.519669
[ "MIT" ]
alemosbarbosa/Loteria
Loteria/api/SorteioController.cs
3,510
C#
using System; using System.Collections.Generic; using System.Linq; using LeakBlocker.Libraries.Common; using LeakBlocker.Libraries.Common.Entities.Security; namespace LeakBlocker.Agent.Core.Settings.Implementations { internal static class OrganizationalUnitHelper { public static bool IsInOrganizationa...
32.939394
101
0.686293
[ "MIT" ]
imanushin/leak-blocker
Projects/LeakBlocker.Agent.Core/Settings/Implementations/OrganizationalUnitHelper.cs
1,089
C#
using System; using System.Linq.Expressions; namespace CalculatorLibrary { public static class Operations<T> where T : struct { public static T Add(T a, T b) { var paramA = Expression.Parameter(typeof(T), "a"); var paramB = Expression.Parameter(typeof(T), "b"); ...
28.333333
87
0.543034
[ "MPL-2.0" ]
andreshetniak/Clout-It-C-19-04
Students/OleksiiL/Calculator/CalculatorLibrary/Operations.cs
1,617
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Codes.Linus.IntVectors.Collections { [Serializable] public sealed class DataMatrix2<T> : IDataMatrix2<T> { private List<T> rawData; public DataMatrix2 () { rawData = new List<T> (); } public DataMat...
17.963964
79
0.611334
[ "MIT" ]
LinusVanElswijk/Unity-Int-Vectors
Codes/Linus/IntVectors/Collections/DataMatrix2.cs
1,994
C#
using CognitiveMinion.Api.Hubs; using CognitiveMinion.Api.Services; using CognitiveMinion.LanguageUnderstanding.LuisAI; using Elastic.Apm.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using M...
32.736111
122
0.636402
[ "MIT" ]
ops-ai/cognitive-minion
CognitiveMinion.Api/Startup.cs
2,359
C#
using CondominioSmart.DataBase; using CondominioSmart.Models; using CondominioSmart.Services; using CondominioSmart.Views.PopUps; using Rg.Plugins.Popup.Services; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace CondominioSmart.ViewModels ...
22.971831
81
0.581852
[ "MIT" ]
WillBrigida/Projeto-Smart-Condom-nio
CondominioSmart/CondominioSmart/ViewModels/ReclamacaoTabbedViewModel.cs
1,634
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.377358
109
0.621768
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-datadog
sdk/dotnet/Inputs/DashboardWidgetGroupDefinitionArgs.cs
1,663
C#
//----------------------------------------------------------------------- // <copyright file="ObjectController.cs" company="Google LLC"> // Copyright 2020 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...
34.919355
101
0.614088
[ "MIT" ]
le-incroyable1-dev/darknessVR
ObjectController.cs
4,330
C#
/* * DAWN OF LIGHT - The first free open source DAoC server emulator * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later ve...
31.106383
180
0.701778
[ "MIT" ]
blockchainhelppro/Wallet-For-Blackberry
SetUpTests.cs
2,926
C#
using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace BaGet.Core.Mirror { public interface IPackageDownloader { /// <summary> /// Attempt to download a package. /// </summary> /// <param name="packageUri">The package to download.</param>...
31.157895
94
0.668919
[ "MIT" ]
3da/BaGet
src/BaGet.Core/Mirror/IPackageDownloader.cs
594
C#
namespace P03.Telephony { public interface ICallable { string Call(string number); } }
13.5
35
0.62037
[ "MIT" ]
VinsantSavov/SoftUni-Software-Engineering
CSharp-OOP/Homeworks-And-Labs/Interfaces and Abstraction/Exercise/Exercise/P03.Telephony/ICallable.cs
110
C#
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * The MIT License (MIT) * * Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
43.107143
154
0.727542
[ "MIT" ]
Zongsoft/Zongsoft.Utilities.Regular
src/AboutDialog.Designer.cs
8,581
C#
// // Network.Device.cs // // Author: // M.A. (https://github.com/mkahvi) // // Copyright (c) 2017-2018 M.A. // // 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, ...
27.099291
80
0.70793
[ "MIT" ]
enmoku/taskmaster
Network/Device.cs
3,823
C#
using System; using System.Collections; using System.IO; using System.Reflection; namespace MapSerializer { public sealed class MapXmlSerializer : MapSerializerBase, IMapSerializer { public override void Serialize(TextWriter writer, object reference) { if (reference ==...
31.244681
109
0.523664
[ "MIT" ]
flaviokodama/MapSerializer
src/MapSerializer/MapXmlSerializer.cs
2,939
C#
#if !NETSTANDARD13 /* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 ...
41.113402
180
0.682297
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/_bcl45+netstandard/DescribeReservedNodeOfferingsPaginator.cs
3,988
C#
using System.Security.Claims; using API.Abstractions.Helpers.Auth.Authenticators; using API.Abstractions.Services; using API.DTOs.Account; using API.DTOs.Role; using API.Helpers.Auth; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization...
29.521739
100
0.673785
[ "MIT" ]
cdcd72/Net.JwtAuth.Demo
src/API/Controllers/Account/AccountController.cs
2,716
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.AzureMarkdownRewriters { using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
45.024064
303
0.585189
[ "MIT" ]
928PJY/docfx
src/Microsoft.DocAsCode.AzureMarkdownRewriters/AzureMigrationEngineBuilder.cs
16,841
C#
using System; using System.Collections.Generic; using System.Text; namespace SUS.MvcFramework { public interface IServiceCollection { // .Add <IUserService, UserService> void Add<TSource, IDestionation>(); object CreateInstance(Type type); } }
20.214286
44
0.681979
[ "MIT" ]
martinsivanov/CSharp-Web-May-2021
SUS/SUS.MvcFramework/IServiceCollection.cs
285
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Security; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.Security; using Umbraco.Web.Models; using Umbraco.Web.PublishedCache; using Umbraco.Core.Cache...
40.062722
169
0.562077
[ "MIT" ]
AaronSadlerUK/Umbraco-CMS
src/Umbraco.Web/Security/MembershipHelper.cs
33,891
C#
using System; using System.Collections.Generic; using Zenject; using NUnit.Framework; using ModestTree; using Assert=ModestTree.Assert; namespace Zenject.Tests.Injection { [TestFixture] public class TestPostInjectParameters : ZenjectUnitTestFixture { class Test0 { } class T...
21.4375
66
0.502187
[ "MIT" ]
AdJion/Zenject
UnityProject/Assets/Plugins/Zenject/OptionalExtras/UnitTests/Editor/Injection/TestPostInjectParameters.cs
1,372
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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
69.765133
260
0.722625
[ "MIT" ]
CoffeeFlux/runtime
src/libraries/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.cs
28,813
C#
namespace FactoryMethod { // The Creator class declares the factory method that is supposed to return // an object of a Product class. The Creator's subclasses usually provide // the implementation of this method. public abstract class Creator { // Note that the Creator may also provide som...
40.066667
81
0.645591
[ "MIT" ]
BorisLechev/Design-Patterns
CreationalPatterns/Factory/Creator.cs
1,204
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...
29.236842
108
0.732673
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Greengrass/Generated/Model/UpdateGroupResponse.cs
1,111
C#
using System.ComponentModel.DataAnnotations; namespace MovieTickets.Web.ViewModels.Account { using static Data.DataConstants; public class LoginViewModel { [Display(Name =DisplayEmail)] [Required(ErrorMessage =EmailError)] public string Email { get; set; } [Required] ...
23.882353
45
0.660099
[ "MIT" ]
kivanov22/MovieTickets
MovieTickets/MovieTickets/ViewModels/Account/LoginViewModel.cs
408
C#
namespace GeometricAlgebraStructuresLib.Storage { public static class GaMultivectorStorageUtils { public static T[] GetCopyOfArray<T>(this T[] inputArray) { var outputArray = new T[inputArray.Length]; inputArray.CopyTo(outputArray, 0); return ou...
24.857143
64
0.600575
[ "MIT" ]
ga-explorer/GMac
GeometricAlgebraStructuresLib/GeometricAlgebraStructuresLib/Storage/GaMultivectorStorageUtils.cs
350
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.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Button_Samp { public partial class Page1 : Page ...
41.467836
128
0.52898
[ "MIT" ]
21pages/WPF-Samples
Getting Started/Concepts/samps/button_samp.xaml.cs
7,093
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/strmif.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
39.730769
145
0.661181
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/strmif/IDDrawExclModeVideoCallbackTests.cs
2,068
C#
using System.Collections.Generic; namespace IronText.Algorithm { sealed internal class MutableIntervalIntSet : IntervalIntSetBase { public MutableIntervalIntSet(IntSetType setType) : base(setType) { } public override IntSet CompleteAndDestroy() { var result = new IntervalI...
27.08
76
0.615953
[ "Apache-2.0" ]
sucaba/IronTextLibrary
Src/IronText.Core/Algorithm/IntegerSets/MutableIntervalIntSet.cs
679
C#
using Rbac.Core; using PetaPoco; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rbac.Entity { [Serializable] [TableName("Base_Organize")] [PrimaryKey("Id")] [Description("组织机构")] ...
26.362069
49
0.446043
[ "MIT" ]
codeyu/codeyu.rbac.web
src/RbacWeb/Rbac.Entity/BaseOrganize.cs
3,376
C#
using System; public class Sarsa : IReinforcementLearning { private readonly double[][] _q; public double LearningRate { get; set; } public double DiscountFactor { get; set; } public IExplorationPolicy ExplorationPolicy { get; set; } public Sarsa(int stateCount, int actionCount, IExplorationPolicy explora...
29.216667
112
0.67028
[ "MIT" ]
paidgeek/LayeredHybridIntelligentAgents
Assets/Scripts/Brain/ReinforcementLearning/Sarsa.cs
1,755
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Text.RegularExpressions; using System.Linq; namespace BigPlane { /// <summary> /// 从文件中来的数据记录 /// </summary> public interface IRecord { int id { get; } bool isEmpty(); void InitFromL...
28
93
0.505952
[ "Apache-2.0" ]
BigWan/BigGame_WeChatPlane
Assets/Scripts/ReadCsv.cs
2,846
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
36.911504
100
0.671542
[ "BSD-3-Clause" ]
mdickson/opensim
OpenSim/Data/IRegionData.cs
4,171
C#
using Microsoft.Extensions.CommandLineUtils; namespace BoxCLI.CommandUtilities.CommandOptions { public static class FieldsOption { public static CommandOption ConfigureOption(CommandLineApplication command) => command.Option("--fields <FIELDS>", "The fields to include in the Box response, s...
39.3
161
0.755725
[ "Apache-2.0" ]
TinLe/boxcli
BoxCLI/CommandUtilities/CommandOptions/FieldsOption.cs
393
C#
using System; using NUnit.Framework; using Xamarin.Forms.Core.UnitTests; namespace Xamarin.Forms.Xaml.UnitTests { [TestFixture] public class HRTests { [SetUp] public void Setup() { Device.PlatformServices = new MockPlatformServices(); Xamarin.Forms.Internals.Registrar.RegisterAll(new Type[0]); Appli...
31.259615
67
0.708705
[ "MIT" ]
07101994/Xamarin.Forms
Xamarin.Forms.Xaml.UnitTests/HRTests.cs
3,253
C#
using System.Collections.Generic; using Horizon.Payment.Alipay.Response; namespace Horizon.Payment.Alipay.Request { /// <summary> /// alipay.ebpp.prodmode.reconconf.query /// </summary> public class AlipayEbppProdmodeReconconfQueryRequest : IAlipayRequest<AlipayEbppProdmodeReconconfQueryResponse> ...
22.612903
115
0.546719
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Request/AlipayEbppProdmodeReconconfQueryRequest.cs
2,822
C#
using Firebase.CloudMessaging; using Rocks.Wasabee.Mobile.Core.Services; namespace Rocks.Wasabee.Mobile.iOS.Infra.Firebase { public class FirebaseService : IFirebaseService { public string GetFcmToken() { return Messaging.SharedInstance.FcmToken ?? string.Empty; } } }
24.461538
69
0.685535
[ "Apache-2.0" ]
ruharen/Wasabee-Mobile-Xamarin
Rocks.Wasabee.Mobile.iOS/Infra/Firebase/FirebaseService.cs
320
C#
using System; using System.Diagnostics; using System.Linq; using System.Net; using System.Text; using System.Threading; using EventStore.ClientAPI; using EventStore.ClientAPI.Common.Log; using EventStore.ClientAPI.SystemData; using EventStore.Common.Options; using EventStore.Core; using EventStore.Core.Bus; using Even...
41.700637
134
0.613258
[ "Apache-2.0" ]
betgenius/EventStore
src/EventStore.Projections.Core.Tests/ClientAPI/Cluster/specification_with_standard_projections_runnning.cs
13,096
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Shouldly; using System.Collections.Generic; using System.Text.Json; using Yuniql.Core; using Yuniql.Extensibility; namespace Yuniql.UnitTests { [TestClass] public class ConfigurationServiceTests: TestClassBase { private Configura...
48.158824
212
0.678759
[ "Apache-2.0" ]
automada/yuniql
yuniql-tests/unit-tests/Tests/ConfigurationServiceTests.cs
8,189
C#
namespace SubterfugeCore.Core.Network { public class SubmitEventResponse : BaseNetworkResponse { public int RoomId { get; set; } } }
21.857143
58
0.679739
[ "CC0-1.0" ]
LordSputnik/Remake-Core
SubterfugeCore/Core/Network/ResponseModels/SubmitEventResponse.cs
155
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("Da...
37.864865
84
0.745896
[ "MIT" ]
VProfirov/Telerik-Academy
Module 1/[02] CSharp Advanced/[performance improvement versions] C# Advanced/C# Advanced v0.1/Strings-And-Text-Processing/DateDifference/Properties/AssemblyInfo.cs
1,404
C#
using Gsemac.IO; using Gsemac.IO.Extensions; using Gsemac.Reflection.Plugins; using System; using System.Collections.Generic; using System.Linq; namespace Gsemac.Drawing.Imaging { public class ImageCodecFactory : IImageCodecFactory { // Public members public static ImageCodecFactory Def...
29.569767
201
0.638616
[ "MIT" ]
gsemac/Gsemac.Common
src/Gsemac.Drawing/Imaging/ImageCodecFactory.cs
2,545
C#
using System.CommandLine; using System.IO; using System.Linq; using System.Threading.Tasks; using EMG.Tools.EnsureUnique; using EMG.Tools.EnsureUnique.Concurrency; using EMG.Tools.EnsureUnique.TokenGenerators; using NUnit.Framework; namespace Tests { [TestFixture] [TestOf(typeof(RunDotNetCommand))] public ...
39.784091
176
0.702942
[ "MIT" ]
annasandberg/dotnet-ensure-unique
tests/Tests.EnsureUnique/RunDotNetCommandTests.cs
3,501
C#
using System; using System.Reflection; using System.Threading.Tasks; using Discord; using Discord.WebSocket; namespace Bot_Boi { class Program { DiscordSocketClient _client; CommandHandler _handler; static void Main(string[] args) => new Program().StartAsync().GetAwaite...
27.219512
78
0.587814
[ "MIT" ]
aeonian13/Discord.Net-Bot-Code-Base
Program.cs
1,118
C#
/* * Copyright 2012-2019 The Pkcs11Interop Project * * 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 app...
36.520833
159
0.583286
[ "Apache-2.0" ]
uae1972/Pkcs11Interop
src/Pkcs11Interop.Tests/LowLevelAPI81/_07_OperationStateTest.cs
3,506
C#
using Microsoft.ML; using System.Threading.Tasks; using Watchster.Application.Utils.ML.Models; namespace Watchster.Application.Utils.ML { public interface IMLModelBuilder { Task<PredictionEngine<MovieRating, MovieRatingPrediction>> ConstructMoviePredictModelAsync(); } }
26.545455
101
0.780822
[ "MIT" ]
iulianPeiu6/Watchster
WatchsterSolution/Watchster.Application/Utils/ML/Interfaces/IMLModelBuilder.cs
294
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CacheStorage.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // ---------------------------------...
38.35209
152
0.528317
[ "MIT" ]
14632791/Catel
src/Catel.Core/Caching/CacheStorage.cs
23,857
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DimensionSystem : MonoBehaviour { public GameObject DimensionalFX; public GameObject SwapFlash; public AudioClip SwapSound; public float Duration; public float Cooldown; // Singletons public static...
31.59375
142
0.589515
[ "Apache-2.0" ]
Thev2Andy/DimensionalDrifter
Assets/Scripts/Dimensional Drifting/Drifter/DimensionSystem.cs
2,024
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...
25.837209
81
0.60396
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Portal/Outputs/ConsolePropertiesResponse.cs
1,111
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 ...
31.517647
137
0.705487
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-linkwan/LinkWAN/Model/V20190301/BindJoinPermissionToNodeGroupRequest.cs
2,679
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.O...
49.395349
506
0.708569
[ "MIT" ]
WhereIsMyTransport/Pulumi.Crds.CertManager
crd/dotnet/Certmanager/V1Beta1/Outputs/IssuerSpecAcmeSolversSelector.cs
2,124
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Fish_Registration.Models.AccountViewModels { public class ExternalLoginViewModel { [Required] [EmailAddress] public string Email { get;...
21
52
0.729167
[ "MIT" ]
thejohnjensen/fisher-registration
Fish-Registration/Models/AccountViewModels/ExternalLoginViewModel.cs
336
C#
using Microsoft.AspNetCore.Components; using Radzen.Blazor.Rendering; using System; namespace Radzen.Blazor { /// <summary> /// Displays the appointments in a week day in <see cref="RadzenScheduler{TItem}" /> /// </summary> /// <code> /// &lt;RadzenScheduler Data="@appointments"&gt; /// &lt...
28.130435
184
0.525116
[ "MIT" ]
AleSaiani/radzen-blazor
Radzen.Blazor/RadzenWeekView.razor.cs
2,588
C#
namespace Epic.OnlineServices.Lobby { public class RejectInviteOptions { public int ApiVersion => 1; public string InviteId { get; set; } public ProductUserId LocalUserId { get; set; } } }
16.666667
48
0.72
[ "MIT" ]
undancer/oni-data
Managed/firstpass/Epic/OnlineServices/Lobby/RejectInviteOptions.cs
200
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.IO; using System.Collections.Generic; using System.Text; using System.Reflection; using s...
48.84153
199
0.589617
[ "MIT" ]
Bhaskers-Blu-Org2/dotnet-reliability
src/stress.codegen/ExecutionFileGenerator.cs
8,938
C#
using System.Runtime.Serialization; namespace Umbraco.Cms.Core.Models.ContentEditing { [DataContract(Name = "DomainDisplay")] public class DomainDisplay { public DomainDisplay(string name, int lang) { Name = name; Lang = lang; } [DataMember(Name = "...
22.518519
51
0.559211
[ "MIT" ]
Ambertvu/Umbraco-CMS
src/Umbraco.Core/Models/ContentEditing/DomainDisplay.cs
610
C#
using UnityEngine; namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables { [TaskCategory("Basic/SharedVariable")] [TaskDescription("Sets the SharedFloat variable to the specified object. Returns Success.")] public class SetSharedFloat : Action { [Tooltip("The value to set the S...
28.428571
97
0.610553
[ "Apache-2.0" ]
brustlinker/unity_behaviortree_sk
Assets/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs
796
C#
// Copyright (c) Jeremy W. Kuhne. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace WInterop.Gdi { /// <summary> /// Pen pixel mix modes (ROP2) /// </summary> public enum PenMixMode : int { // https://msdn....
30.787234
132
0.541811
[ "MIT" ]
JeremyKuhne/WInterop
src/WInterop.Desktop/Gdi/PenMixMode.cs
2,896
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Metadata.ManagedReference { using System; using System.Collections.Generic; using System.IO; using System.Linq; ...
39.469679
212
0.471049
[ "MIT" ]
Ermerson/docfx
src/Microsoft.DocAsCode.Metadata.ManagedReference.Common/Parsers/TripleSlashCommentModel.cs
32,354
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using Dbg = System.Diagnostics.Debug; using System.Management.Automation; using Microsoft.PowerShell.PowerShellGet.UtilClasses; namespace Microsoft....
39.545455
222
0.550897
[ "MIT" ]
Seanpm2001-Microsoft/PowerShellGet
src/code/SetPSResourceRepository.cs
10,875
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Poseidon.Core.IDAL { using Poseidon.Base.Framework; using Poseidon.Core.DL; /// <summary> /// 菜单对象访问接口 /// </summary> internal interface IMenuRepository : IBaseDAL<Men...
17.736842
55
0.68546
[ "MIT" ]
robertzml/Poseidon
Poseidon.Core/IDAL/IMenuRepository.cs
355
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
38.533333
119
0.774221
[ "Apache-2.0" ]
Distrotech/mono
external/Lucene.Net/src/core/Index/InvertedDocConsumerPerThread.cs
1,156
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...
37.669421
894
0.638219
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Compute/V20171201/GetAvailabilitySet.cs
4,558
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.006494
159
0.55735
[ "MIT" ]
skor98/DtWPF
speechKit/NAudio-master/NAudioDemo/Images.Designer.cs
6,009
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general de un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos valores de atributo para modificar la información // asociada a un ensamblado. [assembly: AssemblyT...
41.648649
112
0.758598
[ "Apache-2.0" ]
josema471/ProgramacionIIIQCJM
practicas del primer parcial/unidad/metodos de ordenamiento/metodos de ordenamiento/Properties/AssemblyInfo.cs
1,559
C#
using OdeToFood.Models; using System.Collections.Generic; namespace OdeToFood.ViewModels { public class HomeIndexViewModel { public IEnumerable<Restaurant> Restaurant { get; set; } public string CurrentMessage { get; set; } } }
23.272727
63
0.707031
[ "MIT" ]
gilmoreg/learn
csharp/OdeToFood/ViewModels/HomeIndexViewModel.cs
256
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RemGame { class DecisionResult : Decision { public bool Result { get; set; } public String Action { get; set; } public override string Evaluate(E...
19.5
50
0.592308
[ "MIT" ]
Benova11/REM
RemGame/Utils/DecisionResult.cs
392
C#
using Furion.DependencyInjection; using Microsoft.Extensions.Caching.Memory; using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Text; using Yitter.IdGenerator; namespace Xuey.NET.Framework { /// <summary> /// 常规验证码 /// </summary> public class GeneralCaptcha...
34.511278
229
0.486057
[ "MIT" ]
xueynet/XYP
src/backend/Xuey.NET.Framework/Captcha/General/GeneralCaptcha.cs
4,866
C#
using System; using Microsoft.Rest; using Microsoft.ServiceFabric.Services.Client; using Microsoft.ServiceFabric.Services.Communication.Client; namespace ServiceFabric.AutoRest.Communication.Client { public class RestServicePartitionClient<TClient> : ServicePartitionClient<RestCommunicationClient<TClient>>, IRest...
47.36
149
0.744088
[ "MIT" ]
mikanyg/ServiceFabric.AutoRest
Src/ServiceFabric.AutoRest.Communication/RestServicePartitionClient.cs
1,186
C#
using System; using System.Collections.Generic; using System.Numerics; using System.Reactive; using System.Reactive.Subjects; using System.Reflection; using Veldrid.SceneGraph.VertexTypes; namespace Veldrid.SceneGraph.Util.Shape { internal class PathGeometryBuilder<T> : GeometryBuilderBase<T> where T : struct, ISe...
33.584337
113
0.472646
[ "Apache-2.0" ]
seanspicer/nexscenegraph
src/Veldrid.SceneGraph/Util/Shape/PathGeometryBuilder.cs
5,575
C#
using System; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using HTTPnet.Core.Communication; using HTTPnet.Core.Http; namespace HTTPnet.Implementations { public class ServerSocketWrapper : IServerSocketWrapper { private readonly HttpServerOptions _options; private ...
26.726027
132
0.577652
[ "MIT" ]
chkr1011/HTTPnet
Frameworks/HTTPnet.UniversalWindows/Implementations/ServerSocketWrapper.cs
1,953
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MVCDemo.IBLL { /// <summary> /// 接口基类 /// </summary> /// <typeparam name="T">类型</typeparam> public interface InterfaceBaseService<T> where T :class { /// <summa...
26.836735
83
0.506464
[ "MIT" ]
kuaidaoyanglang/MvcDemo
MVCDemo.IBLL/InterfaceBaseService.cs
1,449
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210 { using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="PushInstallerDetails" /> /// </summary> public part...
51.661972
245
0.584378
[ "MIT" ]
AverageDesigner/azure-powershell
src/Migrate/generated/api/Models/Api20210210/PushInstallerDetails.TypeConverter.cs
7,195
C#
// // AssemblyInfo.cs // // Author: // Matt Ward <matt.ward@microsoft.com> // // Copyright (c) 2017 Microsoft // // 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,...
42.057692
82
0.747142
[ "MIT" ]
mrward/monodevelop-language-server-addin
src/LanguageServerLibrary/Properties/AssemblyInfo.cs
2,189
C#
using FSNEP.BLL.Impl; using FSNEP.Core.Abstractions; using FSNEP.Core.Domain; namespace FSNEP.BLL.Interfaces { public interface IReportBLL { ReportResult GenerateIndividualTimeRecordReport(TimeRecord timeRecord, ReportType reportType); ReportResult GenerateCostShare(Project project, in...
30.083333
103
0.750693
[ "MIT" ]
ucdavis/FSNEP
FSNEP.BLL/Interfaces/IReportBLL.cs
361
C#
using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Xml.Linq; using Microsoft.VisualBasic; using Microsoft.VisualBasic.CompilerServices; // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to...
44.417355
156
0.472881
[ "MIT" ]
BingCheng21/CodeConverter
Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertWholeSolution/VbNetStandardLib/My Project/MyNamespace.Static.3.Designer.cs
10,508
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode] public class EnviroCloudsAnimateWithTime : MonoBehaviour { void Update () { if(EnviroSky.instance == null) return; float timeToAnimation = EnviroSky.instance.Remap(EnviroSky.instance.GetTimeOfDay(),0f,24f,...
41.095238
214
0.8146
[ "Unlicense" ]
adityawahyu04/Tugas-Pertemuan-1-Lab-Pemgame
Assets/Enviro - Sky and Weather/Enviro Standard/Scripts/Utilities/EnviroCloudsAnimateWithTime.cs
865
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\mmsyscom.h(110,5) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential, Pack = 1)] public partial struct mmtime_tag__union_0 { [MarshalAs(UnmanagedType.ByValArray, Size...
79.952381
251
0.693865
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/mmtime_tag__union_0.cs
1,681
C#
using System.Threading.Tasks; using TwoContexts.Configuration.Dto; namespace TwoContexts.Configuration { public interface IConfigurationAppService { Task ChangeUiTheme(ChangeUiThemeInput input); } }
20.090909
53
0.764706
[ "MIT" ]
BertusVanZyl/MultipleContext
src/TwoContexts.Application/Configuration/IConfigurationAppService.cs
223
C#
using Abp.Authorization; using Abp.Configuration.Startup; using Abp.Localization; using Abp.MultiTenancy; namespace Afonsoft.SetBox.Authorization { /// <summary> /// Application's authorization provider. /// Defines permissions for the application. /// See <see cref="AppPermissions"/> for all permissi...
71.696078
223
0.778203
[ "Apache-2.0" ]
afonsoft/SetBox-VideoPlayer
SetBoxWebUI_New/src/Afonsoft.SetBox.Core/Authorization/AppAuthorizationProvider.cs
7,315
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Osu.Objects.Draw...
33.173077
111
0.642319
[ "MIT" ]
LeviCline/osu
osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSliderHead.cs
1,676
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.942623
114
0.605746
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/DeleteServiceRequest.cs
4,629
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.Diagnostics; using System.IO; using System.Reflection; using System.Threading.Tasks; using Microsoft.SqlTools.ServiceLayer.Test.Common; using Microso...
49.203252
215
0.619878
[ "MIT" ]
KevinRansom/sqltoolsservice
test/Microsoft.SqlTools.ServiceLayer.UnitTests/ServiceHost/LoggerTests.cs
24,208
C#
// // Copyright © Martin Tamme // // 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...
29.665563
147
0.590244
[ "Apache-2.0" ]
mtamme/NProxy
Source/Main/NProxy.Core/Internal/Reflection/Emit/MethodInfoBase.cs
8,960
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 ...
41.966767
148
0.574185
[ "MIT" ]
ruben-ayrapetyan/coreclr
tests/src/JIT/HardwareIntrinsics/X86/Sse2/Min.Double.cs
13,891
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
38.616279
128
0.676503
[ "MIT" ]
evkapsal/SCSM-2016-IT-Asset-Management
ITAssetMgmtForms/ITAssetMgmtForms/AzureResourceGroupForm.xaml.cs
9,965
C#