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
Nfantom.Contracts/Extensions/DeploymentMessageExtensions.cs
PeaStew/Nfantom
0
7025213
<reponame>PeaStew/Nfantom using Nfantom.ABI.FunctionEncoding; using Nfantom.Hex.HexConvertors.Extensions; using Nfantom.RPC.Eth.DTOs; using Nfantom.Contracts; using Nfantom.Contracts.MessageEncodingServices; namespace Nfantom.Contracts.Extensions { /// <summary> /// Please use Nethereum.Contracts.DeploymentMe...
src/Cli/dotnet/ToolManifest/ToolManifestPackage.cs
Potapy4/dotnet-sdk
1,671
7025214
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.ToolPackage; using Mi...
src/Itinero/Algorithms/Default/OneHopRouter.cs
itinero/itnero
182
7025215
<reponame>itinero/itnero using System.Threading; using Itinero.Algorithms.Weights; using Itinero.Data.Network; using Itinero.Profiles; namespace Itinero.Algorithms.Default { /// <summary> /// Calculates one-hop routes if they exist between the given source and target. /// </summary> /// <type...
src/Core/src/Handlers/Switch/SwitchHandler.Windows.cs
abod1944/maui
0
7025216
#nullable enable using Microsoft.UI.Xaml.Controls; using WResourceDictionary = Microsoft.UI.Xaml.ResourceDictionary; namespace Microsoft.Maui.Handlers { public partial class SwitchHandler : ViewHandler<ISwitch, ToggleSwitch> { protected override ToggleSwitch CreatePlatformView() => new ToggleSwitch(); public st...
Assets/Lasp/Internal/PluginEntry.cs
alelievr/AudioFractal
1
7025217
// LASP - Low-latency Audio Signal Processing plugin for Unity // https://github.com/keijiro/Lasp using System; using System.Runtime.InteropServices; namespace Lasp { public enum FilterType { Bypass, LowPass, BandPass, HighPass } public static class PluginEntry { #region Plugin inter...
Libraries/RibbonButton/Xms.RibbonButton/RibbonButtonExtensions.cs
ganqiyin/xms
518
7025218
using Xms.Form.Abstractions; using Xms.Infrastructure.Utility; using Xms.RibbonButton.Abstractions; using Xms.Sdk.Extensions; namespace Xms.RibbonButton { public static class RibbonButtonExtensions { /// <summary> /// 设置按钮可用/可见状态 /// </summary> /// <param name="button"></param>...
Acebook/Models/SignUpModel.cs
bradleyplater/Acebook
0
7025219
<filename>Acebook/Models/SignUpModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Acebook.Models { public class SignUpModel { public string Firstname { get; set; } public string Surname { get; set; } public string Email { get; set; } public s...
src/Reviewer.Functions/Models/Address.cs
Luyunmt/xamarin-azure-businessreview
57
7025220
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Reviewer.Functions { public class Address { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("line1")] ...
Services/SimpleXmlFeed.Services.Data/Contracts/ISportsService.cs
tcholakov/SimpleXmlFeed
0
7025221
namespace SimpleXmlFeed.Services.Data.Contracts { using System; using Models.Data; public interface ISportsService : ITransactable { Sport Add(string name, int feedId, bool saveChanges = true); Guid GetSportIdByFeedId(int feedId); Sport GetSportByFeedId(int feedId); ...
src/CPI.Common/Domain/SettleDomain/Bill99/WithdrawBindCardQueryStatusRequest.cs
SZarrow/CPI
2
7025222
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using ATBase.Validation; namespace CPI.Common.Domain.SettleDomain.Bill99 { /// <summary> /// 提现绑卡状态查询请求类 /// </summary> public class WithdrawBindCardQueryStatusRequest : ValidateModel { ...
Assets/Package/UGUICircularScrollView/TestScrollDemo.cs
fqkw6/ILRuntimeMyFrame
0
7025223
<reponame>fqkw6/ILRuntimeMyFrame<gh_stars>0 using System.Collections; using System.Collections.Generic; using CircularScrollView; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class TestScrollDemo : MonoBehaviour { public UICircularScrollView VerticalScroll_1; public UICi...
tracer/src/Datadog.Trace/Agent/IStreamFactory.cs
DataDog/dd-trace-csharp
13
7025224
<reponame>DataDog/dd-trace-csharp // <copyright file="IStreamFactory.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc. // </c...
Assets/JOKER/Scripts/Novel/ObjectSet/Live2dObject.cs
dependd/Fight-Animal
2
7025225
<filename>Assets/JOKER/Scripts/Novel/ObjectSet/Live2dObject.cs /********************************************** WARNING !!!! このファイルはダミークラスです。 Live2DをJOKERで使用する場合はLive2Dプラグインパッケージをインポートして このファイルを上書きしてください **************************************************/ using UnityEngine; using System.Collections; using System...
Kelson.Common.Events/Kelson.Common.Events/IChanneledEventManager.cs
KelsonBall/Kelson.Common.Events
0
7025226
<reponame>KelsonBall/Kelson.Common.Events using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Kelson.Common.Events { interface IChanneledEventManager<TChannel> where TChannel : Enum { /// <summary> /// Subscribe to an event type /// </summary> ...
Src/ParseTreeExtractor_GUI/ParseTreeExtractor.cs
davidbirchwork/SpreadsheetAnalysis
0
7025227
<filename>Src/ParseTreeExtractor_GUI/ParseTreeExtractor.cs using System; using System.IO; using System.Reflection; using System.Threading.Tasks; using System.Windows.Forms; using log4net.Config; namespace ParseTreeExtractor { public partial class ParseTreeExtractor : Form { private static readonly log4net...
Assets/GameAssets/Scripts/Maze/CellValidationResult.cs
rtkelly13/ProceduralGeneration3DMazes
6
7025228
using Assets.GameAssets.Scripts.Maze.Model; namespace Assets.GameAssets.Scripts.Maze { public class CellValidationResult { public bool CellValid { get; set; } public Direction Flag { get; set; } public MazePoint Point { get; set; } } }
Labs/Lab 04 - Base GUI Applications 2/ListBoxTest/ListBoxTest/ListBoxTestForm.cs
gbouzon/app-dev
0
7025229
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ListBoxTest { public partial class ListBoxTestForm : Form { public ListBoxTest...
XMLToDataClass/View/IPAddressTypeSettings.cs
RDunkley/XML-To-Data-Class
0
7025230
//******************************************************************************************************************************** // Filename: IPAddressTypeSettings.cs // Owner: <NAME> // Description: Partial class containing the IP Address Type Settings GUI. //*******************************************...
Neurocita.Reactive/Neurocita.Reactive/src/Deprecated/INotification.cs
neurocita/Reactive
0
7025231
<gh_stars>0 using System; namespace Neurocita.Reactive { public interface INotification { object Sender { get; } DateTimeOffset Timestamp { get; } } }
NewFeatures/MyDotNetCoreWpfApp/ViewModels/SettingsViewModel.cs
Kinnara/MyDotNetCoreWpfApp
2
7025232
using System; using System.Diagnostics; using System.Reflection; using System.Windows.Input; using Microsoft.Extensions.Options; using MyDotNetCoreWpfApp.Contracts.Services; using MyDotNetCoreWpfApp.Contracts.ViewModels; using MyDotNetCoreWpfApp.Core.Contracts.Services; using MyDotNetCoreWpfApp.Core.Helpers; using M...
src/VisualStudio/Setup.Dependencies/AssemblyRedirects.cs
pcharlesmoran/roslyn
13
7025233
// 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 Microsoft.VisualStudio.Shell; using Roslyn.VisualStudio.Setup; [assembly: ProvideDependencyBindingRedirection("Microsoft.DiaSymReader.dll")] [assembly...
Nuqleon/Core/DataModel/Nuqleon.DataModel.CompilerServices/TypeSystem/DataTypeObjectEqualityComparator.cs
ScriptBox99/reaqtor
485
7025234
// 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. // // Revision history: // // BD, ER - July 2013 - Created this file. // #pragma warning disable IDE0079 // Remove...
src/Microsoft.Xna.Framework.Content.Pipeline.AudioImporters/WmaImporter.cs
djkhz/monoxna
0
7025236
using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework.Content.Pipeline.Audio; namespace Microsoft.Xna.Framework.Content.Pipeline.AudioImporters { [ContentImporter(".wma", DefaultProcessor = "SongProcessor", DisplayName="WMA Audio File")] public class WmaImpor...
StigSchmidtNielsson.Utils.Test/Extensions/ObjectExtensionsTests.cs
snielsson/StigSchmidtNielsson.Utils
0
7025237
<reponame>snielsson/StigSchmidtNielsson.Utils<filename>StigSchmidtNielsson.Utils.Test/Extensions/ObjectExtensionsTests.cs using System.IO; using System.Text; using StigSchmidtNielsson.Utils.Extensions; using Xunit; namespace StigSchmidtNielsson.Utils.Test.Extensions { public class ObjectExtensionsTests : TestBase {...
src/StatusAggregator/Collector/ManualStatusChangeCollectorProcessor.cs
nikhgup/NuGet.Jobs
44
7025239
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Extensions.Logging; using NuGet.Jobs.Extensions; using NuGet.Services.Status.Table.Manual; using StatusAggregator.Manual; using StatusAg...
Framework/AerospikeClient/Query/QueryAggregateExecutor.cs
wayfair-contribs/aerospike-client-csharp
61
7025240
/* * Copyright 2012-2021 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. * * 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 Lice...
EnvironmentAssessment.Wizard/Common/VimApi/H/HostSpecificationOperationFailed.cs
octansIt/environmentassessment
1
7025241
<reponame>octansIt/environmentassessment namespace EnvironmentAssessment.Common.VimApi { public class HostSpecificationOperationFailed : VimFault { protected ManagedObjectReference _host; protected HostSpecificationOperationFailed_LinkedView _linkedView; public ManagedObjectReference Host { get { re...
Assets/Holojam/Utility/Editor/HolojamUnityEditor.cs
snowymo/CollaboVR
3
7025242
// HolojamUnityEditor.cs // Created by Holojam Inc. on 05.03.17 using System.Reflection; using UnityEditor; using Holojam.Tools; namespace Holojam.Utility { [CustomEditor(typeof(HolojamUnity)), CanEditMultipleObjects] public class HolojamUnityEditor : Editor { public override void OnInspectorGUI() { s...
src/In.ProjectEKA.HipService/OpenMrs/OpenMrsCareContextRepository.cs
thanakritTW/hip-service
0
7025243
<filename>src/In.ProjectEKA.HipService/OpenMrs/OpenMrsCareContextRepository.cs using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using System.Web; using In.ProjectEKA.HipLibrary.Patient; using In.ProjectEKA.HipLibrary.Patient.Model; using In.ProjectEKA.HipService...
src/iOS/Xamarin.iOS/Samples/Geometry/FormatCoordinates/FormatCoordinates.cs
Druffl3/arcgis-runtime-samples-dotnet
0
7025244
// Copyright 2018 Esri. // // 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 writing, software ...
WindowsFormsApp1/Forms.cs
jympara/CS-Twitch-Chat-Bot
0
7025245
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using System.Net.Sockets; namespace TwitchChatBot { public class Forms : Form { static Que...
SevenZipExtractor/ArchiveStreamCallback.cs
diev/adoconnection-SevenZipExtractor
199
7025246
using System.IO; namespace SevenZipExtractor { internal class ArchiveStreamCallback : IArchiveExtractCallback { private readonly uint fileNumber; private readonly Stream stream; public ArchiveStreamCallback(uint fileNumber, Stream stream) { this.fileNumb...
Src/MoneyFox.Application.Tests/Common/Extensions/DateTimeExtensionTests.cs
potyoma/MoneyFox
0
7025247
<reponame>potyoma/MoneyFox<gh_stars>0 using MoneyFox.Application.Common.Extensions; using System; using System.Diagnostics.CodeAnalysis; using Xunit; namespace MoneyFox.Application.Tests.Common.Extensions { [ExcludeFromCodeCoverage] public class DateTimeExtensionTests { [Fact] public void ...
PaymentProcessor.cs
rafaelldi/SolidBakery
0
7025248
<filename>PaymentProcessor.cs namespace SolidBakery { public abstract class PaymentProcessor { public static PaymentProcessor Create(bool hasPaymentTerminal) => hasPaymentTerminal switch { true => new CardPaymentProcessor(), false => new CashPaymen...
src/FlaUI.UIA2/Patterns/GridItemPattern.cs
dot4qu/FlaUI
765
7025249
<reponame>dot4qu/FlaUI using FlaUI.Core; using FlaUI.Core.Identifiers; using FlaUI.Core.Patterns; using FlaUI.UIA2.Converters; using FlaUI.UIA2.Identifiers; using UIA = System.Windows.Automation; namespace FlaUI.UIA2.Patterns { public class GridItemPattern : GridItemPatternBase<UIA.GridItemPattern> { ...
Assets/Editor/Generated/Black/Sequence/ScreenEffect/VWGlareFilterSequenceData.generated.cs
Gurrimo/Luminaire
0
7025250
<gh_stars>0 //---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; u...
src/Auth0.ManagementApi/Clients/JobsClient.cs
cypressious/auth0.net
0
7025251
using Auth0.Core.Http; using Auth0.ManagementApi.Models; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Auth0.ManagementApi.Clients { /// <summary> /// Contains all the methods to call the /jobs endpoints. /// </summary> public class JobsClient : ClientBase ...
Noolite2Mqtt.Plugins.Timer/TimerPlugin.cs
wadimk/noolite2mqtt
0
7025252
<reponame>wadimk/noolite2mqtt using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Noolite2Mqtt.Core.Plugins; using Noolite2Mqtt.Core.Plugins.Utils; namespace Noolite2Mqtt.Plugins.Timer { public class Ti...
src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper063.cs
Fortranm/BizHawk
1,414
7025253
<gh_stars>1000+ using BizHawk.Common; namespace BizHawk.Emulation.Cores.Nintendo.NES { internal sealed class Mapper063 : NesBoardBase { private int prg0, prg1, prg2, prg3; private bool open_bus; public override bool Configure(EDetectionOrigin origin) { switch (Cart.BoardType) { case "MAPPER063": ...
src/Web/BCKFreightTMS.Web.ViewModels/Orders/OrderEditInputModel.cs
MMSlavov/BCKFreight
1
7025254
namespace BCKFreightTMS.Web.ViewModels.Orders { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class OrderEditInputModel { public string ReturnUrl { get; set; } public string Id { get; set; } // [RegularExpression(@"^\d...
src/Core/src/ImageSources/FontImageSourceService/FontImageSourceService.Tizen.cs
abod1944/maui
0
7025255
<filename>src/Core/src/ImageSources/FontImageSourceService/FontImageSourceService.Tizen.cs #nullable enable using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Tizen.UIExtensions.ElmSharp; namespace Microsoft.Maui { public partial class FontImageSourceService...
Assets/GleyPlugins/AllPlatformsSave/Scripts/BinarySerializationUtility.cs
amasnghia/Unity-Boilerplate
0
7025256
namespace GleyAllPlatformsSave { #if UNITY_WINRT && !UNITY_EDITOR using UnityEngine.Windows; #else using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Serialization; using System.Reflection; using System; using System.IO; using UnityEngine; #endif public static class...
AwsS3MultipartDownLoader.Net45/Framework.Log/Logger.cs
tsujimic/aws-s3-net
6
7025257
<filename>AwsS3MultipartDownLoader.Net45/Framework.Log/Logger.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using System.Threading; namespace Framework.Log { //! TraceSource Class //! TextWriterTraceListener textWriterTraceListener...
MPL.Common/Security/Principal/IIdentityExtensions.cs
memiamap/MPL.Common
0
7025259
<gh_stars>0 using System; using System.DirectoryServices.AccountManagement; using System.Security.Principal; namespace MPL.Common.Security.Principal { /// <summary> /// A class that defines extensions to an IIdentity. /// </summary> public static class IIdentityExtensions { #region Methods...
src/Service.VerificationCodes/Services/TwoFaVerificationCodes.cs
MyJetWallet/Service.VerificationCodes
0
7025260
<filename>src/Service.VerificationCodes/Services/TwoFaVerificationCodes.cs<gh_stars>0 using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using MyJetWallet.Sdk.Authorization; using MyJetWallet.Sdk.Authorization.Models; using MyJetWallet.Sdk.Servi...
Tests/YY.YellowPlatformFormats.Core.Tests/Converters/TypeConverterConvertToTestsData.cs
YPermitin/YY.YellowPlatformFormats
3
7025261
using System; using System.Collections; using System.Collections.Generic; using YY.YellowPlatformFormats.Core.Types; namespace YY.YellowPlatformFormats.Core.Tests.Converters { public class TypeConverterConvertToTestsData : IEnumerable<object[]> { public IEnumerator<object[]> GetEnumerator() { ...
src/WebApiDemo/Repositories/UserRepository.cs
niklai-star/AspNetCore-WebApi-Demo
1
7025262
using System.Collections.Generic; using System.Linq; using WebApiDemo.Models; namespace WebApiDemo.Repositories { public class UserRepository : IUserRepository { private IList<User> list = new List<User>() { new User(){ Id = 1, Name = "name:1", Sex = "Male" }, new User(...
Models/TrelloLabels.cs
esdc-devx/sa-appdev-reporting-api
0
7025263
namespace esdc_sa_appdev_reporting_api.Models { public class TrelloLabelsDto { public string id { get; set; } public string idBoard { get; set; } public string name { get; set; } public string color { get; set; } } }
Pyro.Common/PyroHealthFhirResource/CompartmentDefinitions/PyroCompartmentDefinitionDevice.cs
nwisbeta/Pyro
0
7025265
using System; using System.Collections.Generic; using FhirModel = Hl7.Fhir.Model; namespace Pyro.Common.PyroHealthFhirResource.CompartmentDefinitions { public class PyroCompartmentDefinitionDevice : IPyroCompartmentDefinitionDevice { private readonly CodeSystems.IPyroFhirServer IPyroFhirServerCodeSystem; ...
tests/monotouch-test/Network/NWProtocolTlsOptionsTest.cs
SotoiGhost/xamarin-macios
0
7025267
#if !__WATCHOS__ using Foundation; using Network; using NUnit.Framework; namespace MonoTouchFixtures.Network { [TestFixture] [Preserve (AllMembers = true)] public class NWProtocolTlsOptionsTest { NWProtocolTlsOptions options; [OneTimeSetUp] public void Init () => TestRuntime.AssertXcodeVersion (11, 0); ...
Mozlite.Extensions/Security/UserOnlyStoreBase.cs
Mozlite/aspnetcore
8
7025268
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Mozlite.Data; namespace Mozlite.Extensions.Security { /// <summary> /// 用户存储类型。 /// </summary> /// <typepara...
DotHouse/DotHouse/Repository/IEntityBaseDao.cs
FanHuaRan/dothouse
0
7025269
<reponame>FanHuaRan/dothouse using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotHouse.Repository { /// <summary> /// Dao基本接口 /// </summary> /// <typeparam name="T"></typeparam> public interface IEntityBaseDao<T> wh...
Chico Bear Plataform/Projeto Chico Bear/Assets/Projetos/Scripts/PassaDeFase.cs
luana-karlla/Chico-Bear-Game
1
7025270
<filename>Chico Bear Plataform/Projeto Chico Bear/Assets/Projetos/Scripts/PassaDeFase.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PassaDeFase : MonoBehaviour { public string scene; // Use this for initialization void Start() { ...
src/Orleans.Core.Legacy/Logging/LegacyOrleansLoggerProvider.cs
eckerdj7/orleans
0
7025271
<filename>src/Orleans.Core.Legacy/Logging/LegacyOrleansLoggerProvider.cs<gh_stars>0 using Microsoft.Extensions.Logging; using Orleans.Runtime; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net; namespace Orleans.Logging.Legacy { /// <summary> ...
artfulplace.Linear.ExtendShadow2/Parser/MethodBuilder.cs
fantasticswallow/Linear
0
7025272
<filename>artfulplace.Linear.ExtendShadow2/Parser/MethodBuilder.cs using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using artfulplace.Linear.Linq; using System.Reflection; using artfulplace.Linear.Lambda; namespace artfu...
src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Tokens/SymmetricKey.cs
bstordrup/CoreWCF
1,110
7025273
// 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.Security.Cryptography; namespace CoreWCF.IdentityModel.Tokens { internal class InMemorySymmetricSecurityKey : SymmetricSecurityKey { priva...
AssemblyToProcess/ClassWithExplicitInitializedAutoPropertiesDerivedWeakDesign.cs
ptr1120/AutoProperties.Fody
0
7025274
using AutoProperties; public class ClassWithExplicitInitializedAutoPropertiesDerivedWeakDesign : ClassWithExplicitInitializedAutoProperties { public ClassWithExplicitInitializedAutoPropertiesDerivedWeakDesign() { Property1 = "test"; Property2 = "test2"; Property3 = "test3"; ...
miniblog/Services/IBlogService.cs
JimBlizzard/dotnetcoreinaks
0
7025275
namespace miniblog.Services { using miniblog.Models; using System.Collections.Generic; using System.Threading.Tasks; public interface IBlogService { Task DeletePost(Post post); IAsyncEnumerable<string> GetCategories(); Task<Post?> GetPostById(string id); Task<Pos...
ASP/TempWS/ASPPool/ASPPool/Models/PoolDB.Context.cs
UnstableMutex/SBTask
0
7025276
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан по шаблону. // // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном ...
Xamarin.Forms.Platform.Android/CollectionView/ScrollHelper.cs
Suplanus/Xamarin.Forms
5
7025277
<reponame>Suplanus/Xamarin.Forms<gh_stars>1-10 using System; using Android.Graphics; #if __ANDROID_29__ using AndroidX.AppCompat.Widget; using AndroidX.RecyclerView.Widget; #else using Android.Support.V7.Widget; #endif namespace Xamarin.Forms.Platform.Android { internal class ScrollHelper : RecyclerView.OnScrollListe...
tests/NServiceKit.WebHost.Endpoints.Tests/NServiceKitHostTests.cs
int03/NServiceKit
84
7025278
using System; using System.Reflection; using System.Runtime.Serialization; using NUnit.Framework; using NServiceKit.ServiceHost; using NServiceKit.WebHost.Endpoints.Tests.Support.Host; using NServiceKit.WebHost.Endpoints.Tests.Support.Services; namespace NServiceKit.WebHost.Endpoints.Tests { /// <summary...
src/Moryx.ClientFramework/UserInfo/Markup/AccessGridLenghtExtension.cs
slawor/MORYX-ClientFramework
11
7025279
<filename>src/Moryx.ClientFramework/UserInfo/Markup/AccessGridLenghtExtension.cs // Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System; using System.Windows; namespace Moryx.ClientFramework { /// <inheritdoc /> /// <summary> /// Operation acces...
templates/_composition/Prism/Project.TabbedPivot/Views/PivotPage.xaml.cs
hihain/WindowsTemplateStudio
0
7025280
<reponame>hihain/WindowsTemplateStudio using System; using wts.ItemName.ViewModels; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace wts.ItemName.Views { public sealed partial class PivotPage : Page { private PivotViewModel ViewModel => DataContext as PivotViewModel; ...
Chapter 06/Assets/Scripts/GameController.cs
PacktPublishing/Unity-2020-Mobile-Game-Development-Second-Edition
32
7025281
using UnityEngine; using System.Collections.Generic; // List /// <summary> /// Controls the main gameplay /// </summary> public class GameController : MonoBehaviour { [Tooltip("A reference to the tile we want to spawn")] public Transform tile; [Tooltip("A reference to the obstacle we want to spawn")] ...
OpenControls.Wpf.DockManager/DockManager/ExtensionMethods.cs
RangerV107/WindowWrap
1
7025282
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenControls.Wpf.DockManager { public static class ExtensionMethods { private static System.Windows.Forms.Screen[] Screens = System.Windows.Forms.Screen.AllScree...
src/JobManager/JobManager/Program.cs
lefevre-fraser/openmeta-mms
0
7025283
<reponame>lefevre-fraser/openmeta-mms<filename>src/JobManager/JobManager/Program.cs using System; using System.Collections.Generic; using System.Windows.Forms; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting; using System.Net.NetworkInformation; using JobManagerFramework; namespace JobMa...
Workshop-SIS/SIS.MvcFramework/HttpGetAttribute.cs
villdimova/SoftUni-WEB
0
7025284
<gh_stars>0 using SIS.Http; namespace SIS.MvcFramework { public class HttpGetAttribute : BaseHttpAttribute { public HttpGetAttribute() { } public HttpGetAttribute(string url) { this.Url = url; } public override HttpMethod Method => HttpMeth...
src/EA.Iws.Web/Areas/ImportNotification/Views/UpdateJourney/EntryPointChanged.cshtml
DEFRA/prsd-iws
1
7025285
@using Resources = EA.Iws.Web.Areas.ImportNotification.Views.UpdateJourney.UpdateJourneyResources @{ ViewBag.Title = Resources.EntryPointChangedTitle; } <h1 class="heading-large">@Resources.EntryPointChangedTitle</h1> <p>@(string.Format(Resources.EntryPointChangedDescription, ViewBag.EntryPoint)).</p> @Html.Act...
Wallanguager/Learning/PhrasesGroup.cs
Grizley56/Wallanguager
0
7025286
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Windows.Documents; usi...
Programming/Design-Patterns-Demo/Behavioral/Visitor/Employee.cs
Steffkn/TelerikAcademy
3
7025287
<gh_stars>1-10 namespace Visitor { /// <summary> /// The 'ConcreteElement' class /// </summary> internal class Employee : Element { public Employee(string name, double income, int vacationDays) { this.Name = name; this.Income = income; this.Vacati...
CoyoteActors/Framework/TPL_N/Source/Core/Attributes/TestAttributes.cs
uditagarwal97/nekara-artifact
2
7025288
// ------------------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------------------------------------...
KinderChat.ServerClient/Ws/Requests/MessageDeliveredStatusAcknowledgeRequest.cs
kiranvsr/KinderChat
129
7025289
<filename>KinderChat.ServerClient/Ws/Requests/MessageDeliveredStatusAcknowledgeRequest.cs<gh_stars>100-1000 using System; using System.Collections.Generic; using KinderChat.ServerClient.Entities.Ws.Events; namespace KinderChat.ServerClient.Entities.Ws.Requests { public class MessageDeliveredStatusAcknowledgeReque...
Assets/Scripts/Model/Content/SecondEdition/Pilots/FiresprayClassPatrolCraft/EmonAzzameen.cs
belk/FlyCasual
0
7025290
using Bombs; using System.Collections.Generic; using Upgrade; namespace Ship { namespace SecondEdition.FiresprayClassPatrolCraft { public class EmonAzzameen : FiresprayClassPatrolCraft { public EmonAzzameen() : base() { PilotInfo = new PilotCardInfo( ...
source/UIData/Tools/PropertyValueOptimizer.cs
Glepooek/Lottie-Windows
381
7025291
<filename>source/UIData/Tools/PropertyValueOptimizer.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Numerics; using System.Text; usi...
sources/editor/Xenko.Assets.Presentation/ViewModel/ModelViewModel.cs
CriDos/xenko
3
7025292
// Copyright (c) Xenko contributors (https://xenko.com) 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.Linq; using System.Windows.Controls; using System.Windows.Media.Imaging; u...
Assets/DanmakU/Runtime/Core/Jobs/MoveDanmaku.cs
Rhythmia/DanmakuUnity2D
169
7025293
using Unity.Jobs; using Unity.Collections; using Unity.Collections.LowLevel.Unsafe; using UnityEngine; namespace DanmakU { internal struct MoveDanmaku : IJobBatchedFor { public float DeltaTime; public NativeArray<Vector2> Positions; public NativeArray<float> Rotations; [ReadOnly] public NativeArray<float> S...
gui/Assets/Scripts/ChooseBlankTile.cs
AhmedSalemElhady/Scrabble-Game.ai
8
7025294
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ChooseBlankTile : MonoBehaviour { //public GameObject button; //public char text; //public static char staticChar; //public static GameObject staticButton; //private void Start() ...
NuCLIus.WinForms/Preferences/DlgPreferences.cs
penCsharpener/NuCLIus
0
7025295
using MYaSyncQL.Client.Forms.Controls.Wrappers; using NuCLIus.Core.Contracts; using NuCLIus.Core.Entities; using System; using System.Windows.Forms; namespace NuCLIus.WinForms.Preferences { public partial class DlgPreferences : Form { private ToolTip _toolTips = new ToolTip(); private DGVEnhancer...
CSharpGL/GLObjects/GLSwitches/EnableSwitches/CullFaceSwitch.cs
baho-s/CSharpGL
565
7025296
<filename>CSharpGL/GLObjects/GLSwitches/EnableSwitches/CullFaceSwitch.cs namespace CSharpGL { // https://www.khronos.org/opengles/sdk/docs/man/xhtml/glCullFace.xml /// <summary> /// Cull front/back face? /// </summary> public class CullFaceSwitch : EnableSwitch { // Activator needs a no...
Assets/Plugins/UniDialog/Scripts/Infrastructure/DialogTemplate.cs
fumobox/UniDialog
0
7025297
using UniDialog.Presentation; using UnityEngine; namespace UniDialog.Infrastructure { [CreateAssetMenu] public class DialogTemplate : ScriptableObject { public string templateName; public DialogPresenter dialog; public DialogFramePresenter frame; public DialogContentPre...
src/WinnersLeague.Data/Migrations/20181207170345_AddLazyLoading.Designer.cs
Jordan3900/WinnersLeague
0
7025298
<reponame>Jordan3900/WinnersLeague // <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; usin...
Utils.cs
nikkilocke/AccountServer
9
7025299
<filename>Utils.cs using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.IO; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace AccountServer { public static...
Smart City Dashboard/Assets/Scripts/Depreciated/GridPoint.cs
Jaren-Taylor/Smart-City-Dashboard
0
7025300
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class GridPoint : MonoBehaviour { /* public TileManager parent; public GameObject activeTile; public Vector2Int coords; private void Start() { activeTile = null; } void OnMouseEn...
Scripts/BaseApi/Api/ApiId.cs
echoprotocol/echo-unity-lib
1
7025301
<gh_stars>1-10 using System; using Base.Requests; using Base.Responses; using CustomTools.Extensions.Core; namespace Base.Api { public abstract class ApiId { private readonly ISender sender; protected int? Id { get; private set; } protected ApiId(int? id, ISender sender) { ...
test/EFCore.Tests/ModelBuilding/ModelBuilderTestBase.cs
sputier/EntityFrameworkCore
16
7025302
<filename>test/EFCore.Tests/ModelBuilding/ModelBuilderTestBase.cs // 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.Diagnostics; using System...
src/TravelAgent.Web/TravelAgent.Web/admin/common/BarEdit.aspx.designer.cs
huahuajjh/yueyouyuebei
1
7025303
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:2.0.50727.3053 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Tr...
Site/App_GlobalResources/Pages.Financial.designer.cs
Swarmops/Swarmops
72
7025304
<reponame>Swarmops/Swarmops<gh_stars>10-100 //------------------------------------------------------------------------------ // <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 cod...
sdk/src/Services/ElastiCache/Generated/Model/PurchaseReservedCacheNodesOfferingRequest.cs
SaschaHaertel/AmazonAWS
0
7025305
/* * 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...
00. Basics/02. BasicOperators/Problem 14/CurrentDate.cs
Supbads/Softuni-Education
1
7025306
using System; class CurrentDate { static void Main() { Console.WriteLine("The current date and time is: " + DateTime.Now); } }
Source/Treenumerable/VirtualTree/VirtualTree.GetHeight.cs
jasonmcboyd/Treenumerable
8
7025307
namespace Treenumerable { public partial struct VirtualTree<T> { /// <summary> /// Gets the height of the <see cref="Treenumerable.Virtual&lt;T&gt;"/>. The height is /// measured by the number of edges between this and the deepest leaf. /// </summary> /// <returns> ...
source/DG.Core/Extensions/HashExtensions.cs
chesdenis/DataGenies.AspNetCore
1
7025308
<gh_stars>1-10 using System; using System.Security.Cryptography; using System.Text; using System.Text.Json; using DG.Core.Model.ClusterConfig; namespace DG.Core.Extensions { public static class HashExtensions { public static string CalculateMd5Hash(this IHashComputable hashComputable) { ...
src/Celloc.DataTable.Aggregations/Operators.cs
sduplooy/Celloc.DataTable.Aggregations
0
7025309
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace Celloc.DataTable.Aggregations { public static class Operators { private static readonly IDictionary<(string Operator, Type Type), Delegate> DelegateCache = new Dictionary<(string Operator, Type Type), Delegate>(); publi...
Versionize/PlainLinkBuilder.cs
georgiuk/versionize
0
7025310
using Versionize; using Version = NuGet.Versioning.SemanticVersion; public class PlainLinkBuilder : IChangelogLinkBuilder { public string BuildCommitLink(ConventionalCommit commit) { return string.Empty; } public string BuildVersionTagLink(Version version) { return string.Empty; ...
test/Console.Host.Tests/Mocks/MockCommandLineArgs.cs
smokedlinq/ConsoleHost
0
7025311
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tests { internal static class MockCommandLineArgs { internal static readonly string[] Empty = Array.Empty<string>(); } }
src/Itinero.Optimization/Solvers/CVRP/SCI/SeededCheapestInsertionPlacementOperator.cs
itinero/optimization
43
7025312
/* * Licensed to SharpSoftware under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * SharpSoftware licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not us...
Daemon/POD/MinerTransaction.cs
monero-ecosystem/csharp-monero-rpc-client
19
7025313
using Monero.Client.Network; using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace Monero.Client.Daemon.POD { public class MinerTransaction { [JsonPropertyName("version")] public uint Version { get; set; } [JsonPropertyName("...
SourceCodeRenderer/SubtagRegistry/TreeNode.cs
ExM/NLanguageTag
3
7025315
using System.Collections.Generic; using System.Linq; namespace NLanguageTag.SourceCodeRenderer.SubtagRegistry { public class TreeNode { public string Prefix { get; } public Dictionary<char, LinkNode> Nested { get; } public string? Value { get; } public TreeNode(string prefix, Dictionary<char, Li...
csharp/core/lwf_eventmovie.cs
cevitcejbo/lwf
253
7025316
<gh_stars>100-1000 /* * Copyright (C) 2012 GREE, Inc. * * 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 software for any purpose,...
src/BrowserPicker.App/View/LoadingWindow.xaml.cs
sonalder-darlene/BrowserPicker
74
7025317
using System.Windows; namespace BrowserPicker.View { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class LoadingWindow { public LoadingWindow() { InitializeComponent(); DataContext = ((App)Application.Current).ViewModel; } private void Window_SizeChanged(obj...
ModernWorkplaceConcierge/Controllers/IntuneConfigExportController.cs
pbjorklund/ModernWorkplaceConcierge
0
7025318
<reponame>pbjorklund/ModernWorkplaceConcierge<filename>ModernWorkplaceConcierge/Controllers/IntuneConfigExportController.cs using ModernWorkplaceConcierge.Helpers; using System.IO; using System.IO.Compression; using System.Web.Mvc; using Newtonsoft.Json; using Microsoft.Graph; using System.Text; using Newtonsoft.Json....