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
// Generated by Selenium IDE using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Remote; using OpenQA.Selenium.Support.UI; using OpenQA.Selenium.Inte...
32.097561
71
0.730243
[ "MIT" ]
marcosdosea/Alugai
Teste/AlterarImovelValidoTest.cs
1,316
C#
using Unity.Mathematics.FixedPoint; using UnityEngine; public class SimulationInput : MonoBehaviour { void Update() { if (Input.GetMouseButton(0)) { var ray = Camera.main.ScreenPointToRay(Input.mousePosition); if (Physics.Raycast(ray, out var hit)) { ApplyForceSystem.Target = hit.point; } } ...
20.166667
91
0.680992
[ "MIT" ]
danielmansson/Unity.Mathematics.FixedPoint.Example
Assets/Code/SimulationInput.cs
607
C#
namespace MyOnlineShop.Application.Shopping.EventHandlers { using MyOnlineShop.Application.Common; using MyOnlineShop.Domain.Catalog.Events; using MyOnlineShop.Domain.Shopping.Repositories; using System.Threading.Tasks; public class ProductNameUpdatedEventHandler : IEventHandler<ProductNameUpdated...
36.541667
105
0.749145
[ "MIT" ]
DimchoLakov/MyOnlineShop-Domain-Driven-Design
MyOnlineShop/MyOnlineShop.Application/Shopping/EventHandlers/ProductNameUpdatedEventHandler.cs
879
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Dolittle.Runtime.Events.Store.Streams.Filters.EventHorizon; using Machine.Specifications; namespace Dolittle.Runtime.Events.Store.Streams.for_Stream...
44.066667
123
0.778366
[ "MIT" ]
dolittle-runtime/Runtime
Specifications/Events.Store/Streams/for_StreamDefinition/when_creating/from_public_filter_definition.cs
1,322
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCor...
27.895833
93
0.666916
[ "MIT" ]
oleh-dumanskyi/pc-component-check
Startup.cs
1,343
C#
using System.Resources; 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. [asse...
34.967742
83
0.74631
[ "MIT" ]
markjulmar/desktop-to-xamarin
Demos/CLScraper/Updated/CLScraper.Common/Properties/AssemblyInfo.cs
1,087
C#
using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Shaders { public static class HackMan { public static T GetField<T>(this object instance, string fieldname) => (T)AccessTools.Field(instance.GetType(), fieldname).GetValue(instance);...
51.58
202
0.652966
[ "MIT" ]
Novocain1/ShadersMod
src/Util/HackMan.cs
2,581
C#
using System; using AlphaTest.Application.UseCases.Common; namespace AlphaTest.Application.UseCases.Examinations.Commands.RevokeAnswer { public class RevokeAnswerUseCaseRequest : IUseCaseRequest { public RevokeAnswerUseCaseRequest(Guid examinationID, Guid questionID, Guid studentID) { ...
26.521739
94
0.67541
[ "MIT" ]
Damakshn/AlphaTest
src/AlphaTest.Application/UseCases/Examinations/Commands/RevokeAnswer/RevokeAnswerUseCaseRequest.cs
612
C#
using System; using System.Collections.Generic; using System.Text; namespace InventoryManager.WPF.UI.ViewModels { public class StorableBaseViewModel : BaseViewModel, IStorableViewModel { public double GetWeightForContainer() { throw new NotImplementedException(); } ...
22.3
74
0.663677
[ "MIT" ]
Pat02/InventoryManager
InventoryManager.WPF.UI/ViewModels/StorableBaseViewModel.cs
448
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...
58.723684
265
0.642841
[ "MIT" ]
Agazoth/azure-powershell
src/Resources/MSGraph.Autorest/generated/api/Models/ApiV10/Paths1Idoj4GServiceprincipalsServiceprincipalIdMicrosoftGraphRemovepasswordPostRequestbodyContentApplicationJsonSchema.TypeConverter.cs
8,775
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> //--...
38.597222
177
0.603095
[ "MIT" ]
CNinnovation/MVVMWorkshopSep2017
InnerFrames/InnerFrames/Properties/Resources.Designer.cs
2,781
C#
using System.ServiceModel; namespace Helper { [ServiceContract] public interface IRequestProcessor { //should have the same interface as client,server,util,launcher. [OperationContract(Action = "RequestProcessor.joinNode")] string joinNode(string nodeSocketAddress); ...
36.064516
85
0.709302
[ "Apache-2.0" ]
amatanat/Centralized-read-and-write
CentralizedReadWrite/IHelloService/IRequestProcessor.cs
1,120
C#
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace blaz...
28.692308
124
0.717158
[ "MIT" ]
hiiammalte/blazor_InlineEditor
blazor_inlineEditor/Program.cs
746
C#
using System; using System.Linq.Expressions; using DNTFrameworkCore.Linq; namespace DNTFrameworkCore.Specifications { /// <summary> /// Represents the combined specification which indicates that either of the given /// specification should be satisfied by the given object. /// </summary> /// <typep...
39.1
101
0.647911
[ "Apache-2.0" ]
amir-ashy/DNTFrameworkCore
src/DNTFrameworkCore/Specifications/OrSpecification.cs
1,173
C#
using System.Collections.Generic; using UnityEngine; public class EnemyManager : MonoBehaviour { static EnemyManager _instance; static int instances = 0; public float movementSpeed = 0; public float minSpawnY = -14; public float maxSpawnY = 14; List<Enemy> deactivated = new List<Enemy>(); List<Enemy> activated...
16.682927
71
0.693713
[ "MIT" ]
berkanuslu/bitcoin-runner-unity
Assets/Scripts/EnemyManager.cs
1,370
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace CinemateAPI.Migrations { public partial class initialMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AspNetRoles", ...
42.827763
108
0.478992
[ "MIT" ]
GeorgiSv/CinemateAPI
CinemateAPI/Data/Migrations/20220127171001_initialMigration.cs
16,662
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using SZORM.DbExpressions; using SZORM.InternalExtensions; using SZORM.Utility; namespace SZORM.Factory.SQLite { partial class SqlGenerator : DbExpressionVisitor<DbExpression> ...
42.387164
245
0.643872
[ "MIT" ]
WinterWoods/SZORM
Factory/SQLite/SqlGenerator_MethodHandlers.cs
20,475
C#
using Microsoft.Xna.Framework; using SMFramework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnalyticsCompiler { class RandomPoint : SMFramework.Testing.LabPoint { public RandomPoint(Vector3 position, float variance) { m_RootP...
18.032258
86
0.669052
[ "MIT" ]
dgerding/Construct
SeeingMachinesVisualization/SeeingMachinesProject/Analytics Compiler/RandomPoint.cs
1,120
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.Diagnostics; using System.IO; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.RazorPages; using Microso...
39.269565
178
0.587688
[ "Apache-2.0" ]
belav/aspnetcore
src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelFactory.cs
9,034
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
51.897436
217
0.723073
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/ContainerService/Outputs/KubernetesClusterAddonProfile.cs
4,048
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & 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; usin...
50.902174
163
0.6246
[ "MIT" ]
Alan-love/xenko
sources/editor/Stride.Assets.Presentation/NodePresenters/Updaters/EntityHierarchyAssetNodeUpdater.cs
4,683
C#
using System; using System.Reflection; using Moq; using NUnit.Framework; using Quartz; using Quartz.Impl.Matchers; using Quartz.Spi; using SimpleInjector; namespace Topshelf.SimpleInjector.Quartz.Test { [TestFixture] public class TopshelfSimpleInjectorQuartzTest { private static Container _contain...
37.971631
160
0.562446
[ "MIT" ]
AdaskoTheBeAsT/Topshelf.SimpleInjector
Tests/Topshelf.SimpleInjector.Quartz.Test/TopshelfSimpleInjectorQuartzTest.cs
16,064
C#
using System.Collections.Generic; using System.IO; using System.Windows; using RayCarrot.IO; using RayCarrot.Rayman; using RayCarrot.Rayman.Ray1; namespace RayCarrot.RCP.Metro { /// <summary> /// The Rayman by his Fans game info /// </summary> public sealed class GameInfo_RaymanByHisFans : GameInfo ...
36.952381
195
0.631959
[ "MIT" ]
RayCarrot/RayCarrot.RCP.Metro
src/RayCarrot.RCP.Metro/Games/Info/Rayman/GameInfo_RaymanByHisFans.cs
3,882
C#
namespace FamilyStore.Web.Controllers { using System; using System.Threading.Tasks; using FamilyStore.Data.Common.Repositories; using FamilyStore.Data.Models; using FamilyStore.Services.Data; using FamilyStore.Web.ViewModels.Settings; using Microsoft.AspNetCore.Mvc; public class Sett...
31.181818
115
0.656706
[ "MIT" ]
SvetlinNikolov/FamilyStore
src/Web/FamilyStore.Web/Controllers/SettingsController.cs
1,374
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// StagedDiscountDstCampPrizeModel Data Structure. /// </summary> public class StagedDiscountDstCampPrizeModel : AlipayObject { /// <summary> /// 折扣预算ID ...
25.916667
74
0.572347
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/StagedDiscountDstCampPrizeModel.cs
973
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; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Framework.Graphic...
37.5
159
0.576487
[ "MIT" ]
Theighlin/osu
osu.Game.Rulesets.Osu.Tests/TestSceneGameplayCursor.cs
6,792
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
30.678571
130
0.712456
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/AppMesh/Outputs/VirtualNodeSpecBackendVirtualServiceClientPolicy.cs
859
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Maui; using Maui.Entities; namespace Maui.Dynamics { public static class CalcTool { public static double Yield( this MauiX.ICalc self, StockPrice from, StockPrice to ) { return ...
21.555556
92
0.626289
[ "BSD-3-Clause" ]
bg0jr/Maui
src/Dynamics/Maui.Dynamics/Glue/CalcTool.cs
390
C#
using System.Threading.Tasks; using Surging.Cloud.CPlatform.Ioc; using Surging.Cloud.KestrelHttpServer; namespace Surging.Hero.FileService.Domain.Captchas { public interface ICaptchaDomainService : ITransientDependency { Task<IActionResult> GetCaptcha(string uuid); } }
26.363636
65
0.77931
[ "MIT" ]
liuhll/hero
src/Services/FileService/Surging.Hero.FileService.Domain/Captchas/ICaptchaDomainService.cs
290
C#
using ProgLessons.IoC_example.App.Services.Core; namespace ProgLessons.IoC_example.Presentation.UI.Console { class Program { static void Main(string[] args) { var app = new AppManager(typeof(ConsoleManager)); app.Run(); } } }
23
62
0.585284
[ "MIT" ]
prog-lessons/c-sharp
ProgLessons.IoC-example/Presentation/ProgLessons.IoC-example.Presentation.UI.Console/Program.cs
301
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.R...
46.022989
210
0.694555
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView2.cs
12,014
C#
using AuditingDatabase; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace DotNetCoreArchitecture.Domain.CRM { [Table("SpecialOfferExpanding")] public class SpecialOfferExpanding : IAudita...
25.090909
61
0.613768
[ "MIT" ]
yousefataya/HRMS
source/Domain/CRM/SpecialOfferExpanding.cs
1,380
C#
/* * Copyright (c) 2010 Yuri K. Schlesner * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
32.173913
125
0.48795
[ "MIT" ]
aayush-makkad/Sha-256-Prevention-buffer-
Sha256.cs
8,882
C#
using Robust.Shared.GameObjects; using Robust.Shared.Serialization; using System; namespace Content.Shared.Traitor.Uplink { [Serializable, NetSerializable] public class UplinkUpdateState : BoundUserInterfaceState { public UplinkAccountData Account; public UplinkListingData[] Listings; ...
24.9
89
0.692771
[ "MIT" ]
A-Box-12/space-station-14
Content.Shared/Traitor/Uplink/UplinkUpdateState.cs
498
C#
using System; namespace A1._1_SortedList { public class Aluno { private string nome; public string Nome { get { return nome; } } private int numeroMatricula; public int NumeroMatricula { get { return numeroMatricula; } } ...
23.338462
89
0.535267
[ "MIT" ]
karolinagb/SortedListEmCsharp
SortedListEmCsharp/SortedListEmCsharp/Aluno.cs
1,532
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Microsoft.Owin; // 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. [assem...
38.710526
84
0.755269
[ "MIT" ]
AksenovArtem/SenDevXafDashboards
src/Demo/SenDev.DashboardsDemo.Web/Properties/AssemblyInfo.cs
1,474
C#
using URF.Core.Abstractions.Services; using EzApiCore.Data.Models; public interface ICategoriesService : IService<Categories> { }
16.625
58
0.804511
[ "MIT" ]
rvegajr/ez-api-urf-core
Src/EzApiCore.Services/ICategoriesService.cs
135
C#
using System.Collections; namespace EnvDTE { public interface LinkedWindows : IEnumerable { Window Parent { get; } int Count { get; } DTE DTE { get; } Window Item(object index); new IEnumerator GetEnumerator(); void Remove(Window Window); void Add(Window...
21.125
48
0.591716
[ "Apache-2.0" ]
JetBrains/JetBrains.EnvDTE
EnvDTE.Interfaces/LinkedWindows.cs
340
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515 { using static Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.Extensions; /// <summary>Properties of the event source.</summary> public partial class EventSourceCommonProperties : Microsoft.Azure...
60.391892
231
0.711792
[ "MIT" ]
3quanfeng/azure-powershell
src/TimeSeriesInsights/generated/api/Models/Api20200515/EventSourceCommonProperties.cs
4,396
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // ANTLR Version: 4.5.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------...
29.57265
102
0.681792
[ "MIT" ]
ivancanosa/AntlrExampleUnity
Assets/Grammars/Hello/HelloParser.cs
3,460
C#
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using TT.Domain; using TT.Domain.Entities.LocationLogs; using TT.Domain.Exceptions; using TT.Domain.Identity.Entities; using TT.Domain.Players.Commands; using TT.Domain.Players.Entities; using TT.Domain.Procedures; using TT.Domai...
37.86
133
0.564184
[ "MIT" ]
transformania/tt-game
src/TT.Tests/Players/Commands/CleanseTests.cs
7,574
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using Syst...
49.645
238
0.572767
[ "Apache-2.0" ]
20chan/roslyn
src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs
99,292
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; using LamedalCore; using LamedalCore.zz; namespace Lamedal_UIWinForms.UControl.form1.FormCreator { public sealed partial class FormCreator_SelectClasses_Form : System.Windows.Forms.Form { private read...
32.301887
127
0.658879
[ "MIT" ]
LouwrensP/Lamedal_WinForms
src/UControl/form1/FormCreator/FormCreator_SelectClasses_Form.cs
1,714
C#
using OmniPay.Core.Utils; namespace OmniPay.Wechatpay.Domain { public class AppPayModel:BasePayModel { public AppPayModel() { TradeType = "APP"; } /// <summary> /// 交易类型 /// </summary> public string TradeType { get; set; } /// <s...
21.733333
50
0.455521
[ "MIT" ]
hueifeng/AspNetCore.Free.Pay
src/OmniPay.Wechatpay/Domain/AppPayModel.cs
682
C#
using System.Collections.Generic; using System.IO; namespace LibCore { public static class Paths { public static string [] Split (string path) { List<string> components = new List<string> (); foreach (string component in path.Split(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar)) { if...
21.214286
119
0.637037
[ "MIT-0" ]
business-sims-toolkit/business-sims-toolkit
dev/libraries/core/LibCore/Paths.cs
1,487
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using Mono.Cecil; namespace Mono.Documentation.Updater.Frameworks { /// <summary> /// Represents a set of assemblies that we want to document /// </summary> public class AssemblySet : IDisposa...
36.75
185
0.59915
[ "MIT" ]
jmarolf/api-doc-tools
mdoc/Mono.Documentation/Updater/Frameworks/AssemblySet.cs
5,882
C#
// // RatingMenuItem.cs // // Author: // Aaron Bockover <abockover@novell.com> // Mike Gemuende <mike@gemuende.de> // // Copyright (C) 2007 Novell, Inc. // Copyright (C) 2010 Mike Gemuende // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documenta...
34.644068
87
0.684932
[ "MIT" ]
Sanva/f-spot
src/Clients/MainApp/FSpot.Widgets/RatingMenuItem.cs
2,044
C#
using System; 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: AssemblyCompany("Microsoft Corporation")] [...
34.04
78
0.773208
[ "MIT" ]
Greybird/azure-documentdb-datamigrationtool
Solution Items/CommonAssemblyInfo.cs
852
C#
using net.sxtrader.bftradingstrategies.SXALInterfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace net.sxtrader.pinnacleif { public sealed partial class PinnacleKom : ISXAL { public double MinStake { ...
27.232877
138
0.589034
[ "MIT" ]
SXTrader/SXTrader
BFTradingStrategies/PinnacleIF/PinnacleKom.ISXAL.cs
3,978
C#
using PG.Commons.Xml.Values; namespace PG.StarWarsGame.Commons.Xml.Tags.Engine.FoC { public sealed class OcclusionSilhouettesEnabledXmlTagDefinition : AXmlTagDefinition { private const string KEY_ID = "Occlusion_Silhouettes_Enabled"; private const XmlValueType PG_TYPE = XmlValueType.Boolean; ...
41.058824
90
0.744986
[ "MIT" ]
AlamoEngine-Tools/PetroglyphTools
PG.StarWarsGame/PG.StarWarsGame/Commons/Xml/Tags/Engine/FoC/OcclusionSilhouettesEnabledXmlTagDefinition.cs
698
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropService...
37.4
145
0.778966
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/MsHTML/HTMLImageElementFactory.cs
563
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; using System.Web.Hosting; using Microsoft.SourceBrowser.Common; namespace Microsoft.SourceBrowser.SourceIndexServer.Models { public class Index : IDisposable { ...
33.174468
109
0.469792
[ "Apache-2.0" ]
csharp-playground/source-browser
src/SourceIndexServer/Models/Index.cs
15,594
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using BitHub.Data; using Microsoft.AspNetCore.Authorization; namespace BitHub.Controllers { [Route("[controller...
27.263158
113
0.682432
[ "MIT" ]
WEIJUNCAI/MyBitHub
src/Controllers/AccountController.cs
1,038
C#
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); y...
47.125
69
0.750663
[ "Apache-2.0" ]
afchung/reef
lang/cs/Org.Apache.REEF.IO.Tests/Properties/AssemblyInfo.cs
1,479
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("RF...
37.540541
84
0.743701
[ "MIT" ]
stephan1827/RFID-DotNET
5E9000.29/RFID_USB/RFID_USB/Properties/AssemblyInfo.cs
1,392
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 Dnn.PersonaBar.Security.Components.Checks { using System; using DotNetNuke.Entities.Portals; ...
29.790698
76
0.540203
[ "MIT" ]
Mariusz11711/DNN
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Security/Checks/CheckSiteRegistration.cs
1,283
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.Collections.Generic; using System.Net; using System.Net.Http; using System.Reflection; using System.Threading.Tasks; using Xunit; namespace Microsoft.AspNetCore.Mvc.Fun...
42.588235
122
0.641114
[ "MIT" ]
48355746/AspNetCore
src/Mvc/test/Mvc.FunctionalTests/RemoteAttributeValidationTest.cs
4,344
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace NavigationTransitions.iOS { [Register("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool FinishedLaunching...
22.416667
98
0.685874
[ "MIT" ]
oddbear/XamarinNavigationTransitions
iOS/AppDelegate.cs
540
C#
namespace Helpers { public static class Version { public const string Name = "0.1.0"; public const string Package = "org.n42.xamarin.helpers"; } }
19.555556
64
0.613636
[ "MIT" ]
fmierlo/Xamarin.Helpers
Helpers/Version.cs
178
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...
25.315789
81
0.643451
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/ElasticBeanstalk/Outputs/EnvironmentOptionSetting.cs
962
C#
using System; using Application.Interfaces; namespace Infrastructure.Services { public class DateTimeService : IDateTime { public DateTime Now => DateTime.Now; } }
18.4
44
0.711957
[ "MIT" ]
kerem-acer/basic-cms
src/Infrastructure/Services/DateTimeService.cs
184
C#
using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Settings.Common.Domain; namespace Settings.DataAccess { public static class DbInitializer { public static void Initialize(SettingsDbContext context, bool refreshData) { if(refreshData) { ...
41.361502
112
0.433939
[ "Apache-2.0" ]
jopache/Settings
src/Settings.DataAccess/DbInitializer.cs
8,812
C#
using System.Runtime.InteropServices; namespace Linearstar.Windows.RawInput.Native { /// <summary> /// RID_DEVICE_INFO_KEYBOARD /// </summary> [StructLayout(LayoutKind.Sequential)] public struct RawInputKeyboardInfo { readonly int dwType; readonly int dwSubType; readonl...
25.428571
62
0.586677
[ "MIT" ]
digtive/antrian
plugins/Numeric Keypad Detector/RawInput.Sharp/Native/RawInputKeyboardInfo.cs
1,248
C#
// **************************************************************************** // <copyright file="HandPresentEventArgs.cs" company="IntuiLab"> // INTUILAB CONFIDENTIAL //_____________________ // [2002] - [2015] IntuiLab SA // All Rights Reserved. // NOTICE: All informat...
32.290909
91
0.580518
[ "MIT" ]
intuilab/LeapIA
Leap/Events/HandPresentEventArgs.cs
1,784
C#
using System; namespace Musoq.Parser.Nodes { public class LessNode : BinaryNode { public LessNode(Node left, Node right) : base(left, right) { Id = CalculateId(this); } public override string Id { get; } public override Type ReturnType => typeof(bool); ...
22.64
66
0.553004
[ "MIT" ]
Eibwen/Musoq
Musoq.Parser/Nodes/LessNode.cs
568
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System; using System.IO; ...
37.639847
110
0.597822
[ "MIT" ]
Bhaskers-Blu-Org2/OpenAPI.NET.OData
test/Microsoft.OpenAPI.OData.Reader.Tests/EdmModelOpenApiExtensionsTest.cs
9,826
C#
// ---------------------------------------------------------------------------------- // <copyright file="Index.cs" company="NMemory Team"> // Copyright (C) NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files...
33.031915
93
0.595813
[ "MIT" ]
AntonD-W/nmemory
Main/Source/NMemory.Shared/Indexes/Index.cs
3,107
C#
namespace Connector.DotNettySocket { /// <summary> /// WebSocket客户端 /// </summary> public interface IWebSocketClient : IBaseTcpSocketClient, ISendString { } }
18.4
73
0.652174
[ "Apache-2.0" ]
wayne2006/Connector
src/WebSocket/IWebSocketClient.cs
192
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.SecurityToken")] [assembly: Assembl...
48.28125
266
0.754693
[ "Apache-2.0" ]
jiabiao/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SecurityToken/Properties/AssemblyInfo.cs
1,545
C#
namespace RobotSharp.WebServer.Helpers { public enum PinType { DcPower3_3, DcPrower5, Ground, Other } }
14.8
39
0.554054
[ "Unlicense" ]
cyrilbec/RobotSharp
samples/RobotSharp.WebServer/Helpers/PinType.cs
150
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Domain { /// <summary> /// AlipayMarketingVoucherConfirmModel Data Structure. /// </summary> [Serializable] public class AlipayMarketingVoucherConfirmModel : AopObject { /// <summary> /// 用于决定在用户确认领券后是否重定向。可枚举...
26.632653
71
0.560153
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Domain/AlipayMarketingVoucherConfirmModel.cs
1,555
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...
37.871212
155
0.615523
[ "Apache-2.0" ]
HaiNguyenMediaStep/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/Model/Internal/MarshallTransformations/UpdateTypedLinkFacetRequestMarshaller.cs
4,999
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.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis...
43.822222
161
0.688641
[ "Apache-2.0" ]
20chan/roslyn
src/Features/CSharp/Portable/Completion/KeywordRecommenders/AbstractSyntacticSingleKeywordRecommender.cs
3,946
C#
using System.Collections.Generic; using System.Linq; using Bio; using Bio.Algorithms.Assembly.Padena; using NUnit.Framework; namespace Bio.Padena.Tests { /// <summary> /// Test for Step 4 in Parallel De Novo Assembly /// This step performs error correction on the input graph. /// It removes redundant ...
35.297872
105
0.643761
[ "Apache-2.0" ]
dotnetbio/bio
Tests/Bio.Padena.Tests/RedundantPathsPurgerTests.cs
1,661
C#
namespace Mendz.ETL { /// <summary> /// Defines a targetable source. /// </summary> public interface ITargetable { /// <summary> /// When implemented by a source adapter, /// returns an instance of its target adapter counterpart /// with the source adapter's documen...
29.529412
79
0.613546
[ "Apache-2.0" ]
etmendz/Mendz.ETL
Mendz.ETL/ITargetable.cs
504
C#
using Common.LogicObject; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; /// <summary> /// Resources Utility /// </summary> public static class ResUtility { static ResUtility() { } public static string GetExtIconFileName(string fileName) { str...
29.337778
77
0.439176
[ "MIT" ]
lozenlin/SampleCMS
Source/Root/App_Code/ResUtility.cs
6,799
C#
/* * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; u...
43.12766
234
0.674396
[ "MIT" ]
ezmaxinc/eZmax-SDK-csharp-netcore
src/eZmaxApi/Model/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.cs
6,081
C#
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Serilog; using Witsml; using Witsml.Extensions; using Witsml.ServiceReference; using WitsmlExplorer.Api.Jobs; using WitsmlExplorer.Api.Models; using WitsmlExplorer.Api.Query; using WitsmlExplorer.Api.Services; namespace Witsml...
41.680556
138
0.641786
[ "Apache-2.0" ]
AtleH/witsml-explorer
Src/WitsmlExplorer.Api/Workers/CreateWellWorker.cs
3,001
C#
/* * ARXivar Workflow API * * ARXivar Workflow API * * OpenAPI spec version: v1 * Contact: info@abletech.it * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; ...
38.130081
615
0.621109
[ "Apache-2.0" ]
zanardini/ARXivarNext-WebApi
ARXivarNext-ConsumingWebApi/IO.Swagger.Workflow/Model/OperationConfigurationExecuteSqlQueryRm.cs
4,690
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReturningPassingDataLecture { class Program { static void Main(string[] args) { Console.WriteLine("You’re learning how to program!"); Console.W...
22.454545
65
0.611336
[ "MIT" ]
PacktPublishing/Learn-How-to-Code-Using-C-The-Basics-of-Programming
CODES/CSharpSourceCode/Lecture Code/19 ReturningPassingDataLecture/ReturningPassingDataLecture/Program.cs
749
C#
using System; using System.Runtime.CompilerServices; using System.Text; namespace EvieCompilerSystem.InputOutput { /// <summary> /// Functions to encode and decode values behind NaN tags in 64-bit blocks /// </summary> public static class NanTags { const ulong NAN_FLAG = 0x7FF80000000000...
35.601215
133
0.504577
[ "MIT" ]
i-e-b/CompiledScript
EvieCompilerSystem/InputOutput/NanTags.cs
17,589
C#
using NUnit.Framework; using QuestPDF.Elements; using QuestPDF.Infrastructure; using QuestPDF.UnitTests.TestEngine; namespace QuestPDF.UnitTests { [TestFixture] public class BackgroundTests { [Test] public void Measure_ShouldHandleNullChild() => new Background().MeasureWithoutChild(); ...
29.119048
94
0.500409
[ "MIT" ]
lmingle/library
QuestPDF.UnitTests/BackgroundTests.cs
1,225
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
55.783641
246
0.654385
[ "MIT" ]
danielortega-msft/azure-sdk-for-net
sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareHostCollection.cs
21,142
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// AOP API: alipay.eco.edu.kt.student.query /// </summary> public class AlipayEcoEduKtStudentQueryRequest : IAlipayRequest<AlipayEcoEduKtStudentQu...
23.445455
103
0.595967
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoEduKtStudentQueryRequest.cs
2,591
C#
using System; using Android.App; using Android.Content; using Android.Locations; using Android.Runtime; using Android.Views; using Android.Preferences; using System.Collections.Generic; using Android.Widget; using Android.OS; using System.Json; using Android.Gms.Location.Places.UI; using Android; using Android.Conten...
40.171296
171
0.62925
[ "MIT" ]
rznazn/Elected
Elected/Elected.Android/MainActivity.cs
8,679
C#
using HarmonyLib; using PlayerTrade.Trade; using RimWorld; namespace PlayerTrade.Patches { [HarmonyPatch(typeof(Tradeable), "Interactive", MethodType.Getter)] public static class Patch_Tradeable_Interactive { private static void Postfix(ref bool __result) { if (TradeSession.tra...
22.578947
71
0.615385
[ "MIT" ]
mitchfizz05/RimLink
Source/PlayerTrade/PlayerTrade/Patches/Patch_Tradeable_Interactive.cs
431
C#
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BAB5AE8810E9AC47D5BB1A30D6AAF47B38666A27" //------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Измене...
37.709402
141
0.629193
[ "MIT" ]
dima13230/neira-engine
MultiPNG2Gif/obj/Debug/MainWindow.g.cs
4,548
C#
using UnityEngine; using System; using System.Collections.Generic; namespace DragonU3DSDK { public class TimerManager : Manager<TimerManager> { List<Action<float>> timerDelegates = new List<Action<float>>(); List<Action<float>> updateList = new List<Action<float>>(); public void AddDe...
25.179487
71
0.470468
[ "Unlicense" ]
ouyangwenyuan/OhMyFramework
UnityProject/Assets/Runtime/Framework/Timer/TimerManager.cs
984
C#
using System; using System.Web.Mvc; using System.Web.Routing; using Sitecore.Abstractions; using Sitecore.Pipelines; namespace CoreySmith.Feature.Forms.Pipelines.Initialize { public class RegisterJssRocksRoutes { private readonly BaseSettings _settings; public RegisterJssRocksRoutes(BaseSettings settings...
24.575758
80
0.709001
[ "MIT" ]
coreyasmith/jss-anti-forgery-tokens
src/Feature/Forms/website/Pipelines/Initialize/RegisterJssRocksRoutes.cs
813
C#
using System.IO; using System.Text; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Helpers; using BenchmarkDotNet.Loggers; using BenchmarkDotNet.Running; using BenchmarkDotNet.Toolchains.CsProj; using BenchmarkDotNet.Toolchains.DotNetCli; namespace BenchmarkDotNet.Toolchains.MonoAotLLVM { public class Mo...
50.861538
190
0.683908
[ "MIT" ]
AndyAyersMS/BenchmarkDotNet
src/BenchmarkDotNet/Toolchains/MonoAotLLVM/MonoAotLLVMGenerator.cs
3,308
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos { using System.Net; using Microsoft.Azure.Documents; /// <summary> /// The cosmos...
35.474359
152
0.5927
[ "MIT" ]
CasP0/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Resource/Container/ContainerResponse.cs
2,767
C#
 // ISayCommand.cs // Copyright (c) 2014+ by Michael Penner. All rights reserved. namespace EamonRT.Framework.Commands { /// <summary></summary> public interface ISayCommand : ICommand { /// <summary></summary> string OriginalPhrase { get; set; } /// <summary></summary> string PrintedPhras...
19.666667
64
0.62954
[ "MIT" ]
TheRealEamonCS/Eamon-CS
System/EamonRT/Framework/Commands/Player/Miscellaneous/ISayCommand.cs
415
C#
using JustFight.Tank; using Unity.Burst; using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Physics; using Unity.Physics.Systems; namespace JustFight.Bullet { class BulletLiftTimeSystem : SystemBase { BeginInitializationEntityCommandBufferSystem m_entity...
52.837209
163
0.657277
[ "MIT" ]
HeBomou/Just-Fight
Assets/Scripts/Bullet/BulletSystems.cs
6,878
C#
using DCL.Helpers; using System; using UnityEngine; public class PrivateChatHUDView : ChatHUDView { string ENTRY_PATH_SENT = "ChatEntrySent"; string ENTRY_PATH_RECEIVED = "ChatEntryReceived"; string ENTRY_PATH_SEPARATOR = "ChatEntrySeparator"; public override void AddEntry(ChatEntry.Model chatEntryMod...
40.68254
192
0.711666
[ "Apache-2.0" ]
0xBlockchainx0/unity-renderer
unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/PrivateChatWindow/PrivateChatHUDView.cs
2,563
C#
using Accounting.dbSource; using AccountingNote.Auth; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebFormAccounting0728 { public partial class UserList : System.Web.UI.Page { protected void Page_Lo...
25.115385
86
0.641654
[ "MIT" ]
A6228774/AccountingNote0729
AccountingNote0729/WebFormAccounting0728/UserList.aspx.cs
655
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public enum FrequencyType { High, Middle, Low } public enum SourceType { Mono, Stereo } [System.Serializable] public class AudioInfo { public FrequencyType Type; public Transform Target; ...
24.181818
90
0.56532
[ "MIT" ]
GoSato/UmweltExhibition
Umwelt_Edited/Assets/_GO/Scripts/AudioController.cs
4,416
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.Collections.Generic; using System.Net.Security; using System.Threading.Tasks; using System.Net.Quic.Implementations; using Xunit; using System.Threading; using System.T...
36.0375
183
0.565383
[ "MIT" ]
BreyerW/runtime
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs
5,768
C#
using System; using Newtonsoft.Json; using System.Xml.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayUserCharityRecordexistQueryModel Data Structure. /// </summary> [Serializable] public class AlipayUserCharityRecordexistQueryModel : AlipayObject {...
26.326531
70
0.563566
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserCharityRecordexistQueryModel.cs
1,478
C#
/*++ Copyright (c) Microsoft Corporation. Licensed under the MIT License. Abstract: Represents the node in the tree of type searches. For example if %a %ab %aa %abc you'd get a tree like a / \ a b \ ...
20.678571
103
0.549223
[ "MIT" ]
microsoft/CLOG
src/clogutils/CLogTypeSearchNode.cs
1,158
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...
56.883871
1,804
0.60355
[ "MIT" ]
shannonmae999/docusign-esign-csharp-client
sdk/src/DocuSign.eSign/Model/RadioGroup.cs
35,268
C#