content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
// Copyright © 2012 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, th...
39.142857
750
0.613595
[ "BSD-3-Clause" ]
wiseman/virtual-radar-server
VirtualRadar.Library/DotNetSpeechSynthesizerWrapper.cs
4,387
C#
#if !WATCH && !__MACCATALYST__ using System; using ObjCRuntime; #nullable enable namespace SceneKit { public partial class SCNRenderingOptions { public SCNRenderingApi? RenderingApi { get { var val = GetNUIntValue (SCNRenderingOptionsKeys.RenderingApiKey); if (val is not null) return (SCNRendering...
19.066667
88
0.715035
[ "BSD-3-Clause" ]
stephen-hawley/xamarin-macios
src/SceneKit/SCNRenderingOptions.cs
572
C#
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // Generated using OBeautifulCode.CodeGen.ModelObject (1.0.0.0) // </auto-generated> // -----------------------------------------------------------------------------------------...
38.517241
120
0.595345
[ "MIT" ]
OBeautifulCode/OBeautifulCode.CodeGen
OBeautifulCode.CodeGen.ModelObject.Test/Models/Scripted/StringRepresentation/PublicSet/ReadOnlyCollection/ModelStringRepresentationPublicSetReadOnlyCollectionChild2.designer.cs
1,119
C#
// // The Open Toolkit Library License // // Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit library. // // 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 rest...
38.227979
125
0.562957
[ "BSD-3-Clause" ]
TizenAPI/opentk
src/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs
14,756
C#
namespace Cbn.Infrastructure.Common.ValueObjects { /// <summary> /// ソートの向き /// </summary> public enum SortDirection { /// <summary> /// 昇順 /// </summary> Asc, /// <summary> /// 降順 /// </summary> Desc, } }
17.235294
48
0.430034
[ "MIT" ]
wakuwaku3/cbn.clean-sample
Cbn.Infrastructure.Common/ValueObjects/SortDirection.cs
313
C#
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections.Generic; using Stride.Core; using Stride.Core.Mathematics...
44.388462
185
0.554718
[ "MIT" ]
Aggror/Stride
sources/engine/Stride.Physics/Engine/PhysicsShapesRenderingService.cs
11,541
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...
34.778846
131
0.613492
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Batch/Generated/Model/Internal/MarshallTransformations/DeviceUnmarshaller.cs
3,617
C#
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26 { using HL7; /// <summary> /// RSP_K31_ENCODING (Group) - /// </summary> ...
24.323529
104
0.544135
[ "Apache-2.0" ]
ahives/Machete
src/Machete.HL7Schema/V26/Groups/RSP_K31_ENCODING.cs
827
C#
using KeePass.Plugins; namespace MicrosoftKeyImporterPlugin { public sealed class MicrosoftKeyImporterPluginExt : Plugin { private IPluginHost _host; private MicrosoftKeysExportFileFormatProvider _provider; public override bool Initialize(IPluginHost host) { ...
25.12
69
0.613057
[ "BSD-3-Clause" ]
SeanWH/MicrosoftKeyImporterPlugin
MicrosoftKeyImporterPlugin/MicrosoftKeyImporterPluginExt.cs
630
C#
using System; using System.Collections.Generic; using System.Text; namespace QueueWithStacks.Classes { public class Stack<T> { public Node<T> Top { get; set; } public void Push(T value) { Node<T> node = new Node<T>(value); node.Next = Top; Top = nod...
18.625
46
0.469799
[ "MIT" ]
Michael-S-Kelly/data-structures-and-algorithms
Challenges/QueueWithStacks/QueueWithStacks/Classes/Stack.cs
598
C#
using HS.Web.Extensions; using HS.Web.Models.Options; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HS.Web.Middlewares { public class Pr...
30.088889
113
0.632201
[ "MIT" ]
OskarKlintrot/heating-system
src/HS.Web/Middlewares/ProtectFolderMiddleware.cs
1,354
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEditor; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities.Editor { [CustomEditor(typeof(SimpleLineDataProvider))] pu...
32.573333
119
0.578387
[ "MIT" ]
AzureMentor/MapsSDK-Unity
SampleProject/Assets/MixedRealityToolkit/Inspectors/Utilities/Lines/DataProviders/SimpleLineDataProviderInspector.cs
2,445
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...
34.371179
107
0.586965
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/StaticImageActivateScheduleActionSettings.cs
7,871
C#
using Microsoft.Language.Xml; using System; using System.Collections.Generic; using System.IO; using System.Text; using Xunit; using Xunit.Abstractions; namespace MSBuildProjectTools.LanguageServer.Tests { using SemanticModel; using Utilities; /// <summary> /// Tests for <see cref="XSParser"/> ...
40.328358
155
0.573723
[ "MIT" ]
BThree496/msbuild-project-tools-server
test/LanguageServer.Engine.Tests/XSParserTests.cs
13,510
C#
using Common; using Hangfire; using Microsoft.AspNetCore.Http; using System; using System.IO; using System.Linq; namespace Masuit.MyBlogs.Core.Extensions.UEditor { /// <summary> /// UploadHandler 的摘要说明 /// </summary> public class UploadHandler : Handler { public UploadConfig UploadConfig {...
29.407609
97
0.493254
[ "MIT" ]
vidys/Masuit.MyBlogs
src/Masuit.MyBlogs.Core/Extensions/UEditor/UploadHandler.cs
5,601
C#
 namespace Trakx.Shrimpy.ApiClient { internal partial class AccountsClient { partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url) { CredentialProvider.AddCredentials(request); } } }
22.923077
126
0.684564
[ "MIT" ]
trakx/shrimpy-api-client
src/Trakx.Shrimpy.ApiClient/ApiClients.Partials.cs
300
C#
using UnityEngine; using System.Collections; public class StartGame : MonoBehaviour { public static bool first_load = true; public GameObject GUIC; // Use this for initialization void Start () { } // Update is called once per frame void Update () { GUIC.GetComponent<AudioSource> ().volume = Settings.mu...
17.285714
60
0.689256
[ "MIT" ]
darknessomi/Unity-SolarSystem
Assets/scripts/StartGame.cs
607
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIGameplayPlayAgainButton : Pieka { public void OnClick() { FireEvent (EventIDs.GameplayUI.PlayAgainButton); } }
17.833333
50
0.780374
[ "MIT" ]
piekaa/4Cannons
Assets/Scripts/UIGameplayPlayAgainButton.cs
216
C#
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Source.DLaB.Common; namespace DLaB.Common.Tests { [TestClass] public class ConfigTests { [TestMethod] public void RoundTripDictionary_Should_BeUnchanged() { var dic...
27.052632
101
0.430691
[ "MIT" ]
daryllabar/DLaB.Common
DLaB.Common.DotNetCore.Tests/ConfigTests.cs
4,114
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.552941
152
0.659157
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Elasticsearch/Generated/Model/Internal/MarshallTransformations/ResourceAlreadyExistsExceptionUnmarshaller.cs
3,107
C#
using SimpleJSON; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.UI; public partial class ShowTemperature : MonoBehaviour { Text _textWidget; string _textToDisplay; List<string> _deviceIds; bool _deviceIdsF...
27.912698
115
0.607051
[ "MIT" ]
Trojka/HoloDuino
Unity/ReadIt/Assets/Scripts/ShowTemperature.cs
3,519
C#
using System.Linq; using System.Web.Http; using System.Web.OData; using System.Web.OData.Routing; using Microsoft.Web.Http; using TestRestfulAPI.Infrastructure.Authorization.Attributes; using TestRestfulAPI.Infrastructure.Controllers; using TestRestfulAPI.RestApi.odata.v1.Users.Entities; using TestRestfulAPI.RestApi.o...
34.03125
97
0.644628
[ "MIT" ]
erlingsjostrom/TESS-V2
API/TestRestfulAPI/RestApi/odata/v1/Users/Controllers/PermissionController.cs
2,180
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebApplication7.Services { // This class is used by the application to send email for account confirmation and password reset. // For more details see https://go.microsoft.com/fwlink/?LinkID=532713 p...
28.5
103
0.709552
[ "MIT" ]
n3v3r94/FistSPA
WebApplication7/Services/EmailSender.cs
515
C#
using System; using System.Collections.Generic; namespace Problem_3.Pyramidic { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); Dictionary<char, int> charAndOccurances = new Dictionary<char, int>(); int currentMax = -...
29.924051
82
0.391709
[ "MIT" ]
Supbads/Softuni-Education
07 ProgrammingFundamentals 05.17/fakehw/Problem 3. Pyramidic/Program.cs
2,366
C#
// <copyright file="ElasticsearchClientTests.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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...
47.717566
158
0.628411
[ "Apache-2.0" ]
alanwest/opentelemetry-dotnet-contrib
test/OpenTelemetry.Instrumentation.ElasticsearchClient.Tests/ElasticsearchClientTests.cs
41,562
C#
// $Id$ // // Copyright 2008-2009 The AnkhSVN Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
33.581395
97
0.682825
[ "Apache-2.0" ]
AnkhSVN/AnkhSVN
src/Ankh.Services/Commands/SvnCommandAttribute.cs
1,444
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using GenieLamp.Examples.QuickStart.Services.Adapters.QuickStart; using GenieLamp.Examples.QuickStart.Services.Adapters; namespace Services.Test { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() ...
36.40625
83
0.607725
[ "MIT" ]
arbinada-com/genie-lamp
Examples/GLQuickStart/Services.Test/UnitTest1.cs
1,167
C#
using System; using System.Collections.Generic; using System.Linq; namespace Ship_Game.Ships { public static class ShipExtensions { public static int SurfaceArea(this ShipModule[] modules, ShipModuleType moduleType) { int modulesArea = 0; for (int i = 0; i < ...
32.5
99
0.500285
[ "MIT" ]
UnGaucho/StarDrive
Ship_Game/Ships/ShipExtensions.cs
1,757
C#
using Microsoft.Extensions.Logging; using Promitor.Core.Configuration.Model.Telemetry.Interfaces; namespace Promitor.Core.Configuration.Model.Telemetry.Sinks { public class ApplicationInsightsConfiguration : ISinkConfiguration { public LogLevel? Verbosity { get; set; } = Defaults.Telemetry.Application...
41.5
100
0.761044
[ "MIT" ]
ChristianEder/promitor
src/Promitor.Core.Configuration/Model/Telemetry/Sinks/ApplicationInsightsConfiguration.cs
500
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 Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.TestUtilities; nam...
31.172872
114
0.599352
[ "Apache-2.0" ]
1iveowl/efcore
test/EFCore.Sqlite.FunctionalTests/FieldMappingSqliteTest.cs
11,721
C#
using System.Collections.Generic; using System.Linq; using RimWorld; using UnityEngine; using Verse; using Verse.AI; namespace Wizardry { internal class Nienna_JobDriver_HealingTouch : JobDriver { private const TargetIndex caster = TargetIndex.B; private readonly bool issueJobAgain = false; ...
34.898305
119
0.438724
[ "MIT" ]
emipa606/LordoftheRimsWizardry
Source/Wizardry/Nienna_JobDriver_HealingTouch.cs
6,179
C#
using System; using System.Collections.Generic; namespace TwoCheckout { public class Sales { public long? sale_id { get; set; } public DateTime? date_placed { get; set; } public string customer_name { get; set; } public int? recurring { get; set; } public DateTime? recu...
26.764706
57
0.61978
[ "MIT" ]
2Checkout/2checkout-dotnet
TwoCheckout/Entities/Sales.cs
457
C#
// Copyright (c) MudBlazor 2021 // MudBlazor licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.AspNetCore.Components; using MudBlazor.Extensions; using MudBlazor.Utilities; namespace MudBlazor { public partial class MudTimeline : Mu...
41.556818
109
0.608422
[ "MIT" ]
1619digital/MudBlazor
src/MudBlazor/Components/Timeline/MudTimeline.razor.cs
3,659
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity; using Crk.Repositorio; using Crk.Dominio; namespace Crk.Aplicacao { public class ArtistaAplicacao { public static DatabaseContext context { get; set; } ...
22.803571
100
0.586531
[ "MIT" ]
sandroperes/VS2017---Crk
Avaliacao/Crk.Aplicacao/ArtistaAplicacao.cs
1,279
C#
using ServiceSupport.Core.Exceptions; using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace ServiceSupport.Core.Domain { public class ShopTime { private static readonly Regex TimeRegex = new Regex("\\d{2}:\\d{2}$"); public DayOfWeek ...
36.157895
103
0.557982
[ "MIT" ]
Lukasz0303/ServiceSupport
src/ServiceSupport.Core/Domain/ShopTime.cs
2,063
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework....
39.896024
169
0.497547
[ "MIT" ]
yyny/osu
osu.Game/Screens/Edit/Components/Menus/EditorMenuBar.cs
12,722
C#
using EntityFrameworkCore.Extensions.Services; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using System; using Xunit; namespace EntityFrameworkCore.Extensions.Tests { public class DbContextOptionsBuilderExtensionsTest ...
38.206897
103
0.736462
[ "MIT" ]
pecea/EntityFrameworkCore.Extensions
EntityFrameworkCore.Extensions.Tests/DbContextOptionsBuilderExtensionsTest.cs
1,110
C#
using System.Collections.Generic; using Script; using UnityEngine; public class Spawner : MonoBehaviour { public GameObject CubePrefab; private List<GameObject> _cubeList = new List<GameObject>(); private string _savedData; private void Update() { if (Input.GetButton("Jump")) ...
37.98
106
0.639284
[ "MIT" ]
adrytekk/Serialization
Assets/Scripts/Spawner.cs
1,899
C#
using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.UnionPay.Response { /// <summary> /// 无跳转支付(V2.2) 解除标记 - 应答报文 /// </summary> public class UnionPayNoRedirectPayDeleteTokenResponse : UnionPayResponse { /// <summary> /// 签名 /// </summary> [JsonProperty("...
23.953271
76
0.470933
[ "MIT" ]
AkonCoder/Payment
src/Essensoft.AspNetCore.Payment.UnionPay/Response/UnionPayNoRedirectPayDeleteTokenResponse.cs
2,723
C#
using System.Collections.Generic; using UnityEngine; using System.Collections; public class WallCollider : MonoBehaviour { private List<Transform> hitTargets = new List<Transform>(); void Start () { } void Update () { } void OnCollisionEnter(Collision collision) { if (hitTargets.Contains(c...
19.464286
73
0.678899
[ "MIT" ]
InteractiveLab/unite-12
Assets/Modules/The Wall/Scripts/WallCollider.cs
545
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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // PairComparer.cs // /...
30.106383
89
0.515194
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Linq.Parallel/src/System/Linq/Parallel/Utils/PairComparer.cs
1,415
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.Entity; using System.Data.SqlClient; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using BloodDonationManagementSystem; using PagedList; namespace BloodDonationManagementSyst...
30.856164
111
0.5101
[ "MIT" ]
irahulcse/Rudhir-A-BDMS
BloodDonationManagementSystem/Areas/ADMIN/Controllers/StatesController.cs
4,507
C#
using System; namespace Microsoft.Azure.Batch.SoftwareEntitlement.Common { /// <summary> /// A container that either contains a success (OK) value, or an error. /// </summary> /// <typeparam name="TOk">The success type</typeparam> /// <typeparam name="TError">The error type</typeparam> public s...
25.684211
76
0.493852
[ "MIT" ]
Azure/azure-batch-software-entitlement
src/Microsoft.Azure.Batch.SoftwareEntitlement.Common/Result.cs
1,952
C#
using System.Reflection; 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("BusinessLogic")] [assembly: AssemblyDescr...
37.777778
84
0.741912
[ "MIT" ]
enriqueescobar-askida/UdeS.Cefti.Inf731.Tp1
BusinessLogic/Properties/AssemblyInfo.cs
1,363
C#
using System.Collections; using System.Collections.Generic; using System.Reflection; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.VisioApi { /// <summary> /// DispatchInterface IVDataRecordsets /// S...
33.206522
189
0.691162
[ "MIT" ]
igoreksiz/NetOffice
Source/Visio/DispatchInterfaces/IVDataRecordsets.cs
6,112
C#
using System; namespace RuriLib.Logging { /// <summary> /// Takes care of logging information produced by a job. /// </summary> public interface IJobLogger { /// <summary> /// Logs a generic <paramref name="message"/> to the log identified by the <paramref name="jobId"/>. /...
33.972222
108
0.584628
[ "MIT" ]
542980940984363224858439616269115634540/OpenBullet2
RuriLib/Logging/IJobLogger.cs
1,225
C#
// Copyright (c) 2018 Alachisoft // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
29.666667
75
0.722846
[ "Apache-2.0" ]
abayaz61/NCache
Src/NCCommon/Enum/CacheTopology.cs
801
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("Si...
38.297297
84
0.747354
[ "MIT" ]
thesheps/screwdriver
tests/Sidecar.Tests/Properties/AssemblyInfo.cs
1,420
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
25.871795
81
0.618434
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20190801/Outputs/ApplicationGatewayBackendAddressResponse.cs
1,009
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using UnicornStore.Models.UnicornStore; using UnicornStore.ViewModels.Shop; using Microsoft.AspNetCore.Mvc; namespace UnicornStore.Controllers { public class ShopController : Controller { private UnicornStoreContext db; CategoryCache categ...
29.323529
83
0.520227
[ "Apache-2.0" ]
SajjadArifGul/UnicornStore
UnicornStore/src/UnicornStore/Controllers/ShopController.cs
2,991
C#
#region License // Copyright © 2018 Darko Jurić // // 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,...
43.073171
108
0.652322
[ "MIT" ]
vacamra/websocket-rpc
Source/WebSocketRPC.JS/RPCJs.cs
5,302
C#
using Unicorn.ControlPanel.Pipelines.UnicornControlPanelRequest; using Unicorn.ControlPanel.Responses; using Unicorn.ControlPanel.VisualStudio.Responses; namespace Unicorn.ControlPanel.VisualStudio.Pipelines.UnicornControlPanelRequest { // ReSharper disable once InconsistentNaming public class VSReserializeVerb : R...
29.15
90
0.823328
[ "MIT" ]
BenGGolden/Unicorn
src/Unicorn/ControlPanel/VisualStudio/Pipelines/UnicornControlPanelRequest/VSReserializeVerb.cs
585
C#
namespace RomanticWeb.Linq.Model { /// <summary>Provides a base interface for expressions in query.</summary> public interface IExpression : IQueryComponent { } }
25.571429
78
0.709497
[ "BSD-3-Clause" ]
alien-mcl/RomanticWeb
RomanticWeb.Contracts/Linq/Model/IExpression.cs
181
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using TOutput = Microsoft.Xna.Framework.Matrix; namespace Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler { /...
31.814815
83
0.649593
[ "MIT" ]
Gitspathe/MonoGame
MonoGame.Framework.Content.Pipeline/Serialization/Compiler/MatrixWriter.cs
859
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; using System.Text; using Newtonsoft.Json; namespace Adyen.Model.MarketPay { /// <summary> /// AccountContainer /// </summary> [DataContract] public partial ...
31.900901
141
0.529511
[ "MIT" ]
Ganesh-Chavan/adyen-dotnet-api-library
Adyen/Model/MarketPay/UpdateAccountResponse.cs
3,543
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Sharp.Entities { public class Light : Entity { #region Variables /**********************************************************************...
36.583333
83
0.2612
[ "MIT" ]
frham20/SharpEngine
src/Entities/Light.cs
1,317
C#
using Foundation; using Prism; using Prism.Ioc; using UIKit; namespace XamarinPrismApp.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // application events from...
31.846154
98
0.669082
[ "MIT" ]
mac-shiota/XamarinPrismApp
XamarinPrismApp/XamarinPrismApp.iOS/AppDelegate.cs
1,244
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. #if ASPNET50 using System; using System.Collections.Generic; using System.Linq; using Microsoft.Framework.DependencyInjection; using Mi...
38.511915
332
0.497856
[ "Apache-2.0" ]
icyjiang/Microsoft.AspNet.Routing
test/Microsoft.AspNet.Routing.Tests/Template/TemplateBinderTests.cs
46,869
C#
using System; using Melanchall.DryWetMidi.Common; namespace Melanchall.DryWetMidi.Tools { internal sealed class MinVelocityMerger : VelocityMerger { #region Overrides public override void Merge(SevenBitNumber velocity) { _velocity = (SevenBitNumber)Math.Min(_velocity, velo...
20.277778
70
0.663014
[ "MIT" ]
Amalgam-Cloud/drywetmidi
DryWetMidi/Tools/NotesMerger/VelocityMergers/MinVelocityMerger.cs
367
C#
using SimpleJournal.Controls; using SimpleJournal.Data; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace SimpleJournal.Templates { /// <summary> /// Interaktionslogik für Chequered.xaml /// </summary> public partial class Chequered : UserControl, IPaper ...
26.644444
87
0.588824
[ "MIT" ]
andyld97/SimpleJournal
SimpleJournal/Templates/Chequered.xaml.cs
1,202
C#
using Game.Logic.Phy.Object; using System; namespace Game.Logic.PetEffects { public class CASE1214 : BasePetEffect { private int int_0; private int int_1; private int int_2; private int int_3; private int int_4; private int int_5; private int int_6; ...
33
146
0.556527
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/Game.Logic/PetEffects/CASE1214.cs
1,718
C#
using Database.Entities; using SqlKata.Execution; namespace Database.Repositories; public class ComicsRepository : IComicsRepository { private readonly QueryFactory _db; public ComicsRepository(QueryFactory db) { _db = db; } public Task<Comics> GetById(Guid id) { return _db.Q...
22.44186
81
0.630052
[ "MIT" ]
artem-galas/ComicsShop.CSharp
Database/Repositories/ComicsRepository.cs
965
C#
using AndcultureCode.CSharp.Core.Interfaces.Conductors; namespace AndcultureCode.CSharp.Conductors { /// <summary> /// Conductor class /// </summary> public class Conductor : IConductor { } }
17.384615
55
0.646018
[ "Apache-2.0" ]
AndcultureCode/AndcultureCode.CSharp
src/Conductors/Conductor.cs
226
C#
using UnityEngine; using System.Collections.Generic; namespace com.spacepuppy.Anim.Legacy { /// <summary> /// It is usually more convenient to break Animation scripts into several parts for the various tasks they handle. Each script should inherit from this class as it handles a lot of boilerplate. /// <...
25.485294
197
0.601847
[ "MIT" ]
lordofduct/spacepuppy-unity-framework-4.0
Framework/com.spacepuppy.anim/Runtime/src/Anim/Legacy/SPLegacyAnimator.cs
1,735
C#
using System; using Arnible.Assertions; namespace Arnible.MathModeling.Geometry { public static class GetDirectionDerivativeRatiosExtensions { /// <summary> /// Calculate derivative ratios by moving along the array vector /// </summary> public static void GetDirectionDerivativeRatios( in this...
29.057143
79
0.685349
[ "Apache-2.0" ]
tomaszbiegacz/Arnible.MathModeling
Arnible.MathModeling/Geometry/GetDirectionDerivativeRatiosExtensions.cs
1,017
C#
using System; using NLog.Config; using NLog.Layouts; namespace NLog.Extensions.AzureStorage { [NLogConfigurationItem] public class DynEntityProperty { [RequiredParameter] public string Name { get; set; } [RequiredParameter] public Layout Layout { get; set; } publi...
19.590909
53
0.603248
[ "MIT" ]
marchers/NLog.Extensions.AzureStorage
src/NLog.Extensions.AzureStorage/DynEntityProperty.cs
433
C#
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace WebApplication4 { public class Program { public static void Main(string[] args) { WebHost. CreateDefaultBuilder(args). UseStartup<Startup>(). Build(). ...
19.555556
46
0.519886
[ "MIT" ]
ShloEmi/sandbox.ASP.NetCore
WebApplication4/WebApplication4/Program.cs
354
C#
using System; using System.Collections.Generic; using System.Text; namespace Surging.Core.Protocol.Mqtt.Internal.Messages { public class MqttWillMessage { public string Topic{ get; set; } public string WillMessage { get; set; } public bool WillRetain { get; set; } public in...
18.315789
54
0.646552
[ "MIT" ]
857593381/surging
src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttWillMessage.cs
350
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MakeBigger : MonoBehaviour { public Transform target; // Gracz public float distance = 5f; public Vector3 default_size = new Vector3( 1f, 1f, 1f ); public Vector3 size_speed = new Vector3( 1f, 1f, 1f ); ...
37.371429
148
0.646789
[ "MIT" ]
Adrixop95/deathly_balloons_vr
src/smiertelne_balony_unity/Assets/Scripts/Ballons/MakeBigger.cs
1,332
C#
namespace Fooidity.Management.AzureIntegration.UserStore.Encoding { using System; using System.Text; public class Base32BinaryEncodingFormatter : IBinaryEncodingFormatter { const int Base32Size = 5; const int ByteSize = 8; const string LowerCaseChars = "abcd...
30.320988
110
0.516694
[ "Apache-2.0" ]
phatboyg/Fooidity
src/Fooidity.Management.AzureIntegration/UserStore/Encoding/Base32BinaryEncodingFormatter.cs
2,458
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Microsoft.DotNet.Tools.Test.Utilities; using Xunit; namespace Microsoft.DotNet.Tests.EndToEnd { public...
37.940476
102
0.539693
[ "MIT" ]
1Crazymoney/installer
test/EndToEnd/GivenDotNetLinuxInstallers.cs
3,189
C#
using System; namespace EvenFibonacciNumbers { partial class Euler002 { public static void Main() { long limit=4000000; long evenFibonacciSum = 2; for( long termN=0, term0=0,term1=2; termN<limit; termN = 4 * ...
22.478261
68
0.466151
[ "MIT" ]
AnuragAnalog/project_euler
C#/euler002/euler002.cs
517
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...
26
81
0.661243
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DBforMySQL/V20180601/Inputs/PrivateEndpointPropertyArgs.cs
676
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using MaterialCMS.Entities.People; using MaterialCMS.Services; using MaterialCMS.Website; using MaterialCMS.Website.Binders; using Ninject; namespace MaterialCMS.Web.Areas.Admin.ModelBinders { public class EditUserModelBinder...
35.425926
134
0.607946
[ "MIT" ]
DucThanhNguyen/MaterialCMS
MaterialCMS.Web/Areas/Admin/ModelBinders/EditUserModelBinder.cs
1,915
C#
using System.Xml; using System.Xml.Linq; namespace CustomRuntimeListBucketsNET6 { internal class Door { private const int _wallGap = 100; private const int _gapBetweenDoors = 100; public string Name { private get; set; } = ""; public string Description { private get; set; } = "...
47.772727
152
0.644148
[ "Apache-2.0" ]
liviu-marciu/LambdaNETCoreSamples
CustomRuntimeListBucketsNET6/Door.cs
4,206
C#
namespace BaristaLabs.Skrapr.ChromeDevTools.Accessibility { using Newtonsoft.Json; /// <summary> /// /// </summary> public sealed class AXRelatedNode { /// <summary> /// The BackendNodeId of the related DOM node. ///</summary> [JsonProperty("backendDOMNodeId")] ...
25.052632
83
0.521008
[ "MIT" ]
BaristaLabs/BaristaLabs.Skrapr
src/BaristaLabs.Skrapr.ChromeDevTools/Accessibility/AXRelatedNode.cs
952
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components.Web; using Microsoft.JSInterop; namespace Majorsoft.Blazor.Components.Common.JsInterop.GlobalMouseEvents { /// <summary> /// Implementation of <see cref="IGlobalMouseEventHandler"/...
29.685039
158
0.759151
[ "MIT" ]
ScriptBox99/blazor-components
src/Majorsoft.Blazor.Components.Common.JsInterop/GlobalMouseEvents/GlobalMouseEventHandler.cs
3,772
C#
using System; using System.Collections.Generic; using QueueLibrary; using Xunit; namespace QueueLibrary.Tests { public class QueueClassTests { [Fact] public void IsEmptyMethod_WhereQueueIsEmpty_ShouldReturnTrue() { //Arrange QueueModel testQueue = new QueueMod...
26.747826
118
0.525358
[ "MIT" ]
nortonstudios/C-Sharp-Data-Structures
QueueLibrary/QueueLibrary.Tests/QueueModelTests.cs
3,078
C#
using System.Reflection; 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("Eumel.Dj.Mobile.iOS")] [assembly: Assembl...
39.171429
84
0.740336
[ "MIT" ]
EUMEL-Suite/EUMEL.Dj
Eumel.Dj.Mobile.iOS/Properties/AssemblyInfo.cs
1,374
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using Syste...
60.46029
5,634
0.600667
[ "MIT" ]
shannonmae999/docusign-esign-csharp-client
sdk/src/DocuSign.eSign/Model/List.cs
104,294
C#
using SmartSql.Configuration; using SmartSql.Exceptions; using SmartSql.Reflection.PropertyAccessor; using SmartSql.Reflection.TypeConstants; using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; using System.Threading.Tasks; namespace SmartSql.Deserializer { publi...
41.184211
139
0.618956
[ "Apache-2.0" ]
Joye-Net/SmartSql
src/SmartSql/Deserializer/MultipleResultDeserializer.cs
4,697
C#
// Copyright (c) Converter Systems LLC. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading; using System.Threading.Tasks; namespace Workstation.ServiceModel.Ua { /// <summary>Defines the contract for the basic state ma...
65.451613
143
0.719566
[ "MIT" ]
dojo90/opc-ua-client
UaClient/ServiceModel/Ua/ICommunicationObject.cs
2,031
C#
using FluentAssertions; using NSubstitute; using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Threading.Tasks; using Toggl.Core.DataSources.Interfaces; using Toggl.Core.Interactors; using Toggl.Core.Models.Interfaces; using Toggl.Core.Tests.Generators; using Toggl.Core.Tests.Mocks;...
40.370107
161
0.574665
[ "BSD-3-Clause" ]
moljac/mobileapp
Toggl.Core.Tests/Interactors/Sync/PreparePushRequestInteractorTests.cs
11,344
C#
namespace AH.ModuleController.UI.ACCMS.Reports.ParameterForms { partial class frmACCMSReportLedger { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources...
55.009259
170
0.634629
[ "Apache-2.0" ]
atiq-shumon/DotNetProjects
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/ACCMS/Reports/ParameterForms/frmACCMSReportLedger.Designer.cs
17,825
C#
//****************************************************************************************************** // NotConverter.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // th...
40.783133
105
0.586706
[ "MIT" ]
GridProtectionAlliance/gsf
Source/Libraries/GSF.TimeSeries/UI/Converters/NotConverter.cs
3,388
C#
 using System.Collections.Generic; using System; namespace StoreList { public class Stack { private readonly List<object> _list= new List<object>(); public void Push() { Console.WriteLine("\n\nIntroduce los datos que quieras almacenar en la lista, " + "pres...
30.425743
149
0.355678
[ "MIT" ]
D-Rosa99/StackList
StoreList/StoreList/Stack.cs
3,075
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. #nullable enable using System.Reflection; #if DEBUG || BOOTSTRAP using System; using System.Collections.Concurren...
37.101695
192
0.575758
[ "MIT" ]
Dean-ZhenYao-Wang/roslyn
src/Compilers/Core/MSBuildTask/ValidateBootstrap.cs
6,569
C#
namespace SimpleMvc.App.Controllers { using SimpleMVC.Framework.Attributes.Methods; using SimpleMVC.Framework.Interfaces; public class HomeController : BaseController { [HttpGet] public IActionResult Index() { return View(); } } }
19.8
49
0.622896
[ "MIT" ]
DannyBerova/CSharp-Web-Development-Basics-May-2018
08-AdvancedMVCFramework-Exercise/SimpleMVCFramework/SimpleMvc.App/Controllers/HomeController.cs
299
C#
#pragma checksum "C:\Users\Asus\source\repos\Foodie1\Foodie1\Views\Client\Order.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ac4eabc98fdf631be1846e93d5f902c1386b3a9e" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore...
70.158158
385
0.674281
[ "MIT" ]
AdemTsranchaliev/FoodieNOIT
obj/Release/netcoreapp2.1/Razor/Views/Client/Order.g.cshtml.cs
70,139
C#
using System; using System.Windows.Input; namespace REghZyFramework.Utilities { /// <summary> /// An always executable capiable of passing parameters /// </summary> /// <typeparam name="Parameter">The parameter type (<see cref="string"/>, <see cref="int"/>, etc)</typeparam> public class CommandPar...
30.964912
127
0.556374
[ "MIT" ]
45645615/KoraKora_project
Themes/Utilities/CommandParam.cs
1,767
C#
using UnityEngine; using UnityEngine.AI; public class NavMeshAgentRandomMove : MonoBehaviour { private NavMeshAgent agent; private Animator anim; public float wanderRange = 10f; // Start is called before the first frame update void Start() { agent = GetComponent<NavMeshAgent>(); ...
28.235294
77
0.608333
[ "MIT" ]
DiggingNebula8/Outlier-Shades
Scripts/Runtime/NavMeshAgentRandomMove.cs
962
C#
// Copyright (c) 2018 Ark S.r.l. All rights reserved. // Licensed under the MIT License. See LICENSE file for license information. using Ark.Tools.FtpClient.Core; namespace Ark.Tools.FtpClient.FluentFtp { public sealed class FluentFtpClientFactory : DefaultFtpClientFactory { public FluentFtpClientFac...
27.6
77
0.695652
[ "MIT" ]
ARKlab/Ark.Tools
Ark.Tools.FtpClient.FluentFtp/FluentFtpClientFactory.cs
416
C#
/* MapleLib - A general-purpose MapleStory library * Copyright (C) 2009, 2010, 2015 Snow and haha01haha01 * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Lice...
32.656716
102
0.57404
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Bia10/Harepacker-resurrected
MapleLib/WzLib/WzStructure/Data/Data.cs
2,190
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("SuperSocketServerSessionMode")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [ass...
26.405405
59
0.724667
[ "Apache-2.0" ]
kiba518/SuperSocketConsole
SuperConsole/Properties/AssemblyInfo.cs
1,318
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Demo.LearnByDoing.CodeWars { public class DuplicateEncoderProgram { public static void Main(string[] args) { } } public class Kata { public static string DuplicateEncode(string w...
14.75
51
0.734463
[ "MIT" ]
dance2die/Demo.LearnByDoing
Demo.LearnByDoing.CodeWars/DuplicateEncoderProgram.cs
356
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 doc...
33.607143
81
0.568367
[ "MIT" ]
amccool/azure-activedirectory-identitymodel-extensions-for-dotnet
src/Microsoft.IdentityModel.JsonWebTokens/JwtRegisteredClaimNames.cs
5,646
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: remote.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.P...
35.927441
195
0.681783
[ "MIT" ]
cosh/PrometheusToAdx
PrmoetheusHelper/Remote.cs
27,233
C#
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; namespace EchoNest.Net.UAP.Tools.Converters { public sealed class BooleanToVisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, string language) { return (valu...
30.65
99
0.67863
[ "MIT" ]
drasticactions/EchoNest.Net
EchoNest.Net.UAP/Tools/Converters/BooleanToVisibilityConverter.cs
615
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Numerics; using osu.Framework.Bindables; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Skinning.Default { public cla...
49
126
0.619388
[ "MIT" ]
Azyyyyyy/osu
osu.Game.Rulesets.Catch/Skinning/Default/FruitPulpFormation.cs
2,881
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using Azure.Storage.Blobs.Models; namespace Azure.Storage.Blobs { /// <summary> /// Quick Query ext...
45.708333
196
0.658387
[ "MIT" ]
MahmoudYounes/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/QuickQueryExtensions.cs
4,390
C#