max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
src/JsonApiDotNetCore/Middleware/JsonApiMiddleware.cs
bjornharrtell/JsonApiDotNetCore
0
7025530
using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Extensions; using JsonApiDotNetCore.Internal; using JsonApiDotNetCore.Internal.Contracts; using Json...
src/NetDream.Web/Areas/Open/Repositories/OpenRepository.cs
zx648383079/netdream
0
7025531
<reponame>zx648383079/netdream using NetDream.Web.Areas.Open.Models; using NPoco; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace NetDream.Web.Areas.Open.Repositories { public class OpenRepository { private readonly IDatabase _db; pub...
Assets/Scripts/Highlight/ClickableHex.cs
billcshi/MagicLeapCard
0
7025532
<filename>Assets/Scripts/Highlight/ClickableHex.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using TerrainScanning; public class ClickableHex : Clickable { public enum HexHightLightStatus { DEFAULT, //UnHighlighten HIGHTLIGHT, //Over Hover OCCUPIED,...
AgileConfig.Server.Service/AdmBasicAuthService.cs
kklldog/AgileConf
640
7025533
using AgileConfig.Server.Common; using AgileConfig.Server.IService; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AgileConfig.Server.Service { public class AdmBasicAuthService : IAdmBasicAuthService ...
Org.BouncyCastle.Bcpg.OpenPgp/PgpSecretKeyRing.cs
smdx24/CPI-Source-Code
8
7025534
// PgpSecretKeyRing using Org.BouncyCastle.Bcpg; using Org.BouncyCastle.Bcpg.OpenPgp; using Org.BouncyCastle.Security; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.Collections; using System; using System.Collections; using System.IO; public class PgpSecretKeyRing : PgpKeyRing { private readonly ...
Application/EdFi.Ods.WebApi/Startup/AzureCloudOdsStartup.cs
gmcelhanon/Ed-Fi-ODS-Implementation-1
0
7025535
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; using System.Web.Configuration; usi...
CalendarEventSearchProvider.cs
MonoSoftware/MonoX-CalendarEvent-SearchProvider
0
7025536
<filename>CalendarEventSearchProvider.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using MonoSoftware.MonoX.SearchEngine; using MonoSoftware.Web; using MonoSoftware.MonoX.Utilities; using MonoSoftware.MonoX.DAL.EntityClasses; using MonoSoftware.MonoX; using MonoSoftware.MonoX...
package/com.unity.formats.usd/Runtime/InitUsd.cs
xuhan-NENT/usd-unity-sdk
0
7025537
<filename>package/com.unity.formats.usd/Runtime/InitUsd.cs // Copyright 2017 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.o...
Shared/UiPath.Shared.Activities.Design/Editors/PasswordEditor.cs
nerlichman/UiPath-SystemReservedEntity
0
7025538
using System.Activities.Presentation.PropertyEditing; using System.Windows; namespace UiPath.Shared.Activities.Design.Editors { public class PasswordEditor : DialogPropertyValueEditor { public PasswordEditor() { this.InlineEditorTemplate = (DataTemplate)EditorTemplates.ResourceDictionary["Pass...
tests/Proto.Remote.Tests/RemoteTests/HostedGrpcNetWithCustomeSerializerTests.cs
redss/protoactor-dotnet
1,310
7025539
<filename>tests/Proto.Remote.Tests/RemoteTests/HostedGrpcNetWithCustomeSerializerTests.cs using System; using System.Collections.Concurrent; using System.Threading.Tasks; using Google.Protobuf; using Microsoft.Extensions.Hosting; using Proto.Remote.GrpcNet; using Xunit; namespace Proto.Remote.Tests { public class ...
Shoplify/Shoplify.Tests/ServicesTests/AdvertisementServiceTests.cs
KostadinovK/Shoplify
3
7025540
using Shoplify.Common; using Shoplify.Domain; using Shoplify.Services.Models.Advertisement; namespace Shoplify.Tests.ServicesTests { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.EntityFramework...
KoreCMS/Views/Shared/_LayoutNoSideBar.cshtml
widecommerce/kore-cms
2
7025541
@{ Style.IncludeFontAwesome(); Style.Include("forums.css"); Script.IncludeBundle("jquery", 0); Script.IncludeBootstrap(); Script.IncludeBundle("jqueryval"); Script.IncludeBundle("kore/jqueryval"); string siteName = string.IsNullOrEmpty(SiteSettings.SiteName) ? "My Kore App" : Sit...
Ryujinx.Graphics.Shader/ShaderStage.cs
BrandonAraya/Ryujinx
6
7025542
<filename>Ryujinx.Graphics.Shader/ShaderStage.cs namespace Ryujinx.Graphics.Shader { public enum ShaderStage : byte { Compute, Vertex, TessellationControl, TessellationEvaluation, Geometry, Fragment, Count } public static class ShaderStageExtensi...
DeploymentFileCompilerTask.cs
sqlsimon/SSISBuild
0
7025543
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Serialization; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Microsoft.DataTransformationServices.Project; using Microsoft.DataTransformationServices.Project.ComponentModel; using ...
src/Microsoft.MobileBlazorBindings/Elements/Handlers/ProgressBarHandler.generated.cs
CipherLab/MobileBlazorBindings
8
7025544
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Microsoft.MobileBlazorBindings.Core; using System; using XF = Xamarin.Forms; namespace Microsoft.MobileBlazorBindings.Elements.Handlers { public partial class ProgressBarHandler : ViewHandler { public ProgressBarHandler(N...
ServantSoftware.Rss-Standard/ServantSoftware.Rss/FeedWrapper.cs
GunnerMichael/ServantSoftware
0
7025545
<filename>ServantSoftware.Rss-Standard/ServantSoftware.Rss/FeedWrapper.cs // <copyright file="FeedWrapper.cs" company="Servant Software"> // Copyright (c) Servant Software. All rights reserved // </copyright> /* License The MIT License (MIT) Copyright (c) 2012 - 2017 Permission is hereby granted, free of charge, to ...
SMAStudiovNext/Core/Editor/Inspector/InspectableObject.cs
icanos/SMAStudio
11
7025546
<filename>SMAStudiovNext/Core/Editor/Inspector/InspectableObject.cs using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading.Tasks; using Xceed.Wpf.Toolkit.PropertyGrid.Attribu...
sources/Interop/Windows/um/sapi/SpeechDataKeyLocation.cs
phizch/terrafx.interop.windows
146
7025547
<filename>sources/Interop/Windows/um/sapi/SpeechDataKeyLocation.cs // Copyright © <NAME> and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/sapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. ...
Les 1/voorbeelden les 1 en les 2/TestTemperatuur.cs
AvansTi/2.1-C-Sharp-core-examples
1
7025548
<gh_stars>1-10 using System; using System.Globalization; using Weerstation; public class Example { public static void Main() { Temperature temp1, temp2, temp3, temp4; // Aanroep statische methode: Console.WriteLine("{0} graden celsius is gelijk aan {1} graden fahrenheit.", 20, Temperatur...
Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs
eugene-g/EventFlow
1,959
7025549
// The MIT License (MIT) // // Copyright (c) 2015-2021 <NAME> // Copyright (c) 2015-2021 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to dea...
Assets/Scripts/UI/InputFieldView/CalendarButtonView.cs
pacatum/Helmbet-RPS
2
7025550
using System; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public enum CalendarState { Pressed, Hover, Inactive } public class CalendarButtonView : MonoBehaviour, IPointerClickHandler, IPointerEnterHandler, IPointerExitHandler { public event Action<DateTime> OnDateChang...
Test/IntegrationTests/RabbitMq/RabbitMqSetup.cs
Miruken-DotNet/Miruken.MassTransit
0
7025551
<gh_stars>0 // ReSharper disable RedundantAssignment namespace IntegrationTests.RabbitMq { using System; using System.Threading.Tasks; using Docker.DotNet.Models; using Domain; using MassTransit; using MassTransit.ExtensionsDependencyInjectionIntegration; using Microsoft.Extensions.Configura...
WebFileManagerApi/Models/DirectoryModel.cs
kewka/web-file-manager
1
7025553
using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using WebFileManagerApi.Utils; namespace WebFileManagerApi.Models { /// <summary> /// This class is intended to represent the directory model. /// </summary> public class DirectoryMode...
TwitterBackup/TwitterBackup.DataAccess/Credentials/TwitterCredentialsFactory.cs
dbalinov/twitter-backup
1
7025554
using System.Web.Configuration; using TwitterBackup.Infrastructure.Identity.Claims; using Tweetinvi.Models; namespace TwitterBackup.DataAccess.Credentials { internal class TwitterCredentialsFactory : ITwitterCredentialsFactory { private readonly ITwitterClaimsHelper claimsHelper; public Twitt...
Utilities/DataLoading/EdFi.LoadTools/SmokeTest/ApiTests/GetByIdTest.cs
AxelMarquez/Ed-Fi-ODS
13
7025555
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; using System.Collections.Generic; us...
Assets/Infinity Code/Online maps/Examples (API usage)/GPXExample.cs
Xenetics/CommunityHub
0
7025556
/* INFINITY CODE 2013-2017 */ /* http://www.infinity-code.com */ using System.Text; using UnityEngine; #if !UNITY_WEBPLAYER && !UNITY_WEBGL using System.IO; #endif namespace InfinityCode.OnlineMapsExamples { /// <summary> /// Example of work with GPX. /// </summary> [AddComponentMenu("I...
src/Bytewizer.TinyCLR.Ftp/FtpSession/Commands/Syst.cs
bytewizer/microserver
3
7025557
<gh_stars>1-10 namespace Bytewizer.TinyCLR.Ftp { internal partial class FtpSession { /// <summary> /// Implements the <c>SYST</c> command. /// </summary> private void Syst() { _context.Response.Write(215, "UNIX simulated by TinyCLR OS."); } } }
18/Reminder.Storage.Core/Reminder.Storage.Core/IReminderStorage.cs
SerBritov/nordic-it-netcore
0
7025558
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace Reminder.Storage.Core { public interface IReminderStorage { void Add(ReminderItem reminderItem); void Update(ReminderItem reminderItem); ReminderItem Get(Guid id); List<ReminderItem> Get...
IronSmalltalk.Core/Execution/CallSiteBinders/SmalltalkDynamicMetaObjectBinder.cs
erlis/IronSmalltalk
2
7025559
/* * ************************************************************************** * * Copyright (c) The IronSmalltalk Project. * * This source code is subject to terms and conditions of the * license agreement found in the solution directory. * See: $(SolutionDir)\License.htm ... in the root of this dist...
EPIQ_and_informedProteomics/InformedProteomics.Scoring/LikelihoodScoring/Data/RankedPeaks.cs
YeonChoi/EPIQ
0
7025560
<gh_stars>0 using System; using InformedProteomics.Backend.Data.Biology; using InformedProteomics.Backend.Data.Spectrometry; namespace InformedProteomics.Scoring.LikelihoodScoring.Data { public class RankedPeaks : Spectrum { public RankedPeaks(Spectrum spectrum) : base(spectrum.Peaks, spec...
NiVek/Software/SPProxy/Server/ClientManager.cs
bytemaster-0xff/DroneTek
0
7025561
<filename>NiVek/Software/SPProxy/Server/ClientManager.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; namespace SPProxy.Server { class ClientManag...
MahjongBuddy.Application/Games/StandUp.cs
tthiatma/MahjongBuddy-React
2
7025562
<reponame>tthiatma/MahjongBuddy-React using AutoMapper; using MahjongBuddy.Application.Dtos; using MahjongBuddy.Application.Errors; using MahjongBuddy.Core.Enums; using MahjongBuddy.EntityFramework.EntityFramework; using MediatR; using Microsoft.EntityFrameworkCore; using System; using System.Net; using System.Threadi...
MapsExtended/MapObjects/Serializers/MapObjectSerializer.cs
Ascyst/RoundsMapsExtended
0
7025563
<gh_stars>0 using System; using UnityEngine; using UnboundLib; using System.Collections.Generic; namespace MapsExt.MapObjects { public class MapObject { public bool active = true; } public delegate void SerializerAction<T>(GameObject instance, T target) where T : MapObject; public delegate void DeserializerAc...
src/Sql2Cdm.Library/Sql/SqlRelationalModelReaderOptions.cs
allantargino/sql2cdm
0
7025564
using System; using System.Collections.Generic; using System.Text; namespace Sql2Cdm.Library.Sql { public class SqlRelationalModelReaderOptions { public string SchemaFilterRegexPattern { get; set; } } }
ferrum-db-server/src/server/protocol/sets.cs
CyberPhoenix90/ferrum-db
0
7025565
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ferrum_db_server.src.server.protocol { public class SetAdd : Message { public readonly string database; public readonly string set; public readonly string key; publ...
Unity-NodeJS-Game-GUI/trunk/Client/Assets/_Scripts/Login.cs
CmdrZin/NodeJS
1
7025566
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; // Required when Using UI elements. using UnityEngine.SceneManagement; public class Login : MonoBehaviour { public InputField hostIP; static public string IPaddr; // Other InputFields can be added to set...
tests/Core.Episerver.Tests/IndexerTests.cs
bjarte/Epinova.Elasticsearch
0
7025567
<gh_stars>0 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Epinova.ElasticSearch.Core.EPiServer; using Epinova.ElasticSearch.Core.EPiServer.Enums; using Epinova.ElasticSearch.Core.Models.Bulk; using EPiServer.Core; using EPiServer.Web; using Moq; using TestData; us...
sdk/src/Services/DeviceFarm/Generated/Model/ScheduleRunTest.cs
woellij/aws-sdk-net
0
7025568
<filename>sdk/src/Services/DeviceFarm/Generated/Model/ScheduleRunTest.cs /* * 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 ...
Trowel.BspEditor.Editing/Components/Compile/Profiles/BuildProfile.cs
mattiascibien/trowel
2
7025569
<reponame>mattiascibien/trowel using System.Collections.Generic; namespace Trowel.BspEditor.Editing.Components.Compile.Profiles { public class BuildProfile { public string Name { get; set; } public string SpecificationName { get; set; } public Dictionary<string, string> Arguments { get;...
linux-distro/package/nuxleus/Source/Vendor/sharpssh/SharpSSH/SshHelper.cs
mdavid/nuxleus
3
7025570
<reponame>mdavid/nuxleus using System.IO; using System.Collections; using Tamir.SharpSsh.jsch; using Tamir.Streams; using System.Text; namespace Tamir { public class SshHelper { private StreamReader reader; private PipedOutputStream writer_po; private Session session; private ChannelShell cha...
11.0/HDRP_11.0/Runtime/RenderPipeline/HDRenderPipeline.LookDev.cs
turesnake/tpr_Unity_Render_Pipeline_LearningNotes
1
7025571
using System.Collections.Generic; using UnityEngine.Rendering.LookDev; namespace UnityEngine.Rendering.HighDefinition { public partial class HDRenderPipeline : IDataProvider { struct LookDevDataForHDRP { public HDAdditionalCameraData additionalCameraData; public HDAdditi...
CubeDemoNC/Areas/School/SchoolArea.cs
xueshaoyu/NewLife.Cube
0
7025572
using System; using System.ComponentModel; using NewLife; using NewLife.Cube; namespace CubeDemo.Areas.School { [DisplayName("教务系统")] [Menu(123)] public class SchoolArea : AreaBase { public SchoolArea() : base(nameof(SchoolArea).TrimEnd("Area")) { } } }
src/MarginTrading.Backend.Services/Events/LiquidationEndEventArgs.cs
lykkecloud/MT
0
7025573
// Copyright (c) 2019 <NAME>. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; namespace MarginTrading.Backend.Services.Events { public class LiquidationEndEventArgs { public string OperationId { get; set; } public DateT...
Assets/Code/Debug/DebugHUD.cs
richardkopelow/OperationPegasus
0
7025575
using UnityEngine; using UnityEngine.UI; using System.Collections; public class DebugHUD : MonoBehaviour { public InputField MissionNumberField; void Start() { #if !DEBUG gameObject.SetActive(false); #endif } public void OnClearDataClick() { P...
Source/Machine.UrlStrong.Translation/Model/StringExtensions.cs
machine/machine.urlstrong
2
7025576
<filename>Source/Machine.UrlStrong.Translation/Model/StringExtensions.cs using System.Collections.Generic; namespace Machine.UrlStrong.Translation.Model { public static class StringExtensions { public static string ReplaceDashes(this string str) { return str.Replace('-', '_'); } ...
TestClient/Program.cs
ehm2097/web-sql
0
7025577
/* MIT License Copyright (c) 2018 avat 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, publish, distr...
src/tests/GC/API/GC/CollectionCountTest.cs
belav/runtime
0
7025578
<reponame>belav/runtime // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /* CollectionCountTest * * Tests GC.CollectionCount by passing it invalid values (<0) and * values that are too large (>GC.MaxGeneration). * It then tests...
NBi.Xml/Decoration/Command/ExeRunXml.cs
TheAutomatingMrLynch/NBi
0
7025579
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using System.IO; namespace NBi.Xml.Decoration.Command { public class ExeRunXml : DecorationCommandXml { [XmlAttr...
GitExample/GitExample/Program.cs
pravallikavtalent/VSTestRepo1
0
7025580
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GitExample { class Program { static void Main(string[] args) { //code added in vs //code added in server //Code updated by ...
sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Generated/Models/SearchInstancesRequest.cs
gjy5885/azure-sdk-for-net
3,268
7025581
<reponame>gjy5885/azure-sdk-for-net<filename>sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Generated/Models/SearchInstancesRequest.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections...
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Domain/EasyAbp/EShop/Payments/Payments/PayeeAccountNotFoundException.cs
p041911070/EShop
0
7025582
<filename>modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Domain/EasyAbp/EShop/Payments/Payments/PayeeAccountNotFoundException.cs using Volo.Abp; namespace EasyAbp.EShop.Payments.Payments { public class PayeeAccountNotFoundException : BusinessException { public PayeeAccountNotFoundException(...
Meridian/MainWindow.xaml.cs
NeonWiredX/meridian
180
7025583
<filename>Meridian/MainWindow.xaml.cs<gh_stars>100-1000 using System; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Effects; using GalaSoft.MvvmLight.Messaging; using Meridian.Contro...
src/redmine-net-api/Types/TrackerCustomField.cs
NecatiMeral/redmine-net-api
147
7025584
/* Copyright 2011 - 2021 <NAME>. 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 to in ...
src/AspNet4/NetworkFileShares4x/SMBFileShares4x/App_Start/ApplicationConfig.cs
pacphi/dotnet-steeltoe-fileshare-sample
0
7025585
<gh_stars>0 using Microsoft.Extensions.Configuration; using Steeltoe.Extensions.Configuration.CloudFoundry; using System; using System.IO; namespace SMBFileShares4x { public class ApplicationConfig { public static CloudFoundryApplicationOptions CloudFoundryApplication { ...
NKnife/Interface/IInitializer.cs
xknife-erian/nknife
2
7025586
using System; namespace NKnife.Interface { /// <summary>当一个类型需要初始化时 /// </summary> public interface IInitializer { /// <summary>是否已经初始化 /// </summary> bool IsInitialized { get; } /// <summary>执行初始化动作 /// </summary> /// <param name="args">初始化的动作参数</param...
WebBookStore/Views/Admin/login.cshtml
zolmkoz-tester/FPT-Book-with-ASP-.NET-MVC5
0
7025587
 @{ Layout = null; } <!DOCTYPE html> <html> <head> <title>Login</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700&display=swap" rel="stylesheet"> <link rel=...
Celeste.Mod.mm/Mod/Module/EverestModule.cs
Viv-0/Everest
200
7025588
<gh_stars>100-1000 using Celeste.Mod.Core; using Celeste.Mod.Helpers; using Celeste.Mod.UI; using FMOD.Studio; using Microsoft.Xna.Framework.Input; using Monocle; using MonoMod; using MonoMod.Utils; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using Syste...
Library/Competitive.Library/Extensions/Linq/CollectionExtension_MaxBy.cs
kzrnm/Kzrnm.Competitive
1
7025590
<gh_stars>1-10 using System; using System.Collections.Generic; using 凾 = System.Runtime.CompilerServices.MethodImplAttribute; namespace Kzrnm.Competitive { public static class __CollectionExtension_MaxBy { [凾(256)] public static (int index, T max) MaxBy<T>(this T[] arr) where T : IComparable<T>...
src/SFA.DAS.EmployerPayments.Application/Commands/Payments/RefreshPaymentData/RefreshPaymentDataCommand.cs
SkillsFundingAgency/das-employer-payment
1
7025591
<filename>src/SFA.DAS.EmployerPayments.Application/Commands/Payments/RefreshPaymentData/RefreshPaymentDataCommand.cs using MediatR; namespace SFA.DAS.EmployerPayments.Application.Commands.Payments.RefreshPaymentData { public class RefreshPaymentDataCommand : IAsyncRequest { public long AccountId { get...
src/Vlc.DotNet.Forms/VlcControl.cs
xiaomu-software/Vlc.DotNet
1
7025592
<reponame>xiaomu-software/Vlc.DotNet<filename>src/Vlc.DotNet.Forms/VlcControl.cs using System; using System.ComponentModel; using System.Drawing.Design; using System.IO; using System.Windows.Forms; using Vlc.DotNet.Core; using Vlc.DotNet.Core.Interops.Signatures; using Vlc.DotNet.Forms.TypeEditors; namespace Vlc.DotNe...
src/Arbor.Xdt/SR.Designer.cs
niklaslundberg/Arbor.Xdt
0
7025593
//------------------------------------------------------------------------------ // <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> //--...
src/PrtgAPI/Parameters/Containers/SimpleParameterContainer.cs
ericsp59/PrtgAPI
218
7025594
namespace PrtgAPI.Parameters { class SimpleParameterContainer : IParameterContainer { public void Initialize(IParameters parameters) { } public void Add(object value) { } public IParameterContainerValue CreateValue(string name, object value, bool trimNa...
Code/HarmonyPatch_FixDesertBusWarp.cs
NinjaQuince/StardewValleyExpanded
1
7025595
<reponame>NinjaQuince/StardewValleyExpanded<filename>Code/HarmonyPatch_FixDesertBusWarp.cs using System; using StardewModdingAPI; using StardewValley; using HarmonyLib; using System.Collections.Generic; using StardewValley.Locations; using System.Reflection.Emit; using System.Reflection; namespace StardewValleyExpand...
ds.NorthwindApp_Part1/ds.NorthwindApp.Web/Controllers/CustomersController.cs
dongsu-iis/ds-Mvc-Core
0
7025596
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using ds.NorthwindApp.Web.Models; using ds.NorthwindApp.Web.Models.Interface; namespace ds.NorthwindApp.Web.Controllers { public class CustomersController : Controller { private readonly ICustomerReposit...
SOUNDVISION_PUBLIC/Assets/Scenes/Examples/MIDI/script/RandomPosition.cs
strangerattractor/Soundvision
4
7025597
using UnityEngine; namespace cylvester { public class RandomPosition : MonoBehaviour { public void OnLoopStarted() { var x = Random.Range(-3f, 3f); var y = Random.Range(-3f, 3f); transform.localPosition = new Vector3(x, y, 0f); } } }
View/Main.cs
AdrielRA/ImageProcessor
0
7025598
using ImageProcessor.Controller; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows....
src/aircloak/JsonApi/ResponseTypes/DataSource.cs
diffix/explorer
0
7025599
<reponame>diffix/explorer #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member #pragma warning disable CA1815 // Struct type should override Equals #pragma warning disable CA1034 // Do not nest types namespace Aircloak.JsonApi.ResponseTypes { using System.Collections.Generic; ...
src/ServiceModel/ServiceModel/ServiceModel/Hosting/IServiceHostedServiceConfiguration.cs
simgu/dotnet-utils
1
7025600
<filename>src/ServiceModel/ServiceModel/ServiceModel/Hosting/IServiceHostedServiceConfiguration.cs<gh_stars>1-10 using System; using System.ServiceModel; using EMG.Utilities.ServiceModel.Configuration; namespace EMG.Utilities.ServiceModel.Hosting { public interface IServiceHostedServiceConfiguration { ...
src/Client/IdentityConfig.cs
cythral/identity-client
0
7025601
using System; namespace Brighid.Identity.Client { public class IdentityConfig { public virtual Uri IdentityServerUri { get; set; } = new Uri("https://identity.brigh.id/"); public virtual string? Audience { get; set; } = null; public virtual string ClientId { get; set; } = string.Empty; ...
sources/Interop/Windows/Windows/um/winioctl/DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE.cs
reflectronic/terrafx.interop.windows
0
7025602
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winioctl.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows; /// <incl...
src/Core/Commands/InviteByUsernameCommand.cs
aslamovyura/coffee-meet-telegram-bot
2
7025603
<reponame>aslamovyura/coffee-meet-telegram-bot using System.Threading.Tasks; using Core.Constants; using Core.Interfaces; using Core.Resources; using Telegram.Bot; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; namespace Core.Commands { /// <summary> /// Command to process username and send message...
src/SHHH.Infrastructure.Web.Testing/ReflectionHelper.cs
ghorsey/SHHH.Infrastructure.Web
0
7025604
// <copyright file="ReflectionHelper.cs" company="SHHH Innovations LLC"> // Copyright SHHH Innovations LLC // </copyright> namespace SHHH.Infrastructure.Web.Testing { using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; using System.Web.Http; ...
src/WebAppTemplate/Logging/SerilogLogger.cs
DavidLievrouw/DalionWebAppTemplate
0
7025605
using System; using Dalion.WebAppTemplate.Utils; namespace Dalion.WebAppTemplate.Logging { public class SerilogLogger<TContext> : ILogger<TContext>, IDisposable { private readonly Serilog.ILogger _logger; public SerilogLogger(Serilog.ILogger logger) { _logger = logger?.ForContext<TCont...
sdk/dotnet/ApiManagement/GatewayHostnameConfiguration.cs
pulumi-bot/pulumi-azure-native
0
7025606
<filename>sdk/dotnet/ApiManagement/GatewayHostnameConfiguration.cs // *** 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....
Samples/Samples/Samples/Graphics/PostProcessing/14-CameraMotionBlurSample.cs
Drul1337/DigitalRune
234
7025607
#if !WP7 && !WP8 using System; using DigitalRune.Game.Input; using DigitalRune.Graphics.PostProcessing; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; namespace Samples.Graphics { [Sample(SampleCategory.Graphics, "This sample uses the CameraMotionBlur to blur the scene when the camera is m...
01.2.BasicSyntaxConditionalStatementsAndLoops-Exercise/T07.VendingMachine/Program.cs
akdimitrov/CSharp-Fundamentals
0
7025608
using System; namespace T07.VendingMachine { class Program { static void Main(string[] args) { double total = 0; string input = Console.ReadLine(); while (input != "Start") { double coin = double.Parse(input); bool...
e20210211_Hakonoko/Elsa20200001/Elsa20200001/Games/TitleMenu.cs
soleil-taruto/Elsa2
0
7025609
<filename>e20210211_Hakonoko/Elsa20200001/Elsa20200001/Games/TitleMenu.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Commons; using Charlotte.GameCommons; using Charlotte.GameProgressMasters; namespace Charlotte.Games { /// <summary> /// アプリ固有のタイ...
DotInitializr.UnitTests/GeneratorControllerTest.cs
dsuryd/DotInitialzr
1
7025610
<filename>DotInitializr.UnitTests/GeneratorControllerTest.cs using System.IO; using System.Net; using System.Net.Http.Json; using System.Collections.Generic; using System.Threading.Tasks; using DotInitializr.Website.Server; using DotInitializr.Website.Shared; using Microsoft.AspNetCore.Mvc.Testing; using NUnit.Framewo...
source/OAS.CloudStorage.Box/Models/BoxFileMetaData.cs
orionadvisor/OAS.CloudStorage
2
7025611
using System; using OAS.CloudStorage.Core; namespace OAS.CloudStorage.Box.Models { public class BoxFileMetaData : FileMetaDataBase { public string Id { get; private set; } public string Sha1 { get; set; } public long Size { get; set; } public DateTime? ModifiedDate { get; set; } public bool IsDeleted { ge...
Explorer/Phone/Client/Platform/Definitions/BoxLayoutBlockDefinition.cs
futurix/cms-cli
0
7025612
using System.Collections.Generic; using System.IO; using Wave.Common; using Wave.Platform.Messaging; using Wave.Services; namespace Wave.Platform { public class BoxLayoutBlockDefinition : ContainerBlockDefinition, ICacheable { public List<short> SizeRatios { get; private set; } ...
AFrame.Desktop/Controls/Wpf/WpfEdit.cs
maddogmikeb/aframe
14
7025613
using AFrame.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AFrame.Desktop.Controls.Wpf { public class WpfEdit : WpfControl { #region Properties public virtual string CopyPastedText { get ...
src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperFactory.cs
WangDrama/WeiXinMPSDK
7,871
7025614
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 <NAME> & Suzhou Senparc Network Technology Co.,Ltd. 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 co...
src/Mpv.NET/API/EventArgs/MpvLogMessageEventArgs.cs
WangyuHello/Mpv.NET-lib-
8
7025615
using System; namespace Mpv.NET.API { public class MpvLogMessageEventArgs : EventArgs { public MpvLogMessage Message { get; private set; } public MpvLogMessageEventArgs(MpvLogMessage message) { Message = message; } } }
csharp/bypstest-ser/src-ser/byps/test/api/srvr/BSerializer_41050276.cs
teberhardt/byps
0
7025616
// // Serializer for byps.test.api.srvr.BRequest_ClientIF_sendChat // // THIS FILE HAS BEEN GENERATED. DO NOT MODIFY. // using System; using System.Collections.Generic; using byps; namespace byps.test.api.srvr { public class BSerializer_41050276 : BSerializer { public readonly static BSerializer instance = ...
src/ServerApi/Infrastructures/Adnc.Infra.Caching/Core/Stats/CacheStatsCounter.cs
18142552937/Adnc
0
7025617
namespace Adnc.Infra.Caching.Core { using System.Threading; /// <summary> /// Cache stats counter. /// </summary> public class CacheStatsCounter { /// <summary> /// The counters. /// </summary> private long[] _counters = new long[2]; /// <summary> ...
tools/Ovow.Tools.SpriteSheetInspector/Models/SsiAction.cs
daxnet/ovow
1
7025618
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ovow.Tools.SpriteSheetInspector.Models { public class SsiAction : INotifyPropertyChanged { ...
src/Uno.UWP/Generated/3.0.0.0/Windows.Data.Xml.Dom/XmlProcessingInstruction.cs
olirobert/uno
5,973
7025619
<gh_stars>1000+ #pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Data.Xml.Dom { #if false || false || false || false || false || false || false [global::Uno.NotImplemented] #endif public partial class XmlProcessingInstruction : global::Windows.Da...
winPEAS/winPEASexe/winPEAS/3rdParty/SQLite/src/btree_c.cs
TuxTheXplorer/privilege-escalation-awesome-scripts-suite
5,982
7025620
using System; using System.Diagnostics; using System.Text; using i64 = System.Int64; using u8 = System.Byte; using u16 = System.UInt16; using u32 = System.UInt32; using u64 = System.UInt64; using sqlite3_int64 = System.Int64; using Pgno = System.UInt32; namespace winPEAS._3rdParty.SQLite.src { using DbPage = CSSQLite...
ContentRenderer/Camera.cs
Swaelo/mmo-server-2.0
1
7025622
<filename>ContentRenderer/Camera.cs // ================================================================================================================================ // File: Camera.cs // Description: // =========================================================================================================...
RPG Model Engine - Current/Assets/GSSTORM/Scripts/Models/Items/Runes/RuneSocket.cs
GraySchofield/rgpModelEngine
0
7025623
<gh_stars>0 using System; using UnityEngine; namespace GSStorm.RPG.Engine { /// <summary> /// Models the socket on a gear, where we can plug a rune into /// </summary> public class RuneSocket { /// <summary> /// Current socketted rune /// </summary> /// <value>The current rune.</value> public Rune Run...
sdk/dotnet/Fsx/WindowsFileSystem.cs
dixler/pulumi-aws
0
7025624
<reponame>dixler/pulumi-aws<gh_stars>0 // *** 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.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pul...
FishNet/Plugins/FishyFacepunch/Core/ClientSocket.cs
Codeyounglings/FishyFacepunch
0
7025625
#if !FishyFacepunch using FishNet.Managing.Logging; using FishNet.Transporting; using Steamworks; using Steamworks.Data; using System; using System.Threading; using System.Threading.Tasks; using UnityEngine; namespace FishyFacepunch.Client { public class ClientSocket : CommonSocket { #region Private. ...
test/Engine/ProtoTest/TD/MultiLangTests/TestClass.cs
wilsonunitedconsult/try
0
7025626
using System; using NUnit.Framework; using ProtoCore.DSASM.Mirror; using ProtoTestFx.TD; namespace ProtoTest.TD.MultiLangTests { class TestClass : ProtoTestBase { [Test] [Category("DSDefinedClass_Ported")] [Category("SmokeTest")] public void T01_Class_In_Various_Scopes() ...
AspNetCoreAnalyzers.Tests/ASP005ParameterSyntaxTests/CodeFix.cs
phnx47/AspNetCoreAnalyzers
51
7025627
<filename>AspNetCoreAnalyzers.Tests/ASP005ParameterSyntaxTests/CodeFix.cs namespace AspNetCoreAnalyzers.Tests.ASP005ParameterSyntaxTests { using Gu.Roslyn.Asserts; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using NUnit.Framework; public static class CodeFix ...
Libraries/Core/Sources/Mixin/Registry.cs
cube-soft/Cube.Core
5
7025628
<reponame>cube-soft/Cube.Core /* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the...
Otel Otomasyon Projesi-YZM3101/Otel Otomasyon Projesi-YZM3101/T/frmOnOdemeliRezervasyonBilgileriDegistirme.Designer.cs
tugrulcan/Otel-Otomasyon-Sistemi
0
7025629
namespace Otel_Otomasyon_Projesi_YZM3101 { partial class frmOnOdemeliRezervasyonBilgileriDegistirme { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resource...
RandomizerCommon/Properties/Resources.Designer.cs
thefifthmatt/SoulsRandomizers
9
7025630
//------------------------------------------------------------------------------ // <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-generate...
Otter/Graphics/Drawables/Decals.cs
DemoXinMC/Otter
1
7025631
<gh_stars>1-10 using System; using System.Collections.Generic; namespace Otter { /// <summary> /// Graphic that can render a bunch of static images all at once. Images must use the same /// texture as the Decals object in order to be baked together properly. /// </summary> public class Decals : G...
Workshops/LearningSystem/LearningSystem.Web/Models/Trainers/TrainersStudentsStudentListingModel.cs
pirocorp/ASP.NET-Core
0
7025632
<reponame>pirocorp/ASP.NET-Core namespace LearningSystem.Web.Models.Trainers { using System.Linq; using AutoMapper; using Data; using Data.Models; using Services.Mapping; public class TrainersStudentsStudentListingModel : IMapFrom<User>, IHaveCustomMappings { public string Id { get...
test/FunctionalTests/Taupo/Source/Taupo.Astoria/Contracts/EntityModel/ToggleBoolPropertyValueActionAnnotation.cs
Sreejithpin/odata.net
629
7025633
//--------------------------------------------------------------------- // <copyright file="ToggleBoolPropertyValueActionAnnotation.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-------------...