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
UCloudSDK/Models/UNet/DescribeSecurityGroup.Rule.cs
sanjusss/ucloud-csharp-sdk
1
7027739
<reponame>sanjusss/ucloud-csharp-sdk namespace UCloudSDK.Models { /// <summary> /// 获取防火墙组信息 /// <para> /// http://docs.ucloud.cn/api/unet/describe_security_group.html /// </para> /// </summary> public partial class DescribeSecurityGroupRule { /// <summary> //...
src/ResourceManager/MachineLearning/Commands.MachineLearning/Cmdlets/CommitmentPlans/GetAzureMLCommitmentPlan.cs
ctatoiu/PS-Azure
10
7027741
<reponame>ctatoiu/PS-Azure<gh_stars>1-10 // ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obt...
Zapp.Core/NuGet/XmlNuGetPackageResolver.cs
omniaretail/zapp
5
7027742
<gh_stars>1-10 using System.Collections.Generic; using System.Reflection; using System.Xml; namespace Zapp.Core.NuGet { /// <summary> /// Represents an basic implementation of <see cref="INuGetPackageResolver"/>. /// </summary> public class XmlNuGetPackageResolver : INuGetPackageResolver { ...
Fylgja.Core/TypeOf.cs
ToTirzah/Fylgja
0
7027743
namespace Fylgja.Core { using System; using System.Reflection; public static class TypeOf<T> { public static readonly Type Info = typeof(T); public static readonly string Name = Info.Name; public static readonly string FullName = Info.FullName; public static readonly Assembly Assembly = Info.Assembly; p...
PetriNetLib/NetStructure/Element.cs
oeshiro/PetriNetDecomposer
5
7027744
<gh_stars>1-10 using System; namespace PetriNetLib.NetStructure { /// <summary> /// Base for an element of a Petri net. /// </summary> public abstract class Element { /// <summary> /// An element's ID. /// </summary> public string Id { get; protected set; } ...
PackDrop/GameOverActivity.cs
crswlls/packdrop
0
7027745
using Android.App; using Android.OS; using Android.Widget; using GalaSoft.MvvmLight.Helpers; using ViewModels; namespace PackDrop { [Activity (Label = "Game Over", Icon = "@drawable/icon")] public class GameOverActivity : Activity { public TextView ScoreValue { get; set;} publi...
src/HotChocolate/AspNetCore/test/AspNetCore.Tests.Utilities/PersistedQueryCache.cs
kirkbrauer/hotchocolate
3
7027746
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using HotChocolate.Execution; using HotChocolate.Language; namespace HotChocolate.AspNetCore.Tests.Utilities; public class PersistedQueryCache : IReadStoredQueries , IWriteStoredQueries { private readonly Dictionary<st...
SignalGo.Shared/Log/AutoLogger.cs
saeedrezayi/SignalGo-Publisher
3
7027747
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Threading; namespace SignalGo.Shared.Log { /// <summary> /// log exceptions and texts to a file /// </summary> public class AutoLogger { public static AutoLogger Default { get; set; } = new AutoLogger(...
PeopleManager/PeopleManager.API/App_Start/DependencyResolutionConfig.cs
bmingles/Internship
0
7027748
using Microsoft.Practices.Unity; using PeopleManager.API.IoC; using PeopleManager.Common.Repositories; using System.Web.Http; namespace PeopleManager.API.App_Start { public static class DependencyResolutionConfig { /// <summary> /// IoC configuration is based on article here: http://www.asp.ne...
Source/ClassLibrary/DebugTests.CLR.cs
endel/Phalanger
329
7027749
<gh_stars>100-1000 /* Copyright (c) 2004-2006 <NAME>. The use and distribution terms for this software are contained in the file named License.txt, which can be found in the root of the Phalanger distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this licen...
DevExpress.Mvvm/Native/ActionInvoker/StaticActionInvoker.cs
QuinnBryant/DevExpressMVVMCustomEmittedActionSampleProject
0
7027750
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using DevExpress.Mvvm.Native; using System.Windows.Threading; namespace DevExpress.Mvvm.Native { public abstract class StrongReferenceActionInvokerBase : ActionInvokerBase { public StrongReferenceActionInvokerBase(o...
InfoManager.DataAccess/Migrations/20181202232350_InitDB.Designer.cs
pyongwonlee/InfoManager
0
7027751
// <auto-generated /> using System; using InfoManager.DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespac...
Poseidon.Expense.ClientDx/Mod/HotWaterReceipt.cs
robertzml/Poseidon.Expense
0
7027752
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Poseidon.Expense.ClientDx { using Poseidon.Base.Framework; using Poseidon.Base.System; using Poseidon.Co...
System.ServiceModel.Activation/System/ServiceModel/Activation/Interop/SafeHGlobalHandleCritical.cs
cnork/referencesource
911
7027753
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Activation.Interop { using System; using System.Runtime; ...
src/mbunit/MbUnit.Framework/Core/Cons/CommandLine/CommandLineArgumentParser.cs
Gallio/mbunit-v2
1
7027754
// MbUnit Test Framework // // Copyright (c) 2004 <NAME> // // 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 a...
SweetAndSavory/Views/Flavors/Index.cshtml
AnthonyGolovin/C_PierresSweetandSavory
0
7027755
@{ Layout = "_Layout"; } @using SweetAndSavory.Models; @model List<SweetAndSavory.Models.Flavor>; <h1>Flavor</h1> <br> <form asp-controller="Flavors" asp-action="Index"> <p> <i class="fa fa-search"></i> <input type="text" name="SearchFlavor" placeholder="Find Flavor"> </p> </form> <br> @if (@Mod...
Scripts/Modules/Devkit/Diagnosis/SendReport/DefaultSendReportBuilder.cs
oTAMAKOo/UnityFramework
20
7027756
 using UnityEngine; using System; using System.Globalization; namespace Modules.Devkit.Diagnosis.SendReport { public sealed class DefaultSendReportBuilder : ISendReportBuilder { public void Build(string screenShotData, string logData) { var sendReportManager = SendReportManager.Ins...
NBi.Core/ResultSet/Resolver/RowsResultSetResolverArgs.cs
TheAutomatingMrLynch/NBi
0
7027757
<reponame>TheAutomatingMrLynch/NBi<filename>NBi.Core/ResultSet/Resolver/RowsResultSetResolverArgs.cs<gh_stars>0 using NBi.Core.Query; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.ResultSet.Resolver { publi...
CS108 Demo/BLE.Client/obj/Debug/netstandard2.0/samples/XamarinSample/XamarinSample/XamarinSample/Polar/RadialArea/View.xaml.g.cs
trevorcmit/RFID_BT_app
0
7027758
//------------------------------------------------------------------------------ // <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> //---...
SpartanTrainingRoom/SpartanTrainingRoom/Views/Courses/Video.cshtml
HarryB96/FinalProject
0
7027759
@model SpartanTrainingRoom.Models.Course @{ ViewData["Title"] = "Video"; } <div class="main-container"> <h1>Course: C#</h1> <div class="video-container"> <video width="850" height="500" src="~/video/CSharpVariable.mp4" controls="controls"> Your browser does not sup...
backUps/Scripts/BuildingSpawner.cs
kelerjiman/TrafficRacer
1
7027760
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BuildingSpawner : MonoBehaviour { // Start is called before the first frame update [SerializeField] List<GameObject> PrefabsList; [SerializeField] float respawn_Speed = 1f; [SerializeField] float Zspeed = -2f; ...
ReleaseTags/0.7/LateBindingApi.Excel/Enums/MsoDiagramType.cs
NetOfficeFw/Excel-XlLateBinding
0
7027761
using System; namespace LateBindingApi.Excel.Enums { public enum MsoDiagramType { msoDiagramMixed = -2, msoDiagramOrgChart = 1, msoDiagramCycle = 2, msoDiagramRadial = 3, msoDiagramPyramid = 4, msoDiagramVenn = 5, msoDiagramTarget = 6 } }
KaLib.Brigadier/Tree/ArgumentCommandNode.cs
KawaiiKusa/KaLib
0
7027762
<gh_stars>0 using System; using System.Collections.Generic; using System.Threading.Tasks; using KaLib.Brigadier.Arguments; using KaLib.Brigadier.Builder; using KaLib.Brigadier.Context; using KaLib.Brigadier.Exceptions; using KaLib.Brigadier.Suggests; namespace KaLib.Brigadier.Tree { public class ArgumentCommandNo...
test/ZendeskApi.Client.Tests/Resources/OrganizationMembershipsResourceTests.cs
cserkaran/ZendeskApiClient
61
7027763
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging.Abstractions; using Xunit; using ZendeskApi.Client.Exceptions; using ZendeskApi.Client.Models; using ZendeskApi.Client.Resources; using ZendeskApi.Client.Tests.ResourcesSampleSites; #pragma warning disa...
Assets/Scripts/UserInterface/DialogueManager.cs
nomosoro/Shinogi
0
7027764
<filename>Assets/Scripts/UserInterface/DialogueManager.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using Utilities; public class DialogueManager : Singleton<DialogueManager> { //Incharge of all the dialogue to be played. public DialogueList dialogueList; private Hashtable cont...
src/DHI.Mesh/Interpolator.cs
DHI/DHI.Mesh
3
7027765
namespace DHI.Mesh { /// <summary> /// Does interpolation from source data to target data. /// <para> /// It basically does a sparse matrix-vector product, though taking /// delete (undefined) values in source data into account, and handling /// degree-type data. /// </para> /// </summary> ...
test/NuGet.Tests.Apex/NuGet.Tests.Apex/Apex/SharedVisualStudioHostTestClass.cs
onovotny/NuGet.Client
1
7027766
using System; using Microsoft.Test.Apex; using Microsoft.Test.Apex.VisualStudio; using Xunit; namespace NuGet.Tests.Apex { [CollectionDefinition("SharedVSHost")] public sealed class SharedVisualStudioHostTestCollectionDefinition : ICollectionFixture<VisualStudioHostFixtureFactory> { private SharedV...
src/ServiceProviderFactory.cs
LiquidThinking/microsoft-dependency-injection
0
7027767
<gh_stars>0 using System; using Microsoft.Extensions.DependencyInjection; using Unity.Lifetime; namespace Unity.Microsoft.DependencyInjection { public class ServiceProviderFactory : IServiceProviderFactory<IUnityContainer>, IServiceProviderFactory<IServiceCollection> ...
BackGroundMovie/W32.cs
rikuru-to865/VideoWallpaper
2
7027770
using System; using System.Runtime.InteropServices; using System.Windows.Forms; using System.Text; //This file is all magic //Please do not touch!! public class Win32 { [Flags()] public enum DeviceContextValues : uint { ...
AcTools.ExtraKn5Utils/Kn5Utils/Kn5VertexUtils.cs
Ultrawipf/actools
209
7027771
<reponame>Ultrawipf/actools using AcTools.Kn5File; using AcTools.Numerics; namespace AcTools.ExtraKn5Utils.Kn5Utils { public static class Kn5VertexUtils { public static Kn5Node.Vertex Transform(this Kn5Node.Vertex v, Mat4x4 m, double offsetAlongNormal = 0d) { var posVec = Vec3.Transform(v.Posit...
AluminiumCallouts/AluminiumCallouts/Callouts/Investigate/Drug Deal/Strawberry.cs
Izibane/AluminiumCallouts
0
7027772
using AluminiumCallouts.util; using LSPD_First_Response.Mod.API; using LSPD_First_Response.Mod.Callouts; using Rage; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace AluminiumCallouts.Callout...
CBORTest/BEncoding.cs
ewertons/CBOR
0
7027773
<filename>CBORTest/BEncoding.cs /* Written in 2013 by <NAME>. Any copyright to this work is released to the Public Domain. In case this is not possible, this work is also licensed under Creative Commons Zero (CC0): http://creativecommons.org/publicdomain/zero/1.0/ If you like this, you should donate to Peter O. at: htt...
DynamicImage/src/Umbrella.DynamicImage.Abstractions/IDynamicImageResizer.cs
Zinofi/umbrella
10
7027774
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Umbrella.FileSystem.Abstractions; namespace Umbrella.DynamicImage.Abstractions { public interface IDynamicImageResizer { bool IsImage(byte[...
SESL.NET.Tests/SimpleExample/Test.cs
eddie3716/SESL.NET
1
7027775
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SESL.NET.Compilation; using SESL.NET.Function; using NUnit.Framework; namespace SESL.NET.Tests { [TestFixture] public class ReallyImportantClass { [Test] public void DoStuff(...
CSharpTranslator/tests/Tester/Misc/MiscSyntax.cs
metacommunications/cs2j
144
7027776
<reponame>metacommunications/cs2j namespace Tester.MiscSyntax { // An abstract property /// <summary> /// A block of data in a packet. Packets are composed of one or more blocks, /// each block containing one or more fields /// </summary> public abstract class PacketBlock { ///...
Program.cs
zhangjing-lyf/csharp
0
7027777
<filename>Program.cs using System; namespace csharp { class Program { static void Main(string[] args) { int a=5; if(a<1) { Console.WriteLine("this is my first line"); } else{ Console.WriteLine("this is ...
Src/Drone.Hugo/TarHelper.cs
hypervtechnics/drone-hugo
0
7027778
<filename>Src/Drone.Hugo/TarHelper.cs using System; using System.IO; using System.IO.Compression; using System.Text; namespace Drone.Hugo { /// <summary> /// A helper to work with tar files /// </summary> /// <remarks>Taken from: https://gist.github.com/ForeverZer0/a2cd292bd2f3b5e114956c00bb6e872b and...
Source/DaveSexton.XmlGel/MAML/Documents/MamlGlossary.cs
RxDave/XMLGel
2
7027779
<gh_stars>1-10 using System.Windows.Documents; using System.Xml.Linq; using DaveSexton.XmlGel.Maml.Documents.Visitors; namespace DaveSexton.XmlGel.Maml.Documents { /* glossary (glossary.xsd) * * Attributes: (contentIdentificationSharingAndConditionGroup - base.xsd) * - address (ID : NCName) * * Attribute...
WpfUtility/GeneralUserControls/NumberTextBox.cs
MunkiWinchester/WpfUtility
2
7027780
<reponame>MunkiWinchester/WpfUtility<filename>WpfUtility/GeneralUserControls/NumberTextBox.cs using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace WpfUtility.GeneralUserControls { /// <inheritdoc /> /// <summary> /// Text box for ...
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Commands/ApprenticeshipConfirmationCommenced/ApprenticeshipConfirmationCommencedCommand.cs
SkillsFundingAgency/das-commitments
6
7027781
using System; using MediatR; namespace SFA.DAS.CommitmentsV2.Application.Commands.ApprenticeshipConfirmationCommenced { public class ApprenticeshipConfirmationCommencedCommand : IRequest { public long ApprenticeshipId { get; set; } public DateTime CommitmentsApprovedOn { get; set; } pub...
src/Miningcore/Blockchain/Ethereum/EthereumConstants.cs
joel-nlok/miningcore
0
7027782
<reponame>joel-nlok/miningcore using System.Numerics; using System.Text.RegularExpressions; namespace Miningcore.Blockchain.Ethereum; public class EthereumConstants { public const ulong EpochLength = 30000; public const ulong CacheSizeForTesting = 1024; public const ulong DagSizeForTesting = 1024 * 32; ...
samples/Sample.ConsoleApp/EventSubscriber.cs
ZhaoYis/CAP
5,798
7027783
<reponame>ZhaoYis/CAP using System; using DotNetCore.CAP; namespace Sample.ConsoleApp { public class EventSubscriber : ICapSubscribe { [CapSubscribe("sample.console.showtime")] public void ShowTime(DateTime date) { Console.WriteLine(date); } } }
examples/Replikit.Examples.Scenes/Scenes/CounterScene.cs
replikit/replikit
1
7027784
<gh_stars>1-10 using Replikit.Abstractions.Messages.Builder; using Replikit.Extensions.Scenes; namespace Replikit.Examples.Scenes.Scenes; public class CounterScene : Scene<CounterScene.CounterState> { public class CounterState { public int Count { get; set; } } [Stage] public SceneResult ...
AcManager/App.xaml.cs
Ultrawipf/actools
209
7027785
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Wind...
src/NET6TopLevelStatements/Shared/DataAccess/ProductsDAO.cs
smhmhmd/serverless-dotnet-demo-1
6
7027786
<reponame>smhmhmd/serverless-dotnet-demo-1<filename>src/NET6TopLevelStatements/Shared/DataAccess/ProductsDAO.cs using System.Threading.Tasks; using Shared.Models; namespace Shared.DataAccess { public interface ProductsDAO { Task<Product?> GetProduct(string id); Task PutProduct(Product product...
src/OpenRpg.Combat/Abilities/Ability.cs
timiil/OpenRpg
25
7027787
using OpenRpg.Core.Common; namespace OpenRpg.Combat.Abilities { /// <summary> /// An ability wraps up the notion of a special ability that can be used for combat purposes /// </summary> public class Ability : IHasDataId, IHasLocaleDescription { public int Id { get; set; } public str...
ef-dynamicdatamasking/MaskedModel.cs
r-hryniewski/ef-dynamicdatamasking
0
7027788
<reponame>r-hryniewski/ef-dynamicdatamasking namespace ef_dynamicdatamasking { using System; using System.Data.Entity; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; public partial class MaskedModel : DbContext { public MaskedModel() : base("name=Mask...
node_modules/react-native-windows/ReactWindows/ReactNative/UIManager/Annotations/ReactPropBaseAttribute.cs
neelimabhukya/readypolicy-ui
0
7027789
using System; namespace ReactNative.UIManager.Annotations { /// <summary> /// A base class for common functionality across <see cref="ReactPropAttribute"/> /// and <see cref="ReactPropGroupAttribute"/>. /// </summary> public abstract class ReactPropBaseAttribute : Attribute { ...
Exams/Exam-2016-11-20-Morning/06-Battles/Battles.cs
VladimirKyuranov/Programming-Basics-CSharp
0
7027790
<reponame>VladimirKyuranov/Programming-Basics-CSharp using System; class Battles { static void Main(string[] args) { int playerOne = int.Parse(Console.ReadLine()); int playerTwo = int.Parse(Console.ReadLine()); int maxBattles = int.Parse(Console.ReadLine()); int battlesPlayed ...
Assets/Johnson/Scripts/LightningTowerStateMachine/LightningTowerStateMachine.cs
nickworks/355-TowerDefense
0
7027791
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// This keeps all the code within the brackets inside this johnson namespace. also other classes must be inside the same namespace to access any other classes code inside the namespace /// </summary> namespace Johnson...
Source/RhythmCodex.Plugin.CSCore/Lib/Codecs/FLAC/FlacSubFrameData.cs
SaxxonPike/RhythmCodex
10
7027792
<filename>Source/RhythmCodex.Plugin.CSCore/Lib/Codecs/FLAC/FlacSubFrameData.cs using System; namespace RhythmCodex.Plugin.CSCore.Lib.Codecs.FLAC { internal class FlacSubFrameData { public Memory<int> DestinationBuffer; public Memory<int> ResidualBuffer; public readonly FlacPartitionedR...
LoWaiLoWebApi/Services/LoWaiLo.Services/Contracts/IProductsService.cs
TeMePyT/LoWaiLo-Project
0
7027794
<gh_stars>0 namespace LoWaiLo.Services.Contracts { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LoWaiLo.Data.Models; public interface IProductsService { IQueryable<Product> All(); bool Any(); Task AddAsync(Product product);...
src/Management/src/EndpointBase/ThreadDump/ThreadDumperEP.cs
SteeltoeOSS/steeltoe
295
7027795
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Microsoft.Diagnostics.NETCore.Client; using Microsoft.Diagnostics.Symbols; using Microsoft.Diagnostics....
tests/gfoidl.Stochastics.Tests/Builders/ArrayBuilderTests/Add.cs
gfoidl/Stochastics
3
7027796
using System.Collections.Generic; using gfoidl.Stochastics.Builders; using NUnit.Framework; namespace gfoidl.Stochastics.Tests.Builders.ArrayBuilderTests { [TestFixture] public class Add { [Test, TestCaseSource(nameof(Add_items_ToArray___correct_result_TestCases))] public void Add_items_To...
SistemaVentas/Presentacion/INVENTARIOS_KARDEX/KardexSalidas.cs
pedromaironi/Pedroveloper
2
7027797
<reponame>pedromaironi/Pedroveloper using SistemaVentas.Datos; using SistemaVentas.Logica; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace SistemaVentas.Presentacion.INVENT...
aspnetcore/fundamentals/configuration/index/samples/3.x/ConfigSample/Pages/Index.cshtml
jongalloway/AspNetCore.Docs
5,343
7027798
<gh_stars>1000+ @page @model IndexModel @{ ViewData["Title"] = "Home page"; } <p> @ViewData["configProviders"] </p> <div> Environment: <environment include="Development"> Development </environment> <environment include="Production "> Production </environment> </div>
src/devices/Nmea0183/TalkerId.cs
Rdlprmpf/iot
3
7027799
<reponame>Rdlprmpf/iot // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; namespace Iot.Device.Nmea0183 { /// <summary> /// Represents 2 character NMEA0183 talker identifier /// </summary> public struc...
src/Middleware/Rewrite/src/Internal/IISUrlRewrite/ServerVariables.cs
gamenet2/GameNetCore
1
7027800
// 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 Contoso.GameNetCore.Rewrite.Internal.PatternSegments; using Microsoft.Net.Http.Headers; namespace Contoso.GameNetCore.Rewri...
dotnet/Library/Sers/Sers.Core/Sers.Core/Module/Api/LocalApi/StaticFileTransmit/StaticFilesConfig.cs
serset/Sers
2
7027801
<gh_stars>1-10 using System.IO; using Vit.Core.Util.Common; using Newtonsoft.Json; using System.Collections.Generic; namespace Sers.Core.Module.Api.LocalApi.StaticFileTransmit { #region StaticFiles [JsonObject(MemberSerialization.OptIn)] public class StaticFilesConfig { #region ...
Animatroller/src/Framework/DoubleZeroToOne.cs
HakanL/animatroller
8
7027802
<gh_stars>1-10 using System; using System.Collections.Generic; namespace Animatroller.Framework { public class DoubleZeroToOne : IControlData { public static readonly DoubleZeroToOne Zero = new DoubleZeroToOne(); public static readonly DoubleZeroToOne Full = new DoubleZeroToOne(1.0); ...
StarshipTraveler.Model/Flightplan.cs
stefanselig/StarshipTraveler
0
7027803
using Dijkstra.NET.Graph; using Dijkstra.NET.ShortestPath; using System; using System.Linq; namespace StarshipTraveler.Model { public class BasePoint { public Base Base { get; set; } public ConnectionWithBases[] DirectConnections { get; set; } public double X { get; set; } publ...
src/WinTenBot/WinTenBot/Handlers/Commands/Words/WordSyncCommand.cs
reyasmohammed/WinTenBot.NET
0
7027804
using System.Threading; using System.Threading.Tasks; using Telegram.Bot.Framework.Abstractions; using WinTenBot.Services; using WinTenBot.Telegram; using WinTenBot.Tools; namespace WinTenBot.Handlers.Commands.Words { public class WordSyncCommand : CommandBase { private TelegramService _telegramService...
X11/Pixmap.cs
darkoverlordofdata/X11.Net
37
7027805
<reponame>darkoverlordofdata/X11.Net using System; using System.Runtime.InteropServices; namespace X11 { public partial class Xlib { /// <summary> /// The XCreatePixmap() function creates a pixmap of the width, height, and depth you specified and returns a /// pixmap ID that identifie...
sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs
gjy5885/azure-sdk-for-net
3,268
7027806
<filename>sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using Azure.Monitor.OpenTelemetry.Exporter.Models; namespa...
Project0/PizzaBox6/PizzaBox.Client/PizzaController.cs
03012021-dotnet-uta/ChristopherTrimmer_p1
0
7027807
using System; using System.Collections.Generic; using System.Linq; using PizzaBox.Storing.Repositories; using PizzaBox.Storing.Repositories.Interfaces; using PizzaBox.Domain.Abstracts; using PizzaBox.Domain.Models; namespace PizzaBox.Client { /// <summary> /// Each controller instantiates the respective IRepo...
GW2MyCraftingList/Data/API/Gw2Spidy.cs
stephanel/Gw2MyCraftingList
0
7027808
using System; using System.Runtime.Serialization; namespace GW2ExplorerCraftTool.Data.API { public class Gw2Spidy { [DataContract] public class ItemResult { [DataMember] public int data_id; [DataMember] public string img; [Dat...
src/sample/BlogNote-Web/Views/Home/SignIn.cshtml
Kostassoid/Anodyne
2
7027809
@using Kostassoid.BlogNote.Web.Models.Forms @model UserForm @{ Layout = null; } <h2>Who are you?</h2> @using (Html.BeginForm("Index")) { @Html.LabelFor(u => u.Name) <br /> @Html.TextBoxFor(u => u.Name) @Html.ValidationMessageFor(u => u.Name) <br /> @Html.LabelFor(u => u.Email)...
boilersGraphics/Views/Triggers/WindowLoadedEventTrigger.cs
dhq-boiler/grapher
1
7027810
using boilersGraphics.ViewModels; using System; using Microsoft.Xaml.Behaviors; namespace boilersGraphics.Views.Triggers { internal class WindowLoadedEventTrigger : EventTrigger { protected override void OnEvent(EventArgs eventArgs) { //((AssociatedObject as MainWindow).DataContext...
test/ZendeskApi.Client.Tests/DisposableZendeskApiClient.cs
Ud0o/ZendeskApiClient
61
7027812
<filename>test/ZendeskApi.Client.Tests/DisposableZendeskApiClient.cs<gh_stars>10-100 using System; using System.Net.Http; using ZendeskApi.Client.Tests.ResourcesSampleSites; namespace ZendeskApi.Client.Tests { internal class DisposableZendeskApiClient<TValue> : DisposableZendeskApiClient<State<TValue>, long, TValu...
RomanPort.LibSDR/Sources/Hardware/HardwareExceptions.cs
Roman-Port/LibSDR
8
7027813
using System; using System.Collections.Generic; using System.Text; namespace RomanPort.LibSDR.Sources.Hardware { public class HardwareNotFoundException : Exception { public HardwareNotFoundException() : base("The radio hardware was not found.") { } } public class HardwareNotY...
Assets/src/Editor/ReadOnlyDrawer.cs
shreyanshanchlia/OS-Process-Scheduler
1
7027814
<gh_stars>1-10 using UnityEditor; using UnityEngine; [CustomPropertyDrawer(typeof(ReadOnlyAttribute))] public class ReadOnlyDrawer : PropertyDrawer { public override float GetPropertyHeight(SerializedProperty property, GUIContent label) { return EditorGUI.GetPropertyHeight(property, label, true); ...
CH04/CH04_PreventingMemoryLeaks/Product.cs
PacktPublishing/High-Performance-Programming-in-CSharp--and-.NET
6
7027815
using System; namespace CH04_PreventingMemoryLeaks { internal class Product { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public decimal UnitPrice { get; set; } public Product() { Console.Writ...
18. Data structures - Dec 2018/13. Combining Data Structures/Shopping Center/Shopping Center/Product.cs
zrusev/SoftwareUniversity2016
2
7027816
<reponame>zrusev/SoftwareUniversity2016<gh_stars>1-10 namespace Shopping_Center { public class Product: IComparable<Product> { public string Name { get; set; } public double Price { get; set; } public string Producer { get; set; } public Product(string name, double price, str...
src/UnityConfiguration/CompositePredicate.cs
sgarshol/UnityConfiguration
15
7027817
<reponame>sgarshol/UnityConfiguration /* * Copyright 2004-2009 <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 * * Unl...
src/Connect.API/Features/Profiles/SaveProfileCommand.cs
QuinntyneBrown/Connect
0
7027818
<gh_stars>0 using FluentValidation; using MediatR; using System.Threading.Tasks; using System.Threading; using Connect.Core.Models; using Connect.Core.Interfaces; using System.Linq; namespace Connect.API.Features.Profiles { public class SaveProfileCommand { public class Validator: AbstractValidator<Req...
src/Tizen.UIExtensions.Common/GraphicsView/IStepper.cs
rookiejava/Tizen.UIExtensions
3
7027819
<filename>src/Tizen.UIExtensions.Common/GraphicsView/IStepper.cs namespace Tizen.UIExtensions.Common.GraphicsView { public interface IStepper { public double Minimum { get; } public double Maximum { get; } public double Increment { get; } public double Value { get; set; } }...
Horseshoe.NET (Standard)/Extensions/Extensions.cs
GreenhazelStudio/Horseshoe.NET
2
7027820
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Reflection; using System.Text; using Horseshoe.NET.Collections.Extensions; using Horseshoe.NET.Crypto; using Horseshoe.NET.Dates; using Horseshoe.NET.Text; using Horseshoe.NET.Text.Extensions; namespace Horseshoe.NET.Ex...
sdk/src/Services/QuickSight/Generated/Model/TransformOperation.cs
ChristopherButtars/aws-sdk-net
2
7027821
<reponame>ChristopherButtars/aws-sdk-net /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.co...
XrmViewDataRetriever.Tests/MetaDataTests.cs
jaredrenken/XrmViewDataRetrieval
0
7027822
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using XrmViewDataRetriever.Services; namespace XrmViewDataRetriever.Tests { [TestClass] public class MetaDataTests { [TestMethod] public void GetEntityDefinition_Test() { var org = Orga...
src/TransportCompatibilityTests/RabbitMQV3/EndpointFacade.cs
Particular/EndToEnd
3
7027823
namespace RabbitMQV3 { using System; using System.Threading.Tasks; using NServiceBus; using TransportCompatibilityTests.Common; using TransportCompatibilityTests.Common.Messages; using TransportCompatibilityTests.Common.RabbitMQ; public class EndpointFacade : MarshalByRefObject, I...
Controllers/Services/TaxistaServices.cs
CarlosIvanCardenas/TaxiUnicoWebClient
1
7027824
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using TaxiUnicoWebClient.Models.Classes; namespace TaxiUnicoWebClient.Controllers.Services { public class TaxistasServices { public static HttpClientHandler httpClientHandler = new HttpClientHandler(){S...
src/Library/Library.API.Swagger/IListExtensions.cs
yangzuo0621/RESTfulAPIAspNetCore
0
7027825
using System; using System.Collections.Generic; namespace Library.API { public static class IListExtensions { public static void AddRange<T>(this IList<T> list, IEnumerable<T> items) { if (list == null) { throw new ArgumentNullException("list"); ...
gsec/ui/layers/RoadLayer.cs
mrc-lgk/gsec
0
7027826
<reponame>mrc-lgk/gsec using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.UI; using gsec.model; namespace gsec.ui.layers { public class RoadLayer : AbstractLayer<Road> { public ...
src/AudioAnalysisTools/WavTools/WavChooser.cs
ninascarpelli/audio-analysis
40
7027827
// <copyright file="WavChooser.cs" company="QutEcoacoustics"> // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group). // </copyright> namespace AudioAnalysisTools.WavTools { using System...
src/Hystrix.Dotnet/IHystrixConfigurationService.cs
Travix-International/Hystrix.Dotnet
95
7027828
<reponame>Travix-International/Hystrix.Dotnet namespace Hystrix.Dotnet { public interface IHystrixConfigurationService { /// <summary> /// Returns the timeout value for the command the instances is tied to /// </summary> /// <returns></returns> int GetCommandTimeoutInMill...
EncDec/DES/Script/DESKey.cs
ls9512/USecurity
6
7027829
///////////////////////////////////////////////////////////////////////////// // // Script : DESKey.cs // Info : DES密钥 // Author : ls9512 // E-mail : <EMAIL> // ///////////////////////////////////////////////////////////////////////////// using System; using UnityEngine; namespace Aya.Security { [Cr...
Project_Tri-Pong/Assets/PlayMaker/Actions/GUILayoutEndScrollView.cs
Sindiewen/Super-Pong-Unity
1
7027831
<gh_stars>1-10 // (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.GUILayout)] [Tooltip("Close a group started with GUILayout Begin ScrollView.")] public class GUILayoutEndScrollView : FsmStateAction ...
Assets/HeatMap/Samples/Contra/Scripts/Controllers/Controller.cs
ksrivastava/HeatMap
7
7027832
using UnityEngine; using System.Collections; public class Controller { protected ContraEntity entity; public Controller (ContraEntity entity) { this.entity = entity; } public virtual void Run () {} }
TemplateToolScript/DirectoryHelper.cs
ThymonA/NetCoreTemplateScript
0
7027833
<reponame>ThymonA/NetCoreTemplateScript<filename>TemplateToolScript/DirectoryHelper.cs namespace TemplateToolScript { using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualBasic; public static class DirectoryHelper { public static void UpdateDirectory(...
CustomSkin/CustomSkin/InputTextBox.cs
CSA/CustomControls
4
7027834
<filename>CustomSkin/CustomSkin/InputTextBox.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; namespace DotNet.Windows.Forms { public class InputTextBox :TextBox { [DllImport("gdi32....
csv-validator/PackageValidation/ValidationServices/SchemaReader/FieldsStructureReaderService.cs
Ministerstvo-financi/hazard-komunikacni-rozhrani
4
7027835
using System; using System.Collections.Generic; using System.Linq; using ValidationPilotServices.ConfigService; using ValidationPilotServices.DataReader; using ValidationPilotServices.DataTypes; using ValidationPilotServices.Infrastructure.Attributes; using ValidationPilotServices.Infrastructure.Enums; using Validatio...
HelpByPros.BusinessLogic/Question.cs
1909-sep30-net/tcj-proj2
0
7027836
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace HelpByPros.BusinessLogic { public class Question : IQuestion { /// <summary> /// There is a category for a question. /// </summary> private Category _categ = new C...
CSharp/LittleBaby.Framework.ExcelExporter/Core/EPropertyType.cs
zengliugen/LittleBaby.Framework
0
7027837
namespace LittleBaby.Framework.ExcelExporter { /// <summary> /// 属性类型 /// </summary> public enum EPropertyType { /// <summary> /// 未识别 /// </summary> None, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, ...
Kartrider.Api.Test/Jsons/AllMatchesTests.cs
mschadev/Kartrider.Net
1
7027838
<filename>Kartrider.Api.Test/Jsons/AllMatchesTests.cs<gh_stars>1-10 using Kartrider.Api.Endpoints.MatchEndpoint.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Text.Json; using System.Threading.Tasks; namespace Kartrider.Api.Test.Jsons { [TestClass] public class AllMatchesTests : Te...
src/CMS/Old_App_Code/CMSModules/WebFarm/WebFarmTasksExtender.cs
JFouts-BlueModus/kentico-contrib
1
7027839
using System; using System.Data; using System.Linq; using System.Web.UI.WebControls; using CMS; using CMS.Base; using CMS.Base.Web.UI; using CMS.Base.Web.UI.ActionsConfig; using CMS.Helpers; using CMS.UIControls; using CMS.WebFarmSync; using CMS.WebFarmSync.Internal; [assembly: RegisterCustomClass("Web...
src/cloudscribe.Core.IdentityServer.NoDb/ScopeStore.cs
mfoitzik/cloudscribe
595
7027840
//// Copyright (c) Source Tree Solutions, LLC. All rights reserved. //// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. //// Author: <NAME> //// Created: 2016-10-12 //// Last Modified: 2016-10-25 //// //using clo...
source/Tests/Playnite.Tests/Emulators/EmulationTests.cs
grnassar/Playnite
4,203
7027841
<gh_stars>1000+ using NUnit.Framework; using Playnite.Emulators; using System; using System.Collections.Generic; using System.IO; using System.IO.Abstractions.TestingHelpers; using System.Linq; using System.Text; using System.Threading.Tasks; using static Playnite.Emulators.EmulationDatabase; namespace Pla...
Application Service Layer/AssessementServices/OS.AssessementServices.BusinessLayer/UseCases/AssitantRole/ESAssistantRole - AddQuestionByForm.cs
Orl4ne/OnlineServices
0
7027842
using OS.Common.EvaluationServices; using OS.Common.AssessementServices.TransfertObjects; using System; using System.Collections.Generic; using System.Text; namespace OS.AssessementServices.BusinessLayer.UseCases.AssitantRole { public partial class ESAssistantRole : IASSAssistantRole { public bool Add...
Solutions/TestAutomation/UI/PnPAutomationUI/Views/Usersettings/ConfirmEmail.cshtml
IvanTheBearable/PnP-Tools
276
7027844
<gh_stars>100-1000 @model PnPAutomationUI.Models.EmailConfirmation <link rel="stylesheet" href="~/Content/fabric.min.css" /> <link rel="stylesheet" href="~/Content/fabric.components.min.css" /> <link rel="stylesheet" href="~/Content/Configuration.css" /> <script src="~/Scripts/Usersettings.js"></script> @{ ViewBa...
src/SFA.DAS.ApprenticeCommitments.Api.AcceptanceTests/PublishedEvent.cs
SkillsFundingAgency/das-apprentice-commitments-api
1
7027845
namespace SFA.DAS.ApprenticeCommitments.Api.AcceptanceTests { public class PublishedEvent { public object Event { get; } public PublishedEvent(object @event) { Event = @event; } } }