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
namespace JeyDotC.JustCs.Html.Attributes { public enum TargetValues { _Blank, _Self, _Parent, _Top, Framename, } }
15.181818
41
0.532934
[ "MIT" ]
JeyDotC/JustCs
JeyDotC.JustCs/Html/Attributes/TargetValues.cs
169
C#
using Genbox.SimpleS3.Core.Abstracts; using Genbox.SimpleS3.Core.Abstracts.Request; using Genbox.SimpleS3.Core.Common.Constants; using Genbox.SimpleS3.Core.Network.Requests.Objects; namespace Genbox.SimpleS3.Core.Internals.Marshallers.Requests.Objects; internal class GetObjectAclRequestMarshal : IRequestMarshal<GetOb...
35.066667
85
0.802281
[ "MIT" ]
Genbox/SimpleS3Net
src/SimpleS3.Core/Internals/Marshallers/Requests/Objects/GetObjectAclRequestMarshal.cs
526
C#
using System; using System.Collections.Generic; using System.Linq; namespace _4.SortStudents { class SortStudents { static void Main() { List<Student> students = new List<Student>(); string line = Console.ReadLine(); while (!line.Equals("END")) ...
15.803571
102
0.506215
[ "MIT" ]
mkpetrov/CSharpAdvanced
LINQ/Sort Students/SortStudents.cs
887
C#
using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using AttributeRouting.Web.Http; using UserManagement.Core.DataAccess; using UserManagement.Core.Search; namespace UserManagement.WebApi { public class UserController : ApiController { private r...
38.534884
133
0.681352
[ "Apache-2.0" ]
satrapu/user-management
UserManagement.WebApi/UserController.cs
1,659
C#
// DocSection: cm_api_v2_put_rendition // Tip: Find more about .NET SDKs at https://kontent.ai/learn/net using Kentico.Kontent.Management; var client = new ManagementClient(new ManagementOptions { ApiKey = "<YOUR_API_KEY>", ProjectId = "<YOUR_PROJECT_ID>" }); var assetReference = Reference.ById(Guid.Parse("fc...
34.2
97
0.71345
[ "MIT" ]
KenticoDocs/cloud-docs-samples
net/management-api-v2/PutRendition.cs
1,026
C#
using System; using System.Collections.Generic; namespace MahApps.Metro.IconPacks { /// ****************************************** /// This code is auto generated. Do not amend. /// ****************************************** public static class PackIconTypiconsDataFactory { public static ...
498.385246
1,418
0.657775
[ "MIT" ]
GerHobbelt/MahApps.Metro.IconPacks
src/MahApps.Metro.IconPacks/PackIconTypiconsDataFactory.cs
182,411
C#
using OpenProtocolInterpreter.Messages; namespace OpenProtocolInterpreter.Job.Advanced { internal class AdvancedJobMessages : IMessagesTemplate { private readonly IMid _templates; public AdvancedJobMessages() { _templates = new Mid0121(new Mid0122(new Mid0123(new Mid0124(n...
35.04
133
0.679224
[ "MIT" ]
HelloWorldAgainAndAgain/OpenProtocolInterpreter
src/OpenProtocolInterpreter/Job/Advanced/AdvancedJobMessages.cs
878
C#
using System; using System.Collections.Generic; using System.IO; using System.Runtime.CompilerServices; using Microsoft.Diagnostics.Tracing.Parsers; using Microsoft.Diagnostics.Tracing.Parsers.Kernel; using Microsoft.Diagnostics.Tracing.Session; namespace Pri.Diligent { class Program { private static TextWriter O...
32.288288
132
0.758929
[ "MIT" ]
peteraritchie/Diligent
src/Program.cs
3,586
C#
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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 ...
40.414286
155
0.624249
[ "Apache-2.0" ]
Weflac/nodejstools
Nodejs/Product/ProjectWizard/NodejsPackageParametersExtension.cs
2,762
C#
namespace InteriorDesign.Services.Contracts { using System.Threading.Tasks; using Microsoft.AspNetCore.Http; public interface ICloudinaryService { Task<string> UploadProjectFileAsync(IFormFile projectFile, string fileName); Task DeleteImage(string url); } }
21.285714
84
0.724832
[ "MIT" ]
vanya-ant/InteriorDesign
InteriorDesign/Services/InteriorDesign.Services/Contracts/ICloudinaryService.cs
300
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, m...
30.140845
79
0.582243
[ "MIT" ]
ChaplinMarchais/DiscUtils
src/BootConfig/ElementFormat.cs
2,140
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using SimpleIdServer.OAuth.Domains; using SimpleIdServer.OpenID.DTOs; using System.Collections.Generic; using System.Linq; using System.Security.Claims; nam...
46.020408
250
0.653659
[ "Apache-2.0" ]
RichardPilkington/SimpleIdServer
src/OpenID/SimpleIdServer.OpenID/Extensions/OAuthUserExtensions.cs
2,257
C#
using System.Runtime.InteropServices; namespace Gamer.Format.Cry.Core.Components { [StructLayout(LayoutKind.Explicit)] public struct ByteArray { [FieldOffset(0)] public byte byte1; [FieldOffset(1)] public byte byte2; [FieldOffset(2)] public byte byte3; [FieldOffse...
28.882353
46
0.631365
[ "MIT" ]
WildGenie/game-estates
src/Formats/Cry/src/Gamer.Format.Cry/Core/Components/ByteArray.cs
493
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
56.322034
278
0.779416
[ "Apache-2.0" ]
dorki/aws-sdk-net
sdk/src/Services/Polly/Properties/AssemblyInfo.cs
3,323
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Backend_ApiNetCore3_1.Domain.Models; namespace Backend_ApiNetCore3_1.Infra.Data.Mappings { public class PositionMap : IEntityTypeConfiguration<Position> { public void Configure(EntityTypeBuilder<Position> ...
23.032258
66
0.603641
[ "MIT" ]
cristoffersantoro/Backend_ApiNetCore3_1
src/Backend_ApiNetCore3_1.Infra.Data/Mappings/PositionMap.cs
714
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.ContractsLig...
39.226986
191
0.550808
[ "MIT" ]
dmgonch/BuildXL
Public/Src/Cache/ContentStore/Library/Stores/QuotaManagement/QuotaKeeper.cs
31,107
C#
namespace T3DSharpFramework.Generated.Enums.Global { /// public enum VPathObjectOrientationType { FREE = 0, INTERPOLATE = 1, TOPATH = 2, TOOBJECT = 3, TOPOINT = 4 } /// public enum VPathNodeOrientationType { FREE = 0, TOPOINT = 1 ...
23.857937
192
0.524367
[ "MIT" ]
lukaspj/T3DSharp-Sample
t3dsharp/T3DSharpFramework/Generated/Enums/Global.cs
30,061
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace ApiWithBackgroundTask { public class Program { ...
26.074074
71
0.650568
[ "MIT" ]
FrankWendel/webapi-with-background-task
Program.cs
704
C#
using Jellyfin.ApiClient.Model; using Jellyfin.ApiClient.Model.Dto; using Jellyfin.ApiClient.Model.Notifications; using Jellyfin.ApiClient.Model.Querying; using Jellyfin.ApiClient.Net; using Jellyfin.ApiClient.Extensions; using MediaBrowser.Model.Channels; using MediaBrowser.Model.Configuration; using MediaBrowser.Mod...
37.567506
172
0.585531
[ "MIT" ]
villagra/jellyfin-apiclient-dotnet
Src/Jellyfin.ApiClient.Legacy/ApiClient.cs
98,504
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace IdentityServer4.Quickstart.UI { public static class AccountOptions { private static bool showLogoutPrompt = true; ...
42.466667
144
0.744113
[ "MIT" ]
Djangoum/HouseToolBox
HouseToolBox.Sso/Quickstart/Account/AccountOptions.cs
639
C#
/* * Copyright (c) 2012-2021 Snowflake Computing Inc. All rights reserved. */ using System.Data; using System.Data.Common; using System; using System.Threading; using System.Threading.Tasks; namespace Snowflake.Data.Tests { using NUnit.Framework; using Snowflake.Data.Client; using Snowfla...
35.384348
143
0.468642
[ "Apache-2.0" ]
Christian-Oleson/snowflake-connector-net
Snowflake.Data.Tests/SFDbCommandIT.cs
20,348
C#
using System; using System.IO; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace GeocodeSharp.Google { /// <summary> /// Encapsulates methods for executing geocode requests. /// </summary> public class G...
54.801688
389
0.637127
[ "Apache-2.0" ]
bcuff/GeocodeSharp
src/GeocodeSharp/Google/GeocodeClient.cs
12,990
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EmbyStat.Common.Models.Entities; using EmbyStat.Repositories; using EmbyStat.Repositories.Interfaces; using EmbyStat.Services; using FluentAssertions; using Moq; using Xunit; namespace Tests.Unit.Services { [Collection("Mappe...
31.285714
85
0.623858
[ "MIT" ]
trizzone52/EmbyStat
Tests.Unit/Services/LanguageServiceTests.cs
1,754
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...
36.473684
154
0.634921
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/MediaPackage/Generated/Model/Internal/MarshallTransformations/ListOriginEndpointsRequestMarshaller.cs
3,465
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xamarin.Essentials; using Xunit; namespace DeviceTests { // TEST NOTES: // - a human needs to close the browser window public class Launcher_Tests { [Theory] [InlineData("http://www...
34.007463
126
0.589642
[ "MIT" ]
Akinnagbe/XamarinEssentials
DeviceTests/DeviceTests.Shared/Launcher_Tests.cs
4,559
C#
using System; using System.Collections.Generic; using System.Linq; namespace PaulasCadenza.Utilities { public static class Base36 { private const string CharList = "0123456789abcdefghijklmnopqrstuvwxyz"; public static string Encode(long input) { if (input < 0) { throw new ArgumentOutOfRangeExceptio...
19.428571
86
0.647059
[ "MIT" ]
sonicmouse/PaulasCadenza
PaulasCadenza.Utilities/Base36.cs
818
C#
using Destiny.Core.Flow.Entity; using System; using System.ComponentModel; namespace Destiny.Core.Flow.IdentityServer.Entities { /// <summary> /// 持久化授权 /// </summary> [DisplayName("持久化授权")] public abstract class PersistedGrantBase : IEntity<Guid> { public Guid Id { get; set; } ...
22.157143
60
0.468085
[ "MIT" ]
dotNetTreasury/Destiny.Core.Flow
src/Destiny.Core.Flow.IdentityServer.Entities/Grants/PersistedGrantBase.cs
1,661
C#
using SPICA.Math3D; using System; using System.Globalization; using System.Numerics; namespace SPICA.Formats.Generic.COLLADA { static class DAEUtils { private const float RadToDegConstant = (float)((1 / Math.PI) * 180); private const string Matrix3x4Format = "{0} {1} {2} {3} {4} {5} {6} {7} ...
26.927536
107
0.549516
[ "Unlicense" ]
EddyK28/SPICA
SPICA/Formats/Generic/COLLADA/DAEUtils.cs
1,860
C#
using System; using System.Linq; using System.Threading; using Autofac.Extras.FakeItEasy; using Elasticsearch.Net.Connection; using Elasticsearch.Net.ConnectionPool; using Elasticsearch.Net.Tests.Unit.Stubs; using FluentAssertions; using NUnit.Framework; namespace Elasticsearch.Net.Tests.Unit.Failover.Concurrent { [...
31.875
105
0.696405
[ "Apache-2.0" ]
Entroper/elasticsearch-net
src/Tests/Elasticsearch.Net.Tests.Unit/Failover/Concurrent/ConcurrencyTests.cs
3,062
C#
using KerbalKonstructs.Core; using KerbalKonstructs.Modules; using KerbalKonstructs.Utilities; using System; using UnityEngine; using KodeUI; namespace KerbalKonstructs.UI { public class StaffGUI : VerticalLayout { public static float fXP; public static GUIStyle LabelInfo; public stat...
29.41954
122
0.611741
[ "MIT", "Unlicense" ]
GER-Space/Kerbal-Konstructs
src/Facilities/StaffGUI.cs
10,240
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.943925
221
0.60825
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20191101/GetApplicationSecurityGroup.cs
3,418
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
32.8
122
0.742886
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/Kendra/Outputs/DataSourceConfluenceAttachmentConfiguration.cs
984
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452/blob/master/LICENSE * */ #endregion namespace ExtendedControls.Base.Code.ScrollBar.CustomScrollBar { /// <...
23.166667
90
0.561151
[ "BSD-3-Clause" ]
Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Base/Code/ScrollBar/CustomScrollBar/ScrollBarState.cs
975
C#
using System; using System.Diagnostics; using Newtonsoft.Json; namespace NuGetUtils.Model { [DebuggerDisplay("Version: {this.Version}")] public class VersionSummary { [JsonProperty("version")] public string Version { get; set; } [JsonProperty("downloads")] public long Down...
20.8
48
0.615385
[ "MIT" ]
rockfordlhotka/NuGetUtils
NuGetUtils/Model/VersionSummary.cs
418
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 ...
26.186047
63
0.730018
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-voicenavigator/VoiceNavigator/Model/V20180612/ModifyCategoryResponse.cs
1,126
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * 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...
37.821429
83
0.712937
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Domainvalue/ActSpecimenLabelCode.cs
1,059
C#
using System; using UniRx; using UnityEngine; namespace GameplayElements.ShootingStrategies { public class BurstShot : ShootingStrategy { public BurstShot() { base.name = "Burst"; } public override void Shoot(Transform shooter) { var shotDelay =...
27.821429
74
0.571245
[ "MIT" ]
kev-miles/TwinStickShooter_R
Assets/Scripts/GameplayElements/ShootingStrategies/BurstShot.cs
781
C#
using System; using System.Collections.Generic; using System.Data; namespace AdventureWorks.Common.Extensions { public class EnumerableExtensions { public static DataTable CreateDataTable<T>(IEnumerable<T> list) { var type = typeof(T); var properties = type.GetProperties...
29.866667
103
0.580357
[ "Unlicense" ]
CodeSwifterGit/adventure-works
src/AdventureWorks.Common/Extensions/EnumerableExtensions.cs
896
C#
// <auto-generated /> using System; using API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace API.Migrations { [DbContext(typeof(StoreContext))] ...
34.193784
101
0.40756
[ "MIT" ]
szerem/learn-to-build-an-e-commerce-store-with-dotnet-react-redux
ReStore/API/Migrations/20220518174535_OrderEntityAdded2.Designer.cs
18,706
C#
// <auto-generated /> using System; using LearningAbp.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; ...
33.624603
125
0.460807
[ "MIT" ]
IAmWhoAmI007/LearningAbp
aspnet-core/src/LearningAbp.EntityFrameworkCore/Migrations/20181013103914_Upgraded_To_Abp_v3_9_0.Designer.cs
42,369
C#
using System.Threading.Tasks; using OcspResponder.Core; namespace OcspResponder.Responder.Services; public interface IOcspResponderEx { Task<OcspHttpResponse> Respond(OcspHttpRequest httpRequest, RequestMetadata metadata); }
21.181818
90
0.828326
[ "BSD-2-Clause" ]
drivenet/ocsp-responder
OcspResponder/Responder/Services/IOcspResponderEx.cs
235
C#
// Spritedow Animation Plugin by Elendow // http://elendow.com namespace Elendow.SpritedowAnimator { /// <summary> /// Struct used on the events dictionary to store animation and frame. /// </summary> public struct SpriteAnimatorEventInfo { public string animation; public int frame...
24.5
74
0.626531
[ "MIT" ]
squagonal/Rocketskates
Assets/SpritedowAnimator/Source/SpriteAnimatorEventInfo.cs
492
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("01...
37.864865
84
0.744468
[ "MIT" ]
vassildinev/Data-Structures-and-Algorithms
07.RecursionHomework/Recursion/01.NestedLoops/Properties/AssemblyInfo.cs
1,404
C#
using ReactiveMachine; using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Threading.Tasks; namespace Counter.Tests { [DataContract] public class TestForks : TestTemplate { protected override async Task Run(IOrchestrationContext context) { ...
27.590909
84
0.575783
[ "MIT" ]
Bhaskers-Blu-Org2/ReactiveMachine
Applications/Counter.Tests/TestForks.cs
1,216
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 * ...
29.363636
81
0.657895
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Iotcloud/V20180614/Models/DeleteTopicRuleRequest.cs
1,298
C#
namespace Thor.Core.Transmission.EventHub { /// <summary> /// A concrete configuration for <c>Azure EventHub</c> transmission. /// </summary> public class EventHubConfiguration { /// <summary> /// Gets or sets the <c>Azure EventHub</c> connection string. /// </summary> ...
28.846154
72
0.605333
[ "MIT" ]
glucaci/thor-client
src/Core/Transmission.EventHub/EventHubConfiguration.cs
377
C#
using System.Collections.Generic; using System.Linq; using Keeper.Core.Database.Models; namespace Keeper.Api.Models; public class CalculatedKickingStatistics { private CalculatedKickingStatistics(ICollection<NflKickingStatistics> kickingStats) { PatMade = CalculatedStatistics.Calculate(kickingStats.Se...
38.519231
112
0.715427
[ "MIT" ]
hanhossain/keeper
src/Keeper.Api/Models/CalculatedKickingStatistics.cs
2,003
C#
using FluentAssertions; using Monai.Deploy.Messaging.Events; using Monai.Deploy.WorkflowManager.Contracts.Models; using Monai.Deploy.WorkflowManager.IntegrationTests.Models; using Monai.Deploy.WorkloadManager.Contracts.Models; namespace Monai.Deploy.WorkflowManager.IntegrationTests.Support { public class Assertio...
47.698795
244
0.676433
[ "Apache-2.0" ]
Project-MONAI/monai-deploy-workflow-manager
tests/IntegrationTests/WorkflowManager.IntegrationTests/Support/Assertions.cs
3,961
C#
using SanAndreasUnity.Behaviours.Vehicles; using System; using UnityEngine; public class VehicleBlinker : MonoBehaviour { #region "Fields" #region "Public Fields" public float repeatInterval = .5f; #endregion "Public Fields" #region "Init private fields" private VehicleLight lightType; ...
26.569106
203
0.638005
[ "MIT" ]
Almahmudrony/SanAndreasUnity
Assets/Scripts/Behaviours/Vehicles/VehicleBlinker.cs
3,270
C#
namespace Framework.GUI.Forms.Conversations { partial class ImportForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
45.097087
167
0.596125
[ "MIT" ]
adrianlulea/ConversationsManager
Framework/Framework/GUI/Forms/Conversations/ImportForm.Designer.cs
4,647
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SerialIK : MonoBehaviour { public bool AutoUpdate = true; public int Iterations = 10; public Transform EndEffector; public Transform Target; public Vector3 TargetPosition; public Quaternion TargetRotation; public bo...
20.505747
133
0.6463
[ "Apache-2.0" ]
YuZhang10/MANN-test
MANN/Unity/Assets/Scripts/IK/SerialIK.cs
1,786
C#
using IdentityModel; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Web.Jwt { public static clas...
44.434783
127
0.526419
[ "Apache-2.0" ]
lqh-xiaoemo/HaolaoshiApi
Web/Jwt/JwtExtension.cs
3,414
C#
using Newtonsoft.Json.Linq; using TechSpace.Reddit.Exceptions; namespace TechSpace.Reddit.Models { public class RedditGeneric { public Kind Kind { get; set; } public JObject Data { get; set; } public Listing ToListing() { if (Kind != Kind.Listing) t...
23.185185
65
0.565495
[ "MIT" ]
LukeBillo/tech-space
TechSpace.Reddit/Models/RedditGeneric.cs
628
C#
using Alex.Graphics.Models.Entity; namespace Alex.Entities { public class PlayerSkinFlags { public static PlayerSkinFlags Default => new PlayerSkinFlags() { Value = byte.MaxValue }; public byte Value { get; set; } = 0; public bool CapeEnabled { get => Value.IsBitSet(0x01); set => Value = Val...
21.444444
67
0.666451
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
codingwatching/Alex
src/Alex/Entities/PlayerSkinFlags.cs
1,544
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Management.DeploymentManager.Tests { using System; using System.Linq; using Microsoft.Azure.Management.Authorization; using Microsoft.A...
43.863248
162
0.636107
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/deploymentmanager/Microsoft.Azure.Management.DeploymentManager/tests/Helpers/DeploymentManagerClientHelper.cs
10,266
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Net; using System.Net.Http; using System.IO; using System.Reflection; using System.Diagnostics; using SharpCompress.Archives; namespace RainbowMage.OverlayPlugin.Upd...
35.488273
154
0.422915
[ "MIT" ]
Bluefissure/OverlayPlugin
OverlayPlugin.Updater/Installer.cs
16,646
C#
using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using BizHawk.Common.BufferExtensions; using BizHawk.Client.Common; using BizHawk.Emulation.Cores.PCEngine; using Bi...
23.940559
99
0.642471
[ "MIT" ]
CognitiaAI/StreetFighterRL
emulator/Bizhawk/BizHawk-master/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.cs
6,849
C#
using System; using System.Collections.Generic; using WDE.Common.CoreVersion; using WDE.Common.Database; using WDE.Module.Attributes; namespace WDE.Trinity { [AutoRegister] [SingleInstance] public class TrinityCataclysmVersion : ICoreVersion, IDatabaseFeatures, ISmartScriptFeatures, IConditionFeatures ...
40.685714
167
0.718399
[ "MIT" ]
DeKaDeNcE/WoWDatabaseEditor
WDE.Trinity/TrinityCataclysmVersion.cs
1,426
C#
namespace BizHawk.Client.Common { public interface ISQLiteApi : IExternalApi { string CreateDatabase(string name); string OpenDatabase(string name); string WriteCommand(string query = ""); object ReadCommand(string query = ""); } }
22.181818
43
0.737705
[ "MIT" ]
CartoonFan/BizHawk
src/BizHawk.Client.Common/Api/Interfaces/ISQLiteApi.cs
246
C#
// ----------------------------------------------------------------------- // <copyright file="TrackerService.cs" company="Petabridge, LLC"> // Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com> // </copyright> // ----------------------------------------------------------------------- using Syste...
34.205128
107
0.595202
[ "Apache-2.0" ]
Azmitrok/akkadotnet-code-samples
Cluster.WebCrawler/src/WebCrawler.TrackerService/TrackerService.cs
1,336
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [ExecuteInEditMode()] public class ProgressBar : MonoBehaviour { public int minimum, maximum, current; public Image mask, fill; public Color color; // Update is called once per frame void Update(...
20.8
57
0.661859
[ "MIT" ]
DournauxNathan/Just-Served
Projet_ETPA_004/Assets/Scripts/ProgressBar.cs
626
C#
/** * Copyright (c) 2001-2019 Mathew A. Nelson and Robocode contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * https://robocode.sourceforge.io/licen...
77.766667
338
0.687184
[ "Apache-2.0" ]
Delawen/robocode
plugins/dotnet/robocode.dotnet.nhost/src/generated/net/sf/robocode/serialization/ISerializableHelper.generated.cs
11,665
C#
using System; using Epinova.ElasticSearch.Core.Models.Properties; using Newtonsoft.Json; namespace Epinova.ElasticSearch.Core.Models.Converters { public class GeoPointConverter : JsonConverter { public override bool CanConvert(Type objectType) => objectType == typeof(GeoPoint); pu...
31.75
124
0.637795
[ "MIT" ]
2644783865/Epinova.Elasticsearch
src/Epinova.ElasticSearch.Core/Models/Converters/GeoPointConverter.cs
1,018
C#
using GetReady.Data.Models.QuestionModels; using GetReady.Services.Mapping.Contracts; namespace GetReady.Services.Models.QuestionSsheetModels { public class QuestionSheetGet: IMapFrom<QuestionSheet> { public int Id { get; set; } public string Name { get; set; } public string Descript...
24.428571
58
0.649123
[ "MIT" ]
Nikismyname/GetReady-Angular-Backend
src/GetReady.Services.Models/QuestionSsheetModels/QuestionSheetGet.cs
515
C#
using System.Linq; using AzureEventGridSimulator.Infrastructure.Settings; using Newtonsoft.Json; using Shouldly; using Xunit; namespace AzureEventGridSimulator.Tests.Unit { [Trait("Category","unit")] public class ConfigurationLoadingTests { [Fact] public void TestConfigurationLoad() ...
32.587302
108
0.482221
[ "MIT" ]
wgebczyk/eventgrite
src/AzureEventGridSimulator.Tests/UnitTests/ConfigurationLoadingTests.cs
2,055
C#
using System; namespace Plugin.Media.Abstractions { /// <summary> /// Media Options /// </summary> public class StoreMediaOptions { /// <summary> /// /// </summary> protected StoreMediaOptions() { } /// <summary> /// Directory name ...
27.17096
130
0.529564
[ "MIT" ]
AsimKhan2019/Media-Plugin
src/Media.Plugin/Shared/MediaStoreOptions.cs
11,604
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...
41.464
191
0.648466
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Pinpoint/Generated/Model/Internal/MarshallTransformations/CreateAppResponseUnmarshaller.cs
5,183
C#
 using UnityEngine; namespace TensorFlowLite { public class SSD : BaseImagePredictor<sbyte> { public struct Result { public int classID; public float score; public Rect rect; } // https://www.tensorflow.org/lite/models/object_detection/over...
28.566667
80
0.501167
[ "MIT" ]
shibuiwilliam/AR-AI
AR-AI/Assets/SSD.cs
1,716
C#
using Android.App; using Android.Content; using Android.Graphics.Drawables; using Android.OS; using Android.Util; using Android.Views; using System.ComponentModel; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; using XF.Material.Droid.Renderers; using XF.Material.Forms.UI; using static Android.Views.View; ...
32.633663
112
0.581007
[ "MIT" ]
rotsen24154/XF-Material-Library-PEMEX
XF.Material/XF.Material.Droid/Renderers/MaterialCardRenderer.cs
3,298
C#
namespace ClassLib120 { public class Class001 { public static string Property => "ClassLib120" + " " + ClassLib021.Class001.Property + " " + ClassLib049.Class001.Property + " " + ClassLib085.Class001.Property + " " + ClassLib003.Class001.Property + " " + ClassLib051.Class001.Property + " " + ClassLib063...
57.75
397
0.690476
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib120/Class001.cs
462
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ namespace AspNet.Security.OAuth.AdobeIO; pu...
33.489362
98
0.710292
[ "Apache-2.0" ]
AnthonyYates/AspNet.Security.OAuth.Providers
test/AspNet.Security.OAuth.Providers.Tests/AdobeIO/AdobeIOTests.cs
1,576
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace Bootstrapper.UI.MVVM.Converters { public class BooleanToVisibilityConverter : IValueConverter { public bool HiddenInsteadOfCollapsed { get; set; } public object Convert(object value, Type targ...
26.638889
118
0.601668
[ "MIT" ]
middas/WixCustomUI
Bootstrapper.UI/MVVM/Converters/BooleanToVisibilityConverter.cs
961
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
40.835165
212
0.59338
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
KavWick/thebuggenie-prod
vendor/tubalmartin/cssmin/tests/microsoft-ajaxmin/Input/Replacements/ValueReplacement.Designer.cs
3,718
C#
// TypeParameterNode.cs // Script#/Core/ScriptSharp // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Collections; using System.Diagnostics; namespace ScriptSharp.CodeModel { // NOTE: Ignored in conversion internal sealed class TypeParame...
25.96
90
0.696456
[ "Apache-2.0" ]
mobilligy/scriptsharp
src/Core/Compiler/CodeModel/Types/TypeParameterNode.cs
649
C#
using System; namespace Vita.Entities.Services { public interface IServiceContainer : IServiceProvider { void RegisterService<T>(T service) where T: class; } /// <summary>An optional interface to initialize/shutdown a non-module service added to Services collection of EntityApp. /// Module-based serv...
34.84
129
0.717566
[ "MIT" ]
rivantsov/vita
src/1.Framework/Vita/1.AppModel/Services/_ServiceInterfaces.cs
873
C#
using EngineeringUnits.Units; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace EngineeringUnits.Units { public class MassMomentOfInertiaUnit : Enumeration { public static readonly MassMomentOfInertiaUnit SI = new(MassUnit.SI, AreaUnit.SI); public stat...
61.58209
134
0.794232
[ "MIT" ]
MadsKirkFoged/EngineeringUnits
EngineeringUnits/CombinedUnits/MassMomentOfInertia/MassMomentOfInertiaEnum.cs
4,128
C#
namespace MyServer.ViewComponents.ImageGallery.Components.ImageList.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Localization; using MyServer.Common; using MySe...
37.042857
117
0.615889
[ "MIT" ]
atanas-georgiev/MyServerAzure
src/AppServices/MyServer/Components/MyServer.ViewComponents.ImageGallery/Components/ImageList/Controllers/ImageListViewComponent.cs
2,595
C#
using PasswordHelper.Characters; namespace PasswordHelper.Tests.TestObjects { public class TheCharacterN : RandomCharacters { public TheCharacterN() : base("N") { } } }
19.1
49
0.691099
[ "MIT" ]
ZavixDragon/PasswordHelper
PasswordHelper/PasswordHelper/Tests/TestObjects/TheCharcterN.cs
193
C#
namespace Nest { public interface ICreateAutoFollowPatternResponse : IAcknowledgedResponse { } public class CreateAutoFollowPatternResponse : AcknowledgedResponseBase, ICreateAutoFollowPatternResponse { } }
30.142857
110
0.848341
[ "Apache-2.0" ]
Henr1k80/elasticsearch-net
src/Nest/XPack/CrossClusterReplication/AutoFollow/CreateAutoFollowPattern/CreateAutoFollowPatternResponse.cs
213
C#
using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Serialization; using Serilog; namespace Mamesaver.Configuration { /// <summary> /// Provides persistence and retrieval of settings to disk as XML files inside /// <see cref="Environment.SpecialFolder.LocalApplica...
35.743363
113
0.572914
[ "MIT" ]
chrisrpatterson/mamesaver
Mamesaver/Configuration/SettingsStore.cs
4,041
C#
using UnityEngine; using System.Collections; public class RespawnPoint : MonoBehaviour { public GameObject platform; private GameObject newPlatform; public void WakeUp() { StopAllCoroutines(); if (newPlatform != null) Destroy(newPlatform); StartCoroutine(Co_Respaw...
29
147
0.646813
[ "Apache-2.0" ]
Bodzounet/StepUp
Assets/Scripts/Referee/RespawnPoint.cs
959
C#
// <copyright file="Factorial.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // http://mathnetnumerics.codeplex.com // Copyright (c) 2009-2010 Math.NET // Permission is hereby granted, free of charge, to any per...
42.154639
136
0.646613
[ "MIT" ]
ABarnabyC/mathnet-numerics
examples/examples-csharp/SpecialFunctions/Factorial.cs
4,091
C#
namespace _05.Football_Team_Generator.Commands { using System; using System.Collections.Generic; using System.Linq; using _05.Football_Team_Generator.Contracts.Core; using _05.Football_Team_Generator.Contracts.Entities; using _05.Football_Team_Generator.Entities; using _05.Football_Team_Gen...
30.767857
136
0.550784
[ "MIT" ]
HristoSpasov/Databases-Advanced-Entity-Framework-Core
03. Inheritance and Generics/Exercises/05.Football Team Generator/Commands/Add.cs
1,725
C#
using System.Windows.Forms; namespace ExtractionViewer { partial class GridPanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
36.892308
131
0.612594
[ "Apache-2.0" ]
RockNHawk/Toxy.NetCore
Toxy.Tools/ExtractionViewer/GridPanel.Designer.cs
2,400
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PhotonNetwork.cs" company="Exit Games GmbH"> // Part of: Photon Unity Networking // </copyright> // ------------------------------------------------------------------------------...
43.661438
270
0.657362
[ "MIT" ]
amancheung/castlevr
sig18_mini/Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs
153,077
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace SimpleREPL.Simple3 { [Serializable] public class TypeMismatchException : Exception{ // // For guidelines regarding the creation of new exception types, ...
31.53125
133
0.649158
[ "Apache-2.0" ]
dolan/simple3-interpreter
bsn.Simple3/Simple2REPL/Simple3/TypeMismatchException.cs
1,011
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.764706
93
0.649458
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/As/V20180419/Models/AttachInstancesRequest.cs
1,583
C#
//---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
45.923077
152
0.661642
[ "MIT" ]
stefangossner/azure-activedirectory-library-for-dotnet
src/Microsoft.IdentityModel.Clients.ActiveDirectory/Platforms/netstandard1.3/PlatformInformation.cs
2,987
C#
#region Information // Solution: Spark // Spark.Engine // File: IndexEntry.cs // // Created: 07/12/2017 : 10:35 AM // // Modified By: Howard Edidin // Modified: 08/20/2017 : 2:01 PM #endregion namespace FhirOnAzure.Engine.Model { using System.Collections.Generic; using System.Linq; using FhirOnAzur...
21.246154
79
0.562636
[ "MIT" ]
HowardEdidin/HL7-FHIR-ON-AZURE
Samples and SDK/Server/FhirOnAzureServer/Spark.Engine/Model/IndexEntry.cs
1,383
C#
 namespace TP_01_FacundoFalcone { partial class FormCalculadora { /// <summary> /// Variable del diseñador necesaria. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpiar los recursos que se estén usando. /...
57.921622
171
0.643087
[ "MIT" ]
caidevOficial/CSharp_UTN_LaboII
4_Trabajos_Practicos/TP_01_FacundoFalcone/TP_01_FacundoFalcone/FormCalculadora.Designer.cs
21,442
C#
using Kartverket.Register.Models; namespace Kartverket.Register.Services.Search { public interface ISearchService { SearchResult Search(SearchParameters parameters); Models.Register Search(Models.Register register, string text); } }
22
70
0.738636
[ "MIT" ]
kartverket/Geonorge.Register
Kartverket.Register/Services/Search/ISearchService.cs
266
C#
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using System.Net.Mime; using System.Text.Json; namespace MartinCostello.LondonTravel.Site; public static class HttpResponseMessageExtensions { ...
38.590909
112
0.767962
[ "Apache-2.0" ]
martincostello/alexa-london-travel-site
tests/LondonTravel.Site.Tests/HttpResponseMessageExtensions.cs
849
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace WcfServiceLibrary { // UWAGA: możesz użyć polecenia „Zmień nazwę” w menu „Refaktoryzuj”, aby zmienić nazwę interfejsu „IService1” w kodzie i pliku konfigur...
24.761364
180
0.615879
[ "MIT" ]
vkavetskyy/RSI
Lab_4/WcfServiceLibrary/IService1.cs
2,219
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 ...
23.52518
134
0.651376
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-iot/Iot/Model/V20180120/RRpcRequest.cs
3,270
C#
using System.Text.RegularExpressions; namespace System { public static class ObjectExtensions { /// <summary> /// 安全获取值,当值为null时,不会抛出异常 /// </summary> /// <param name="value">可空值</param> //public static T SafeValue<T>(this T? value) where T : struct //{ ...
32.042918
111
0.449237
[ "MIT" ]
mrh520/Orleans.Im
Orleans.Im.Common/Utils/ObjectExtensions.cs
7,886
C#
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/ * Copyright : Copyright © Nequeo Pty Ltd 2012 http://www.nequeo.com.au/ * * File : * Purpose : * */ #region Nequeo Pty Ltd License /* Permission is hereby granted, free of charge, to any person obtaining a copy of th...
35.583333
104
0.708197
[ "MIT" ]
nequeo/sockets
Nequeo.Net.Core/Nequeo.Net.Core/Core/Messaging/IDirectedProtocolMessage.cs
2,138
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...
32.219512
124
0.63891
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Insights/Inputs/TriggerConditionArgs.cs
1,321
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Ads.Models { /// <summary> /// <para>表示 [GET] /targeting_tags/get 接口的请求。</para> /// </summary> public class TargetingTagsGetRequest : WechatAdsRequest { /// <summary> /// 获取或设置标签类型。 /// </...
25.578947
59
0.621399
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Ads/Models/TargetingTags/TargetingTagsGetRequest.cs
524
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace iRocks.DataLayer { public interface IPostUrlRepository { IEnumerable<PostUrl> Select(object criteria = null, SQLKeyWord ConditionalKeyWord = null); v...
23.388889
98
0.714964
[ "MIT" ]
pyDez/SocialFootprintAPI
Data/iRocks.DataLayer/RepositoryInterfaces/IPostUrlRepository.cs
423
C#
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.Searcher { public enum ItemExpanderState { Hidden, Collapsed, Expanded } [PublicAPI] public interface ISear...
34.162791
130
0.622192
[ "MIT" ]
PULSAR2105/Boids-Bug
Library/PackageCache/com.unity.searcher@4.9.1/Editor/Searcher/SearcherAdapter.cs
4,407
C#