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
WorldHistoryBookStore/Models/publisher.cs
PetePrattis/Bookstore-ASP.NET-Web-Application
2
7055741
<gh_stars>1-10 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the ...
mcs/class/corlib/System.Threading.Tasks/SchedulerProxy.cs
nataren/mono
1
7055742
<gh_stars>1-10 // // SchedulerProxy.cs // // Author: // Jérémie "Garuma" Laval <<EMAIL>> // // Copyright (c) 2009 Jérémie "Garuma" Laval // // 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 th...
DPLRef.eCommerce/DPLRef.eCommerce.Managers/ManagerFactory.cs
rsimosa/ecommerce
0
7055743
<gh_stars>0 using DPLRef.eCommerce.Accessors; using DPLRef.eCommerce.Common.Shared; using DPLRef.eCommerce.Engines; using System; using DPLRef.eCommerce.Contracts.Admin.Catalog; using DPLRef.eCommerce.Contracts.Admin.Sales; using DPLRef.eCommerce.Contracts.BackOfficeAdmin.Remittance; using DPLRef.eCommerce.Contracts.W...
Mappy/Data/SectionInfo.cs
milkmanmatty/Mappy
12
7055744
namespace Mappy.Data { public class SectionInfo { public string World { get; set; } public string Category { get; set; } public string HpiFileName { get; set; } public string SctFileName { get; set; } } }
SwitcherControl/BMDSwitcher/InputMonitor.cs
kjgriffin/LivestreamServiceSuite
5
7055745
<gh_stars>1-10 using BMDSwitcherAPI; using System; using System.Collections.Generic; using System.Text; namespace Integrated_Presenter.BMDSwitcher { public class InputMonitor : IBMDSwitcherInputCallback { public event SwitcherEventHandler LongNameChanged; public event SwitcherEventHandler Shor...
src/Tailviewer.PluginRepository/Exceptions/CannotAddUserException.cs
Kittyfisto/SharpTail
84
7055746
using System; namespace Tailviewer.PluginRepository.Exceptions { public sealed class CannotAddUserException : Exception { public bool IsError { get; } public CannotAddUserException(string message, bool isError = true) : base(message) { IsError = isError; } } }
Source/Translation.Data/Entities/Main/UserLoginLog.cs
hasancbk/translation
1
7055747
<gh_stars>1-10 using System; using StandardRepository.Models.Entities; using StandardRepository.Models.Entities.Schemas; namespace Translation.Data.Entities.Main { public class UserLoginLog : BaseEntity, ISchemaMain { public long OrganizationId { get; set; } public Guid OrganizationUid { get; ...
ToutEmballe/Production.cs
gitgeek68/WinFormTout
0
7055748
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CRMTOOLS; using System.Windows.Forms; namespace ToutEmballe { class Production { List<Box> caissesNonConformes; List<Box> caisses; int nbredecaisses; ...
src/Galaxy/Galaxy.Product.Contracts/GalaxyProductContractModule.cs
guilinhd/JesseTalkAbp
0
7055749
<filename>src/Galaxy/Galaxy.Product.Contracts/GalaxyProductContractModule.cs using System; using System.Collections.Generic; using System.Text; using Volo.Abp.Modularity; namespace Galaxy.Product.Contracts { public class GalaxyProductContractModule : AbpModule { } }
StressTests/InferenceEngineFactCollision/WeightError.cs
jdevonshire/experiments
112
7055750
namespace NxBRE.StressTests { using System; using System.Collections; using System.Collections.Generic; using NxBRE.InferenceEngine; using NxBRE.InferenceEngine.IO; using NxBRE.InferenceEngine.Rules; public class WeightError { private string ruleBaseFile; private int nbDecaItems; pu...
Assets/Runtime/Source/Components/ComponentRandomRotatable.cs
BogdanoVolcano/Unity-Spaceship-Runner
2
7055752
<reponame>BogdanoVolcano/Unity-Spaceship-Runner<filename>Assets/Runtime/Source/Components/ComponentRandomRotatable.cs using System; using System.Runtime.CompilerServices; using Pixeye.Actors; using Unity.IL2CPP.CompilerServices; using UnityEngine; namespace Runtime.Source.Components { [Serializable] public cl...
HyperCars/HyperCars.Data/Models/Part.cs
lubomirv999/Hyper-Cars
4
7055753
<filename>HyperCars/HyperCars.Data/Models/Part.cs namespace HyperCars.Data.Models { using Enums; using System.ComponentModel.DataAnnotations; using static DataConstants; public class Part { public int Id { get; set; } [Required] [MinLength(PartNameMinLength)] [Max...
Item/ConsumableEffect.cs
5tarlight/PumpkinGoguma
2
7055754
namespace PumpkinGoguma.Item { [Serializable] public struct ConsumableEffect { public double IncreaseAp { get; } = 0; public double IncreaseAd { get; } = 0; public double IncreaseExp { get; } = 0; // public double IncreaseMaxHp { get; } = 0; // public double IncreaseHp { get; } = 0; /...
Tests/PlainTest.cs
GitHubNoel/S22.Imap
156
7055755
using Microsoft.VisualStudio.TestTools.UnitTesting; using S22.Imap.Auth.Sasl; using S22.Imap.Auth.Sasl.Mechanisms; using System.Text; namespace S22.Imap.Test { /// <summary> /// Contains unit tests for the SASL PLAIN authentication mechanism. /// </summary> [TestClass] public class PlainTest { /// <summary> ...
advanced-vod-workflow/Functions/CreatePlayReadyLicenseTemplate.cs
AWTesting/media-services-v3-dotnet-core-functions-integration
2
7055756
<filename>advanced-vod-workflow/Functions/CreatePlayReadyLicenseTemplate.cs // // Azure Media Services REST API v3 Functions // // CreatePlayReadyLicenseTemplate - This function creates a PlayReady License Template JSON data. // /* ```c# Input: { // A flag indicating whether test devices can use the license...
Assets/MMVR/Factory/UI/Button/Editor/SkyboxButtonFactoryEditor.cs
createthis/mesh_maker_vr
49
7055757
<reponame>createthis/mesh_maker_vr using UnityEngine; using UnityEditor; using CreateThis.Factory.VR.UI.Button; namespace MMVR.Factory.UI.Button { [CustomEditor(typeof(SkyboxButtonFactory))] [CanEditMultipleObjects] public class SkyboxButtonFactoryEditor : ToggleButtonFactoryEditor { SerializedPro...
src/Black.Beard.Sdk.Net.Mails.Senders/Mails/RegisterProfiles.cs
Black-Beard-Sdk/sdk.net
0
7055758
using Bb.Sdk.Net.Mails.Configurations; using Bb.Sdk.Net.Mails.Senders; using System; using System.Collections.Generic; using System.Text; namespace Bb.Sdk.Net.Mails { public static class RegisterProfiles { public static void Register() { MailProfile.AddProfile<SmtpProfile>()...
SharedLibraryCore/Helpers/MessageToken.cs
codadmin1/IW4M-Admin
129
7055759
using System; using System.Threading; using System.Threading.Tasks; namespace SharedLibraryCore.Helpers { public class MessageToken { public string Name { get; private set; } private readonly Func<Server, Task<string>> _asyncValue; public MessageToken(string Name, Func<Server, Task<s...
test/EFCore.Relational.Tests/TestUtilities/TestQuerySqlGenerator.cs
pmiddleton/EntityFramework
1
7055760
// 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.EntityFrameworkCore.Query.Expressions; using Microsoft.EntityFrameworkCore.Query.Sql; namespace Microsoft.EntityFrameworkCore.Relationa...
Server/Chat.Server.Dal/MongoDB/Models/ConnectedUser.cs
JuanDouglas/Chat
1
7055761
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chat.Server.Dal.MongoDB.Models { public class ConnectedUser { inte...
src/Itinero/Algorithms/Contracted/Dykstra.cs
itinero/itnero
182
7055762
<filename>src/Itinero/Algorithms/Contracted/Dykstra.cs /* * 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 Li...
src/Microsoft.DotNet.Wpf/test/DRT/DrtXaml/XamlTestClasses/AMEET.cs
ericstj/wpf
0
7055763
<reponame>ericstj/wpf<filename>src/Microsoft.DotNet.Wpf/test/DRT/DrtXaml/XamlTestClasses/AMEET.cs using System; using System.Collections.Generic; using System.Text; using System.Windows.Markup; using System.Diagnostics; namespace Test.Elements { public class MyBinding : MarkupExtension { public overri...
src/Libraries/Microsoft/BingMaps/VenueMaps/VenueType.cs
doc22940/scriptsharp
1
7055764
<filename>src/Libraries/Microsoft/BingMaps/VenueMaps/VenueType.cs<gh_stars>1-10 // VenueType.cs // Script#/Libraries/Microsoft/BingMaps // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace Microsoft.Maps { [Im...
edge-hub/src/Microsoft.Azure.Devices.Routing.Core/NullRoutingPerfCounter.cs
ngi644/iotedge
2
7055765
<reponame>ngi644/iotedge // Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Routing.Core { public class NullRoutingPerfCounter : IRoutingPerfCounter { public static NullRoutingPerfCounter Instance { get; } = new NullRoutingPerfCounter(); NullRoutingPerfCounter()...
sdk/search/Microsoft.Azure.Search.Service/src/Customizations/Skillsets/Models/KeyPhraseExtractionSkillLanguage.cs
sojain/azure-sdk-for-net
2
7055766
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. namespace Microsoft.Azure.Search.Models { using System; using Microsoft.Azure.Search.Common; using Newtonsoft.Json; using Serialization; ...
RedisTool/Controls/StatusBar.xaml.cs
Harris2012/redis-tool
0
7055767
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
PizzaBoxLib/Models/SuperHero.cs
jnimmo815/project-pizzabox
0
7055768
<reponame>jnimmo815/project-pizzabox using System; namespace PizzaBoxLib.Models { public class SuperHero { public decimal Id { get; set; } public string RealName { get; set; } private string _alias; public string Alias { get => _alias; set { if (value.Length == 0) ...
Homeworks/Programming/DSA/14.DynamicProgramming/04.SuperSum/Program.cs
TsvetanRazsolkov/Telerik-Academy
1
7055769
<reponame>TsvetanRazsolkov/Telerik-Academy using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.SuperSum { class Program { // For the recursive solution private static long sum; // For the DP solution ...
DotNetCore/eMandates.Merchant.Library/XML/Utils/PrefixedSignedXml.cs
rtl-nl/emandates-libraries-dotnetcore
0
7055770
using System; using System.Reflection; using System.Security.Cryptography; using System.Security.Cryptography.Xml; using System.Xml; namespace eMandates.Merchant.Library.XML.Utils { internal class PrefixedSignedXml : SignedXml { private string prefixNs; public PrefixedSignedXml(string prefix,...
src/Commands/Handler/DistrictCreateHandler.cs
TheToor/Tango
0
7055771
<filename>src/Commands/Handler/DistrictCreateHandler.cs using CSM.Injections; namespace CSM.Commands.Handler { public class DistrictCreateHandler : CommandHandler<DistrictCreateCommand> { public override void Handle(DistrictCreateCommand command) { DistrictHandler.IgnoreDistricts.A...
src/Service.WalletObserver.Grpc/Models/RemoveWalletRequest.cs
MyJetWallet/Service.WalletObserver
0
7055772
using System.Runtime.Serialization; namespace Service.WalletObserver.Grpc.Models { [DataContract] public class RemoveWalletRequest { [DataMember(Order = 1)] public string Name { get; set; } } }
Assets/Scripts/Example/CheckboxSample.cs
Moolt/Unity-UI-Bindings
2
7055773
using UiBinding.Core; public class CheckboxSample : BindableMonoBehaviour { private bool _checked; private string _text = string.Empty; public bool Checked { get => _checked; set => SetField(ref _checked, value); } public string Text { get => _text; set =>...
RemindManager/RemindManager/App.xaml.cs
AidarGiza/RemindManager
0
7055774
<filename>RemindManager/RemindManager/App.xaml.cs using RemindManager.Models.Frequencies; using RemindManager.Resources.StringResourcs; using RemindManager.Services; using RemindManager.ViewModels; using System; using System.IO; using System.Linq; using Xamarin.CommunityToolkit.Helpers; using Xamarin.Forms; namespace...
Tools/BamlReflector/BamlTools/NullXamlWriter.cs
augustoproiete-forks/microsoft--WPF-Samples
2,179
7055775
// 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.Xaml; namespace BamlTools { public class NullWriter : XamlWriter { public NullWriter(...
DirectN/DirectN/Generated/ID2D1TessellationSink.cs
Steph55/DirectN
124
7055776
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d2d1.h(2269,1) using System; using System.Runtime.InteropServices; namespace DirectN { /// <summary> /// Populates an ID2D1Mesh object with triangles. /// </summary> [ComImport, Guid("2cd906c1-12e2-11dc-9fed-001143a055f9"), Int...
RTM/Droid/Adapter/MessageAdapter.cs
DreamTeamMobile/Xamarin.Agora.Samples
42
7055777
using System.Collections.Generic; using Android.App; using Android.Content; using Android.Graphics; using Android.Support.V7.Widget; using Android.Util; using Android.Views; using DT.Xamarin.Agora.Rtm; namespace DT.Samples.Agora.Rtm.Droid { public class MessageAdapter : RecyclerView.Adapter { private ...
MusicDownloader/frm_Main.cs
benbristow/YouTube-Music-Downloader
2
7055778
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; using MusicDownloader.Lib; namespace MusicDownloader { public partial class frm_Main : Form { ...
Assets/Ressources/script/CharacterDialogueManager.cs
JonahJana/IMD4006_JobSimulatorDatingGame
0
7055779
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CharacterDialogueManager : MonoBehaviour { // parser // charcter sprite public Sprite Interviewer; // buttons public Button responseButton_1; public Button responseButton_2; ...
ScreenRecordPlusChrome/packages/emgucv2.4.10/Emgu.CV.Example/Stitching/StitchingMainForm.Designer.cs
nctu-dcs-lab/ChromePlusRecord
5
7055780
namespace Stitching { partial class StitchingMainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="di...
Editor/VerletEditor.cs
reyrarnfredur/unity_scripting
0
7055781
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEditor; using NaughtyAttributes; [CustomEditor(typeof(VerletSimulation))] public class VerletEditor : Editor { Color selectedColor = Color.blue; Color unselectedColor = Color.gray; Col...
src/IDisposableGenerator/SyntaxReceiver.cs
Elskom/IDisposableGenerator
8
7055783
<gh_stars>1-10 namespace IDisposibleGenerator { using System; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; /// <summary> /// This is used to process the syntax tree. The output is "work items", which ...
SECSItems/SECSItemFormatCode.cs
duohafa/CSharpSECSTools
0
7055784
/* * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
UnitTests/ExtensionMethodsTests.cs
stephanruttloff/SignedXDocument
0
7055785
<filename>UnitTests/ExtensionMethodsTests.cs using System; using System.Xml; using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Ruttloff.SignedXDocument.UnitTests { [TestClass] public class ExtensionMethodsTests { [TestMethod] public void ToXDocument() ...
DSCMS/DSCMS/Views/Customer/CustomerFinanceData.aspx.cs
Ruke45/DManagement
0
7055786
using DCISDBManager.objLib.Rates; using DCISDBManager.objLib.TaxDetails; using DCISDBManager.objLib.Usr; using DCISDBManager.trnLib.CheckAuth; using DCISDBManager.trnLib.CustomerRequestManagement; using DCISDBManager.trnLib.RateManagement; using DCISDBManager.trnLib.TaxManagement; using DCISDBManager.trnLib.Utility; u...
src/Core/Iam.Data.MongoDB/Context/MongoContext.cs
SammoWong/Iam.Admin
0
7055787
<reponame>SammoWong/Iam.Admin using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Iam.Data.MongoDB.Context { public abstract class MongoContext : IMongoContext { protected MongoContext(string connectionStri...
System.Data.Linq/Mapping/MappedMetaModel.cs
cnork/referencesource
911
7055789
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Linq; using System.Data.Linq.Provider; using System.Data.Linq.Mapping; using System.Data.Linq.SqlClient; using System.Th...
MyWarez/Base/CCxxSource/WriteFileResourceCCxxSource.cs
OldSecureIQLab/MyWarez
1
7055790
<reponame>OldSecureIQLab/MyWarez<filename>MyWarez/Base/CCxxSource/WriteFileResourceCCxxSource.cs using System; using System.Collections.Generic; using System.Text; using System.IO; using MyWarez.Core; using System.Linq; namespace MyWarez.Base { // Contract: Write data to a file on the filesystem public inter...
KouStore/Areas/Customer/Models/RegisterViewModel.cs
MehmetHY/KouStore
0
7055791
using KouStore.Data; using KouStore.Models.Interfaces; using KouStore.Models; using KouStore.Managers; using Microsoft.AspNetCore.Mvc; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace KouStore.Areas.Customer.Models { public class RegisterViewModel : IFormViewModel { ...
LogFileService/Program.cs
liboz/PingUtility
0
7055792
<gh_stars>0 using LogFileService.BackgroundServices; using LogFileService.Controllers; using PingUtilityLibrary; var builder = WebApplication.CreateBuilder(args); // Handle parameters var location = PingUtility.defaultLocation; var target = "facebook.com"; if (args.Length > 0) { location = args[0]; } if (args.Le...
sdk/dotnet/Outputs/DistributedVirtualSwitchHost.cs
donovanmuller/pulumi-vsphere
38
7055793
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
Derivas/Simplifier/Base.cs
B1Z0N/derivas
0
7055795
using Derivas.Expression; using System.Collections.Generic; using System.Linq; namespace Derivas.Simplifier { /// <summary>Interface to simplify IDvExpr</summary> public interface IDvSimplifier { IDvExpr Simplify(IDvExpr expr); } /// <summary>Entrance to all kinds of simplifiers</summary>...
Source/Elements/MenuItems/UIMenuNumericScrollerItem.cs
averybadmusician/RAGENativeUI-Light
81
7055796
namespace RAGENativeUI.Elements { using System; /// <summary> /// Represents a scroller item that displays numeric values within a range. /// </summary> /// <typeparam name="T"> /// The numeric type to use. Possible types are: <see cref="sbyte"/>, <see cref="byte"/>, <see cref="short"/>, <see ...
Servers/CarRentingSystem/CarRentingSystem.Cars/Data/ApplicationDbContext.cs
mbaleva/CarRentingSystem
0
7055797
using CarRentingSystem.Cars.Data.Models; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; namespace CarRentingSystem.Cars.Data { public class ApplicationDbContext : DbContext { public Applic...
src/Idcrl/SharePointOnlineAuthenticationProvider.cs
win7user10/Microsoft.SharePoint.Client.NetStandard
0
7055798
<filename>src/Idcrl/SharePointOnlineAuthenticationProvider.cs using System; using System.Net; using System.Runtime.InteropServices; using System.Security; using Microsoft.SharePoint.Client.NetStandard.Runtime; namespace Microsoft.SharePoint.Client.NetStandard.Idcrl { internal class SharePointOnlineAuthenticationP...
Assets/Plugins/AudioStream/Scripts/iOSSpeaker.cs
BlueMonk1107/MySiri
2
7055799
// (c) 2016, 2017 <NAME>. All rights reserved. Redistribution of source code without permission not allowed. // uses FMOD Studio by Firelight Technologies using UnityEngine; using System.Runtime.InteropServices; public static class iOSSpeaker { #if UNITY_IPHONE [DllImport("__Internal")] private static extern void _...
Infobase/Views/Open/indicator-details.cshtml
knyzorg/Infobase
2
7055800
<reponame>knyzorg/Infobase @model DescriptionPageModel @{ Layout = $"{i18nTransformer.LookupInvariant(Model.DatasetName)}/_Layout.cshtml"; string language = i18nTransformer.Culture; } <h2>@Model.Title</h2> <table class="table table-striped table-hover table-condensed table-bordered"> <tbody> @foreach ...
Assets/Plugins/Mars Motion Toolkit/Utilities/Auto Behaviours/Transformations/Matching/Abstract/MatchSomeTransformationsToTarget.cs
MartianDust/MartianDust-Project
0
7055801
using System.Collections; using System.Collections.Generic; using UnityEngine; using NaughtyAttributes; // Match Some Transformations to Target // #transform #transformations [CacheTransform] public abstract class MatchSomeTransformationsToTarget<MatchSomeTransformationsToTargetT> : AutoBehaviour<MatchSomeTransf...
src/Brokerage.Common/Domain/Withdrawals/Processors/SentWithdrawalProcessor.cs
KonstantinRyazantsev/Sirius.Brokerage
0
7055802
<reponame>KonstantinRyazantsev/Sirius.Brokerage<gh_stars>0 using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Brokerage.Common.Domain.BrokerAccounts; using Brokerage.Common.Domain.Operations; using Brokerage.Common.Domain.Processing; using Brokerage.Common.Domain.Processing.Contex...
Forms/DuGuLib.Forms/Extensions/StreamExtension.cs
Peefy/Xamarin.Forms.QZhiHuFind
15
7055803
using System; using System.IO; namespace DuGu.XFLib.Extensions { public static class StreamExtension { /// <summary> /// /// </summary> /// <param name="stm"></param> /// <param name="perCount"></param> /// <returns></returns> public static byte[] GetBytes(this Stream stm, int perCount = 1024) ...
Libraries/EventConsumers/Xms.EventConsumers.Entity/UpdateEntityProcessState.cs
feilingdeng/xms
1
7055804
using System; using Xms.Event.Abstractions; using Xms.Flow.Abstractions; using Xms.Flow.Core.Events; using Xms.Sdk.Abstractions; using Xms.Sdk.Client; namespace Xms.EventConsumers.Entity { /// <summary> /// 更新业务对象的处理状态 /// </summary> public class UpdateEntityProcessState : IConsumer<WorkFlowExecutedEv...
Codigo/IdrugWeb/Mappers/MedicamentoProfile.cs
marcosdosea/IDrug
4
7055805
<filename>Codigo/IdrugWeb/Mappers/MedicamentoProfile.cs using AutoMapper; using Core; using IdrugWeb.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IdrugWeb.Mappers { public class MedicamentoProfile : Profile { public MedicamentoProfi...
Conceptoire.Twitch/Model/EventSub/TwitchEventSubEvent.cs
ccorsano/BlipBloopBot
1
7055806
using System.Text.Json.Serialization; namespace Conceptoire.Twitch.Model.EventSub { public class TwitchEventSubEvent { [JsonPropertyName("broadcaster_user_id")] public string BroadcasterUserId { get; set; } [JsonPropertyName("broadcaster_user_login")] public string Broadcaster...
Assets/Scripts/LevelObjectManager.cs
ShadowMasterX5/SonicOrca-Unity
1
7055807
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace IntelOrca.Sonic { class LevelObjectManager : IEnumerable<LevelObject> { private bool mLockCollection; private List<LevelObject> mObjects = new List<LevelObject>(); private List...
src/ViennaNET.Orm/ICommandExecutor.cs
sfsharapov/ViennaNET
203
7055809
using System.Threading; using System.Threading.Tasks; namespace ViennaNET.Orm.Application { /// <summary> /// Позволяет исполнять команды к БД /// </summary> /// <typeparam name="T"></typeparam> public interface ICommandExecutor<in T> { /// <summary> /// Метод для синхронного выполнения команды <s...
YaminabeBlazor/YaminabeBlazor.Web/Server/Controllers/CustomerMaintenanceSettingController.cs
kzlabo/YaminabeBlazor
0
7055810
/* * Copyright 2020 kzlabo * * 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 i...
test/FluentMigrator.Tests/Unit/Generators/OracleWithQuotedIdentifier/OracleGeneratorTests.cs
MihailsKuzmins/fluentmigrator
0
7055811
using FluentMigrator.Exceptions; using FluentMigrator.Expressions; using FluentMigrator.Runner.Generators.Oracle; using FluentMigrator.Runner.Initialization; using Microsoft.Extensions.Options; using NUnit.Framework; using Shouldly; namespace FluentMigrator.Tests.Unit.Generators.OracleWithQuotedIdentifier { [Te...
packages/react-ui-testing/Tests/ButtonTests/ButtonTestPage.cs
lamergood/retail-ui
0
7055812
<filename>packages/react-ui-testing/Tests/ButtonTests/ButtonTestPage.cs using OpenQA.Selenium; using SKBKontur.SeleniumTesting.Controls; using SKBKontur.SeleniumTesting.Tests.AutoFill; namespace SKBKontur.SeleniumTesting.Tests.ButtonTests { [AutoFillControls] public class ButtonTestPage : PageBase { ...
Source/Sundew.Quantities.Serialization.Poco/SpacetimeExtensions.cs
cdrnet/Sundew.Quantities
1
7055813
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SpacetimeExtensions.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license in...
Tests/Totem.Tests/NotionSpecs.cs
snickroger/Totem
0
7055814
using System; using System.Collections.Generic; using System.Linq; namespace Totem { /// <summary> /// Scenarios involving the <see cref="Totem.Notion"/> class /// </summary> public class NotionSpecs : Specs { class TestNotion : Notion { internal DateTime Now => Clock.Now; } void Create() { var ...
src/Mix/Attributes/AliasAttribute.cs
rh/mix
1
7055815
<reponame>rh/mix<gh_stars>1-10 using System; namespace Mix.Attributes { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public sealed class AliasAttribute : Attribute { public string[] Aliases { get; private set; } public Alias...
JSSoft.ModernUI.Framework/PropertyPathHelper.cs
s2quake/JSSoft.ModernUI.Framework
0
7055816
<gh_stars>0 // Released under the MIT License. // // Copyright (c) 2018 Ntreev Soft co., Ltd. // Copyright (c) 2020 <NAME> // // 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 restri...
Genuine Channels/Sources/Logbook/IEventLogger.cs
netsrotr/GenuineChannels
18
7055817
/* Genuine Channels product. * * Copyright (c) 2002-2007 <NAME>. All rights reserved. * * This source code comes under and must be used and distributed according to the Genuine Channels license agreement. */ using System; namespace Belikov.GenuineChannels.Logbook { /// <summary> /// The IEventLog...
samples/kapai/KaPai.Pay.Web/Migrations/20191208134607_init9.cs
a952135763/osharp
0
7055818
<reponame>a952135763/osharp<filename>samples/kapai/KaPai.Pay.Web/Migrations/20191208134607_init9.cs using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace KaPai.Pay.Web.Migrations { public partial class init9 : Migration { protecte...
src/UnityPackage/Assets/Editor/PackageBuilder.cs
corefan/Json.Net.Unity3D
3
7055819
using UnityEditor; public static class PackageBuilder { [MenuItem("Assets/Build UnityPackage")] public static void BuildPackage() { var assetPaths = new string[] { "Assets/Middlewares/JsonNet", "Assets/Middlewares/JsonNetSample", }; var packagePath =...
Battlerite.NET.Rest/Converters/PopulatedAttributesJsonConverter.cs
RethoughtSolutions/Battlerite.NET
1
7055820
using System; using System.Collections.Generic; using Battlerite.NET.Assets.Stackables; using Battlerite.NET.Rest.DTOs.Players.Attributes; using Battlerite.NET.Rest.DTOs.Players.Attributes.Stats; using Battlerite.NET.Rest.DTOs.Players.Attributes.Stats.Character; using Newtonsoft.Json; using Newtonsoft.Json.Linq; name...
Solutions/AppUtilities/UtilitiesTest/Utilities/Helpers/ShowCastHelperTests.cs
wanghuaisheng/WitsWay
2
7055821
<gh_stars>1-10 #region License(Apache Version 2.0) /****************************************** * Copyright ®2017-Now WangHuaiSheng. * 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://w...
Test/TorrentClientTest/TrackerProtocol/Udp/Messages/AnnounceResponseMessageTest.cs
robyscar/torrent-client-for-net
51
7055822
<reponame>robyscar/torrent-client-for-net using System.Linq; using System.Net; using Microsoft.VisualStudio.TestTools.UnitTesting; using TorrentClient.Extensions; using TorrentClient.TrackerProtocol.Udp.Messages; namespace TorrentClient.Test.TrackerProtocol.Udp.Messages { /// <summary> /// The announce respon...
NetWebScript/NetWebScript.Debug.Engine/Debug/CodeContext.cs
jetelain/NetWebScript
0
7055823
<reponame>jetelain/NetWebScript<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.Debugger.Interop; namespace NetWebScript.Debug.Engine.Debug { class CodeContext : IDebugCodeContext2 { // TODO: implements something ...
src/ZeroLog/Utils/UnsafeTools.cs
Abc-Arbitrage/ZeroLog
184
7055824
<gh_stars>100-1000 using System.Runtime.CompilerServices; using InlineIL; using static InlineIL.IL.Emit; namespace ZeroLog.Utils { internal static unsafe class UnsafeTools { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int SizeOf<T>() { Sizeof(typeof(T))...
AdmiralRoom/Logger/BattleDetailLogger.cs
huoyaoyuan/AdmiralRoom
66
7055826
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using Huoyaoyuan.AdmiralRoom.Officer; using Meowtrix.Collections.Generic; using Newtonsoft.Json; namespace Huoyaoyuan.AdmiralRoom.Logger { class BattleDetailLogger { public BattleDetailLogg...
Obscur.Core/Cryptography/Authentication/Primitives/Skein.cs
xorxornop/ObscurCore
3
7055827
/* Copyright (c) 2009 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicen...
src/Yarp.Extensions.Nacos/INacosYarpStore.cs
catcherwong/nacos-csharp-extensions
3
7055828
<reponame>catcherwong/nacos-csharp-extensions namespace Yarp.Extensions.Nacos { using Microsoft.Extensions.Primitives; using System.Collections.Generic; using System.Threading.Tasks; using Yarp.ReverseProxy.Configuration; public interface INacosYarpStore { /// <summary> /// Get...
GeoCoderTests/CoordinateTests.cs
dkackman/PortableBingGeocoder
2
7055829
<reponame>dkackman/PortableBingGeocoder using System; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using BingGeocoder; namespace GeoCoderTests { [TestClass] [DeploymentItem(@"FakeResponses\")] public class CoordinateTests { private static IGeoCoder _servi...
service/NPlatform.EFRepository/UnitOfWork.cs
Dongliang-y/NMicroAPP
1
7055830
<reponame>Dongliang-y/NMicroAPP /*********************************************************** **项目名称: **功能描述: 工作单元服务于仓储,并在工作单元中初始化上下文,为仓储单元提供上下文对象,由此确保同一上下文对象。 ************************************************************/ namespace NPlatform...
Views/Shared/_Layout.cshtml
pawe9N/LiveChatRoom
2
7055831
<gh_stars>1-10 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Live Chat Room</title> <link href="~/Content/Site.css" rel="stylesheet" type="text/css" /> <link href="~/Content/bootstrap.min.css" rel="stylesheet" ty...
Grabacr07.KanColleViewer/Views/FleetWindow.xaml.cs
kyoryo/KanColleViewer
174
7055832
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Med...
Models/detalle_orden.cs
josaphatsv/ControlDeInventarioUTEC
0
7055833
<gh_stars>0 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is ...
ExecutionInterface/Contracts/Services/IToastNotificationsService.cs
KarmaScripter/ExecutionInterface
3
7055834
<gh_stars>1-10 namespace ExecutionInterface.Contracts.Services { using Windows.UI.Notifications; public interface IToastNotificationsService { public void ShowToastNotification( ToastNotification toastNotification ); public void ShowToastNotificationSample(); } }
Examples/EF6AspNetWebApi/EF6AspNetWebApi/Application.cs
jayoungers/PatchMap
0
7055835
<reponame>jayoungers/PatchMap using EF6AspNetWebApi.Data; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Exceptions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EF6AspNet...
Project/Test/NativeStandardControls/TestLib/NativeMethods.cs
Codeer-Software/Friendly.Windows.NativeStandardControls
5
7055836
<reponame>Codeer-Software/Friendly.Windows.NativeStandardControls using System; using System.Runtime.InteropServices; using System.Text; using Codeer.Friendly.Windows.NativeStandardControls; using System.Diagnostics.CodeAnalysis; namespace NativeStandardControls.TestLib { /// <summary> /// ネイティブDLLメソッド //...
Core/Options/ServiceOptionsProvider.cs
alexnoddings/Google-DNS-Updater
0
7055837
<gh_stars>0 using Microsoft.Extensions.Configuration; namespace DnsUpdater.Core.Options { internal class ServiceOptionsProvider : IServiceOptionsProvider { private IConfiguration Configuration { get; } public ServiceOptionsProvider(IConfiguration configuration) => Configuration = ...
Longgan/Longgan.Web/Views/Home/About.cshtml
szshenjian/LG
0
7055838
<gh_stars>0 @{ ViewBag.Title = "About"; } <div id="wrapper"> <div class="singleheader"> <div class="container"> <div class="col-lg-6 col-sm-6 col-md-6"> <div class="single-title"> <h3>公司简介</h3> </div> </div> ...
BeatTogether.MasterServer.Kernel/Implementations/Sessions/SessionService.cs
23doors/BeatTogether.MasterServer
0
7055839
<filename>BeatTogether.MasterServer.Kernel/Implementations/Sessions/SessionService.cs using System; using System.Collections.Concurrent; using System.Net; using BeatTogether.MasterServer.Data.Abstractions.Repositories; using BeatTogether.MasterServer.Kernel.Abstractions.Sessions; using BeatTogether.MasterServer.Kernel...
Core/Indicators/RelativeStrengthIndicator.cs
Indemos/Blazor-Trader
2
7055840
<filename>Core/Indicators/RelativeStrengthIndicator.cs using Core.CollectionSpace; using Core.ManagerSpace; using Core.ModelSpace; using System; using System.Collections.Generic; using System.Linq; namespace Core.IndicatorSpace { /// <summary> /// Implementation /// </summary> /// <typeparam name="...
EyeInTheSky/Model/StalkNodes/BaseNodes/SingleChildLogicalNode.cs
stwalkerster/eyeinthesky
0
7055841
namespace EyeInTheSky.Model.StalkNodes.BaseNodes { using System; using EyeInTheSky.Model.Interfaces; public abstract class SingleChildLogicalNode : LogicalNode { public IStalkNode ChildNode { get; set; } protected override void SanityCheck(IRecentChange rc) { base....
BESL.Application/Exceptions/PlayerHasAlreadyEnrolledTeamException.cs
SonnyRR/BESL
11
7055842
<reponame>SonnyRR/BESL namespace BESL.Application.Exceptions { public class PlayerHasAlreadyEnrolledTeamException : BaseCustomException { public PlayerHasAlreadyEnrolledTeamException() : base("You have already enrolled a team with the same format in a tournament!") { } }...
src/Util.Biz.Payments/Alipay/Services/AlipayCancelService.cs
Soho-Rab/Util
4,226
7055843
<reponame>Soho-Rab/Util using System.Threading.Tasks; using Util.Biz.Payments.Alipay.Abstractions; using Util.Biz.Payments.Alipay.Configs; using Util.Biz.Payments.Alipay.Parameters; using Util.Biz.Payments.Alipay.Parameters.Requests; using Util.Biz.Payments.Alipay.Results; using Util.Biz.Payments.Alipay.Services.Base;...
MusixmatchClientLib/API/Contexts/MusixmatchApiContext.cs
Eimaen/MusixmatchClientLib
7
7055844
using System.Collections.Generic; using System.Linq; using System; namespace MusixmatchClientLib.API.Contexts { public class MusixmatchApiContext { private static Dictionary<ApiContext, MusixmatchApiContext> Clients = new Dictionary<ApiContext, MusixmatchApiContext> { // TODO: andr...
src/EnvironmentDashboard.Api/Contracts/IUserStore.cs
karl-sjogren/environment-dashboard
1
7055845
<reponame>karl-sjogren/environment-dashboard using System; using System.Collections.Generic; using System.Threading.Tasks; using EnvironmentDashboard.Api.Models; using Microsoft.AspNetCore.Mvc; using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.Linq; namespace EnvironmentDashboard.Api.Contracts { publi...
core/client/game/src/shine/support/pool/DataPool.cs
hw233/home3
8
7055846
namespace ShineEngine { public class DataPool { private IntObjectMap<ObjectPool<BaseData>> _dataDic=new IntObjectMap<ObjectPool<BaseData>>(); private IntObjectMap<ObjectPool<BaseData>> _requestDic=new IntObjectMap<ObjectPool<BaseData>>(); public DataPool() { } private ObjectPool<BaseData> createDataPo...