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
using System; namespace TournamentManagement.Application.Decorators { [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)] public sealed class PassthroughAttribute : Attribute { public PassthroughAttribute() { } } }
19.769231
82
0.774319
[ "MIT" ]
dazpaz/Tennis
src/TournamentManagement/TournamentManagement.Application/Decorators/PassthroughAttribute.cs
259
C#
using System.Threading.Tasks; using Elastic.Xunit.XunitPlumbing; using Nest; using Tests.Framework; using static Tests.Framework.UrlTester; namespace Tests.Indices.AliasManagement.PutAlias { public class PutAliasUrlTests { [U] public async Task Urls() { var hardcoded = "hardcoded"; var index = "index"; ...
26.416667
79
0.706625
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Tests/Tests/Indices/AliasManagement/PutAlias/PutAliasUrlTests.cs
636
C#
// // Copyright (c) Microsoft and contributors. 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 // // Unle...
32.4
86
0.641975
[ "MIT" ]
DalavanCloud/azure-powershell
src/ResourceManager/Common/Commands.ResourceManager.Common/Generated/Models/ProviderOperationsMetadataGetResult.cs
1,571
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/Mobsync.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows;...
60.464286
145
0.70821
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/Mobsync/S.cs
1,695
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using FluentAssertions; using Microsoft.DotNet.VersionTools.BuildManifest; using System.Collections.Generic; using System.IO; using Xunit; namespace Microsoft.DotNet.VersionTools.Te...
50.842697
179
0.623425
[ "MIT" ]
AraHaan/arcade
src/Microsoft.DotNet.VersionTools/tests/BuildManifest/VersionIdentiferTests.cs
4,525
C#
namespace DailyCat.ViewModel { using DailyCat.Common; using DailyCat.Common.Interfaces; using DailyCat.Common.Model; public class SessionState : ISessionState { public SessionState() { this.LikedCats = new ObservableRangeCollection<Cat>(); } public Obse...
22.451613
77
0.594828
[ "MIT" ]
markolazic88/DailyCat
src/DailyCat.ViewModel/SessionState.cs
698
C#
namespace Data.Core.Migrations { using System; using System.Data.Entity.Migrations; public partial class Initial : DbMigration { public override void Up() { CreateTable( "dbo.Marca", c => new { M...
41.484375
118
0.456874
[ "MIT" ]
eiq21/BelExam
BelExam/Data.Core/Migrations/201812062017191_Initial.cs
2,655
C#
using System; namespace Miki.Framework.Arguments.Parsers { public class EnumArgumentParser : IArgumentParser { /// <inheritdoc /> public Type OutputType => typeof(Enum); /// <inheritdoc /> public int Priority => 1; /// <inheritdoc /> public bool CanParse(IArgu...
24.115385
71
0.572568
[ "MIT" ]
Mikibot/Miki.Framework
src/Miki.Framework.Arguments/Parsers/EnumArgumentParser.cs
629
C#
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace XamForms.Enhanced.Droid { [Activity(Label = "XamForms.Enhanced.Droid", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = ...
28.862069
198
0.695341
[ "MIT" ]
lubiepomaranczki/EnhancedControls
Droid/MainActivity.cs
839
C#
namespace BellaCode.Mvvm.Converters { using System; using System.Windows; using System.Windows.Data; /// <summary> /// Converts an object reference to a Visibility based on if the object is null or not null. /// </summary> [ValueConversion(typeof(object), typeof(Visibility))] public cl...
32.685714
131
0.666084
[ "MIT" ]
GeoffCox/MVVM
BellaCode.Mvvm/Converters/ObjectRefToVisibilityConverter.cs
1,146
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...
51.022727
224
0.755011
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementRegexPatternSetReferenceStatementArgs.cs
2,245
C#
using System; using System.Text; using System.Web; using System.Web.Http.Description; namespace NZTService.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" instead of "G...
38.461538
144
0.572
[ "Apache-2.0" ]
Tyesb/NZTSERVICE
NZTService/Areas/HelpPage/ApiDescriptionExtensions.cs
1,500
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace UiPath.Web.Client20191.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Ge...
29.018868
147
0.608583
[ "MIT" ]
AFWberlin/orchestrator-powershell
UiPath.Web.Client/generated20191/Models/ODataResponseListHostLicenseDto.cs
1,538
C#
namespace MicroservicePoc.Service.Candidate.Api.Models { public class CandidateItem { public int Id { get; set; } public string Name { get; set; } } }
22.25
54
0.629213
[ "MIT" ]
Arnab-Developer/MicroservicePoc
src/Services/Candidate/Candidate.Api/Models/CandidateItem.cs
178
C#
using System; using Xunit; using System.Collections.Generic; using Papabytes.Cronofy.NetCore; namespace Papabytes.Cronofy.NetCore.Test.CronofyOAuthClientTests { public sealed class GetAuthorizationUrl { private const string clientId = "abcdef123456"; private const string clientSecret = "s3...
37.726471
134
0.555079
[ "MIT" ]
Toky0/cronofy-csharp
test/Papabytes.Cronofy.NetCore.Test/CronofyOAuthClientTests/GetAuthorizationUrl.cs
12,827
C#
#region copyright // ----------------------------------------------------------------------- // <copyright file="ImmutableCollectionsTests.cs" company="Akka.NET Team"> // Copyright (C) 2015-2016 AsynkronIT <https://github.com/AsynkronIT> // Copyright (C) 2016-2016 Akka.NET Team <https://github.com/akkadotne...
32.305389
226
0.43494
[ "Apache-2.0" ]
Aaronontheweb/Hyperion
src/Hyperion.Tests/ImmutableCollectionsTests.cs
10,792
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Collections.ObjectModel; using BookViewerApp.Helper; using kurema.FileExplorerControl.Models.FileItems; using kurema.FileExplorerControl.Models; #nullable enable namespac...
47.216582
275
0.557929
[ "MIT" ]
esibruti/BookViewerApp3
BookViewerApp/Storages/LibraryStorage.cs
28,569
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------------------...
27.881579
247
0.537046
[ "MIT" ]
HFX-93/luban_examples
Projects/Csharp_Unity_Editor_json/Assets/Gen/error/CodeInfo.cs
2,119
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.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Routing.Matching; namespace Microsoft.AspNetCore....
30.8125
141
0.6714
[ "MIT" ]
48355746/AspNetCore
src/Http/Routing/test/UnitTests/TestObjects/TestMatcher.cs
986
C#
// Copyright (c) 2021 homuler // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. using System; namespace Mediapipe { public class ClassificationListPacket : Packet<ClassificationList> { /// <summary> /// ...
27.238095
100
0.708042
[ "Apache-2.0" ]
SeedV/SeedAvatarStudio
Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Packet/ClassificationListPacket.cs
1,144
C#
using Microsoft.Xna.Framework; using _4DMonoEngine.Core.Blocks; using _4DMonoEngine.Core.Generators.Regions; using _4DMonoEngine.Core.Generators.Structures; using _4DMonoEngine.Core.Processors; using _4DMonoEngine.Core.Utils; using _4DMonoEngine.Core.Utils.Noise; using _4DMonoEngine.Core.Utils.Random; namespace _4DMo...
44.473054
155
0.583008
[ "MIT" ]
HaKDMoDz/4DBlockEngine
Monogame/4DMonoEngine/Core/Generators/TerrainGenerator.cs
7,429
C#
using System; using Org.BouncyCastle.Asn1; namespace Org.BouncyCastle.Asn1.Cms { public class RecipientIdentifier : Asn1Encodable, IAsn1Choice { private Asn1Encodable id; public RecipientIdentifier( IssuerAndSerialNumber id) { this.id = id; } publi...
24.933333
85
0.558378
[ "BSD-3-Clause" ]
ConnectionMaster/OutlookPrivacyPlugin
3rdParty/bccrypto-net-05282015/crypto/src/asn1/cms/RecipientIdentifier.cs
2,244
C#
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ namespace ProcessManager.Classes { using Newtonsoft.Json; using System; internal class APITask { public string TaskId { get; set; } public string Timestamp { get; set; }...
27.1
64
0.542435
[ "MIT" ]
Annie-Enchakattu/AIforEarth-API-Platform
ProcessManager/Classes/APITask.cs
815
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.Net.Http; namespace Microsoft.AspNetCore.Components.WebAssembly.Authentication { /// <summary> /// A <see cref="DelegatingHandler"...
45.75
126
0.69477
[ "Apache-2.0" ]
belav/aspnetcore
src/Components/WebAssembly/WebAssembly.Authentication/src/Services/BaseAddressAuthorizationMessageHandler.cs
1,281
C#
using MySql.Data.MySqlClient; 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; namespace RestaurantProject { public partial class Form3 ...
37.89172
157
0.551942
[ "Apache-2.0" ]
pablokintopp/Restaurant
RestaurantProject/RestaurantProject/Form3.cs
11,900
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 ...
14.112281
63
0.533565
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-sddp/Sddp/Model/V20190103/DescribeOssObjectsResponse.cs
4,022
C#
using Booma.Payloads.Instance; using Booma.Server.Network.Unity.Common; using SceneJect.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using GladNet.Message; using Common.Logging; using Booma.Instance.Common; using Booma.Instance.NetworkObject; namespace Booma.Instance.S...
36.382979
210
0.79883
[ "MIT" ]
BoomaNation/Booma.Instance
src/Booma.Instance.Server.Handlers/Handlers/EntityInteractionRequestPayloadHandler.cs
1,712
C#
namespace NPOI.SS.Formula.Eval { /// @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; public class LessEqualEval : RelationalOperationEval { public override bool ConvertComparisonResult(int cmpResult) { return cmpResult <= 0; } } }
21.416667
65
0.719844
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.SS.Formula.Eval/LessEqualEval.cs
257
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.DotNet.UpgradeAssistant.Steps.Solution; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.DotNet.UpgradeAssistant { public static class Soluti...
34.95
77
0.732475
[ "MIT" ]
agriffard/upgrade-assistant
src/steps/Microsoft.DotNet.UpgradeAssistant.Steps.Solution/SolutionStepsExtensions.cs
701
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Descri...
33.659091
110
0.611749
[ "MIT" ]
AlkisFortuneFish/service-fabric
src/prod/src/managed/Api/src/System/Fabric/Description/DeployedApplicationQueryDescription.cs
1,481
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AltV.Net.CodeGen { public static class WriteLibrary { private const string Quote = "\""; private static readonly IDictionary<string, string> CToCSharpTypes = new Dictionary<string, string> ...
41.530233
295
0.492104
[ "MIT" ]
FabianTerhorst/coreclr-module
api/AltV.Net.CodeGen/WriteLibrary.cs
8,931
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Composition; using System.Diagnostics; using System.Linq; using System.Text; using System.Threadi...
37.837963
246
0.563889
[ "Apache-2.0" ]
Duikmeester/Roslyn
src/Workspaces/CSharp/Portable/LanguageServices/CSharpSyntaxFactsService.cs
49,038
C#
using System; using System.Collections.Generic; using System.Reflection.Emit; using BattleTech; using Harmony; using UnityEngine; namespace MechEngineer.Features.OverrideTonnage.Patches { [HarmonyPatch(typeof(MechValidationRules), nameof(MechValidationRules.ValidateMechTonnage))] public static class MechValid...
38.166667
122
0.605531
[ "Unlicense" ]
17783/MechEngineer
source/Features/OverrideTonnage/Patches/MechValidationRules_ValidateMechTonnage_Patch.cs
1,376
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a gener...
39.016949
184
0.577324
[ "MIT" ]
Fantasmy/FileServer
FileServer.Presentation.WinSite/Resource.Designer.cs
4,618
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using ServiceStack.Logging; using ServiceStack.Redis; using ServiceStack.Text; namespace ServiceStack { public class RedisServerEvents : IServerEvents { private static ILog Log = ...
36.440536
139
0.50131
[ "Apache-2.0" ]
sbosell/ServiceStack
src/ServiceStack.Server/RedisServerEvents.cs
21,161
C#
/* * Square Connect API * * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: developers@squareup.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.Regular...
34.964029
121
0.572634
[ "Apache-2.0" ]
square/connect-csharp-sdk
src/Square.Connect/Model/RetrieveLocationResponse.cs
4,860
C#
using SharpenedMinecraft.Types.Items; using System; using System.Collections.Generic; using System.Text; namespace SharpenedMinecraft.Types.Blocks { public class Light_blue_concreteBlock : Block { public override string BlockId => "minecraft:light_blue_concrete"; public override BlockState[] P...
24.206897
74
0.609687
[ "MIT" ]
SharpenedMinecraft/SM1
Main/Types/Blocks/Light_blue_concreteBlock.cs
702
C#
namespace System.Windows.Forms.Input { /// <summary> /// Extension methods for commanding. /// </summary> public static partial class CommandingExtensions { } }
22.75
54
0.653846
[ "MIT" ]
hozuki/WinFormsCommanding
src/WinFormsCommanding/CommandingExtensions.cs
184
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// <summary> /// UserInfoAndBenefitQueryResult Data Structure. /// </summary> [Serializable] public class UserInfoAndBenefitQueryResult : AopObject { /// <summary> ...
25.212121
69
0.554087
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/UserInfoAndBenefitQueryResult.cs
896
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
70.074713
576
0.694989
[ "MIT" ]
AlanFlorance/azure-powershell
src/Functions/generated/api/Models/Api20181130/CloudError.PowerShell.cs
12,020
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace IdentityDemo.Models.ManageViewModels { public class SetPasswordViewModel { [Required] [StringLength(100, ErrorMessage = "The {0} mu...
33.6
126
0.658333
[ "Apache-2.0" ]
hangyejiadao/AspNetCore
IdentityDemo/IdentityDemo/Models/ManageViewModels/SetPasswordViewModel.cs
842
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.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using Syste...
38.083333
121
0.605551
[ "Apache-2.0" ]
ardalis/Mvc
test/Microsoft.AspNet.Mvc.FunctionalTests/WebApiCompatShimParameterBindingTest.cs
8,685
C#
using UnityEditor; using UnityEngine; [CustomEditor(typeof (JSTimer))] public class JSTimerInspector : Editor { JSTimer _mJsTimer; private bool _coolDownToggle = true; private bool _timerToggle = true; public override void OnInspectorGUI() { _mJsTimer = target as JSTimer; if (_mJs...
32.52381
122
0.496047
[ "MIT" ]
NICKS-CHN/-unity-Timer-Countdown
JSTimer/Assets/Editor/JSTimerInspector.cs
3,473
C#
using NUnit.Framework; using System; using System.Net.Http.Headers; using System.Threading.Tasks; namespace Finbourne.Notifications.Sdk.Extensions.Tests { //Test requires [assembly: InternalsVisibleTo("Finbourne.Notifications.Sdk.Extensions.Tests")] in ClientCredentialsFlowTokenProvider [TestFixture] publ...
44.31746
136
0.69735
[ "MIT" ]
finbourne/notifications-sdk-extensions-csharp
sdk/Finbourne.Notifications.Sdk.Extensions.IntegrationTests/ClientCredentialsFlowTokenProviderTest.cs
2,794
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Graphics; namespace ScreenManagement { public class MainMenuScreen: GameScreen { enum MenuStates { NewGame, LoadGame, ...
45.525641
135
0.579837
[ "MIT" ]
Erbelding/Redemption
PROJECT/ScreenManagement/ScreenManagement/ScreenManagement/Screens/MainMenuScreen.cs
7,104
C#
// <auto-generated /> using System; using Employees.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Employ...
33.22
125
0.606261
[ "MIT" ]
mariyast1/Entity-Framework
07. Auto Mapping Objects/Employees.Data/Migrations/20180720162541_Initial.Designer.cs
1,663
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Accessibility { /// <summary> /// /// </summary> public class AXProperty { /// <summary> /// Gets or sets The name of this property. /// </summary> public string Name { g...
20.590909
58
0.668874
[ "MIT" ]
brewdente/AutoWebPerf
MasterDevs.ChromeDevTools/Protocol/Accessibility/AXProperty.cs
453
C#
// ========================================================================== // TypeNameSerializationBinder.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ===========================================...
31.270833
106
0.534977
[ "MIT" ]
maooson/squidex
src/Squidex.Infrastructure/Json/TypeNameSerializationBinder.cs
1,503
C#
using DCSoft.Common; using DCSoft.Writer; using DCSoft.Writer.Controls; using DCSoft.Writer.Dom; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Threading; using System.Windows.Forms; namespace DCSoftDotfuscate { [ComVisible(false)] [DCInternal] public class GClass...
17.192737
117
0.620796
[ "MIT" ]
h1213159982/HDF
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass124.cs
6,155
C#
using System; using System.Collections.ObjectModel; using System.Windows.Input; using JetBrains.Annotations; using ReactiveUI; namespace TreeViewSample.ViewModels { public class NavigationViewModel : ViewModelBase { [CanBeNull] private HierarchyNodeViewModel selected_subhierarchy_ = null; publ...
32
143
0.573611
[ "MIT" ]
kogi18/AvaloniaIssueSamples
TreeViewSample/ViewModels/NavigationViewModel.cs
1,440
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using DotVVM.Framework.Diagnostics.Models; using DotVVM.Framework.Hosting; using DotVVM.Framework.Runtime.Tracing; namespace DotVVM.Framework.Diagnostics { public class...
32.655556
117
0.607349
[ "Apache-2.0" ]
AMBULATUR/dotvvm
src/DotVVM.Framework/Diagnostics/DiagnosticsStartupTracer.cs
2,939
C#
 namespace WinFormsApp1 { partial class SecondControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
46.495652
149
0.605386
[ "MIT" ]
DE-Nandan/EducationMania_App_Web_Develop
Resources/WinFormsApp1/WinFormsApp1/SecondControl.Designer.cs
5,349
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> //--...
40.903571
218
0.58238
[ "MIT" ]
lithnet/ad-passwordchange-web
Lithnet.ActiveDirectory.Passwordchange.Web/App_LocalResources/UIMessages.Designer.cs
11,455
C#
using UnityEngine; using System.Collections; using LuaInterface; using System; using System.Reflection; using System.Text; public class TestString : LuaClient { string script = @" function Test() local str = System.String.New('男儿当自强') local index = str:IndexOfAny('儿自') print...
23.513889
93
0.595983
[ "MIT" ]
King098/LuaFramework-ToLua-FairyGUI
Assets/LuaFramework/ToLua/Examples/21_String/TestString.cs
1,729
C#
// Copyright (c) Geekbuying Corporation // 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 // // THIS CODE IS PROVIDED ...
39.496503
119
0.673159
[ "Apache-2.0" ]
geekbuying/HBaseClient
test/Geekbuying.HBaseClient.Tests/ClusterCredentialsTests.cs
5,650
C#
namespace Umbraco.Web.HealthCheck.Checks.Security { [HealthCheck( "1CF27DB3-EFC0-41D7-A1BB-EA912064E071", "Content/MIME Sniffing Protection", Description = "Checks that your site contains a header used to protect against MIME sniffing vulnerabilities.", Group = "Security")] publ...
35
119
0.671429
[ "MIT" ]
AzzA-D/Umbraco-CMS
src/Umbraco.Web/HealthCheck/Checks/Security/NoSniffCheck.cs
562
C#
using Hassie.NET.API.NewsAPI.Exceptions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; namespace Hassie.NET.API.NewsAPI.Models { internal class NewsSources : List<INewsSource>, INewsSources { public NewsSources(JObject json) ...
33.780488
117
0.531408
[ "Apache-2.0" ]
hassie-dash/NewsAPI.NET
Hassie.API.NewsAPI/Models/NewsSources.cs
1,387
C#
namespace King.Mapper.Tests.Data { using King.Mapper.Data; using NUnit.Framework; using NSubstitute; using System; using System.Data.SqlClient; [TestFixture] public class ExecutorTests { [Test] public void Constructor() { var connection = new SqlConn...
31.292135
118
0.564452
[ "MIT" ]
jefking/King.Mapper
King.Mapper.Tests/Unit/Data/ExecutorTests.cs
2,787
C#
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.OfficeApi.Enums { /// <summary> /// SupportByVersion Office 9, 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: <see href="https://docs.microsoft.com/en-us/office/vba/api/Office.MsoSegmentType"/> </remar...
29.857143
136
0.651914
[ "MIT" ]
NetOfficeFw/NetOffice
Source/Office/Enums/MsoSegmentType.cs
838
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
40.596899
155
0.562918
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.EC2/Model/Internal/MarshallTransformations/ImageAttributeUnmarshaller.cs
5,237
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Comp...
65.915276
258
0.657241
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/SnapshotsRestOperations.cs
51,348
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Resources; using System.Text; using System.Threading.Tasks; using WpfUtilV2.Mvvm.Services; namespace WpfUtilV2.Mvvm.Service { public static class ServiceFactory { /// <summary> /// メッセーシ...
22.961538
97
0.663317
[ "MIT" ]
twinbird827/WpfUtilV2
Mvvm/Services/ServiceFactory.cs
647
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")...
40.97619
111
0.759442
[ "Apache-2.0" ]
sdk-team/aliyun-openapi-net-sdk
aliyun-net-sdk-imm/Imm/Transform/V20170906/UpdateDocIndexMetaResponseUnmarshaller.cs
1,721
C#
using FakeXrmEasy; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Xrm.Sdk; using System; using System.Reflection; using Abc.LuckyStar.Shared; using Abc.LuckyStar.ProxyTypes; namespace Abc.LuckyStar.PluginAccount.Test { [TestClass] public class PreValidationAccountDeleteSynchronousTest ...
37.433071
136
0.606016
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.10.31/Abc.LuckyStar/Abc.LuckyStar.Plugin.Account.Test/PreValidationAccountDeleteSynchronousTest.cs
4,756
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Data; namespace HallLibrary.Extensions { /// <summary> /// Contains static methods for working with enumerables. /// </summary> public static class EnumerableExtensions { #region Shuffle /// <...
46.503226
246
0.696448
[ "Apache-2.0" ]
keith-hall/Extensions
src/EnumerableExtensions.cs
14,416
C#
using System.Collections.Generic; using JqGridMvcHtmlHelper.Enums; namespace JqGridMvcHtmlHelper.Models { public partial class Grid { public Grid WithUrl(string url) { Url = url; return this; } public Grid WithDataType(DataType dataType) { ...
22.551181
94
0.489525
[ "Apache-2.0" ]
SaiedBasha/jqGridMVCHtmlHelper
src/JqGridMvcHtmlHelper/Models/GridFluent.cs
2,866
C#
using UnityEngine; using UnityEngine.UI; namespace PixelsoftGames.PixelUI { [RequireComponent(typeof(Image))] public class SwatchButton : MonoBehaviour { #region Fields & Properties [SerializeField] [Tooltip("The image and text colors to use if clicked.")] Color imageColor...
24.072727
105
0.571752
[ "MIT" ]
noirhero/ActionFramework
Assets/ExternalPlugins/Pixel UI/Demo/Scripts/SwatchButton.cs
1,326
C#
using Microsoft.EntityFrameworkCore.Design; using ProjectTracker.ClassLibrary.ServiceInterfaces; using ProjectTracker.Model; using ProjectTracker.Model.Models; using System; using System.Collections.Generic; using System.Text; namespace ProjectTracker.ClassLibrary.Services { public class ProjectDataService : Gene...
29.611111
125
0.79925
[ "MIT" ]
TarunBola/ProjectTracker
ProjectTracker.ClassLibrary/Services/ProjectDataService.cs
535
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace CommandCenter.Mail { using System.Collections.Generic; /// <summary> /// Email related options. /// </summary> public class M...
28.481481
101
0.586476
[ "MIT" ]
c3-haines/Commercial-Marketplace-SaaS-Manual-On-Boarding
src/CommandCenter/Mail/MailOptions.cs
771
C#
// // System.Web.UI.WebControls.IDataBoundListControl // // Authors: // Marek Habersack <mhabersack@novell.com> // // Copyright (C) 2009 Novell, Inc (http://novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Sof...
37.222222
73
0.755821
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web/System.Web.UI.WebControls/IDataBoundListControl.cs
1,675
C#
namespace Frapid.Messaging { public enum Type { Inward = 1, Outward = 2 } }
13
27
0.509615
[ "MIT" ]
2ia/frapid
src/Frapid.Web/Modules/Frapid.Messaging/Type.cs
106
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.536585
153
0.586076
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/ReportRootGetEmailAppUsageUserDetailRequest.cs
4,740
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace KaizerWaldCode { public class AgentBehaviour : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame ...
16.863636
56
0.568733
[ "MIT" ]
Cat-du-Fromage/NavMeshAI_Experiment
Assets/_Scripts/PROTOTYPE/Steering/AgentBehaviour.cs
371
C#
using System; using Newtonsoft.Json.Linq; namespace DotJEM.Json.Index.Test.Util { public class TestDocumentBuilder { private readonly JObject json = new JObject(); private string contentType; private Guid id; public Guid Id { get { return id; } ...
21.37931
63
0.476613
[ "MIT" ]
dotJEM/json-index
DotJEM.Json.Index.Test/Util/TestDocumentBuilder.cs
1,242
C#
using AMW.Data.Models.Amw; using AMW.Data.Models.Candidates; namespace AMW.Data.Models.Jobs { public class CandidateSorter : AmwSorter<Candidate> { } }
16.6
55
0.716867
[ "MIT" ]
Saria-houloubi/svu-master-projects
Second Semester/AMW/AMW.Data/Models/Candidates/CandidateSorter.cs
168
C#
using Microsoft.Extensions.Configuration; using Rodasnet.Infrastructure.Messaging; namespace ConsoleAppUserTest { public class ImplSessionFactory : AmqpSessionFactory { private readonly IConfiguration _configuration; public ImplSessionFactory(IConfiguration configuration) { ...
26.434783
70
0.672697
[ "MIT" ]
rodasnet/rodasnet-infrastructure
ConsoleAppUserTest/ImplSessionFactory.cs
610
C#
namespace Assignment4.Core { public enum State { New, Active, Resolved, Closed, Removed } }
14
46
0.616071
[ "MIT" ]
Soplight/Csharp-assignments
Assignment 04/Assignment4.Core/State.cs
112
C#
using Api.Base.Web.Exceptions; using Api.Data.EfCore.Database; using Api.Data.EfCore.Repository; using Api.RepositoryTests.InputParameters; using System; using System.Linq; using System.Threading.Tasks; using Xunit; namespace Api.RepositoryTests { public class EmployeeRepoTests : BaseTest { private Em...
28.52551
123
0.575747
[ "MIT" ]
lostinmyworld/microservices
tests/Api.RepositoryTests/EmployeeRepoTests.cs
5,604
C#
// <copyright file="Update.cs" company="Mozilla"> // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, you can obtain one at http://mozilla.org/MPL/2.0/. // Copyright(C) 2019 Edge Security LLC. All Rights Reserved. // </copyrig...
42.317518
199
0.54489
[ "MPL-2.0" ]
tonymurphy-rgb/guardian-vpn-windows
ui/src/Update/Update.cs
11,597
C#
namespace Kigg.DomainObjects { using System; using System.Diagnostics; using Infrastructure; public static class StoryExtension { [DebuggerStepThrough] public static bool IsNew(this IStory story) { return !story.LastProcessedAt.HasValue; } ...
28.191176
99
0.581638
[ "BSD-3-Clause-Clear" ]
1103003188/Kigg
Source/Core/DomainObjects/Extension/StoryExtension.cs
1,919
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using ScriptHelper = Toe.Scripting.Helpers.ScriptHelper<Urho3DMaterialEditor.Model.TranslatedMaterialGraph.NodeInfo>; using NodeHelper = Toe.Scripting.Helpers.NodeHelper<Urho3DMaterialEditor.Model.TranslatedMaterialGraph.Nod...
37.863636
117
0.517557
[ "MIT" ]
Zamir7/Urho3DMaterialGraphEditor
src/Urho3DMaterialEditor/Model/TranslationPasses/InsertDefaultValues.cs
6,666
C#
using Autofac; using Baasic.Client.Common.Infrastructure.DependencyInjection; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Baasic.Client.AutoFac { /// <summary> /// Baasic client dependency resolver. /...
33.113636
124
0.567605
[ "MIT" ]
Baasic/baasic-sdk-net
src/Baasic.Client.AutoFac/AutoFacDependencyResolver.cs
5,830
C#
using System.Collections.Generic; using CosmosStack.Sniffers.FileTypeSniffers.Registering; namespace CosmosStack.Sniffers.FileTypeSniffers.Core { /// <summary> /// Sniffer Descriptor Provider Interface <br /> /// 文件类型嗅探器描述符提供者程序接口 /// </summary> public interface ISniffingDescriptorProvider { ...
25.8
58
0.639535
[ "Apache-2.0" ]
cosmos-open/FileExtensionInfer
src/CosmosStack.Extensions.FileTypeSniffer/CosmosStack/Sniffers/FileTypeSniffers/Core/ISniffingDescriptorProvider.cs
562
C#
//////////////////////////////// // // Copyright 2020 Battelle Energy Alliance, LLC // // //////////////////////////////// using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSETWeb_Api.Bus...
22.262097
73
0.569039
[ "MIT" ]
gaobrian/cse
CSETWebApi/CSETWeb_Api/BusinessLogic/AssessmentIO/models/Version_9.0.1/AllGeneralJsonModels.cs
16,563
C#
/* Generated by MyraPad at 27.02.2020 21:09:53 */ using Myra.Graphics2D; using Myra.Graphics2D.TextureAtlases; using Myra.Graphics2D.UI; using Myra.Graphics2D.Brushes; #if !XENKO using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; #else using Xenko.Core.Mathematics; #endif namespace Myra.Samples.No...
22.533333
49
0.69645
[ "MIT" ]
AtomicBlom/Myra
samples/Myra.Samples.NonModalWindows/UI/Window3.Generated.cs
1,690
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.Linq.Expressions; using System.Reflection; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Cosmos.Metadata....
50.553846
135
0.657106
[ "Apache-2.0" ]
leehowarth/EntityFrameworkCore
src/EFCore.Cosmos/Extensions/CosmosEntityTypeBuilderExtensions.cs
13,146
C#
using System; using CPUx86 = Cosmos.Assembler.x86; namespace Cosmos.IL2CPU.X86.IL { [Cosmos.IL2CPU.OpCode( ILOpCode.Code.Stelem_I4 )] public class Stelem_I4 : ILOp { public Stelem_I4( Cosmos.Assembler.Assembler aAsmblr ) : base( aAsmblr ) { } public...
33.6
135
0.546429
[ "BSD-3-Clause" ]
ERamaM/Cosmos
source/Cosmos.IL2CPU/IL/Stelem_I4.cs
1,680
C#
using System.ComponentModel; using System.Diagnostics; using System.Windows.Input; using TopShelfCustomer.Services; using TopShelfCustomer.Views; using Xamarin.Forms; namespace TopShelfCustomer.ViewModels { /// <summary> /// CreateNewAccountViewModel: /// /// ViewModel for the Create New Account page...
38.106383
144
0.551926
[ "MIT" ]
TylerDumas/TopShelf_CS3773-002
TopShelfCustomer/TopShelfCustomer/ViewModels/CreateNewAccountViewModel.cs
3,584
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// NetValueVO Data Structure. /// </summary> [Serializable] public class NetValueVO : AopObject { /// <summary> /// 基金单位净值,含4位小数 /// </summary> [XmlElement("net_...
24.324324
54
0.514444
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/NetValueVO.cs
996
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
42.35
225
0.586068
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/RegionOperationsExtensions.cs
4,235
C#
using System.Collections.Generic; using UnityEngine; [AddComponentMenu("Pooling/Poolable Prefab")] public class PoolablePrefab : MonoBehaviour { [System.Serializable] class InitialGOState { public Transform parentTransform; public Transform transform; public bool active; publi...
30.1
83
0.611628
[ "MIT" ]
MosesofEgypt/MosComponentPile
Assets/Scripts/Pooling/PoolablePrefab.cs
3,012
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using mshtml; using System.Windows.Forms; namespace DEiXTo.Services.Tests { [TestClass] public class TooltipExtractionFactoryTests { private WebBrowser browser = new WebBrowser(); [TestMethod] public void TestReturnsL...
30.415094
87
0.553557
[ "MIT" ]
m-Peter/DEiXTo
DEiXTo/Services.Tests/TooltipExtractionFactoryTests.cs
4,838
C#
/* Copyright 2019 Georg Eckert (MIT License) 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, copy, modify, merge, publis...
36.810811
77
0.740088
[ "MIT" ]
limbusdev/VinkedViewsMR
HoloLens/Assets/Scripts/GraphicalPrimitive/ScatterDot3D.cs
1,364
C#
using MediatR; namespace Esquio.UI.Api.Features.Flags.Rollback { public class RollbackFlagRequest : IRequest { public int FeatureId { get; set; } } }
16.090909
47
0.649718
[ "Apache-2.0" ]
CrahunGit/Esquio
src/Esquio.UI.Api/Features/Flags/Rollback/RollbackFlagRequest.cs
179
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace RCAR.Models.PaymentRecordVM { public class PaymentIndexVM { public IEnumerable<PaymentVM> Payments { get; set; } } }
20.785714
60
0.752577
[ "MIT" ]
radoslawpyrcioch/RCAR
RCAR/Models/PaymentRecordVM/PaymentIndexVM.cs
293
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Axe.Windows.Core.Bases; using Axe.Windows.Core.Results; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; namespac...
36.197368
143
0.507452
[ "MIT" ]
Bhaskers-Blu-Org2/axe-windows
src/UnitTestSharedLibrary/Utility.cs
2,678
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace NTMY.Infrastructure.Migrations { public partial class AddPairs : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Pairs", ...
44.155039
97
0.487711
[ "MIT" ]
SebastianTyr/wsei-projektowanie-profesjonalnej-aplikacji
be/NiceToMeetYou/NTMY.Infrastructure/Migrations/20210705205135_AddPairs.cs
5,698
C#
/* _BEGIN_TEMPLATE_ { "id": "CS2_172", "name": [ "血沼迅猛龙", "Bloodfen Raptor" ], "text": [ null, null ], "CardClass": "NEUTRAL", "type": "MINION", "cost": 2, "rarity": "FREE", "set": "CORE", "collectible": true, "dbfId": 216 } _END_TEMPLATE_ */ namespace HREngine.Bots { clas...
12.7
52
0.543307
[ "MIT" ]
chi-rei-den/Silverfish
cards/CORE/CS2/Sim_CS2_172.cs
391
C#
using UnityEditor; using UnityEngine; namespace mulova.unicore { public static class PlatformEditorEx { public static RuntimePlatform GetPlatform() { switch (EditorUserBuildSettings.activeBuildTarget) { case BuildTarget.StandaloneOSX: ...
31.9375
62
0.568493
[ "MIT" ]
mulova/commons
Editor/engine/PlatformEditorEx.cs
1,024
C#
using System; using System.Configuration; using System.Collections.Generic; using System.IO; using System.Net; using System.Web; using System.Web.Mvc; using Newtonsoft.Json; using OAuthSample.Models; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using System.N...
39.466019
150
0.555843
[ "MIT" ]
AzureMentor/azure-devops-auth-samples
OAuthWebSample/OAuthWebSample/Controllers/OAuthController.cs
8,132
C#