content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using ProxyServices.Messages; using System; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using ProxyServices.Models; namespace ProxyServices { public class Server : Proxy { private readonly TcpL...
30.821918
150
0.504148
[ "MIT" ]
bramerto/NotS-WIN
Proxy/Server.cs
6,752
C#
using UnityEngine; using System.Collections; public class TitleGUI : MonoBehaviour { public GameObject Optionsandstatusholder; public int Qlevel; public int Opscreenon; // OnGUI is called once per frame void OnGUI () { if(GUI.Button(new Rect(65,410,200,30), "START")){ Application.LoadLevel(1); } if(G...
24.626866
81
0.681212
[ "MIT" ]
RS17/Tunnel-Strike
Assets/Title/TitleGUI.cs
1,650
C#
using BaseballHistory.Domain.Entities; using BaseballHistory.Domain.Filters; using BaseballHistory.Domain.Helpers; using BaseballHistory.Domain.Services; using BaseballHistory.Domain.Supervisor; using Microsoft.AspNetCore.Mvc; namespace BaseballHistory.API.Controllers; [Route("api/[controller]")] [ApiController] publ...
36.793651
125
0.685073
[ "MIT" ]
cwoodruff/baseball-history
BaseballHistoryAPI/BaseballHistory.API/Controllers/TeamsFranchiseController.cs
2,318
C#
using UnityEngine; using System.Collections; // Cartoon FX - (c) 2015 Jean Moreno public class CFX_Demo_RandomDirectionTranslate : MonoBehaviour { public float speed = 30.0f; public Vector3 baseDir = Vector3.zero; public Vector3 axis = Vector3.forward; public bool gravity; private Vector3 dir; void Start () ...
20.83871
110
0.70743
[ "MIT" ]
12195302inha/ShootingGame
Assets/JMO Assets/Cartoon FX/Demo/Assets/CFX_Demo_RandomDirectionTranslate.cs
646
C#
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace WarOfEmpires.Models.Attacks { public sealed class ExecuteAttackModel { public int DefenderId { get; set; } public string DisplayName { get; set; } public int Population { g...
38.956522
117
0.651786
[ "MIT" ]
maikelbos0/WarOfEmpires
WarOfEmpires.Models/Attacks/ExecuteAttackModel.cs
898
C#
using CSharpier.Tests.TestFileTests; using NUnit.Framework; namespace CSharpier.Tests.TestFiles { public class InterfaceDeclarationTests : BaseTest { [Test] public void InterfaceDeclarations() { this.RunTest("InterfaceDeclaration", "InterfaceDeclarations"); } } }...
21.4
74
0.666667
[ "MIT" ]
brikabrak/csharpier
Src/CSharpier.Tests/TestFiles/InterfaceDeclaration/_InterfaceDeclarationTests.cs
321
C#
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; using System.Collections; using TMPro; public class Menu : Elemento { private float progressoLoad; private GameObject load; private bool carregando; private float timer; private int cenaId; private void Start() { ...
23.910112
103
0.579417
[ "Unlicense" ]
GabrielMendesM/WhackAMole
Whack A Mole/Assets/Desenvolvimento/Scripts/Menu.cs
2,128
C#
using System; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace WebAPI_NG_TokenbasedAuth.Models { // Models used as parameters to AccountController actions. public class AddExternalLoginBindingModel { [Required] [Display(Name = "External access token")] ...
31.905882
110
0.623525
[ "MIT" ]
FernandoPucci/WebAPI
WebAPI_NG_TokenbasedAuth/WebAPI_NG_TokenbasedAuth/Models/AccountBindingModels.cs
2,714
C#
namespace RecruitmentTool.WebApi.Infrastructure.ServiceExtensions { using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Versioning; using Microsoft.Extensions.DependencyInjection; public static class VersioningExtension { public static void AddVersioning(this IServiceCollection ...
36.90625
113
0.591025
[ "MIT" ]
3nch3v/RecruitmentTool
src/RecruitmentTool.WebApi/Infrastructure/ServiceExtensions/VersioningExtension.cs
1,183
C#
//------------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2019 Tasharen Entertainment Inc //------------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] #if UNITY_3_5 [CustomEditor(typeof(UIButtonKeys))] #else [Custo...
26.275862
103
0.65748
[ "Unlicense" ]
AhriHaran/Unity
3DRPG/Assets/NGUI/Scripts/Editor/UIButtonKeysEditor.cs
763
C#
using ClickerGame.Models; using UnityEngine; using UnityEngine.UI; /// <summary> /// スコア表示用ビュー。 /// </summary> public class ScoreView : MonoBehaviour { /// <summary> /// スコア表示テキスト。 /// </summary> [SerializeField] private Text _scoreText = null; /// <summary> /// 表示する通貨型。 /// </summary...
21.625
61
0.544637
[ "MIT" ]
KuniTatsu/GameJam
Assets/Scripts/Views/ScoreView.cs
1,657
C#
using AvalonCode.Services.Models; using Microsoft.CodeAnalysis.MSBuild; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace AvalonCode.Services.Implementation { internal class SolutionExplorer : ISolutionExplorer ...
34.565789
176
0.609821
[ "MIT" ]
adospace/AvalonCode
src/AvalonCode.Services/Implementation/SolutionExplorer.cs
2,629
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DelegatedCommand.cs"> // Copyright© 2021 Ryan Wilson // Licensed under the MIT license. See LICENSE.md in the solution root for full license information. // </copyright> // <s...
35.568182
120
0.546965
[ "MIT" ]
FFXIVAPP/xivevent
XIVEVENT/DelegatedCommand.cs
1,568
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
71.214286
373
0.719157
[ "MIT" ]
Agazoth/azure-powershell
src/Functions/generated/api/Support/Reason.Completer.cs
2,950
C#
////////PROVISIONAL IMPLEMENTATION//////// ////////PROVISIONAL IMPLEMENTATION//////// ////////PROVISIONAL IMPLEMENTATION//////// using Microsoft.LiveLabs.JavaScript.IL2JS; using System.Text; namespace System.IO { /// Writes primitive types in binary to a stream and supports writing strings in a specific encoding...
40.666667
107
0.634355
[ "Apache-2.0" ]
Reactive-Extensions/IL2JS
mscorlib/System/IO/BinaryReader.cs
2,808
C#
/* Copyright 2016 Dominik Werner 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 agre...
48.050109
174
0.514078
[ "Apache-2.0" ]
dowerner/MipsSim
MipsSim/MipsSim/Model/Mips/Hardware/InstructionExecute.cs
22,057
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.Collections.Generic; using System.Linq; using FluentAssertions; using Nest; using Tests...
25.95053
144
0.558143
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
tests/Tests/Search/Request/HighlightingUsageTests.cs
7,344
C#
using System; using System.Collections.Generic; using Construct.Admin.Controllers; using Construct.Admin.Data.Response; using Construct.Admin.State; using Construct.Base.Test.Functional.Base; using Construct.Core.Data.Response; using Construct.Core.Database.Model; using Microsoft.AspNetCore.Http; using Microsoft.AspNet...
37.588235
122
0.563224
[ "MIT" ]
ChrisFigura/Makerspace-Database-Server
Construct.Admin.Test/Functional/Controllers/AdminSessionControllerTest.cs
6,390
C#
using System; namespace UniMob.UI { public abstract class View<TState> : ViewBase<TState> where TState : IViewState { protected sealed override void DidStateAttached(TState state) { try { using (Atom.NoWatch) { ...
23.394737
69
0.434196
[ "MIT" ]
adrenak/UniMob.UI
Runtime/View.cs
889
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...
28.857143
93
0.712871
[ "Apache-2.0" ]
pulumi/pulumi-aws-native
sdk/dotnet/Lex/Outputs/BotTextLogDestination.cs
808
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AccountingNote7308.UserControl { public partial class ucPager : System.Web.UI.UserControl { public int PageSize { get; set; } public int TotalSiz...
29.514851
73
0.480711
[ "MIT" ]
thousandtw/AccountingNote
AccountingNote/AccountingNote7308/UserControl/ucPager_UserList.ascx.cs
3,005
C#
/****************************************************************************** * Copyright (C) Ultraleap, Inc. 2011-2021. * * * * Use subject to the terms of the Apache License 2.0 available at * ...
45.690476
87
0.65555
[ "MIT" ]
Gustav-Rixon/M7012E-DRv3
Remote control/Assets/ThirdParty/Ultraleap/Tracking/Interaction Engine/Runtime/Scripts/Internal/Interface/IInternalInteractionController.cs
1,919
C#
extern alias Their; using System; using System.IO; using System.Linq; using BenchmarkDotNet.Attributes; namespace Prometheus.Client.Benchmarks.Comparison.Summary { public class SummaryCollectingBenchmarks : ComparisonBenchmarkBase { private const int _metricsCount = 100; private const int _labe...
33.944444
97
0.592471
[ "MIT" ]
PrometheusClientNet/Prometheus.Client
tests/Prometheus.Client.Benchmarks.Comparison/Summary/SummaryCollectingBenchmarks.cs
1,833
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft...
22.782609
58
0.700382
[ "BSD-3-Clause" ]
nokiadatagathering/WP7-Official
NDG/Views/AboutPage.xaml.cs
526
C#
using System.Linq; using System.Threading; using System.Threading.Tasks; using Jobba.Core.Events; using Jobba.Core.Interfaces; using Jobba.Core.Interfaces.Repositories; using Jobba.Core.Models; using Microsoft.Extensions.Logging; namespace Jobba.Core.Implementations { public class DefaultJobReScheduler : IJobReSch...
34.8125
151
0.637343
[ "MIT" ]
firebend/jobba
Jobba.Core/Implementations/DefaultJobReScheduler.cs
1,671
C#
namespace ERHMS.Console.Utilities { public interface IUtility { void Run(); } }
13.5
35
0.555556
[ "Apache-2.0" ]
CDCgov/erhms-info-manager
ERHMS.Console/Utilities/IUtility.cs
110
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. using IdentityServer4.Configuration; using IdentityServer4.Extensions; using IdentityServer4.Models; using IdentityServer4.Stores; using Micr...
35.545455
147
0.588386
[ "Apache-2.0" ]
gcbenjamin/IdentityServer4
src/IdentityServer4/Services/DefaultIdentityServerInteractionService.cs
6,649
C#
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
40.276596
159
0.618331
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Courier/Hosts/CompensateActivityHost.cs
3,786
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace mediver_server.Areas.Identity.Pages.Account.Manage { public static class ManageNavPages { public static string Index => "Index"; public static s...
42.333333
140
0.751274
[ "MIT" ]
mediver-app/mediver
mediver-server/Areas/Identity/Pages/Account/Manage/ManageNavPages.cs
2,161
C#
using System.Web; using System.Web.Optimization; namespace Rn.Mailer { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(n...
39.172414
113
0.5625
[ "Apache-2.0" ]
rncode/Rn.Mailer
src/Rn.Mailer/App_Start/BundleConfig.cs
1,138
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Xml; using System.Xml.Schema; using DDay.iCal.Validator.Xml; namespace DDay.iCal.Validator.Serialization { public class XmlValidationSerializer : IValidationSerializer { #region Constr...
43.951613
140
0.478165
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
linux-distro/package/nuxleus/Source/Vendor/dday-ical/DDay.iCal.Validator/DDay.iCal.Validator/Serialization/XmlValidationSerializer.cs
8,177
C#
using System; using System.Collections.Generic; using System.Net; // for EndPoint using System.Net.Sockets; // for Socket using System.Text; using System.Threading; // for Interlocked namespace ServerCore { // 패킷 형태 public abstract class PacketSession : Session { // 헤더는 2바이트라고 가정하자. publi...
32.533654
113
0.497709
[ "MIT" ]
610ksh/CSharpGameServer
Server(error)/ServerCore/Session.cs
7,395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Basket.Api.Entities { public class ShoppingCart { public string UserName { get; set; } public List<ShoppingCartItem> Items { get; set; } = new List<ShoppingCartItem>(); public Sh...
21.555556
89
0.506443
[ "MIT" ]
zargostar/microservices
Src/Services/Basket/Basket.Api/Entities/ShoppingCart.cs
778
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...
33.675325
107
0.650212
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/ListNotebookInstancesResponse.cs
2,593
C#
using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace JudgeSystem.Web.Infrastructure.Extensions { public static class FormFileExtensions { public static async Task<byte[]> ToArrayAsync(this IFormFile file) { using (var memoryStream = new MemoryS...
23.8
74
0.617647
[ "MIT" ]
NaskoVasilev/JudgeSystem
Web/JudgeSystem.Web.Infrastructure/Extensions/FormFileExtensions.cs
478
C#
using UnityEngine; using System.Collections; public class DestroyOnHit : MonoBehaviour { void OnTriggerEnter2D(Collider2D other){ Destroy (other.gameObject); } }
16.9
43
0.775148
[ "Apache-2.0" ]
Cremate91/BunnyRunTut
Assets/Scriptes/DestroyOnHit.cs
171
C#
using JetBrains.Annotations; namespace OpenMLTD.MilliSim.Extension.Components.CoreComponents { /// <summary> /// Synchronization method of <see cref="SyncTimer"/>. /// </summary> public enum TimerSyncMethod { /// <summary> /// Uses the naive method. Synchronized time is directly read f...
30.619048
162
0.625194
[ "MIT" ]
hozuki/MilliSim
src/plugins/OpenMLTD.MilliSim.Extension.Components.CoreComponents/TimerSyncMethod.cs
643
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LeetCode.Test { [TestClass] public class _0829_ConsecutiveNumbersSum_Test { [TestMethod] public void ConsecutiveNumbersSum_1() { var solution = new _0829_ConsecutiveNumbersSum(); var result = solut...
27.545455
61
0.607261
[ "MIT" ]
BigEggStudy/LeetCode-CS
LeetCode.Test/0801-0850/0829-ConsecutiveNumbersSum-Test.cs
909
C#
using DragonSpark.Compose; using DragonSpark.Model.Results; using System; using System.Linq.Expressions; namespace DragonSpark.Runtime.Invocation.Expressions; sealed class Parameter<T> : FixedSelectedSingleton<string, ParameterExpression> { public static Parameter<T> Default { get; } = new Parameter<T>(); public ...
29.863636
83
0.754947
[ "MIT" ]
DragonSpark/Framework
DragonSpark/Runtime/Invocation/Expressions/Parameter.cs
659
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. namespace Iot.Device.GrovePiDevice.Models { /// <summary> /// The supported Digital Grove Ports /// See...
34.634146
72
0.590845
[ "MIT" ]
Anberm/iot
src/devices/GrovePi/Models/GrovePort.cs
1,422
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.Buffers; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace System.IO.Pipelines.Tests { pu...
30.412752
100
0.522013
[ "MIT" ]
belav/runtime
src/libraries/System.IO.Pipelines/tests/PipeWriterTests.cs
9,063
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
37
213
0.644144
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Compute/Outputs/AvailablePatchSummaryResponse.cs
2,886
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...
29.838095
102
0.55841
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/Container.cs
6,266
C#
using LNF.Billing; using LNF.Billing.Reports.ServiceUnitBilling; using LNF.CommonTools; using sselFinOps.AppCode.DAL; using System; using System.Configuration; using System.Data; using System.Linq; namespace sselFinOps.AppCode.SUB { public class RoomReport : ReportBase { public RoomReport(DateTime sta...
57.057692
203
0.563802
[ "MIT" ]
lurienanofab/sselfinops
sselFinOps.AppCode/SUB/RoomReport.cs
14,837
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("AWSSDK.ComputeOptimizer")] [assembly: Asse...
48.375
267
0.757106
[ "Apache-2.0" ]
gnurg/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/ComputeOptimizer/Properties/AssemblyInfo.cs
1,548
C#
using System; using System.Collections.Generic; using System.Text; namespace MetaDslx.CodeAnalysis.Antlr4Test.TestLanguageAnnotations { public class UnitTest04 : UnitTestBase01 { public UnitTest04() { TestId = "04"; } } }
18.133333
66
0.647059
[ "Apache-2.0" ]
balazssimon/meta-cs
src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/TestLanguageAnnotations/UnitTest04.cs
274
C#
using System; using System.Collections.Generic; namespace Seq.Api.Model.Diagnostics { public class ServerMetricsEntity : Entity { public ServerMetricsEntity() { RunningTasks = new List<RunningTaskPart>(); } public double EventStoreDaysRecorded { get; set; } ...
38.386364
70
0.678508
[ "Apache-2.0" ]
nblumhardt/seq-api
src/Seq.Api/Api/Model/Diagnostics/ServerMetricsEntity.cs
1,691
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Runtime.InteropServices; using System.Drawing; using System.Drawing.Drawing2D; using System.Diagnostics; using SlimDX; using FDK; using System.Linq; namespace TJAPlayer4 { /// <summary> /// プライベートフォントでの描画を扱うクラス。 ...
37.212683
271
0.541436
[ "MIT" ]
269Seahorse/TJAP4
TJAPlayer3/Common/CPrivateFont.cs
44,927
C#
using System.Collections.Generic; using System.Text; using Avalonia.Lottie.Animation.Keyframe; using Avalonia.Lottie.Value; namespace Avalonia.Lottie.Model.Animatable { public abstract class BaseAnimatableValue<TV, TO> : IAnimatableValue<TV, TO> { internal readonly List<Keyframe<TV>> Keyframes; ...
28.361111
92
0.5857
[ "Apache-2.0" ]
PieroCastillo/Avalonia.Lottie
Avalonia.Lottie/Model/Animatable/BaseAnimatableValue.cs
1,023
C#
/* TILE WORLD CREATOR * Copyright (c) 2015 doorfortyfour OG * * Create awesome tile worlds in seconds. * * * Documentation: http://tileworldcreator.doofortyfour.com * Like us on Facebook: http://www.facebook.com/doorfortyfour2013 * Web: http://www.doorfortyfour.com * Contact: mail@doorfortyfour.com Contact u...
23.060538
143
0.452698
[ "MIT" ]
142333lzg/jynew
jyx2/Assets/Resources/TileWorldCreator/_Core/Utility/TileWorldNeighbourCounter.cs
10,287
C#
using Raider.AspNetCore.Middleware.Authentication.RequestAuth.Events; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; namespace Raider.AspNetCore.Middleware.Authentication.RequestAuth { public class RequestAuthenticationOptions : AuthenticationSchemeOptions { public PathString? AccessD...
26.666667
72
0.78125
[ "Apache-2.0" ]
raider-net/Raider
src/Raider.AspNetCore/Middleware/Authentication/RequestAuth/RequestAuthenticationOptions.cs
642
C#
// MbUnit Test Framework // // Copyright (c) 2004 Jonathan de Halleux // // This software is provided 'as-is', without any express or implied warranty. // // In no event will the authors be held liable for any damages arising from // the use of this software. // Permission is granted to anyone to use this ...
28.862385
99
0.518436
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v2
src/mbunit/MbUnit.Framework/Core/Reports/Serialization/ReportProperty.cs
3,148
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.ResourceManager.AppService.Models { internal static partial class HostingEnvironmentStatusExtensions { public static string ToSerialStr...
46.545455
138
0.729818
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HostingEnvironmentStatus.Serialization.cs
1,536
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Data.Entity.Metadata; using Xunit; namespace Microsoft.Data.Entity.SqlServer.Tests { public class SqlServerDataba...
37.49866
111
0.507078
[ "Apache-2.0" ]
matteo-mosca-easydom/EntityFramework
test/EntityFramework.SqlServer.Tests/SqlServerDatabaseBuilderTest.cs
27,976
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.Host; using Microsoft.CodeAnalysis...
32.041701
308
0.57585
[ "Apache-2.0" ]
HaloFour/roslyn
src/EditorFeatures/Test/RenameTracking/RenameTrackingTaggerProviderTests.cs
38,420
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("lab...
39.111111
84
0.758523
[ "MIT" ]
TheEletricboy/2019-09-C-sharp-Labs
Labs/lab_just_do_it_dotnetframwork_api/Properties/AssemblyInfo.cs
1,411
C#
using System; namespace Core.Model.Services.Navigation { public class FavoritesService { public FavoritesService() { } } }
14.545455
40
0.6
[ "Apache-2.0" ]
QotoQot/Octospace
Core/Model/Services/Navigation/FavoritesService.cs
162
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HoverCraftPlayerController : MonoBehaviour { HoverCraft hoverCraft; void Awake () { hoverCraft = GetComponent<HoverCraft> (); } void FixedUpdate () { float xAxis = Input.GetAxis ("Horizontal"); float yAxis = Input...
22.05
61
0.718821
[ "MIT" ]
Basher207/NeuralNet
Neural stuff/NeuralNet/Assets/Scripts/Specific/HoverCraft/HoverCraftPlayerController.cs
443
C#
using System.Collections; using System.Collections.Generic; using GraphProcessor; using UnityEngine; public class SIGMiscellaneousNode : SIGNode { public const string MISCELLANEOUS = "Miscellaneous"; } [System.Serializable, NodeMenuItem(MISCELLANEOUS + "/Texture Preview")] public class TexturePreviewNode : SIGMis...
24.5
71
0.756803
[ "MIT" ]
FreshlyBrewedCode/SIG
Packages/de.frebreco.SIG.Core/Runtime/Nodes/Miscellaneous/TexturePreviewNode.cs
588
C#
using System; namespace CommunityCenter.Models.RBAC { public class fn_rbac_HS_PORT { public int ResourceID { get; set; } public int GroupID { get; set; } public int RevisionID { get; set; } public int? AgentID { get; set; } public DateTime TimeStamp { get; set; } ...
19.805556
52
0.584853
[ "MIT" ]
Eph-It/MEM.CommunityCenter
CommunityCenter/CommunityCenter.Models/RBAC/fn_rbac_HS_PORT.cs
715
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
37.952381
148
0.591524
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/CreateDBClusterParameterGroupRequest.cs
7,173
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace PokemonROMEditor.Models { public class Map { public...
26.391566
113
0.537777
[ "MIT" ]
JoaoMSerra/PokemonROMEditor
src/PokemonROMEditor/Models/Map.cs
4,383
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("Ak...
38.351351
84
0.7463
[ "Apache-2.0" ]
Horusiath/Akka.Transport
src/Akka.Transport.DotNetty/Properties/AssemblyInfo.cs
1,422
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("TemplateTest")] [assembly: AssemblyDescri...
37.722222
84
0.741532
[ "MIT" ]
VladShyrokyi/template-message-sdk
TemplateTest/Properties/AssemblyInfo.cs
1,361
C#
namespace Org.BouncyCastle.Crypto.Tls { /// <summary> /// RFC 5246 7.2 /// </summary> public abstract class AlertDescription { /** * This message notifies the recipient that the sender will not send any more messages on this * connection. Note that as of TLS 1.1, failure to...
41.445902
104
0.621232
[ "BSD-3-Clause" ]
ConnectionMaster/OutlookPrivacyPlugin
3rdParty/bccrypto-net-05282015/crypto/src/crypto/tls/AlertDescription.cs
12,641
C#
using System; using System.Collections.Generic; using System.Linq; using AutoFixture; using AutoFixture.AutoMoq; using Moq; using NUnit.Framework; namespace IqOptionApiDotNet.Tests { public abstract class TestFor<TUnit> where TUnit : class { public virtual bool IsUsingFakeEngineContext { get; } ...
24.659341
97
0.497326
[ "MIT" ]
JorgeBeserra/IqOptionApiDotNet
tests/IqOptionApiDotNet.Tests/TestFor.cs
2,244
C#
//============================================================== // Copyright (C) 2021 Inc. All rights reserved. // //============================================================== // Create by chongdaoyang at 2021/2/22 13:37:00. // Version 1.0 // CHONGDAOYANGPC //=================================================...
25.56
75
0.467919
[ "Apache-2.0" ]
cdy816/mars
RunTime/DBRuntime/Api/IAPINotify.cs
641
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4....
106.415276
1,188
0.721053
[ "MIT" ]
G-arj/WindowsProtocolTestSuites
TestSuites/FileServer/src/FSAModel/TestSuite/OpenFileTestCase.cs
165,795
C#
using System.Runtime.InteropServices; using Microsoft.AspNetCore.Mvc; namespace AttendeeList { [Route("/api/[controller]")] public class PlatformController : Controller { [HttpGet] public string Get() { return RuntimeInformation.OSDescription; } } }
20.666667
52
0.635484
[ "MIT" ]
AnzhelikaKravchuk/aspnetcore-concepts-workshop
Labs/Code/App/AttendeeList/Controllers/PlatformController.cs
310
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Work.Events { /// <summary> /// <para>表示 INFO.remark_device_name 事件的数据。</para> /// <para>REF: https://open.work.weixin.qq.com/api/doc/90002/90151/90751 </para> /// </summary> public class RemarkDeviceNameEvent : ...
31.16
96
0.62516
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Work/Events/Device/RemarkDeviceNameEvent.cs
839
C#
namespace ClienteWcfData { partial class frmAddAlumno { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
41.185714
160
0.565383
[ "MIT" ]
Fantasmy/WcfDataClient
ClienteWcfData/frmAddAlumno.Designer.cs
5,768
C#
using Baraka.Services.Streaming.Core; using NAudio.Wave; using NAudio.Wave.SampleProviders; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; namespace Baraka.Services.Streaming { // https://markheath.net/post/fire-and-forget-audio-playback-with public class CachedSound ...
34.722222
92
0.6088
[ "BSD-3-Clause" ]
Jomtek/Baraka
Baraka/Services/Streaming/Core/CachedSound.cs
1,252
C#
// Copyright © 2021 Soft-Fx. All rights reserved. // Author: Andrei Hilevich // // This Source Code Form is subject to the terms of the Mozilla // Public License, v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; using System.Collectio...
27.862745
69
0.589022
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
GonzoSpire/SharpRpc
src/SharpRpc/Logging/ConsoleLogger.cs
1,424
C#
using System; using MvcContrib.FluentHtml; using MvcContrib.UnitTests.FluentHtml.Fakes; using MvcContrib.UnitTests.FluentHtml.Helpers; using NUnit.Framework; using MvcContrib.FluentHtml.Html; namespace MvcContrib.UnitTests.FluentHtml { [TestFixture] public class ViewDataContainerExtensionsTests { private FakeView...
24.350554
78
0.714805
[ "Apache-2.0" ]
joaofx/mvccontrib
src/MVCContrib.UnitTests/FluentHtml/ViewDataContainerExtensionsTests.cs
6,599
C#
namespace TeleConsult.Data.Repositories { using System.Linq; using Microsoft.Practices.Unity; using TeleConsult.Data.Models; public class DiagnosisRepository : BaseRepository<Diagnosis> { [InjectionConstructor] public DiagnosisRepository(ITeleConsultDbContext context) :...
23.25
72
0.574501
[ "MIT" ]
penjurov/TeleConsult
Data/TeleConsult.Data/Repositories/DiagnosisRepository.cs
653
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Lamar.IoC.Frames; using Lamar.IoC.Resolvers; using LamarCodeGeneration; using LamarCodeGeneration.Model; using Microsoft.Extensions.DependencyInjection; using LamarCodeGeneration.Util; namespace Lamar.IoC.Instances { ...
30.910653
173
0.561089
[ "MIT" ]
AaronAllBright/lamar
src/Lamar/IoC/Instances/Instance.cs
8,997
C#
// // Authors: // Rafael Mizrahi <rafim@mainsoft.com> // Erez Lotan <erezl@mainsoft.com> // Vladimir Krasnov <vladimirk@mainsoft.com> // // // Copyright (c) 2002-2005 Mainsoft Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated...
29.860465
81
0.73053
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/System_Web_UI_WebControls/DataGrid/DataGrid_UpdateCommandName.aspx.cs
2,568
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.Distance_Between_Points { class Program { static void Main(string[] args) { var point1 = Console.ReadLine() .Split(' ') ...
27.511628
67
0.457312
[ "MIT" ]
DimovDimo/softuni-00-programming-fundamentals-january-2018
17.OBJECTS AND CLASSES/17.OBJECTS AND CLASS/04. Distance Between Points/04. Distance Between Points.cs
1,185
C#
using System; namespace Zephyr.Data { internal partial class DbCommand { public T ExecuteReturnLastId<T>(string identityColumnName = null) { if (Data.Context.Data.Provider.RequiresIdentityColumn && string.IsNullOrEmpty(identityColumnName)) throw new FluentDataException("The identity column must be given"...
24.166667
101
0.72069
[ "MIT" ]
zhupangithub/WEBERP
Code/Zephyr.Net/Zephyr.Data/Command/PartialClasses/ExecuteReturnLastId.cs
582
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.Text; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; public class BringUpTest { const ...
34.124384
269
0.566819
[ "MIT" ]
333fred/runtime
src/tests/nativeaot/SmokeTests/Interfaces/Interfaces.cs
27,709
C#
using TMPro; using UnityEngine; namespace AdrianKovatana { public class GameTimerUI : MonoBehaviour { #pragma warning disable [SerializeField] private FloatVariable _currentTime; [Header("UI Text")] [SerializeField] private TextMeshProUGUI _textHours; [Serializ...
24.912281
77
0.555634
[ "MIT" ]
adriank1/ludum-dare-44
Ludum Dare 44/Assets/MyAssets/Scripts/GameTimerUI.cs
1,422
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
45.025455
295
0.590292
[ "MIT" ]
HaoQian-MS/azure-sdk-for-net
sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesConfigurationOperations.cs
12,382
C#
using System; using System.Collections.Generic; using System.IO; using Calamari.Commands.Support; using Calamari.Common.Commands; using Calamari.Common.Features.Packages; using Calamari.Common.Features.Packages.NuGet; using Calamari.Integration.Packages; using Calamari.Integration.Packages.NuGet; using Calamari.Tests....
34.888889
168
0.61465
[ "Apache-2.0" ]
lilwa29/Calamari
source/Calamari.Tests/Fixtures/Integration/Packages/CombinedPackageExtractorFixture.cs
2,514
C#
using System; namespace FishingBoat { internal class Program { static void Main(string[] args) { int budget = int.Parse(Console.ReadLine()); string season = Console.ReadLine(); int fishermanCount = int.Parse(Console.ReadLine()); int boatRent = 0;...
26.873239
97
0.394654
[ "MIT" ]
Ivanazzz/SoftUni-Software-Engineering
CSharp-Programming-Basics/ConditionalStatementsAdvanced/lab/FishingBoat/Program.cs
1,910
C#
using System; public class PhotonPlayerProperty { public static string beard_texture_id = "beard_texture_id"; public static string body_texture = "body_texture"; public static string cape = "cape"; public static string character = "character"; public static string costumeId = "costumeId"; publi...
48.037037
95
0.741712
[ "MIT" ]
ITALIA195/RC-Mod
RC Mod/PhotonPlayerProperty.cs
2,594
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.SqlObjects.Visitors { using System.Collections.Generic; using System.Linq; using Mi...
25.670526
104
0.47878
[ "MIT" ]
Sheshagiri/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/SqlObjects/Visitors/SqlObjectEqualityVisitor.cs
24,389
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Controls { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class ContainerContentChangin...
57.704762
301
0.771414
[ "Apache-2.0" ]
TheRusstler/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/ContainerContentChangingEventArgs.cs
6,059
C#
using Microsoft.IdentityModel.Tokens; using RestWithASPNETMesaRadionica.Configurations; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Security.Cryptography; using System.Text; namespace RestWithASPNETMesaRadionica.Services.Implementat...
37.013889
108
0.640525
[ "Apache-2.0" ]
mcanavez/API-Rest
RestWithASPNET5/RestWithASPNET5/Services/Implementations/TokenService.cs
2,667
C#
using AM.Core.Algorithms.StringManipulation.Converters; namespace AM.Core.Algorithms.StringManipulation.Tests.Converters { public class BruteForceZigZagConverterTests : ZigZagConverterTestsBase<BruteForceZigZagConverter> { } }
26.777778
101
0.817427
[ "MIT" ]
mkArtak/Algorithms
test/AM.Core.Algorithms.StringManipulation.Tests/Converters/BruteForceZigZagConverterTests.cs
243
C#
using System; using System.IO; using System.Threading.Tasks; using Windows.Storage; namespace DirectX12GameEngine.Serialization { public class FileSystemProvider : IFileProvider { public FileSystemProvider(IStorageFolder rootFolder, IStorageFolder? readWriteRootFolder = null) { Roo...
35.484848
143
0.625961
[ "MIT" ]
5l1v3r1/DirectX12GameEngine
DirectX12GameEngine.Serialization/FileSystemProvider.cs
2,344
C#
#pragma checksum "C:\Users\iamys\OneDrive\Belgeler\GitHub\UserManagementApplication\UserManagementApplication\UserManagementApplication.Web\Areas\Identity\Pages\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "43e0bf0d61f9a553d2f59156ad2cdff9b3bdd158" // <auto-generated/> #pragma warning disable 1591 [assem...
53.208955
263
0.794109
[ "Apache-2.0" ]
iamyasinkaya/User-Management-App
UserManagementApplication/UserManagementApplication.Web/obj/Debug/netcoreapp3.1/Razor/Areas/Identity/Pages/_ViewStart.cshtml.g.cs
3,565
C#
using System; namespace Shriek.Auth.Domain { public class Class1 { } }
9.444444
28
0.623529
[ "MIT" ]
Shriek-Projects/shriek-auth
src/Shriek.Auth.Domain/Class1.cs
87
C#
//using Acr.UserDialogs; using LibVLCSharp.Forms.Shared; using System; using System.Net; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace CloudStreamForms.UWP { /// <summary> /// Provid...
37.371795
130
0.562779
[ "MIT" ]
LagradOst/CloudSteam-2
CloudStreamForms/CloudStreamForms.UWP/App.xaml.cs
5,832
C#
// ----------------------------------------------------------------------- // <copyright file="DropletExitedMessage.cs" company="Uhuru Software, Inc."> // Copyright (c) 2011 Uhuru Software, Inc., All Rights Reserved // </copyright> // ----------------------------------------------------------------------- namespace U...
29.681818
146
0.514548
[ "Apache-2.0", "MIT" ]
lspecian/vcap-dotnet
src/Uhuru.CloudFoundry.DEA/Messages/DropletExitedMessage.cs
2,614
C#
using System.Collections.Generic; using UnityEngine; using UnityEngine.Windows.Speech; using HoloToolkit.Unity; /// <summary> /// The SurfaceManager class allows applications to scan the environment for a specified amount of time /// and then process the Spatial Mapping Mesh (find planes, remove vertices) after that...
36.801047
142
0.73837
[ "MIT" ]
kaiomagalhaes/hololens-planetarium
Starting/Planetarium/New Unity Project/Assets/Scripts/PlaySpaceManager.cs
7,031
C#
using System; using System.Text; using System.Diagnostics; using System.ComponentModel; using System.IO; namespace AutoDogTerminalAPI { //关于进程的输入输出委托事件 public delegate void ProcessEventHanlder(object sender, ProcessEventArgs args); public class ProcessInterface { //初始化进程 public Proces...
28.971014
111
0.528889
[ "MIT" ]
devdiv/AutoDog
AutoDog/AutoDogTerminalAPI/ProcessInterface.cs
8,034
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.Collections.ObjectModel; using System.Linq; using System.Net.Http; using Microsoft.HttpRepl...
44.557692
146
0.660984
[ "Apache-2.0" ]
jhu78/HttpRepl
src/Microsoft.HttpRepl.Tests/Suggestions/HeaderCompletionTests.cs
9,268
C#
using System.Threading.Tasks; using NUnit.Framework; using SFA.DAS.EmployerFinance.Application.Commands.ImportPayeSchemeLevyDeclarations; using SFA.DAS.EmployerFinance.Application.Commands.UpdateLevyDeclarationSagaProgress; using SFA.DAS.EmployerFinance.MessageHandlers.EventHandlers.EmployerFinance; using SFA.DAS.Emplo...
46.441176
203
0.756175
[ "MIT" ]
SkillsFundingAgency/das-employerfinance
src/SFA.DAS.EmployerFinance.UnitTests/MessageHandlers/EventHandlers/EmployerFinance/StartedProcessingLevyDeclarationsAdHocEventHandlerTests.cs
1,579
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Altairis.Services.LoginApprovals; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace DemoApp.Areas.Identity.Pages.Account.Manage { public class ApproveLoginModel : PageModel { ...
34.977273
96
0.697856
[ "MIT" ]
ridercz/Altairis.Services.LoginApprovals
DemoApp/Areas/Identity/Pages/Account/Manage/ApproveLogin.cshtml.cs
1,539
C#
#region using using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Windows; using System.Windows.Media; using System.Xml.Serialization; #endregion namespace ExplorerWpf { public static class SettingsHandl...
46.954907
307
0.620495
[ "MIT" ]
xuri02/Explorer
ExplorerWpf/SettingsHandler.cs
17,706
C#