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/Test/Common/Code/Microsoft/Test/RenderingVerification/Filters/GaussianFilter.cs
kant2002/wpf-test
25
7057550
<gh_stars>10-100 // 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. // // // GaussianFilter....
src/Convey.MessageBrokers.RabbitMQ/src/Convey.MessageBrokers.RabbitMQ/Plugins/RabbitMqPluginExecutor.cs
amgad1982/Convey
1
7057551
using System; using System.Linq; using System.Threading.Tasks; using RabbitMQ.Client.Events; namespace Convey.MessageBrokers.RabbitMQ.Plugins { internal sealed class RabbitMqPluginsExecutor : IRabbitMqPluginsExecutor { private readonly IRabbitMqPluginsRegistryAccessor _registry; private readonl...
Libraries/MadReflection.BungieApi/MadReflection.BungieNetApi.Entities/Generated_/Destiny/DestinyVendorItemState.cs
KiaArmani/XurSuite
0
7057552
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
ExamPreparation/AdvancedRetakeExam - 22 Feb 2020/ReVolt/Program.cs
IvanBerov/CSharp-Advanced
0
7057553
<filename>ExamPreparation/AdvancedRetakeExam - 22 Feb 2020/ReVolt/Program.cs using System; namespace ReVolt { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); char[,] matrix = new char[n, n]; int countCommands = int....
src/SmartAdmin.WebUI/ViewComponents/NavigationViewComponent.cs
urmatgit/RazorPageCleanArchitecture
0
7057554
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CleanArchitecture.Razor.Application.Common.Interfaces; using CleanArchitecture.Razor.Application.Common.Interfaces.Identity; using CleanArchitecture.Razor.Infrastructure.Identity; using Microsoft.AspNetCore.Identity; ...
src/DataHub.AnalyticDataStore/HoldingClient.cs
ElevateData/OpenTemenos
0
7057555
using DataHub.AnalyticDataStore.Holding; using DataHub.AnalyticDataStore.Holding.AccountTransactionDetails; using DataHub.AnalyticDataStore.Holding.AccountTransactionMetrics; using DataHub.AnalyticDataStore.Holding.AllCustomerProductBalances; using DataHub.AnalyticDataStore.Holding.AllCustomerProfitabilityMetrics; usi...
Program.cs
Quaver/Quaver.Steam.Deploy
0
7057556
<reponame>Quaver/Quaver.Steam.Deploy using System; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using Quaver.Steam.Deploy.Configuration; using SharpCompress.Archives; using SharpCompress.Archives.Zip; using SharpCompress.Common; namespace Quaver.Steam.Deploy { internal static class Pro...
src/C#/CourseCodes/UdemyCourse/Example_II/main.cs
Ahmopasa/TheCodes
0
7057557
<gh_stars>0 using System; namespace UdemyCourse{ class ExampleTwo{ static void Main(string[] args){ Console.WriteLine("Hello!\nIn this program, I'll be using arrays, if-else and switch cases to learn.\n"); Console.Write("Please, enter your name : "); string m_name = stri...
Example and Test/AsyncMethod/NetCore31/MyDAL.Compare/08-GreaterThanOrEqual.cs
liumeng0403/MyDAL
34
7057559
using MyDAL.Test; using MyDAL.Test.Entities.MyDAL_TestDB; using System; using System.Threading.Tasks; using Xunit; namespace MyDAL.Compare { public class _08_GreaterThanOrEqual : TestBase { [Fact] public async Task GreaterThanOrEqual() { xx = string.Empty; ...
GeometryDashAPI.Tests/LLParserTests.cs
Folleach/GeometryDashAPI
34
7057560
<filename>GeometryDashAPI.Tests/LLParserTests.cs using System; using System.Collections.Generic; using FluentAssertions; using GeometryDashAPI.Parsers; using NUnit.Framework; namespace GeometryDashAPI.Tests { [TestFixture] public class LLParserTests { [TestCase("", 0)] [TestCase("abc", 1)]...
statsd.net/Configuration/AggregatorConfiguration.cs
hbabaja/statsd.net
66
7057561
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace statsd.net.Configuration { public class AggregatorConfiguration { } public class GaugeAggregatorConfig : AggregatorConfiguration { public string Name...
src/Utils/bcl/config.cs
FDYdarmstadt/BoSSS
22
7057562
using System; using System.IO; using System.Reflection; using System.Xml; namespace bcl.config { /// <summary> /// Utility program to read/edit the bcl-configuration file in a consistent /// manner (without the need to edit the xml-file manually) /// </summary> public class Program : I...
src/DaaSDemo.Provisioning.Host/ProvisioningService.cs
DimensionDataResearch/daas-demo
14
7057563
<filename>src/DaaSDemo.Provisioning.Host/ProvisioningService.cs using Microsoft.Extensions.Hosting; using System; using System.Threading; using System.Threading.Tasks; namespace DaaSDemo.Provisioning.Host { /// <summary> /// A <see cref="IHostedService"/> wrapper for the <see cref="ProvisioningEngine"/>. ...
Server/Hotfix/Module/GamePlay/Unit/CalNumericEvents.cs
xfs81150082/ET-RPG-DEMO
1
7057564
 using ETModel; [Event(EventIdType.GiveDamage)] public class Unit_GiveDamageEvent : AEvent<long, GameCalNumericTool.DamageData[]> { public override void Run(long a, GameCalNumericTool.DamageData[] b) { var calNumeric = UnitComponent.Instance.Get(a).GetComponent<CalNumericComponent>(); calNum...
Mercury.Server/Mercury.Server/Core/Forms/Enumerations/FormControlInputType.cs
Quebe/Mercury-Care-Management
0
7057565
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text; namespace Mercury.Server.Core.Forms.Enumerations { public enum FormControlInputType { Text, Numeric, DateTime } }
Script/UnrealEngine/GeneratedScriptFile/UEditableTextBox.cs
xiongfang/UnrealCS
126
7057566
using System; namespace UnrealEngine { public partial class UEditableTextBox:UWidget { public extern bool HasError(); public extern void ClearError(); public extern void SetError(FText InError); public extern void SetText(FText InText); public extern FText GetText(); /// <summary>The text content for this...
Unity/Assets/Scripts/Client/UI/View/GameBegins/View_Button12.cs
Noname-Studio/ET
0
7057568
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; using FairyGUI.Utils; namespace GameBegins { public partial class View_Button12: GButton { public Controller IsLock; public View_Choice choice; public GComponent recommend; pu...
src/FODT/Models/ImageUtilities.cs
jdaigle/FriendsOfDT
2
7057569
<reponame>jdaigle/FriendsOfDT using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; using System.Linq; namespace FODT.Models { public static class ImageUtilities { static ImageUtilities() { jpegEncoder = Imag...
Cuber.Server/CuberHostedService.cs
zixoan/cuber
1
7057570
<reponame>zixoan/cuber using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Zixoan.Cuber.Server.Config; using Zixoan.Cuber.Server.Proxy; namespace Zixoan.Cuber.Server { public class CuberHostedServ...
src/Authing.ApiClient/BaseClient.cs
Authing/authing-api-client-net-
4
7057571
using Authing.ApiClient.Types; using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Authing.ApiClient.GraphQL; using System.Text; using XC.RSAUtil; using System.Security.Cryptography; using System.Net.Http.Headers; using Authing.ApiClient.Auth.Types; namespace Authing.ApiCl...
Users.cs
TimM3011/LIDCCMS
0
7057573
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CHDWebApp.Models { public class Users { public Users() { this.AccessG...
BookingsApi/BookingsApi.Domain/Questionnaire.cs
simonwkelso/vh-bookings-api
6
7057574
<reponame>simonwkelso/vh-bookings-api using System; using System.Collections.Generic; using System.Linq; using BookingsApi.Domain.Ddd; using BookingsApi.Domain.Participants; namespace BookingsApi.Domain { public class Questionnaire : Entity<long> { public Questionnaire() { Suitabil...
Concordion.Spec/Support/StubTarget.cs
google-code-export/concordion-net
0
7057575
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Concordion.Api; using Concordion.Internal.Util; using System.Drawing; namespace Concordion.Spec { class StubTarget : ITarget { private readonly Dictionary<Resource, String> writtenStrings; ...
WebAPI/Models/CasedFIO.cs
UnstableMutex/FIOCaseRU
0
7057576
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebAPI.Models { public class CasedFIO { public CasedFIO() { Nominative = new CasedSimpleFIO(); Genitive = new CasedSimpleFIO(); Ablative = new CasedSi...
Enemy.cs
Rafael8000/Battle-City
0
7057577
using UnityEngine; using System.Collections; public class Enemy : MonoBehaviour { Animator anim; int direcao; Rigidbody2D rb2d; GameObject instantiator, player; [SerializeField] GameObject bullet; bool gameOver; bool destroyed; [SerializeField] AudioSource exploding; // Use t...
src/Microsoft.AspNet.WebApi.Versioning/Versioning/Conventions/ActionApiVersionConventionBuilder.cs
phatcher/aspnet-api-versioning
3
7057578
namespace Microsoft.Web.Http.Versioning.Conventions { using System; /// <content> /// Provides additional implementation specific to Microsoft ASP.NET Web API. /// </content> public partial class ActionApiVersionConventionBuilder : IActionConventionBuilder { } }
Cotorra.Schema/License/LicensesInfo.cs
CotorraProject/Cotorra
0
7057579
using System; using System.Collections.Generic; using System.Text; namespace Cotorra.Schema { public class LicenseInfoP { public LicenseInfoP() { } public Guid LicenseID { get; set; } public string Code { get; set; } public Guid OwnerID { get; set; } public string Owne...
src/MarketingBox.Affiliate.Service.Grpc/IBrandBoxService.cs
MyJetMarketingBox/MarketingBox.Affiliate.Service
0
7057580
<gh_stars>0 using System.Collections.Generic; using System.ServiceModel; using System.Threading.Tasks; using MarketingBox.Affiliate.Service.Domain.Models.BrandBox; using MarketingBox.Affiliate.Service.Grpc.Requests.BrandBox; using MarketingBox.Sdk.Common.Models.Grpc; namespace MarketingBox.Affiliate.Service.Grpc; [Se...
WebPerformanceMeter/Interfaces/Users/GrpcUser/IGrpcUser.cs
evgenynazarchuk/WebPerformanceMeter
0
7057581
<filename>WebPerformanceMeter/Interfaces/Users/GrpcUser/IGrpcUser.cs using System; using System.Collections.Generic; using System.Threading.Tasks; namespace WebPerformanceMeter.Interfaces { public interface IGrpcUser : IBasicUser { void UseGrpcClient(Type grpcClient); ValueTask<TResponse> Una...
NKnife.App.WebsiteBuilder/Logger/LogException.cs
xknife-erian/nknife.jeelusrc
0
7057582
using System; namespace Jeelu.Logger { /// <summary>Log Exception.</summary> public class LogException : Exception { private ILog log; /// <summary>Initializes with a message.</summary> /// <param name="message">String message.</param> public LogException(string message) ...
CommonStandard/EntityModels/TradingEntities/ExecutionMessage.cs
salda8/Quant-Finance-Mngmt-System
1
7057583
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Common.Interfaces; using DataAccess.EntityConfigs; using ProtoBuf; namespace Common.EntityModels { [ProtoContract] public class ExecutionMessage : IEntity ...
src/TileRepeater/TileRepeater.ClientServerProtocol/Endpoints/TemplateAssignmentEditor/TemplateAssignmentEditorOKClickEndpoint.cs
KlausLoeffelmann/NetControlDesigners
0
7057584
using Microsoft.DotNet.DesignTools.Protocol.DataPipe; using Microsoft.DotNet.DesignTools.Protocol.Endpoints; using System.Composition; namespace WinForms.Tiles.Designer.Protocol.Endpoints { [Shared] [ExportEndpoint] public class TemplateAssignmentEditorOKClickEndpoint : Endpoint<TemplateAssignmentEditorOK...
Test/VimCoreTest/VimCharSetTest.cs
TKumadaki/VsVim
1,704
7057585
<reponame>TKumadaki/VsVim using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using Vim.Extensions; namespace Vim.UnitTest { public sealed class VimCharSetTest { [Theory] [InlineData("a-z", "abc", "!@#$")...
src/Benefits.Administration.Application/Interfaces/IUseCase.cs
dmbarth/Benefits.Administration.Demo
0
7057586
namespace Benefits.Administration.Application.Interfaces { public interface IUseCase<out TOut, in TIn1> { TOut InvokeAsync(TIn1 in1); } public interface IUseCase<out TOut, in TIn1, in TIn2> { TOut InvokeAsync(TIn1 in1, TIn2 in2); } public interface IUseCase<out TOut, in TI...
Assets/End Clock/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptRuntime/Nodes/Actions/GameObjects/uScriptAct_IsActive.cs
pierre-galaup/globalgamejam2016
5
7057587
// uScript Action Node // (C) 2011 Detox Studios LLC using UnityEngine; using System.Collections; [NodePath("Actions/GameObjects")] [NodeCopyright("Copyright 2011 by Detox Studios LLC")] [NodeToolTip("Gets the active state of a GameObject.")] [NodeAuthor("Detox Studios LLC", "http://www.detoxstudios.com")] [NodeHelp...
fileCompressTool/fileCompressTool/Form1.cs
superkaka/mycsharp
0
7057589
<filename>fileCompressTool/fileCompressTool/Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections; using System.IO; using System.Threading; using KLib; namespace fileCompres...
src/Saml/SimpleIdServer.Saml.Idp/Apis/Metadata/MetadataHandler.cs
ashkansirous/SimpleIdServer
229
7057590
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.Extensions.Options; using SimpleIdServer.Saml.Builders; using SimpleIdServer.Saml.Xsd; namespace SimpleIdServer.Saml.Idp.Apis.Metadata { ...
Bibliotek/Controllers/BooksController.cs
Xirez/grupparbete-bibliotek
0
7057591
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Library.Data; using Library.Models; using Library.Services; using Library.Models.ViewModels; ...
Assets/Scripts/BTree/BTNode.cs
Enanyy/LuaGame-slua
0
7057592
<reponame>Enanyy/LuaGame-slua<gh_stars>0  using System.Collections.Generic; namespace BTree { public abstract class BTNode { //节点名称 public string name = "UNNAMED"; //节点索引 public int index { get; set; } //前提条件 public BTPrecondition precondition { get; private ...
Server/MainServer/ServerSocket.cs
GoreaTudor/MyTinder
0
7057593
using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; namespace Server.MainServer { class ServerSocket { private Socket _socket; protected void createSocket(int port) { if (_socket != null) throw new Exception("...
Microsoft.Toolkit.Mvvm/ComponentModel/ObservableValidator.cs
temichelle13/Windows-Community-Toolkit
1
7057594
<gh_stars>1-10 // 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.Collections; using System.Collections.Generic; using System.ComponentModel...
src/ProSuite.Commons.AO/Geometry/LinearNetwork/LinearNetworkFeatureFinderBase.cs
ProSuite/ProSuite
5
7057595
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ESRI.ArcGIS.Geodatabase; using ESRI.ArcGIS.Geometry; using ProSuite.Commons.AO.Geodatabase; using ProSuite.Commons.Essentials.Assertions; using ProSuite.Commo...
End Project/DemoLibrary/Utilities/Logger.cs
ferjesusjs8/Dependency_Injection_Using_AutoFac
0
7057596
<reponame>ferjesusjs8/Dependency_Injection_Using_AutoFac<filename>End Project/DemoLibrary/Utilities/Logger.cs using System; namespace DemoLibrary.Utilities { public class Logger : ILogger { public void Log(string message) { Console.WriteLine($"Logging { message }"); } }...
src/AB.QuartzAdmin.WebApi/Models/Jobs/JobListDetail.cs
gwinnem/AB.QuartzAdmin.WebAp
9
7057597
using System; namespace AB.QuartzAdmin.WebApi.Models.Jobs { /// <summary> /// Data model for displaying job details in a list. /// </summary> public sealed class JobListDetail { /// <summary> /// DisallowConcurrentExecution attribute, this applies to a job definition instance, not ...
Dessert/Events/Condition.cs
saboco/Dessert
1
7057598
<reponame>saboco/Dessert // // Condition.cs // // Author(s): // <NAME> <<EMAIL>> // // Copyright (c) 2012-2016 <NAME> <<EMAIL>> // // 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 wi...
CitySee.Server/CitySee/BuildingComment/Manager/CommentManager.cs
git-hacker/City-See
8
7057599
using AutoMapper; using BuildingComment.Dto.Common; using BuildingComment.Dto.Request; using BuildingComment.Dto.Response; using BuildingComment.Help; using BuildingComment.Model; using BuildingComment.Store; using CitySee.Core; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using...
StyleChecker/StyleChecker.Test/Refactoring/DiscardingReturnValue/Code.cs
maroontress-tomohisa/StyleChecker
8
7057600
namespace StyleChecker.Test.Refactoring.DiscardingReturnValue { using System.Collections.Immutable; using System.IO; using StyleChecker.Annotations; public sealed class Code { private byte[] array = new byte[4]; public void Read(Stream stream) { stream.Read(arra...
Services/DiceService/Dices/Dice2.cs
UhBroSeemOff/StupidPupidGame
0
7057601
namespace MyStupidPupidGame.Services.DiceService.Dices { class Dice2 : Dice { public Dice2() { _minimumValue = 1; _maximumValue = 3; } } }
BlockM3.AEternity.SDK/ClientModels/Contract.cs
block-m3/aepp-sdk-net
4
7057602
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Threading; using System.Threading.Tasks; using BlockM3.AEternity.SDK.Generated.Models; using BlockM3.AEternity.SDK.Models; using BlockM3.AEternity.SDK.Progress; using BlockM3.AEternity.SDK.Sophia; usin...
Vulkan/Delegates/PFN_vkCmdBeginRenderPass.cs
trmcnealy/Vulkan
0
7057603
<filename>Vulkan/Delegates/PFN_vkCmdBeginRenderPass.cs using System.Runtime.InteropServices; namespace Vulkan { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public unsafe delegate void PFN_vkCmdBeginRenderPass([NativeTypeName("VkCommandBuffer")] VkCommandBuffer commandBuffer, ...
Grillbot/Models/BotStatus/WebStatus.cs
LowwinCZ/GrillBot
0
7057604
<gh_stars>0 using Discord; using System; using System.Collections.Generic; namespace Grillbot.Models.BotStatus { public class WebStatus { public SimpleBotStatus Simple { get; set; } public Dictionary<string, ulong> ExecutedCommands { get; set; } public Dictionary<string, uint> LoggerSt...
ComputerStore.ui/ComputerStore.Test/ProductTest.cs
1902-feb18-net/william-project0
0
7057605
using System; using System.Collections.Generic; using System.Text; using ComputerStore.Library; using Xunit; namespace ComputerStore.Test { public class ProductTest { readonly Product product = new Product(); [Fact] public void Return_True_For_Assign_Name() { strin...
Python/Product/Debugger.Concord/ValueStore.cs
srivatsn/PTVS
1
7057606
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // 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.org/licenses/LICENSE-2.0 //...
ModelUNRegister/Controllers/EnrollController.cs
t123yh/ModelUNRegister
0
7057607
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using ModelUNRegister.Models; using ModelUNRegister.Utilities; using System.Threading.Tasks; using Microsoft.AspNet.Identity.Owin; namespace ModelUN...
MVVM Prism Quotes App/QuotesApp/QuotesApp/ViewModels/QuotesPageViewModel.cs
AsfendTheMVP/MVVM-Prism
5
7057608
using Prism.Commands; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Prism.Navigation; using QuotesApp.Model; using QuotesApp.Interfaces; namespace QuotesApp.ViewModels { public class QuotesPageViewModel : BindableBase { public O...
QuantConnect.Algorithm/0_Algorithm_Tests_Cash.cs
silky/QCAlgorithm
1
7057609
using System; using System.IO; using System.Collections; using System.Collections.Generic; using QuantConnect.Securities; using QuantConnect.Models; using System.Globalization; namespace QuantConnect { public class CashTestingStrategy : QCAlgorithm { public override void Initialize() { ...
ProxyPatternLesson/ProxyAuthentication.cs
mainframebot/csharp-designpatterns-proxy
0
7057610
<filename>ProxyPatternLesson/ProxyAuthentication.cs<gh_stars>0 using System; using ProxyPatternLesson.Interfaces; namespace ProxyPatternLesson { public class ProxyAuthentication : ISubject { private Subject _subject; private readonly string _password = "password"; public b...
FUT14Ab/EA_Math.cs
igeligel/Fifa14UltimateTeamAutobuyer
0
7057611
using System; using System.Collections.Generic; using System.Linq; using System.Data; namespace FUT14AB { public class EaMath { public int RoundPrice(double input) { int temp; if (input <= 1000) { temp = (int)Math.Round(input / 50.0) * 50; ...
SharpHaven/Graphics/Sprites/Fx/FloatTextMaker.cs
k-t/SharpHaven
2
7057612
using Haven; using Haven.Resources; using Haven.Utils; using SharpHaven.Client; namespace SharpHaven.Graphics.Sprites.Fx { public class FloatTextMaker : SpriteMaker { public FloatTextMaker(Resource res) : base(res) { } public override ISprite MakeInstance(Gob owner, byte[] state) { var reader = new...
Networking/SemanticData/MessageHandling/BinaryPacketDecoder.cs
Drutol/OPC-UA-OOI
0
7057613
 using System; using UAOOI.Networking.SemanticData.Encoding; namespace UAOOI.Networking.SemanticData.MessageHandling { /// <summary> /// Class BinaryPacketDecoder - OPC UA binary packet decoder. /// </summary> public abstract class BinaryPacketDecoder : BinaryMessageDecoder { #region creator /// <s...
EncoreTickets.SDK/Basket/Extensions/ReservationExtension.cs
nickbenj/sdk-dotNet
1
7057614
using System; using EncoreTickets.SDK.Basket.Models; using EncoreTickets.SDK.Utilities.CommonModels.Constants; using EncoreTickets.SDK.Utilities.CommonModels.Extensions; namespace EncoreTickets.SDK.Basket.Extensions { public static class ReservationExtension { /// <summary> /// Indicates wheth...
dsis/src/Graphs/Graph.Entropy/src/Impl/Loop/SmartPath/SearchState.cs
jonnyzzz/phd-project
1
7057615
using System.Collections.Generic; using DSIS.Core.Coordinates; namespace DSIS.Graph.Entropy.Impl.Loop.SmartPath { public class SearchState<T,TNode> : INodeState<T, TNode> where T : ICellCoordinate where TNode : class, INode<T> { private readonly IEnumerator<TNode> myNodes; public Search...
SoluiNet.DevTools.Utils.CodeOnTheFly/CodeOnTheFlyUserControl.xaml.cs
Kimiyou/SoluiNet.DevTools
3
7057616
// <copyright file="CodeOnTheFlyUserControl.xaml.cs" company="SoluiNet"> // Copyright (c) SoluiNet. All rights reserved. // </copyright> namespace SoluiNet.DevTools.Utils.CodeOnTheFly { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tas...
ProductsApi/Query/ProductQuery.cs
thor1824/OnlineRetailer_CQRS_EventStore
2
7057617
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EventStore.Client; using Microsoft.Extensions.Logging; using OnlineRetailer.Domain.Events; using OnlineRetailer.Domain.Repository.Facade; using OnlineRetailer.Domain.Streams; using OnlineRetailer.ProductsApi...
RecompildPOS.Models/Finances/BusinessFinance.cs
faizanaryan94/mobile-pos-basic
0
7057618
using RecompildPOS.Models.Audit; using SQLite; namespace RecompildPOS.Models.Finances { public class BusinessFinance : AuditDb { [PrimaryKey, AutoIncrement] public int LocalBusinessFinanceId { get; set; } public int BusinessFinanceId { get; set; } public decimal MonthlyEarning...
poshsecframework/Controls/PSTextBox.cs
PoshSec/PoshSecFramework
126
7057619
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PoshSec.Framework.Controls { class PSTextBox : TextBox { #region Private Variables private ToolStrip parstrip = null; #endregion ...
Rant/Engine/Arithmetic/RMathToken.cs
esaul/Rant
1
7057620
<reponame>esaul/Rant namespace Rant.Arithmetic { internal enum RMathToken { LeftParen, RightParen, Equals, Plus, Minus, Asterisk, Slash, Caret, Name, Number, Increment, Decrement, Modulo, Swap, ...
SourcetrailExtension/Utility/NetworkProtocolUtility.cs
maishiro/vs-sourcetrail
103
7057621
<reponame>maishiro/vs-sourcetrail /* * Copyright 2018 Coati Software KG * * 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 * * U...
src/openSourceC.FrameworkLibrary.Core/Core/ReturnObject.cs
Kaelum/openSourceC.FrameworkLibrary
0
7057622
<filename>src/openSourceC.FrameworkLibrary.Core/Core/ReturnObject.cs using System; namespace openSourceC.FrameworkLibrary { /// <summary> /// Summary description for ReturnObject. /// </summary> [Serializable] public class ReturnObject { #region Class Constructors /// <summary> /// Class constructor. ...
src/Bucket/Json/Converter/ConverterDictionaryEnumValue.cs
getbucket/bucket
20
7057623
/* * This file is part of the Bucket package. * * (c) <NAME> <<EMAIL>> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Document: https://github.com/getbucket/bucket/wiki */ using Bucket.Util; using Newtonsoft.Json; using Syste...
Assets/Scripts/Shake.cs
IanFMartin/SemToT
0
7057624
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shake : MonoBehaviour { public static Shake instance = null; public float shake; public float shakeAmount; public float shakeModifier; public float decreaseFactor; private void Awake() { i...
Unity/Assets/Code/Game/DemonRoot.cs
kevadsett/BAGameJam2016
1
7057625
<filename>Unity/Assets/Code/Game/DemonRoot.cs<gh_stars>1-10 using System; using UnityEngine; public class DemonRoot : MonoBehaviour { public GameObject Air; public GameObject Earth; public GameObject Fire; public GameObject Water; public void ActivateDemon( eDemonType demonType ) { Air.SetActive( false ); ...
SilverlightPlayerForAMSPlayReadyTokenAuth/Source Code/Samples/Samples/Javascript/JavascriptPlaylist.xaml.cs
mayurav/azure-media-services-samples
0
7057626
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Browser; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.W...
IntegrationTestSuite/WebservicesIntegrationTests/Tests/EngineeringModel/Folder/FolderTestFixture.cs
RHEAGROUP/ecss-10-25-annexc-integration-tests
5
7057627
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="FolderTestFixture.cs" company="RHEA System S.A."> // // Copyright 2016-2021 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may...
ljArchive/Engine/HTML/HTMLJournalWriter.cs
zanybaka/ljArchive
2
7057628
using System; using System.Collections; using System.Drawing; using System.Data; using System.IO; using EF.ljArchive.Engine; using System.Text.RegularExpressions; using System.Runtime.Serialization; namespace EF.ljArchive.Engine.HTML { /// <summary> /// Writes a <see cref="EF.ljArchive.Engine.Journal"/> to a <see cr...
Caasiope.Explorer/Transformers/LedgerSignatureTransformerService.cs
duke009/caasiope-blockchain
3
7057629
using System.Collections.Generic; using Caasiope.Database.Repositories; using Caasiope.Database.Repositories.Entities; using Caasiope.Protocol.Types; namespace Caasiope.Explorer.Transformers { //internal class LedgerSignatureTransformerService : DataTransformerService<LedgerSignature, LedgerSignatureRepository> ...
liboRg/System/API/Platform/Linux/Widgets/SimpleWindow.cs
RoseLeBlood/libral
0
7057630
<gh_stars>0 // // SimpleWindow.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2014 <NAME> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of ...
csharp-basics/11.NestedLoops/L04.SumOfTwoNumbers/Program.cs
vassdeniss/software-university-courses
7
7057631
<reponame>vassdeniss/software-university-courses using System; namespace L04.SumOfTwoNumbers { class Program { static void Main(string[] args) { int start = int.Parse(Console.ReadLine()); int end = int.Parse(Console.ReadLine()); int magicNumber = int.Parse(Console.Rea...
src/WarCollege/Model/Skill.cs
wildj79/WarCollege
0
7057632
<reponame>wildj79/WarCollege // War College - Copyright (c) 2017 <NAME> (<EMAIL>j79 at gmail dot com) // // 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 wi...
src/TexasHoldem.Logic/Players/IStartRoundContext.cs
laikhan/TexasHoldemGameEngine
97
7057633
<gh_stars>10-100 namespace TexasHoldem.Logic.Players { using System.Collections.Generic; using TexasHoldem.Logic.Cards; using TexasHoldem.Logic.GameMechanics; public interface IStartRoundContext { IReadOnlyCollection<Card> CommunityCards { get; } int CurrentPot { get; } ...
src/ServiceBusExplorer.Api/Features/Subscription/SubscriptionController.cs
damonf/servicebusexplorer
0
7057634
<gh_stars>0 using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using MediatR; using ServiceBusExplorer.Api.Models; namespace ServiceBusExplorer.Api.Features.Subscription { [RoutePrefix("api/Subscription")] public class SubscriptionController : ApiController { p...
Octokit.Reactive/Clients/ObservableIssueCommentsClient.cs
nigel-sampson/octokit.net
1
7057635
<reponame>nigel-sampson/octokit.net using System; using System.Reactive; using System.Reactive.Threading.Tasks; using Octokit.Reactive.Internal; namespace Octokit.Reactive { public class ObservableIssueCommentsClient : IObservableIssueCommentsClient { readonly IIssueCommentsClient _client; rea...
KevPOS.ValueObjects/Price.cs
TomPallister/cqrs-event-sourcing
1
7057636
namespace KevPOS.ValueObjects { public sealed class Price { public Price(decimal total) { Value = total; } private decimal Value { get; set; } public decimal ToDouble() { return Value; } } }
VGGS_Calculator/Controllers/IzvijanjeController.cs
mikara89/EuroCodeCalculator
0
7057637
<reponame>mikara89/EuroCodeCalculator<filename>VGGS_Calculator/Controllers/IzvijanjeController.cs using CalcModels; using CalculatorEC2Logic; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using VGGS_Calculator.Core.Models; namespace VGGS_Calculator.Controllers { public class Izvi...
Workflow.Core/DebugWriteLine.cs
coreyfournier/WorkFlow
2
7057638
<reponame>coreyfournier/WorkFlow using log4net; using System.Activities; using Workflow.Core.Utilities; namespace Workflow.Core { public class DebugWriteLine : CodeActivity { static readonly ILog _log = LogManager.GetLogger(typeof(DebugWriteLine)); public DebugWriteLine() { ...
ImageFramework/DirectX/ByteImageData.cs
gaybro8777/ImageViewer
146
7057639
<filename>ImageFramework/DirectX/ByteImageData.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using ImageFramework.ImageLoader; using ImageFramework.Utility; namespace ImageFramework.DirectX { public clas...
Phabrico/Parsers/Remarkup/Rules/RuleReferenceFile.cs
Phabrico/Phabrico
1
7057640
<filename>Phabrico/Parsers/Remarkup/Rules/RuleReferenceFile.cs<gh_stars>1-10 using Phabrico.Http; using Phabrico.Miscellaneous; using Phabrico.Phabricator.Data; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace Pha...
Meta.Postgres.Generator/CodeFactory/LetsGo.cs
JTOne123/meta
0
7057641
using Meta.Driver.DbHelper; using Meta.Driver.Interface; using Meta.Driver.Model; using Meta.Driver.SqlBuilder; using Meta.Postgres.Generator.CodeFactory.DAL; using Meta.Postgres.Generator.CodeFactory.Extension; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Collecti...
Source/Mosa.TinyCPUSimulator.x86/FlagRegister.cs
Kintaro/MOSA-Project
0
7057642
// Copyright (c) MOSA Project. Licensed under the New BSD License. namespace Mosa.TinyCPUSimulator.x86 { // http://en.wikipedia.org/wiki/FLAGS_register public class FlagsRegister : Register32Bit { public FlagsRegister() : base("FLAGS", 0, RegisterType.StatusFlag, false) { } public bool Carry { get { r...
Assets/Toolset/Core/Tests/PlayMode/Extensions/TestsAsyncOperationExtensions.cs
Karazaa/Toolset
1
7057643
using System.Collections; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using UnityEngine.SceneManagement; using Toolset.Global.Utils; namespace Toolset.Core.Tests { /// <summary> /// Class used for running integration tests on the AsyncOperationExtensions class. /// </s...
NetBungieAPI/Services/ApiAccess/Destiny2MethodsAccess.cs
Tailtinn/.NetBungieAPI
0
7057644
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using NetBungieAPI.Authorization; using NetBungieAPI.Exceptions; using NetBungieAPI.Models; using NetBungieAPI.Models.Applications; using NetBu...
HelpMyStreetFE/HelpMyStreetFE/Models/ContactForm/ContactFormModel.cs
factor-50-devops-bot/front-end
2
7057645
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; namespace HelpMyStreetFE.Models.ContactForm { public class ContactFormViewModel { [Required] [MaxLength(50)] public string Name {...
Assets/Vrm10/UniVRM10/UnityBuilder/Editor/ScriptedImporter/IExternalUnityObject.cs
ousttrue/UniVRM_1_0
20
7057646
using System.Collections.Generic; namespace UniVRM10 { public interface IExternalUnityObject { Dictionary<string, T> GetExternalUnityObjects<T>() where T : UnityEngine.Object; void SetExternalUnityObject<T>(UnityEditor.AssetImporter.SourceAssetIdentifier sourceAssetIdentifier, T obj) wh...
src/Bitmovin.Api.Sdk/Encoding/Simple/SimpleApi.cs
bitmovin/bitmovin-api-sdk-dotnet
8
7057647
<reponame>bitmovin/bitmovin-api-sdk-dotnet using Bitmovin.Api.Sdk.Common; using Bitmovin.Api.Sdk.Encoding.Simple.Jobs; namespace Bitmovin.Api.Sdk.Encoding.Simple { public class SimpleApi { public SimpleApi(IBitmovinApiClientFactory apiClientFactory) { Jobs = new JobsApi(apiClientFac...
src/DeltaObjectGeneratorTests/TestModels/TestCriminal.cs
JTOne123/DeltaObjectGenerator
2
7057648
<filename>src/DeltaObjectGeneratorTests/TestModels/TestCriminal.cs namespace DeltaObjectGeneratorTests.TestModels { public class TestCriminal { public string Name1 { get; set; } public string Name2 { get; set; } public string Name3 { get; set; } public string Name4 { get; set; }...
Auth.API/Controllers/UsersController.cs
Shekcon/SimpleAuthAPI
3
7057649
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using AutoMapper; using Auth.API.Helpers; using Microsoft.AspNetCore.Authorization; using Auth.API.Services; using Auth.API.Resources; using Auth.API.Models; using Auth.API.Validation; using Auth.API.Security; using Auth.API.Responses; namespace Auth.AP...
src/Cuture.Http/Interface/IFormDataFormatter.cs
StratosBlue/Cuture.Http
4
7057650
namespace Cuture.Http; /// <summary> /// 表单数据格式化器 /// </summary> public interface IFormDataFormatter { #region Public 方法 /// <summary> /// 格式化到表单字符串 /// </summary> /// <param name="obj"></param> /// <param name="options">格式化选项</param> /// <returns></returns> string Format(object obj, ...
src/Core/Entities/Tag.cs
Erikvdv/realworlddotnet
13
7057651
<filename>src/Core/Entities/Tag.cs<gh_stars>10-100 namespace Realworlddotnet.Core.Entities; public class Tag { public Tag(string id) { Id = id; } public string Id { get; set; } public ICollection<Article> Articles { get; set; } = null!; }
Source/LinqToDB/Remote/IQueryExtendible.cs
lsoft/linq2db
0
7057652
<filename>Source/LinqToDB/Remote/IQueryExtendible.cs<gh_stars>0 using System; using System.Collections.Generic; using LinqToDB.SqlQuery; namespace LinqToDB.Remote { interface IQueryExtendible { List<SqlQueryExtension>? SqlQueryExtensions { get; set; } } }
src/MarcusW.VncClient/Protocol/Implementation/Services/Communication/TurboJpegDecoder.cs
paviad/MarcusW.VncClient
33
7057653
using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; using MarcusW.VncClient.Protocol.Implementation.Native; using MarcusW.VncClient.Protocol.Services; namespace MarcusW.VncClient.Protocol.Implementation.Services.Communication { /// <summary> /// A <see cref="I...