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 Sekiro_Save_Manager.Forms { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
49.248908
160
0.60822
[ "Apache-2.0" ]
NateShoffner/Sekiro-Save-Manager
Sekiro Save Manager/Forms/MainForm.Designer.cs
22,558
C#
namespace Paseto.Cryptography.Internal.Ed25519Ref10 { internal static partial class GroupOperations { internal static void ge_tobytes(byte[] s, int offset, ref GroupElementP2 h) { FieldOperations.fe_invert(out FieldElement recip, ref h.Z); FieldOperations.fe_mul(out FieldElement x,...
38.428571
84
0.704461
[ "MIT" ]
daviddesmet/paseto-dotnet
src/Paseto.Cryptography/Internal/Ed25519Ref10/ge_tobytes.cs
540
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace _5ifdoblementeenlazado_multas_de_transito { public partial class frmMultas : Form { ...
31.3
73
0.567492
[ "MIT" ]
mauriciogpro/e-dot-net
4_Cap/5ifdoblementeenlazado_multas de transito/5ifdoblementeenlazado_multas_de_transito/Form1.cs
2,506
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using Amp.Tokenizer; namespace Amp.Parser { public abstract class AmpElement : IFormattable { public sealed override string ToString() { return ToString("", CultureInfo.I...
27.530612
129
0.619718
[ "Apache-2.0" ]
AmpScm/AmpParser
src/AmpParser/Parser/AmpElement.cs
1,351
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; namespace CoreFX.Notification.Smtp.Utils { public static class EmailUtil { public static string ToHtmlTable<T>(this List<T> records) { var ret = ...
40.043956
219
0.468716
[ "BSD-3-Clause" ]
BlackIkeEagle0/osisdie4
src/Library/CoreFX/Notification/Smtp/Utils/EmailUtil.cs
3,646
C#
using System; using System.Reactive.Linq; namespace Proxoft.Maps.Core.Api { public sealed class NoMap : IMap { public static readonly NoMap Instance = new(); private NoMap() { } public IObservable<Event> OnEvent => Observable.Never<Event>(); public ApiStatus ...
19.021739
83
0.561143
[ "MIT" ]
proxoft/Maps
Source/Maps.Core/Api/Maps/NoMap.cs
877
C#
using System.Reflection; namespace Dserv.Server { public static class EmbeddedResourceHandlerExtension { public static DservBuilder UseEmbeddedResources(this DservBuilder builder, params Assembly[] assemblies) { builder.AddHandler(new EmbeddedResourceHandler(assemblies)); ...
27.923077
113
0.680441
[ "MIT" ]
tomgilder/dserv
src/Server/Dserv.Server.Shared/EmbeddedResourceHandlerExtension.cs
365
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
26.5
112
0.593868
[ "Apache-2.0" ]
ebattalio/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/AmazonCloudDirectoryConfig.cs
2,120
C#
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; using UniGLTF; using UnityEngine; namespace VRM { public class VRMLoadTest { static IEnumerable<FileInfo> EnumerateGltfFiles(DirectoryInfo dir) { if (dir.Name == ".git") { ...
26.443548
89
0.407441
[ "MIT" ]
mi-tesseract/UniVRM
Assets/VRM/Tests/VRMLoadTests.cs
3,281
C#
using Autofac; using Surging.Core.CPlatform.Support; using System.Linq; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Address; using System.Threading.Tasks; using Surging.Core.ServiceHosting.Internal; using Surging.Core.CPlatform.Runtime.Server; using System.Net; using System.Net.NetworkInformatio...
45.880342
151
0.627049
[ "MIT" ]
914132883/surging
src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs
5,370
C#
using System; using System.Collections.Generic; using System.Threading; using Xunit; namespace Compilify.LanguageServices { public class CSharpCompilerTests { [Fact] // NOTE: This test will fail when executed by NCrunch. public void CodeCanBeCompiledAndExecuted() { var clas...
34.675
125
0.537851
[ "MIT" ]
jrusbatch/compilify
Tests/LanguageServices.Tests/LanguageServices/CSharpCompilerTests.cs
1,389
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.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Reflection; usi...
35.54
185
0.507222
[ "MIT" ]
AntonLandor/corefx
src/System.Text.RegularExpressions/tests/Regex.Cache.Tests.cs
5,331
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. #if WINDOWS_BASE using MS.Internal.WindowsBase; #elif PRESENTATION_CORE using MS.Internal.PresentationCore; #elif PR...
37.576687
132
0.669469
[ "MIT" ]
56hide/wpf
src/Microsoft.DotNet.Wpf/src/Shared/System/Windows/InterOp/OSVersionHelper.cs
12,250
C#
using System.Data.Entity.Infrastructure.Interception; using Sentry.Extensibility; namespace Sentry.EntityFramework; /// <summary> /// Sentry Database Logger /// </summary> public static class SentryDatabaseLogging { private static int Init = 0; /// <summary> /// Adds an instance of <see cref="SentryComma...
38.380952
146
0.684864
[ "MIT" ]
TawasalMessenger/sentry-dotnet
src/Sentry.EntityFramework/SentryDatabaseLogging.cs
1,612
C#
namespace ResTB.DB.Migrations { using System; using System.Data.Entity.Migrations; public partial class HazardMap : DbMigration { public override void Up() { CreateTable( "public.HazardMap", c => new { ...
40.136364
91
0.516421
[ "Apache-2.0" ]
GEOTEST-AG/MiResiliencia
DB/Migrations/202008101844431_HazardMap.cs
1,768
C#
/** * Copyright 2013 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...
52.68932
391
0.657914
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-ccda-r1_1/Main/Ca/Infoway/Messagebuilder/Model/Ccda_r1_1/Merged/Authenticator.cs
10,854
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("Ban...
37.945946
84
0.748575
[ "MIT" ]
ijrussell/LeedsSharp-OutsideIn-TDD
BankKataOutsideInTDD/BankKata.UnitTests/Properties/AssemblyInfo.cs
1,407
C#
// // Klak - Utilities for creative coding with Unity // // Copyright (C) 2016 Keijiro Takahashi // // 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 l...
31.977778
80
0.64107
[ "MIT" ]
MichaelProkofyev/Tower_Of_Nam
Assets/External/Klak/Klak/Wiring/Editor/Patcher/NodeEditor.cs
2,878
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Threading.Tasks; using System.Web; using Microsoft.AspNetCore.Mvc; using YahooFantasyWrapper.Client; using YahooFantasyWrapper.Models; using YahooFantasyWrapper.Web.Models; namespace YahooFantasyWrappe...
31.064516
100
0.601246
[ "Apache-2.0" ]
GravlLift/YahooFantasyWrapper
src/YahooFantasyWrapper.Web/Controllers/AccountController.cs
1,926
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Herocontroller : MonoBehaviour { [SerializeField] private LayerMask groundLayers; [SerializeField] private float runSpeed = 8f; [SerializeField] private float jumpHeight = 2f; private float gravity = -50f; ...
28.307692
113
0.633832
[ "MIT" ]
DmalleWors/NRunner
Assets/Hero/Herocontroller.cs
1,472
C#
namespace Xunit.Sdk { /// <summary> /// Exception thrown when Option is unexpectedly None. /// </summary> #if XUNIT_VISIBILITY_INTERNAL internal #else public #endif class SomeException : XunitException { /// <summary> /// Creates a new instance of the <see cref="SomeExceptio...
22.45
76
0.576837
[ "MIT" ]
colethecoder/ExtUnit
ExtUnit/ExtendedSdk/Exceptions/SomeException.cs
451
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MaintainNodeScale : MonoBehaviour { GameObject treeContainer; public float targetScale = 1f; private void Awake() { treeContainer = GameObject.Find("TreeContainer"); } // Use this for initia...
22.25
67
0.606742
[ "Apache-2.0" ]
TomHemery/Third-Year-Project-VR-Phylogenetic-Tree-Viewer
Assets/Scripts/BasicTreeViewer/Tree/MaintainNodeScale.cs
803
C#
/** * Module: MoralisSessionTokenResponse.cs * Descriptiontion: Sample game controller that demonstrates how to use the Moralis * Web3Api to retieve and display a list of ERC20 Tokens.. * Author: Moralis Web3 Technology AB, 559307-5988 - David B. Goodrich * * MIT License...
39.542169
142
0.610502
[ "MIT" ]
AllTrueVision/ethereum-unity-boilerplate
Assets/MoralisWeb3ApiSdk/Example/Scripts/TokenListController.cs
9,846
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("Al...
38.083333
84
0.749818
[ "MIT" ]
webley/album-tracker
AlbumTracker.WebApi/Properties/AssemblyInfo.cs
1,374
C#
// Copyright (c) junjie sun. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Text; using XNode.Security; using XNode.Serializer; using XNode.Server.Configuration; using XNode.Protoco...
23.987013
101
0.54575
[ "MIT" ]
junjie-sun/XNode
src/XNode/XNode/Server/NodeServerConfig.cs
1,997
C#
using DesignPatternsAdapter.TwoProviders; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace DesignPatternsAdapterTest { public class TwoProvidersTest { private readonly ITestOutputHelper _output; public TwoProvidersTest(ITestOutputHelper output) { ...
25.447368
108
0.662875
[ "MIT" ]
jasarsoft/design-patterns-adapter
DesignPatternsAdapterTest/TwoProvidersTest.cs
967
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.Xml; using System.Data.SqlTypes; using System.Diagnostics; using System.IO; using System.Xml.Serializat...
35.600775
118
0.424279
[ "MIT" ]
Geotab/corefx
src/System.Data.Common/src/System/Data/Common/SQLTypes/SQLDoubleStorage.cs
9,185
C#
//----------------------------------------------------------------------- // <copyright company="Sherlock"> // Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0. // </copyright> //----------------------------------------------------------------------- //---------------------------------...
36.384615
117
0.510722
[ "Apache-2.0" ]
pvandervelde/Sherlock
src/shared.dataaccess/Test.cs
3,311
C#
using System; namespace Sirh3e.Rust.Result { public readonly partial struct Result<TOk, TErr> { /// <summary> /// /// </summary> /// <param name="onOk"></param> /// <param name="onErr"></param> /// <exception cref="ArgumentNullException"></exception>...
26.206349
68
0.394306
[ "BSD-3-Clause" ]
sirh3e/Rust
src/Sirh3e.Rust/Result/Result.Match.cs
1,653
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DTAConfig.CustomSettings { sealed class FileSourceDestinationInfo { public FileSourceDestinationInfo(string source, string destination) { Source...
24.761905
76
0.653846
[ "MIT" ]
Metadorius/xna-cncnet-client
DTAConfig/CustomSettings/FileSourceDestinationInfo.cs
502
C#
using DotNETDevOps.JsonFunctions; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.Json; using System.Threading.Tasks; namespace EAVFW.Extensions....
48.52546
310
0.439862
[ "MIT" ]
EAVFW/EAVFW.Extensions.Manifest.ManifestEnricherTool
src/EAVFW.Extensions.Manifest.ManifestEnricherTool/manifest.cs
44,791
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Secao9.Entities { class HourContract { public DateTime Date { get; set; } public double ValuePerHour { get; set; } public int Hours { get; set; } publi...
21.428571
74
0.586667
[ "MIT" ]
zJhol/worker
Secao9/Entities/HourContract.cs
602
C#
/**************************************************************************** Copyright (c) 2013-2015 scutgame.com http://www.scutgame.com 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 ...
35.54023
126
0.616429
[ "Unlicense" ]
HongXiao/Scut
Source/Middleware/ZyGames.Framework.Game/Runtime/AppServerConfigger.cs
3,094
C#
using System.Linq; using System.Runtime.Serialization; using StandardDot.Caching.Redis.Enums; using StandardDot.CoreExtensions; using StandardDot.CoreExtensions.Object; namespace StandardDot.Caching.Redis.Dto { [DataContract] public class RedisId { // new [] // { // "hashSetIdentifier", // "objectIdentifi...
24.25641
108
0.684461
[ "MIT" ]
mrlunchbox777/StandardDot
src/CachingRedis/Dto/RedisId.cs
1,892
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NUnit.Framework; namespace NUnitTestProject; [TestFixture] public class NUnitTest1 { [Test] public void PassTestMethod1() { Ass...
19
101
0.672769
[ "MIT" ]
Evangelink/vstest
test/TestAssets/NUTestProject/Class1.cs
439
C#
using UnityEngine; public class ConeCast2DExample : MonoBehaviour { public float radius; public float depth; public float angle; private Physics physics; void FixedUpdate () { RaycastHit2D[] coneHits = Physics2DCones.ConeCastAll(transform.position, transform.forward, angle, depth); ...
25.340909
117
0.64574
[ "MIT" ]
AshbyGeek/ConeCast
Physics2DConesExample.cs
1,117
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...
33.257143
143
0.683849
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Storage/V20210101/Inputs/AzureFilesIdentityBasedAuthenticationArgs.cs
1,164
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 * ...
31.177215
81
0.599269
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Ms/V20180408/Models/CreateScanInstancesResponse.cs
2,605
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Host...
25.045455
71
0.654265
[ "MIT" ]
48355746/AspNetCore
src/Hosting/Hosting/test/Internal/MyContainer.cs
1,104
C#
using Harmony; using Multiplayer.Common; using RimWorld; using RimWorld.Planet; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using Verse; namespace Multiplayer.Client { public class MultiplayerMapComp : IExposable { public static bool t...
34.621849
133
0.597087
[ "MIT" ]
JortonMV/Multiplayer
Source/Client/Comp/MultiplayerMapComp.cs
8,242
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using JetBrains.Annotations; using Tauron.Application.Files.Ini.Parser; namespace Tauron.Application.Files.Ini; [PublicAPI] [Serializable] public record IniFile(ImmutableDictionary<string, I...
34.6
183
0.701951
[ "MIT" ]
Tauron1990/Project-Manager-Akka
Src/Shared/Tauron.Application.Files/Ini/IniFile.cs
2,770
C#
//****************************************************************************************************** // Program.cs - Gbtc // // Copyright © 2015, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // the NOT...
36.425532
147
0.528914
[ "MIT" ]
GridProtectionAlliance/PTPSync
Source/Applications/PTPSync/PTPSync/Program.cs
3,427
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> //---...
53.848485
232
0.653911
[ "MIT" ]
Boowman/HyperLove
HyperLove/obj/Debug/netstandard2.0/ViewModel/Preferences/Premium/Exercise.xaml.g.cs
1,777
C#
using System.Windows.Controls; namespace GClient.Module.Connection.Views { public partial class ArchiveView : UserControl { public ArchiveView() { InitializeComponent(); } } }
18.666667
50
0.620536
[ "MIT" ]
tnunnink/GMerge
src/GClient.Module.Connection/Views/ArchiveView.xaml.cs
224
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Linq; using FluentAssertions; using Nest; using Tests.Core.Extensions; using Tests.Core...
28.634921
110
0.736696
[ "Apache-2.0" ]
Jiasyuan/elasticsearch-net
tests/Tests/Aggregations/Bucket/GeoTileGrid/GeoTileGridAggregationUsageTests.cs
1,804
C#
using System.Collections.Generic; using AutoMapper; using FluentAssertions; using Microsoft.Extensions.Logging; using NSubstitute; using Sfa.Tl.Matching.Application.Interfaces; using Sfa.Tl.Matching.Application.Mappers; using Sfa.Tl.Matching.Application.Services; using Sfa.Tl.Matching.Application.UnitTests.Services.Ro...
31.614035
97
0.676471
[ "MIT" ]
SkillsFundingAgency/tl-matching
src/Sfa.Tl.Matching.Application.UnitTests/Services/RoutePath/When_RoutePathService_Is_Called_To_Get_Route_Ids.cs
1,804
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Atc.Rest.ApiGenerator.Models; using Atc.Rest.ApiGenerator.SyntaxGenerators.Api; using Atc.Rest.ApiGenerator.SyntaxGenerators.Api.Interfaces; using Atc.Rest.ApiGenerator.Tests.XUnitTestTypes.CodeGenerator; using Micros...
39.880952
165
0.718806
[ "MIT" ]
atc-net/atc-rest-api-generator
test/Atc.Rest.ApiGenerator.Tests/SyntaxGenerators/Api/SyntaxGeneratorContractModelsTests.cs
1,675
C#
using Microsoft.Bot.Builder.Adapters.Twilio; using Microsoft.Bot.Builder.TraceExtensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace AppointmentBot { public class TwilioAdapterWithErrorHandler : TwilioAdapter { public TwilioAdapterWithErrorHandler(IConfigura...
45.185185
152
0.664754
[ "MIT" ]
aurlaw/AzureBotDemo
AppointmentBot/TwilioAdapterWithErrorHandler.cs
1,220
C#
namespace Factorio.ServerManager.Manager { using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; public class ServerManager { private readonly IHubContext<ServerManagerHub> hubContext; private Process p; public ServerManager(IHubContext...
27.588235
104
0.560057
[ "MIT" ]
BWalti/dotnet-factorio-server-manager
Factorio.ServerManager/Factorio.ServerManager/Manager/ServerManager.cs
1,407
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
46.676923
180
0.65535
[ "Apache-2.0" ]
BlackBoxAM/Lean
Engine/HistoricalData/SubscriptionDataReaderHistoryProvider.cs
9,102
C#
namespace Atlas.Roleplay.Client.Interface { public enum MenuOperationType { Select, Update, SliderUpdate, Close, PostClose } }
16.181818
41
0.573034
[ "MIT" ]
Local9/Atlas
Atlas.Roleplay.Client/Interface/MenuOperationType.cs
178
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.Windows; using System.Windows.Controls; namespace System.Windows.Automation.Peers { ...
25.09375
79
0.648817
[ "MIT" ]
00mjk/wpf
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Automation/Peers/Viewport3DAutomationPeer.cs
803
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using ArchaicQuestII.GameLogic.Character; using ArchaicQuestII.GameLogic.Character.Class; using ArchaicQuestII.GameLogic.Character.Emote; using ArchaicQuestII.GameLogic.Character.Help; using ArchaicQuestII.GameLogic.Character.Model; u...
33.817204
82
0.647695
[ "MIT" ]
ArchaicQuest/ArchaicQuest-II
ArchaicQuestII.GameLogic/Core/ICache.cs
3,147
C#
// GZipStream.cs // ------------------------------------------------------------------ // // Copyright (c) 2009 Dino Chiesa and Microsoft Corporation. // All rights reserved. // // This code module is part of DotNetZip, a zipfile class library. // // ------------------------------------------------------------------...
38.4967
133
0.526255
[ "Apache-2.0" ]
BradBarnich/RestSharp
RestSharp/Compression/ZLib/GZipStream.cs
23,331
C#
using Microsoft.AspNetCore.Mvc; using Optivem.Northwind.Core.Application.Dto; using Optivem.Northwind.Core.Application.Service; using Optivem.Northwind.Core.Domain.Repository; using Optivem.Platform.Web.AspNetCore.Rest; namespace Optivem.Northwind.Web.Rest.Controllers { [Route("api/order-details")] [ApiContro...
37.611111
155
0.756278
[ "MIT" ]
atomiv/erimont-cs
src/Web/AspNetCore/Rest/Controllers/OrderDetailsController.cs
679
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...
47.365772
188
0.675097
[ "Apache-2.0" ]
Murcho/aws-sdk-net
sdk/src/Services/MarketplaceEntitlementService/Generated/_bcl45/AmazonMarketplaceEntitlementServiceClient.cs
14,115
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class NearbyPositionSelector : MonoBehaviour, IPositionSeletor { public float PlacementSize; public float SearchStepSize; public float SearchStepSizeVariance; public int MaxIters; ...
33.87234
113
0.636935
[ "MIT" ]
Lomztein/Project-Frontline
Assets/Source/NearbyPositionSelector.cs
1,594
C#
using System; using System.Collections.ObjectModel; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Reactive.Subjects; using DynamicData; using DynamicData.Binding; using ReactiveUI; using Rocket.Surgery.Airframe.ViewModels; using Showroom.Scroll; namespace Showroom.C...
35
94
0.630385
[ "MIT" ]
RLittlesII/ReactiveUI.Showroom
src/Forms/CollectionView/Scroll/InfiniteCollectionViewModel.cs
2,205
C#
// Copyright 2017 Google Inc. 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 applic...
40.322674
137
0.617475
[ "Apache-2.0" ]
snakefoot/google-cloud-dotnet
apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/BindingTests.cs
13,873
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
41.46988
215
0.636549
[ "MIT" ]
FonsecaSergio/azure-powershell
src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/ScenarioTests/AdlsAliasTests.cs
3,362
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V23.Segment; using NHapi.Model.V23.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V23.Group { ///<summary> ///Represents the ADT_A01_PROCEDURE Group. A Group is an ord...
26.902256
156
0.634433
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V23/Group/ADT_A01_PROCEDURE.cs
3,578
C#
// This file is part of the DSharpPlus project. // // Copyright (c) 2015 Mike Santiago // Copyright (c) 2016-2021 DSharpPlus Contributors // // 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...
47.153846
173
0.666766
[ "MIT" ]
CatThingy/DSharpPlus
DSharpPlus.VoiceNext/AudioFormat.cs
6,743
C#
using NetIRC.Messages; using System.Linq; using Xunit; using System; using System.Collections.Generic; namespace NetIRC.Tests { public class IRCMessageTests { [Fact] public void TestPingMessage() { var command = "PING"; var parameter = "tolsun.oulu.fi"; ...
32.49422
110
0.567909
[ "MIT" ]
fredimachado/NetIRC
tests/NetIRC.Tests/IRCMessageTests.cs
11,245
C#
using SEDC.CSharpAdv.VideoRental.Data.Models; using SEDC.CSharpAdv.VideoRental.Services.Helpers; using SEDC.CSharpAdv.VideoRental.Services.Interfaces; using SEDC.CSharpAdv.VideoRental.Services.Menus; using SEDC.CSharpAdv.VideoRental.Services.Services; using System; namespace SEDC.CSharpAdv.VideoRental.App { class...
30.106667
65
0.399469
[ "MIT" ]
sedc-codecademy/skwd9-net-06-csharpadv
G3/Class05/SEDC.CSharpAdv.VideoRental/SEDC.CSharpAdv.VideoRental.App/Program.cs
2,260
C#
// <auto-generated> - Template:WebApiController, Version:1.1, Id:4b60314b-c212-46e3-8945-3d5daecee905 using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Routing; using...
35.665529
195
0.738756
[ "MIT" ]
MSCTek/QuikRide
src/CGH.QuikRide.API/Controllers/QR/LocationTypesController.cs
10,450
C#
using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Grammophone.DataAccess; using Grammophone.Domos.Accounting.Models; using Grammophone.Domos.Domain.Accounting; names...
29.841379
107
0.715854
[ "MIT" ]
grammophone/Grammophone.Domos.Accounting
AccountingEncryption.cs
8,656
C#
using Rami.Wechat.Core.Comm; using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; using System.Xml; namespace Rami.Wechat.Core.Merchant.Enterprise { /// <summary> /// 企业支付数据(签名) /// </summary> public class EntPayData { /// <summary> ...
29.12709
142
0.439316
[ "MIT" ]
tamakiramimy/Rami.Wechat.Core
Rami.Wechat.Core/Merchant/Enterprise/EntPayData.cs
9,579
C#
using System; using System.Globalization; using System.Text; namespace MCCompilerConsole.Converter { /// <summary> /// トークンベース /// </summary> public class TokenBase { public enum ValueKind { INT, FLOAT, INVALID, } public TokenBas...
32.365352
171
0.432243
[ "MIT" ]
dennissato/MCCompilerConsole
Converter/TokenizerBase.cs
20,347
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...
39.9
264
0.640351
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20190601/GetSecurityRule.cs
7,182
C#
using InputSubsystem; namespace ParserSubsystem { public interface IParser<in TS, out TE> where TS: ISymbol where TE: IExpression { public TE Parse(IInput<TS> input); } }
21.222222
83
0.691099
[ "Apache-2.0" ]
romarioGI/diploma
source/ParserSubsystem/IParser.cs
191
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/speech/v1/resource.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; usi...
39.852632
449
0.654196
[ "Apache-2.0" ]
GoogleCloudPlatform/google-cloud-dotnet
apis/Google.Cloud.Speech.V1/Google.Cloud.Speech.V1/Resource.g.cs
53,004
C#
using FluentAssertions; using System; using System.Linq.Expressions; using System.Reflection; namespace ESFA.DC.ILR.Model.Tests.Abstract { public class AbstractModelTests<T> where T : new() { protected DateTime DateTime() { return new DateTime(2018, 1, 1); } protec...
33.221053
241
0.595057
[ "MIT" ]
SkillsFundingAgency/DC-ILR-1718-Model
src/ESFA.DC.ILR.Model.Tests/Abstract/AbstractModelTests.cs
3,158
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.Linq; using System.Net.Http; using System.Web.Http.Controllers; using System.Web.Http.OData.Routing; using System.Web.Http.OData.Routing.Co...
33.142857
145
0.624521
[ "ECL-2.0", "Apache-2.0" ]
563256676/test2
src/NuGet.Server.V2/OData/Conventions/ActionCountRoutingConvention.cs
2,088
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.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Logging.Internal; namespace Microsoft.Extensions...
59.145161
169
0.613425
[ "Apache-2.0" ]
andrijacacanoviclogeecom/Logging
src/Microsoft.Extensions.Logging.Abstractions/LoggerExtensions.cs
25,669
C#
using Microsoft.Practices.Prism.StoreApps; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; namespace Pithline.FMS.VehicleInspection.UILogic { public class AppSettings : BindableBase { private static readonly App...
24.683333
74
0.604321
[ "MIT" ]
noorsyyad/FleetManagementSystem
Pithline.FMS.VehicleInspection.UILogic/AppSettings.cs
1,483
C#
using System; namespace NetTopologySuite.Algorithm { /// <summary> /// /// </summary> public class NotRepresentableException : ApplicationException { /// <summary> /// /// </summary> public NotRepresentableException() : base("Projective point not representable on the...
22
115
0.607955
[ "EPL-1.0" ]
Amit909Singh/NetTopologySuite
src/NetTopologySuite/Algorithm/NotRepresentableException.cs
352
C#
using System; using System.Collections.Generic; using System.Threading; using ServiceStack.Commands; using ServiceStack.Support; #if NETFX_CORE using Windows.System.Threading; #endif namespace ServiceStack { public class CommandsUtils { public static List<T> ExecuteAsyncCommandList<T>(TimeSpan timeou...
34.403361
118
0.581094
[ "Apache-2.0" ]
PPPInc/ServiceStack
src/ServiceStack.Common/CommandsUtils.cs
4,094
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...
50.916201
189
0.656024
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.Redshift/Model/Internal/MarshallTransformations/CreateClusterResponseUnmarshaller.cs
9,114
C#
// ********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ********************************************************************* using Microsoft.StreamProcessing; using Microsoft.StreamProcessing.Internal; ...
40.083333
180
0.527311
[ "MIT" ]
domoritz/Trill
Sources/Test/TrillTest/Aggregates/PerKeyAggregate.cs
5,293
C#
// ---------------------------------------------------------------------- // @Namespace : VgoGltf // @Struct : Vector4Byte // ---------------------------------------------------------------------- namespace VgoGltf { using System; using System.Runtime.InteropServices; /// <summary> /// Vector4 (byt...
24.6
75
0.415537
[ "MIT" ]
izayoijiichan/vgo.gltf
Runtime/Structs/Vector4Ubyte.cs
1,109
C#
namespace ExcelReadWrite.Domain { public class HyperaPharmaNota : BaseDomain { } public class HyperaPharmaRetorno : BaseDomain { } }
15.8
49
0.670886
[ "MIT" ]
wmalves/ExcelReadWrite
Domain/HyperaPharma.cs
160
C#
using System; using System.Linq; using MediaBrowser.Model.Plugins; using Trakt.Model; namespace Trakt.Configuration { public class PluginConfiguration : BasePluginConfiguration { public PluginConfiguration() { TraktUsers = Array.Empty<TraktUser>(); } public TraktUs...
23.068966
62
0.576981
[ "MIT" ]
Vagab0nd/jellyfin-plugin-trakt
Trakt/Configuration/PluginConfiguration.cs
671
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System.Collections.Generic; namespace Steeltoe.Management { public interface IEndpointOptions ...
23.538462
78
0.668301
[ "Apache-2.0" ]
Chatina73/steeltoe
src/Management/src/Abstractions/IEndpointOptions.cs
614
C#
using OWML.ModHelper.Events; using UnityEngine; using UnityEngine.UI; namespace NomaiVR { internal class Dialogue : NomaiVRModule<Dialogue.Behaviour, Dialogue.Behaviour.Patch> { protected override bool IsPersistent => false; protected override OWScene[] Scenes => PlayableScenes; publi...
43.333333
163
0.586779
[ "MIT" ]
senritsu/nomai-vr
NomaiVR/UI/Dialogue.cs
4,162
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Threax.ProcessHelper; namespace Threax.Provision.AzPowershell { public class ArmTemplateManager : IArmTemplateManager { private readonly IShellRunner shellRunner; public Arm...
41.834862
219
0.676974
[ "MIT" ]
threax/Threax.Pipelines
Threax.Provision.AzPowershell/ArmTemplateManager.cs
4,562
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SerrisCodeEditor.Functions.Settings { public static class DefaultSettings { public static SettingsMenu[] DefaultSettingsMenuList = { //EDITOR n...
36.486486
129
0.455132
[ "MIT" ]
AdminVIKO/SerrisCodeEditor
SerrisCodeEditor/SerrisCodeEditor/Functions/Settings/DefaultSettings.cs
9,458
C#
using System; namespace HttpClientFactorySample { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
14.692308
46
0.549738
[ "Apache-2.0" ]
xyfy/dotnet-core-Example
HttpClientFactorySample/Program.cs
193
C#
using System; using UnityEngine; [Serializable] public class SpawnPoolEntry { [SerializeField] private ObjectPool _pool; [SerializeField] private ushort _priority; public ObjectPool Pool { get { return _pool; } } public ushort Priority { get { return _priority; } } }
12.478261
27
0.724739
[ "MIT" ]
willem88836/GGJ2021
Assets/Scripts/Object_Spawning/SpawnPoolEntry.cs
289
C#
namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayOpenServicemarketCommodityShopOfflineResponse. /// </summary> public class AlipayOpenServicemarketCommodityShopOfflineResponse : AlipayResponse { } }
24.5
85
0.734694
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayOpenServicemarketCommodityShopOfflineResponse.cs
247
C#
using ff14bot.Managers; using Newtonsoft.Json; namespace LlamaLibrary.Retainers { //TODO This needs to be somewhere else, Maybe a DataClass folder/namespace public class RetainerTaskData { public int Id { get; set; } public byte ClassJobCategory { get; set; } public bool IsRandom {...
31.862069
216
0.549242
[ "MIT" ]
nt153133/__LlamaLibrary
Retainers/RetainerTaskData.cs
1,850
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("Ale...
37.444444
84
0.750742
[ "MIT" ]
ManishMehmood/TDS-Hackathon-2020
AlexaSkill/Properties/AssemblyInfo.cs
1,351
C#
using UdonSharp; using UnityEngine; using VRC.SDKBase; using VRC.Udon; public class pickup_setvelocity : UdonSharpBehaviour { public VRCPlayerApi PlayerApiref; private Transform transform; public Vector3 direction; public float speed = 1; private bool state = false; void Start() { ...
17.727273
88
0.605128
[ "MIT" ]
jetdog8808/Udon-playground
Assets/jetdogs-prefabs-udon/U# scripts/pickup_setvelocity.cs
780
C#
/*using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using UnityEditor; using UnityEngine; public class VisibleIfDrawer : PropertyDrawer { bool init = false; VisibleIfAttribute data; FieldInfo firstField; FieldInfo secondF...
20.362745
109
0.694271
[ "MIT" ]
nickc01/Nitro
Assets/Editor/VisibleIfDrawer.cs
2,079
C#
using Newtonsoft.Json; namespace Thenewboston.Validator.Models { public class ValidatorBank { [JsonProperty(PropertyName = "account_number")] public string AccountNumber { get; set; } [JsonProperty(PropertyName = "ip_address")] public string IpAddress { get; set; } [J...
29.885714
64
0.633843
[ "MIT" ]
Mirch/dotnetcore-sdk
src/Thenewboston/Validator/Models/ValidatorBank.cs
1,048
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Anchor : MonoBehaviour { private AnchorCollider maleAnchor; private AnchorCollider femaleAnchor; void Awake () { foreach (AnchorCollider anchorCollider in GetComponentsInChildren<AnchorCollider>()) { if (anchorColli...
24.816327
88
0.738076
[ "MIT" ]
tomhettinger/PirateStorm
Assets/Scripts/Anchor.cs
2,434
C#
using System; using FluentAssertions; using Xunit; namespace RestSharp.Serializers.Newtonsoft.Json.Tests { public class NewtonsoftJsonSerializerTests { #region Fields & Properties private Person PersonObject => new Person() { Name = "John Smith", FavoriteNumber ...
30.125
167
0.578542
[ "Apache-2.0" ]
adamfisher/RestSharp.Newtonsoft.Json
RestSharp.Serializers.Newtonsoft.Json.Tests/NewtonsoftJsonSerializerTests.cs
1,687
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.ServiceBus.Fluent { using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Management.Resourc...
43.6
248
0.640435
[ "MIT" ]
abharath27/azure-libraries-for-net
src/ResourceManagement/ServiceBus/Domain/InterfaceImpl/TopicImpl.cs
26,596
C#
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEngine; /* 1.02 - RemoveChild method */ namespace Battlehub.UIControls { /// <summary> /// Data Item Expanding event arguments /// </summary> public class ItemExpandingArgs : EventArgs { ...
30.765921
120
0.485818
[ "MIT" ]
dayfox5317/ET_Lua
Unity/Assets/Cold/UIControls/TreeView/TreeView.cs
17,877
C#
// <copyright> // Copyright 2013 by the Spark Development Network // // 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 b...
39.968254
219
0.550338
[ "Apache-2.0", "Unlicense" ]
ThursdayChurch/rockweb.thursdaychurch.org
Blocks/Groups/GroupMemberAddFromUrl.ascx.cs
10,074
C#
using System; using System.Collections.Generic; using UnityEngine; // Token: 0x020001F5 RID: 501 [Serializable] public class BMFont { // Token: 0x170001A7 RID: 423 // (get) Token: 0x06000EB4 RID: 3764 RVA: 0x00076F52 File Offset: 0x00075352 public bool isValid { get { return this.mSaved.Count > 0; } } ...
20.22549
77
0.67111
[ "Unlicense" ]
larryeedwards/openyan
Assembly-CSharp/BMFont.cs
4,128
C#