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
C#/C# Fundamentals/05. ARRAYS/LAB/Arrays - LAB/08. Condense Array to Number/StartUp.cs
AntoniyaIvanova/SoftUni
0
7066004
<reponame>AntoniyaIvanova/SoftUni<gh_stars>0 namespace _08._Condense_Array_to_Number { using System; using System.Linq; public class StartUp { public static void Main() { int[] numbers = Console.ReadLine() .Split(' ') .Select(int.Parse) ...
Exceptions/AssignmentRegistryException.cs
grae22/ClimbRoutePlanner
0
7066005
<gh_stars>0 using System; namespace CRP.Exceptions { internal class AssignmentRegistryException : Exception { public static AssignmentRegistryException Create<TAssignedItem, TAssignee>( string message, TAssignedItem item, TAssignee assignee) { return new AssignmentRegistryException...
Amethyst.Demo.Cards/src/Amethyst.Demo.Cards.Host/Composition/RepositoriesExtensions.cs
amethyst-pro/demo
5
7066006
using Amethyst.Demo.Cards.Application.Contracts.Repositories; using Amethyst.Demo.Cards.Application.Ports.Repositories; using Microsoft.Extensions.DependencyInjection; namespace Amethyst.Demo.Cards.Host.Composition { public static class RepositoriesExtensions { public static IServiceCollection AddRepos...
Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities.Hybrid.Tests/Conversion/GameObjectConversionSettingsTests.cs
polartron/open-netcode
7
7066007
<reponame>polartron/open-netcode using System; using System.Collections.Generic; using NUnit.Framework; using Unity.Build; using Unity.Entities.Conversion; namespace Unity.Entities.Tests.Conversion { class GameObjectConversionSettingsTests { [Test] [Obsolete("This functionality is no longer sup...
System.Web/UI/WebControls/TreeNodeEventArgs.cs
cnork/referencesource
911
7066008
<reponame>cnork/referencesource //------------------------------------------------------------------------------ // <copyright file="TreeNodeEventArgs.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------...
osu.Game.Rulesets.OvkTab/UI/Components/PostElements/SimpleAttachment.cs
Feodor0090/ovktab
0
7066009
using osu.Framework.Allocation; using osu.Framework.Audio.Track; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Graphics; using osu.Game.Graphics.Containers; using osu....
Official Windows Platform Sample/Windows 8.1 desktop samples/[C#]-Windows 8.1 desktop samples/Hyper-V generation 2 virtual machine sample/C#/GetSecureBoot.cs
zzgchina888/msdn-code-gallery-microsoft
8
7066010
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Samples.Hyp...
Plugin.cs
ErisApps/BeatSaberPerfectionDisplay
8
7066011
using System.Linq; using TMPro; using UnityEngine; using UnityEngine.SceneManagement; using IPA; using System.Collections; using BeatSaberMarkupLanguage.Settings; using BeatSaberMarkupLanguage; using System.Reflection; using BS_Utils.Utilities; using System; namespace PerfectionDisplay { [Plugin(RuntimeOptions.Si...
src/CustomerSite/Views/Shared/_ListProductsPartial.cshtml
vtoan/fashion-ecom-ns
5
7066012
<reponame>vtoan/fashion-ecom-ns @model IEnumerable<Shared.ViewModels.ProductVM> @{ var hostUrl = Startup.HostUri; } <div id="list-product"> @if (Model == null || Model.Count() == 0) { <p class="data-empty">No data</p> } else { <div class="row mb-padding"> @foreach (va...
src/Elders.Cronus.Projections.Cassandra/VersionedProjectionsNaming.cs
Elders/Cronus.Projections.Cassandra
1
7066013
<reponame>Elders/Cronus.Projections.Cassandra<filename>src/Elders.Cronus.Projections.Cassandra/VersionedProjectionsNaming.cs using System; namespace Elders.Cronus.Projections.Cassandra { public class VersionedProjectionsNaming { public string GetColumnFamily(ProjectionVersion version) { ...
src/benchmarks/micro/libraries/System.IO.FileSystem/Perf.File.cs
bouchraRekhadda/performance
1
7066015
// 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.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BenchmarkDotNet.Attributes;...
Assets/Scripts/GridManager.cs
SimonMTaye/Snek
0
7066016
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class GridManager : MonoBehaviour { //Number of colums and rows the grid will have. //Rows will be a multiple of 10 while columns are determined based on aspect ratio [SerializeField] private SnakeHead p...
WalletWasabi.Gui/Tabs/AboutView.xaml.cs
kristapsk/WalletWasabi
2
7066017
<filename>WalletWasabi.Gui/Tabs/AboutView.xaml.cs<gh_stars>1-10 using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace WalletWasabi.Gui.Tabs { internal class AboutView : UserControl { public AboutView() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Load(t...
test/BackendTest.Domain.Tests/ValueObjects/ValueObjectShould.cs
thevikingsoftwarecrafter/BackendTest
0
7066018
using System.Linq; using BackendTest.Domain.ValueObjects; using FluentAssertions; using Xunit; namespace BackendTest.Domain.Tests.ValueObjects { public class ValueObjectShould { internal class ValueObjectToTest : ValueObject { public string SomeValue1 { get; } public in...
src/Vs.VoorzieningenEnRegelingen.Site/Pages/_Host.cshtml
sjefvanleeuwen/morstead
4
7066019
<reponame>sjefvanleeuwen/morstead<gh_stars>1-10 @page "/" @namespace Vs.VoorzieningenEnRegelingen.Site.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <ti...
858project/858project.Web/FormAttribute.cs
858project/net.858project.dll
1
7066020
using Project858.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; namespace Project858.Web { /// <summary> /// Atribut zabezpecujuci validaciu modelu prijatych dat /// </summary> public sealed class FormAttribute : ActionFilter...
src/FantasyMapGenerator.App/UI/MapView.cs
rds1983/FantasyMapGenerator
0
7066021
<gh_stars>0 using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Myra; using Myra.Graphics2D.TextureAtlases; using Myra.Graphics2D.UI; using System.Collections.Generic; using XNAssets.Utility; namespace FantasyMapGenerator.App.UI { public class MapView : Widget { private static...
LeComCre.Web/LeComCre.Web/Negocios/Security.cs
afonsoft/LeComCre
0
7066022
<reponame>afonsoft/LeComCre using System; using System.Collections.Generic; using System.Linq; using System.Web; using Afonsoft.Libary.Cryptographic; using Afonsoft.Libary.Utilities; namespace LeComCre.Web.Negocios { public class Security { public Usuario Login( String User, String Pass...
DictionaryEngine/DictionaryEngine/Views/partials/list/_Pagination.cshtml
mediasoftpro/dictionaryengine
1
7066023
@model PaginationViewModel @using Jugnoon.Utility.Helper @inject IStringLocalizer<GeneralResource> GeneralResource @inject Microsoft.Extensions.Options.IOptions<Jugnoon.Settings.General> generalSettings <nav aria-label="..."> <ul class="pagination"> @{ int TotalPages = (int)Math.Ceiling((dou...
rpgGame/Assets/Scripts/WaveFunctionCollapseScripts/CreateMapButton.cs
axksel/WFC-GG
53
7066024
 /*using UnityEditor; using UnityEngine; using System.Collections; using System; [CustomEditor(typeof(CreateMap))] public class ObjectBuilderEditor : Editor { public override void OnInspectorGUI() { DrawDefaultInspector(); CreateMap myScript = (CreateMap)target; if (GUILayou...
Vanara.Windows.Forms/Extensions/FileInfoExtension.cs
PlumpMath/vanara
6
7066025
using System; using System.ComponentModel; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; using Microsoft.Win32.SafeHandles; using Vanara.PInvoke; namespace Vanara.Extensions { public static class FileInfoExtension { private static readonly SafeFileHandle nullSafeHandle = new...
OpenVINOApp/OpenVINOAppNet/Swig/MyOpenVINOPINVOKE.cs
fan2tamo/OpenVINOApp
0
7066026
<filename>OpenVINOApp/OpenVINOAppNet/Swig/MyOpenVINOPINVOKE.cs //------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 4.0.2 // // Do not make changes to this file unless you know w...
Ameow/Storage/BlockFile.cs
alexanderdna/AmeowCoin
86
7066027
using Newtonsoft.Json; using System.Collections.Generic; using System.IO; namespace Ameow.Storage { /// <summary> /// Represents a blkXXXXX.json file loaded into in memory. /// </summary> public sealed class BlockFile : DbFile { public const int BlocksPerFile = 100; public const st...
Commanigy.ProtectDotApp.Data/DataClasses.cs
theill/protectdotapp
0
7066028
<gh_stars>0 namespace Commanigy.ProtectDotApp.Data { partial class DataClassesDataContext { partial void OnCreated() { System.Configuration.ConnectionStringSettings settings = System.Configuration.ConfigurationManager.ConnectionStrings["protectdotappConnectionString"]; if (settings != null) { this.Con...
ControlT/ControlT.EF/ControlTContext.cs
eltoby/ControlT
0
7066029
<gh_stars>0 namespace ControlT.EF { using System.Data.Entity; public class ControlTContext : DbContext { public ControlTContext() : base("ControlTContext") { Database.SetInitializer(new CajasInitializer()); } public DbSet<Caja> Cajas { get; set; } ...
Projeto.Presentation/Models/UsuarioViewModel.cs
ArthurJohnsoon/ProjetoGrupoPrazo
0
7066030
<filename>Projeto.Presentation/Models/UsuarioViewModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace Projeto.Presentation.Models { public class UsuarioViewModel { public UsuarioViewModel() { ...
shared/Autossential.Shared/Utils/DataTableUtil.cs
Autossential/Autossential.Configuration.Activities
1
7066031
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Data; namespace Autossential.Shared.Utils { public static class DataTableUtil { public static IEnumerable<int> IdentifyDataColumns(DataTable dataTable, object columns, IEnumerable<int> defaultValue = null) { ...
src/Bolt.Server/SessionNotFoundException.cs
justkao/Bolt
30
7066032
<reponame>justkao/Bolt using System; using System.Runtime.Serialization; namespace Bolt.Server { [Serializable] public class SessionNotFoundException : BoltServerException { public SessionNotFoundException(string sessionId) : base($"Session object for session '{sessionId}' not found.",...
GameDev.Core/SceneManagement/MouseClickSceneChangeLink.cs
Jeern/Klimakonflikt
0
7066033
using System.Collections.Generic; using GameDev.Core.Events; #if SILVERLIGHT using SilverArcade.SilverSprite; using SilverArcade.SilverSprite.Input; #else using Microsoft.Xna.Framework.Input; #endif namespace GameDev.Core.SceneManagement { public class MouseClickSceneChangeLink : ManyConditionsToOneRea...
PackageManager/PackageManager.cs
kagasu/DNFPackageManager
0
7066034
using Newtonsoft.Json; using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; using System.Linq; using System.Net; using System.Text; using System.Collections.Generic; namespace PackageManager { public class PackageManager { private IWebProxy Proxy { get; } public...
BookShop/BookShop/DataProcessor/Serializer.cs
Alexxx2207/EntityFrameworkCore
0
7066035
namespace BookShop.DataProcessor { using System; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Xml; using System.Xml.Serialization; using Data; using Newtonsoft.Json; using Formatting = Newtonsoft.Json.Formatting; public cla...
TestRail.Tests/ClientTests.cs
Brrovko/testrail-client
12
7066036
using Microsoft.Extensions.Configuration; using System.IO; using System.Net; using Xunit; namespace TestRail.Tests { public class ClientTests { private readonly TestRailClient _client; public ClientTests() { var configuration = new ConfigurationBuilder() .Se...
AzureFunctions/src/AzureFunctions.Skeleton/AzureFunctions.Skeleton/Http/HttpTrigger.cs
jornbeyers/Skeletons
0
7066037
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Azure.ServiceBus; using Microsoft.Extensions.Logging; namespace AzureFunctions.Skeleton.Http { ...
VersionrCore/LocalDB.cs
jasongould02/versionr
1
7066038
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Versionr.LocalState; using Versionr.Objects; using Versionr.Utilities; namespace Versionr { internal class LocalDB : SQLite.SQLiteConnection { public...
Assets/Scripts/EncounterSelection/EncounterSelectionLoader.cs
dcasadevall/tabletop-combat-helper
1
7066039
<filename>Assets/Scripts/EncounterSelection/EncounterSelectionLoader.cs<gh_stars>1-10 using System; using CommandSystem; using Map.MapData.Store.Commands; using Map.MapSelection; using Replays.Persistence; using Replays.Persistence.UI; using Zenject; namespace EncounterSelection { public class EncounterSelectionL...
JSYCRM/Controllers/SimulatorController.cs
buxiaoyang/JSYCRM
0
7066040
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc; namespace JSYCRM.Controllers { public class SimulatorController : Controller { // // GET: /Simulator/ ...
src/Lykke.Service.OperationsCache/Settings/ServiceSettings/OperationsCacheSettings.cs
LykkeCity/Lykke.Service.OperationsCache
0
7066041
namespace Lykke.Service.OperationsCache.Settings.ServiceSettings { public class OperationsCacheSettings { public string CacheInstanceName { get; set; } public int ItemsPerPage { get; set; } public DbSettings Db { get; set; } } }
database_csharp/Migrations/20191214114319_TryingManuallyAddingIndex.cs
kazimierz-256/Enron-Corpus-to-EF-PostgreSQL
0
7066042
using Microsoft.EntityFrameworkCore.Migrations; namespace database_csharp.Migrations { public partial class TryingManuallyAddingIndex : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateIndex( name: "IX_Emails_FromId"...
Tests/MugenMvvmToolkit.WPF.Test(4.5)/Models/DataContextTest.cs
MugenMvvmToolkit/MugenMvvmToolkit
180
7066043
#region Copyright // **************************************************************************** // <copyright file="DataContextTest.cs"> // Copyright (c) 2012-2017 <NAME> // </copyright> // **************************************************************************** // <author><NAME></author> // <email><EMAIL></ema...
WebUI/Controllers/EnvironmentsController.cs
adoconnection/AspNetDeploy
11
7066044
<gh_stars>10-100 using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; using AspNetDeploy.Contracts; using AspNetDeploy.Contracts.MachineSummary; using AspNetDeploy.Model; namespace AspNetDeploy.WebUI.Controllers { public class EnvironmentsController : Authorized...
src/Din.Domain.Authorization/Authorizers/Interfaces/IRequestAuthorizer.cs
D4N3-777/din-api
1
7066045
using System.Threading.Tasks; using MediatR; namespace Din.Domain.Authorization.Authorizers.Interfaces { public interface IRequestAuthorizer<in TRequest> where TRequest : IBaseRequest { Task Authorize(TRequest request); } }
LeanCloud.Play/LeanCloud.Play/Listener/PlayRPCListener.cs
wujun4code/Play-SDK-dotNET
0
7066046
<filename>LeanCloud.Play/LeanCloud.Play/Listener/PlayRPCListener.cs using LeanCloud.Realtime; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeanCloud { internal class PlayRPCListener : IAVIMListener { public void OnNoticeR...
back-end/Migrations/20200124131908_initial migration.cs
leo1103/Reciclamarket
0
7066047
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace basurapp.Migrations { public partial class initialmigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTab...
src/WellEngineered.CruiseControl.Core/Config/DefaultQueueConfiguration.cs
wellengineered-us/cruisecontrol
0
7066048
<filename>src/WellEngineered.CruiseControl.Core/Config/DefaultQueueConfiguration.cs<gh_stars>0 using System; using System.Collections.Generic; using WellEngineered.CruiseControl.PrivateBuild.NetReflector.Attributes; namespace WellEngineered.CruiseControl.Core.Config { /// <summary> /// Configure the b...
People/People/Main.cs
mscingjimmysanchez/People
0
7066049
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Windows.Forms; /// <summary> /// Main's namespace. /// </summary> namespace Main { /// <summary> /// Form to process the file. /// </summary> public partial class Main : F...
test/Api.Test/Http/MultiPartFormRequestBuilder.cs
dsm-sogeti-usa-llc/dotnet-sogeti-academy
0
7066050
<reponame>dsm-sogeti-usa-llc/dotnet-sogeti-academy using System.Net.Http; using System.Net.Http.Headers; namespace Sogeti.Academy.Api.Test.Http { public class MultiPartFormRequestBuilder { private readonly MultipartFormDataContent _multipartFormData; public MultiPartFormRequestBuilder() ...
Modular Gameplay Builder/Assets/Scripts/Motor/Conditions/Condition_IfNoInputDirection.cs
SteveTaylorDev/modular-gameplay-builder
0
7066051
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "IfNoInputDirection", menuName = "Base/Conditions/If No Input Direction")] public class Condition_IfNoInputDirection : Condition_Base { [Header("Input Vector")] public bool useAltInputVector; public ...
src/LocalStack.Client/Session.cs
petertownsend/localstack-dotnet-client
0
7066052
<gh_stars>0 namespace LocalStack.Client; public class Session : ISession { private readonly IConfig _config; private readonly ISessionOptions _sessionOptions; private readonly ISessionReflection _sessionReflection; public Session(ISessionOptions sessionOptions, IConfig config, ISessionReflection sess...
src/System.Reflection.Emit/tests/MethodBuilder/MethodBuilderAttributes.cs
ivandrofly/corefx
1
7066053
<reponame>ivandrofly/corefx // 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 Xunit; namespace System.Reflection.Emit.Tests { public class MethodBuilderAtt...
Source/MicroCloud.API/MicroCloud.API.CloudSide/Controllers/VmController.cs
stho32/MicroCloudApi
0
7066054
using System; using MicroCloud.API.CloudSide.App_Code; using System.Web.Mvc; using MicroCloud.API.BL.Repositories; namespace MicroCloud.API.CloudSide.Controllers { /// <summary> /// The cloud side VM api is used by the virtual machines to declare their state and ip to the cloud. /// </summary> public ...
Source/AllOverIt/Patterns/Specification/Specification.cs
mjfreelancing/AllOverIt
1
7066055
using AllOverIt.Assertion; using System; namespace AllOverIt.Patterns.Specification { /// <inheritdoc cref="SpecificationBase{TType}"/> public abstract class Specification<TType> : SpecificationBase<TType>, ISpecification<TType> { private sealed class AdHocSpecification : Specification<TType> ...
SPT-AKI Profile Editor/Core/ServerChecker.cs
SkiTles55/SPT-AKI-Profile-Editor
4
7066056
using System.Diagnostics; using System.IO; using System.Linq; namespace SPT_AKI_Profile_Editor.Core { public class ServerChecker { public static bool CheckProcess(string name = null, string path = null) { if (string.IsNullOrEmpty(name)) name = Path.GetFileNameWithou...
ToyLanguage_NET/src/Views/ViewControllers/DeserializeWindow.cs
victorursan/ToyLanguage_NET
0
7066057
<filename>ToyLanguage_NET/src/Views/ViewControllers/DeserializeWindow.cs using System; namespace ToyLanguage_NET { public partial class DeserializeWindow : Gtk.Window { private Controller ctrl; public Controller Ctrl { set { ctrl = value; ctrl.deserializePrgStatet (); textview.Buffer.Text = ctrl....
AdminDBControl.Designer.cs
zombotar/NavigatorClient
0
7066058
<reponame>zombotar/NavigatorClient namespace Client1 { partial class AdminDBControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
Core/Piranha/Web/ApplicationModule.cs
samuelmaxton/Piranha
309
7066059
/* * Copyright (c) 2011-2015 <NAME> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * http://github.com/piranhacms/piranha * */ using System; using System.Collections.Generic; using System.Linq; using System.Web; [a...
OpenCV/OpenCV.RectangleDetector/MainWindowViewModel.cs
MichelMichels/MaterialDesignInXaml.Examples
319
7066060
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.CommandWpf; using Microsoft.Win32; using OpenCvSharp; using System; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Windows.Data; using System.Windows.Input; using System.Windows.Media; usin...
Cfms.Bpmn/Flows/Gateways/EventBasedGateway.cs
iooc/cfms
0
7066061
using System; using System.Collections.Generic; using System.Text; namespace Cfms.BPMN.Flows.Gateways { /// <summary> /// 基于事件的网关,后续链接接收任务或中间捕获事件 /// 执行第一个发生的中间捕获事件 /// </summary> public class EventBasedGateway : Gateway { /// <summary> /// 暂未实现 /// </summary> /...
src/cmstar.WebApi/Slim/HttpParamDecoderHelper.cs
cmstar/SlimWebApi
4
7066062
<filename>src/cmstar.WebApi/Slim/HttpParamDecoderHelper.cs<gh_stars>1-10 using System.Collections.Generic; using System.Text; using System.Web; #if !NETFX using Microsoft.AspNetCore.Http; #endif namespace cmstar.WebApi.Slim { internal static class HttpParamDecoderHelper { /// <summary> /// 获取...
MHMonstersElements/ImageValueConverter.cs
TanukiSharp/MHMonstersElements
0
7066063
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Data; using System.Windows.Media; using System.Windows.Media.Imaging; namespace MHMonster...
interfazZKSoftware/Form1.Designer.cs
Andrsrz/interfaz-reloj
0
7066064
<filename>interfazZKSoftware/Form1.Designer.cs namespace interfazZKSoftware { partial class Form1 { /// <summary> /// Variable del diseñador necesaria. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpiar...
PusherClientDotNet/IWebSocket.cs
neilljordan/PusherClientDotNet
1
7066065
<gh_stars>1-10 using System; namespace PusherClientDotNet { interface IWebSocket { void Close(); event EventHandler<EventArgs> OnClose; event EventHandler<global::System.ServiceModel.WebSockets.WebSocketEventArgs> OnData; event EventHandler<EventArgs> OnOpen; void Open()...
sdk/dotnet/IAM/Inputs/UserLoginProfileArgs.cs
AaronFriel/pulumi-aws-native
29
7066066
<gh_stars>10-100 // *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; name...
src/Infrastructure/DAL/Migrations/Migration_20220226_122300_RenameLPTable.cs
pylonboard/dotnet-pylonboard-monolith
0
7066067
using System; using RapidCore.Migration; using RapidCore.PostgreSql.Migration; using ServiceStack.OrmLite; using ServiceStack.OrmLite.Dapper; namespace Pylonboard.ServiceHost.DAL.Migrations; public class Migration_20220226_122300_RenameLPTable : MigrationBase { protected override void ConfigureUpgrade(IMigrationB...
Source/RpcClient/Attr/LocalEventName.cs
tc303730352/WedonekRpcFrame
1
7066068
<filename>Source/RpcClient/Attr/LocalEventName.cs using System; namespace RpcClient.Attr { /// <summary> /// 本地事件名称 /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class LocalEventName : Attribute { ...
Consultorio/ControlMenor/Visitas/UserControls/Consultorio.ascx.cs
saludnqn/consultorio
0
7066069
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using DalSic; u...
src/Reliance.Web.Client/Dto/Organisations/OrganisationDto.cs
BenVanZyl/Reliance
1
7066070
<gh_stars>1-10 using System.ComponentModel.DataAnnotations; namespace Reliance.Web.Client.Dto.Organisations { public class OrganisationDto { [Required] [DataType(DataType.Text)] [Display(Name = "Organisation Id")] public long Id { get; set; } [Required] [DataTy...
Programming Fundamentals/Arrays/5. Compare Char Arrays/Program.cs
radoikoff/SoftUni
0
7066071
using System; using System.Linq; namespace _5.Compare_Char_Arrays { class Program { static void Main() { var firstInput = Console.ReadLine().Split(' ').Select(char.Parse).ToArray(); var secondInput = Console.ReadLine().Split(' ').Select(char.Parse).ToArray(); ...
IndicoV2.V1Adapters/Models/Models/V1ModelGroupAdapter.cs
IndicoDataSolutions/indico-client-csharp
0
7066072
<filename>IndicoV2.V1Adapters/Models/Models/V1ModelGroupAdapter.cs using System; using Indico.Entity; using IndicoV2.Models.Models; namespace IndicoV2.V1Adapters.Models.Models { internal class V1ModelGroupAdapter : IModelGroup { private readonly ModelGroup _modelGroup; public V1ModelGroupAdap...
source/business-workflow/source/Energinet.DataHub.MarketData.Infrastructure/DataPersistence/EnergySuppliers/EnergySupplierRepository.cs
mhejle/geh-market-roles
0
7066073
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // 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 a...
libraries/Microsoft.Bot.Builder.BotFramework/BotFrameworkAdapter.cs
dandriscoll/botbuilder-dotnet
0
7066074
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Bot.Builder.Adapters; using Microsoft.Bot.Connector; using Microsoft.Bot.Connector.Authentication; using ...
OfficeDevPnP.PartnerPack.SiteProvisioning/OfficeDevPnP.PartnerPack.Infrastructure/Diagnostics/RemoveWordsFilter.cs
Statoil/PnP-Partner-Pack
98
7066075
using System; using System.Diagnostics; namespace OfficeDevPnP.PartnerPack.Infrastructure.Diagnostics { /// <summary> /// Class to filter entries which contains some given words on Trace Listener /// </summary> public class RemoveWordsFilter : TraceFilter { public RemoveWordsFilter(String[...
HttpClientExtensions.Tests/Diagnostics/AuditEventSourceTests.cs
afdabro/HttpClientExtensions
0
7066077
 namespace HttpClientExtensions.Tests.Diagnostics { using Microsoft.VisualStudio.TestTools.UnitTesting; using HttpClientExtensions.Diagnostics; using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility; /// <summary> /// Summary description for AuditEventSourceTests /// </summary> ...
AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Events/EditEventCommand.cs
mk0sojo/allReady
1,034
7066078
<reponame>mk0sojo/allReady using AllReady.Areas.Admin.ViewModels.Event; using MediatR; namespace AllReady.Areas.Admin.Features.Events { public class EditEventCommand : IAsyncRequest<int> { public EventEditViewModel Event {get; set;} } }
src/LivingDocumentation.Descriptions/ArgumentDescription.cs
eNeRGy164/LivingDocumentation
9
7066079
<filename>src/LivingDocumentation.Descriptions/ArgumentDescription.cs using System.Diagnostics; namespace LivingDocumentation { [DebuggerDisplay("Argument {Type} {Text}")] public class ArgumentDescription { public string Type { get; } public string Text { get; } public...
osu!StreamCompanion/Code/Modules/FirstRun/FirstRun.cs
fr3fou/StreamCompanion
1
7066080
using System; using System.Collections.Generic; using osu_StreamCompanion.Code.Core; using osu_StreamCompanion.Code.Interfaces; namespace osu_StreamCompanion.Code.Modules.FirstRun { public class FirstRun : IModule, ISettings, IMsnGetter { private Settings _settings; private FirstRunFrm _setupF...
Assets/Scripts/Interactivity/Interactivity.Input.cs
communityus-branch/thechase-demo-2013
0
7066082
using UnityEngine; using System.Collections; using System; public partial class Interactivity { public event System.Action<Vector2> OnInputDown; public event System.Action<Vector2> OnInputMove; public event System.Action<Vector2> OnInputUp; #region Event logic private void handleDown() { if( Input.mousePresen...
source/Cosmos.Build.Installer/Log.cs
cfwprpht/Cosmos
1
7066083
namespace Cosmos.Build.Installer { static public class Log { static public void WriteLine(string aText) { LogLine?.Invoke(aText); } static public void NewSection(string aText) { LogSection?.Invoke(aText); } static public void SetError() { LogError?.Invoke(); } public ...
src/TestStack.White.UnitTests/UIItems/Finders/SearchConditionFactoryTest.cs
JakeGinnivan/White
1
7066084
using System.Windows; using System.Windows.Automation; using TestStack.White.UIItems.Finders; using Xunit; namespace TestStack.White.UnitTests.UIItems.Finders { public class SearchConditionFactoryTest { private readonly AutomationElement element; public SearchConditionFactoryTest() ...
Samples/Google/Calendar/CalendarEvent.cs
SNBnani/Xian
1
7066085
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic; ...
Yoga.Camera/CameraBase.cs
LoveSharp2019/VisionMix
2
7066086
<filename>Yoga.Camera/CameraBase.cs using HalconDotNet; using System; using System.Threading; using Yoga.Common; namespace Yoga.Camera { public abstract class CameraBase { protected HImage hPylonImage; #region 相机参数 protected int cameraIndex; protected HTuple startTime;...
Sources/Sandbox.Game/Engine/Voxels/Planet/MyPlanetStorageProvider.cs
phundio/SpaceEngineers
3,359
7066087
using Sandbox.Definitions; using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using Sandbox.Game.WorldEnvironment; using VRage.Utils; using VRageMath; using VRage.Voxels; namespace Sandbox.Engine.Voxels { [MyStorageDataProvider(10042)] public class MyPlanetStorageProv...
Workshop/Module3-ConnectedApps/Source/Begin/ImageProcessingApp/EditShowcase/Extensions/EffectPhotoExtensions.cs
AsimKhan2019/CodeLabs-UWP
64
7066088
<reponame>AsimKhan2019/CodeLabs-UWP<gh_stars>10-100 /* * Copyright (c) 2014 Microsoft Mobile * * 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 limitati...
AutoMouse/Models/ClickElfForm.cs
NinePalaceGrid/AutoMouse
0
7066089
<reponame>NinePalaceGrid/AutoMouse using Gma.System.MouseKeyHook; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace AutoMouse.Models { publi...
Sintek.Schedule.Cli/TestJobWithOptions.cs
ilyabreev/Sintek.Schedule
0
7066090
<gh_stars>0 using System; using Sintek.Schedule.Core; namespace Sintek.Schedule.Cli { using System.Threading; public class TestJobWithOptions : JobWithOptions<TestOptions> { protected override void Run(TestOptions options) { Console.WriteLine(options == null ? $"Scheduled star...
SourceAFIS.Cli/Utils/Hasher.cs
robertvazan/sourceafis-cli-net
0
7066091
// Part of SourceAFIS CLI for .NET: https://sourceafis.machinezoo.com/cli using System.Security.Cryptography; using SourceAFIS.Cli.Utils; namespace SourceAFIS.Cli.Utils { class Hasher { readonly IncrementalHash Engine = IncrementalHash.CreateHash(HashAlgorithmName.SHA256); public void Add(byte[...
contract/MAVN.Service.PrivateBlockchainFacade.Contract/Operations/CustomerWalletContext.cs
IliyanIlievPH/MAVN.Service.PrivateBlockchainFacade
0
7066092
namespace MAVN.Service.PrivateBlockchainFacade.Contract.Operations { /// <summary> /// Create wallet operation context /// </summary> public class CustomerWalletContext { /// <summary> /// The customer id /// </summary> public string CustomerId { get; set; } ...
src/OW.Experts.WebUI/ViewModels/Expert/AllAssociationViewModel.cs
vvyashin/OW.Experts
0
7066094
<filename>src/OW.Experts.WebUI/ViewModels/Expert/AllAssociationViewModel.cs using System.ComponentModel.DataAnnotations; namespace OW.Experts.WebUI.ViewModels.Expert { public class AllAssociationViewModel { [Required(ErrorMessage = "Необходимо предложить хотя бы одну ассоциацию")] [RegularExpr...
CSBP/Forms/AD/AD110Person.cs
cwkuehl/csbp
0
7066095
// <copyright file="AD110Person.cs" company="<EMAIL>"> // Copyright (c) <EMAIL>. All rights reserved. // </copyright> namespace CSBP.Forms.AD { using System; using CSBP.Apis.Enums; using CSBP.Apis.Models; using CSBP.Apis.Services; using CSBP.Base; using CSBP.Forms.Controls; using CSBP.Services.Factory; ...
PersonalActivity/Account_Settings.Designer.cs
OrionStark/PersonalActivity-.NET
0
7066096
namespace PersonalActivity { partial class Account_Settings { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
lesson4/lesson4.2/Program.cs
Istchanar/programming-basics
0
7066097
<reponame>Istchanar/programming-basics using System; namespace lesson4._2 { class Program { static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Magenta; Console.WriteLine($"Задание 2. Написать программу, принимающую на вход строку — набор чисел, " ...
WmcSoft.Business/Business/Accounting/Check.cs
vjacquet/WmcSoft
3
7066098
<reponame>vjacquet/WmcSoft #region Licence /**************************************************************************** Copyright 1999-2015 <NAME>. All rights reserved. Permission is granted to anyone to use this software for any purpose on any computer system, and to alter it and redistribute it...
src/Common.Tracing.Log4Net/Log4NetTracingInterceptor.cs
vhamine/azure-sdk-for-net
1
7066099
// // Copyright (c) Microsoft. 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 // // Unless required by applicable l...
ApiMicrosservicos/ObjectModel/RegistroAuditoria.cs
otavioreis/ArquiteturaBackEndApiLivraria
0
7066100
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Livraria.Api.ObjectModel { public class RegistroAuditoria { public bool IsAuthenticated { get; set; } public UsuarioLogin Usuario { get; set; } public string CaminhoRe...
TermWork/TermWork.cs
ebolblga/TermWorkDB
0
7066101
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace TermWork { public partial class Form1 : Form { List<CalcData> calcdata = new ...
bohc/typesys/Struct.cs
antonijn/bohc-intermediate
0
7066103
<gh_stars>0 // Copyright (c) 2013 <NAME> // The antonijn open-source license, draft 1, short form. // This source file is licensed under the antonijn open-source license, a // full version of which is included with the project. // Please refer to the long version for a list of rights and restrictions // pertaining to s...
GF.UCenter.Common/Extensions/RSACryptoServiceProviderExtension.cs
lichunlincn/GF.UCenter
2
7066104
<gh_stars>1-10 // <auto-generated/> namespace GF.UCenter.Common { using System; using System.ComponentModel; using System.Runtime.InteropServices; using System.Security.Cryptography; /// <summary>Extension method for initializing a RSACryptoServiceProvider from PEM data string.</summary> publi...
src/Ubaba.Abstractions/ServiceCollectionExtensions/SdkClientBuilder.cs
mortzi/ubaba
0
7066105
using System; using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Primitives; using Ursa.Abstractions.ApiExceptions; namespace Ursa.Abstractions.ServiceCollectionExtensions { public class SdkClientBu...
Tutorial/test/Assets/TestControl.cs
NNNIC/psgg-unity-tutorial
0
7066106
<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public partial class TestControl : MonoBehaviour { #region manager Action<bool> m_curfunc; Action<bool> m_nextfunc; bool m_noWait; void _update() { while(true) ...
Source/Xamarin/Prism.Forms/Navigation/INavigationPageProvider.cs
zhouakun123/prism
0
7066107
using Xamarin.Forms; namespace Prism.Navigation { /// <summary> /// Defines the methods required to implement a page provider while navigating to a Page. /// </summary> /// <remarks>The class that implements this interface should be used with the NavigationPageProviderAttribute. This will allow you t...
CiotEFrete/WebService/MotoristasServiceClient.cs
MatheusVCoelho97/CiotEFrete
5
7066108
<gh_stars>1-10 using System; using System.Security.Cryptography.X509Certificates; using System.Text; namespace CiotEFrete.WebService { public sealed class MotoristasServiceClient : RequestServiceClient { #region Construtores public MotoristasServiceClient(TimeSpan? TimeOut = null) : base("htt...