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
csharp/pangram/Pangram.cs
bwheel/exercism
0
7063273
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; public static class Pangram { private static Dictionary<char, int> letterCounts = new Dictionary<char, int>() { {'a', 0}, {'b', 0}, {'c...
Accounting/Core/Cards/CardType.cs
cschen1205/myob-accounting-plugin
0
7063274
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Accounting.Core.Cards { public class CardType : Entity { public enum TypeID { Customer, Supplier, Employee, PersonalCard, None }; ...
GUI/Templates/Base/ToolTip_Base.cs
bm98/FS20_HudBar
11
7063275
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace FS20_HudBar.GUI.Templates.Base { class ToolTip_Base : ToolTip { /// <summary> /// cTor: Define our standard properties /// </summary> public To...
MessageQueue.FileSystem.Disk/DiskMessageQueueOptions.cs
kmiller77/MessageQueue
0
7063276
<filename>MessageQueue.FileSystem.Disk/DiskMessageQueueOptions.cs<gh_stars>0 using Newtonsoft.Json.Linq; using System; using System.IO; namespace KM.MessageQueue.FileSystem.Disk { /// <summary> /// Options for <see cref="DiskMessageQueue{TMessage}"/> /// </summary> /// <typeparam name="TMessage"></typ...
samples/NTierDemo/NTierDemo/Client/BlogWriter.Wpf/App.xaml.cs
tbandixen/ntieref
5
7063277
<filename>samples/NTierDemo/NTierDemo/Client/BlogWriter.Wpf/App.xaml.cs using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace BlogWriter.Wpf { /// <summary> /// Interaction logic for App.x...
Microsoft.Research/Contracts/MsCorlib/System.IO.BinaryWriter.cs
jeroen-mostert/CodeContracts
778
7063278
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
Restaurant.Services.Models/AddReservationModel.cs
PanayotPetrov/Restaurant
0
7063279
using AutoMapper; using Restaurant.Data.Models; using Restaurant.Services.Mapping; using System; namespace Restaurant.Services.Models { public class AddReservationModel : IMapTo<Reservation>, IHaveCustomMappings { public string FullName { get; set; } public string PhoneNumber { get; set; } ...
src/HotChocolate/PersistedQueries/test/PersistedQueries.Redis.Tests/RequestExecutorBuilderTests.cs
cjstevenson/hotchocolate
26
7063280
<gh_stars>10-100 using System; using System.Linq; using HotChocolate.Execution.Configuration; using Microsoft.Extensions.DependencyInjection; using HotChocolate.Utilities; using Snapshooter.Xunit; using Squadron; using StackExchange.Redis; using Xunit; namespace HotChocolate.PersistedQueries.Redis { public class R...
DesignPatterns/Command/Program.cs
Sztormus/C-
0
7063281
using System; using CommandPattern.Commands; using CommandPattern.Enums; using CommandPattern.Helpers; using CommandPattern.Repositories; namespace CommandPattern { public static class Program { public static void Main() { Signature.Sign("Command Pattern", "Author: <NAME>", "Based ...
MDC/MDC.Domain/Entities/City.cs
MoniqueOliveiraApostolo/mdc
0
7063282
using System; using System.Collections.Generic; using System.Text; namespace MDC.Domain.Entities { public class City : EntityBase { public virtual State State { get; set; } } }
src/Telnyx.Example/MessagesExample.cs
eoghantelnyx/telnyx-dotnet
8
7063284
<filename>src/Telnyx.Example/MessagesExample.cs namespace Telnyx.Example { using System; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using Newtonsoft.Json; /// <summary> /// Messages example /// </summary> [ExcludeFromCodeCoverage] public class MessagesExam...
Teknik/Areas/Help/Views/Help/Markdown.cshtml
Teknikode/Teknik
26
7063285
<gh_stars>10-100 @model Teknik.Areas.Help.ViewModels.HelpViewModel <div class="container"> <ol class="breadcrumb"> <li><a href="@Url.SubRouteUrl("help", "Help.Index")">Help Index</a></li> <li class="active"><a href="#">Markdown</a></li> </ol> <div class="row"> <h2>Markdown Formatti...
Poo_animales/Form1.cs
alex-vinicio/Tutorial_2_poo
0
7063286
<filename>Poo_animales/Form1.cs<gh_stars>0 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 Poo_animales { public partial class Form1 : For...
Calc_polonesa/Calc_polonesa/Package/Polonesa_Reversa.cs
lmfrocha/Trabalho-Pratico-Calculadora-Polonesa
0
7063287
<reponame>lmfrocha/Trabalho-Pratico-Calculadora-Polonesa<filename>Calc_polonesa/Calc_polonesa/Package/Polonesa_Reversa.cs using System; namespace Calc_polonesa { static class Polonesa_Reversa { /// <summary> /// Calcula uma o valor de uma expressão passada por parâmetro /// </summary> ...
HBK.Storage.ImageCompressPlugin/Models/CompressLevelModel.cs
nightsoul357/HBK-Storage
1
7063288
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HBK.Storage.ImageCompressPlugin.Models { public class CompressLevelModel { public string Name { get; set; } public long Quantity { get; set; } } }
src/SceneRendering/IScene.cs
ValeriyaSyomina/MultiagentModelingSystem
3
7063289
<gh_stars>1-10 using Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SceneRendering { public interface IScene { List<DrawableEntity> Objects { get; } } }
Audio2MinecraftUI/obj/Debug/Audio2MinecraftUI_Content.g.i.cs
tremblestarman/MineAudio
46
7063290
<filename>Audio2MinecraftUI/obj/Debug/Audio2MinecraftUI_Content.g.i.cs //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //--------------------...
BeerCellar/Models/UserType.cs
tejas-sharma/beer-cellar
0
7063291
<filename>BeerCellar/Models/UserType.cs using GraphQL.Types; namespace BeerCellar.Models { public class UserType : ObjectGraphType<User> { public UserType() { Field(x => x.Id).Description("The user id."); Field(x => x.FirstName).Description("The first name of the user");...
MYOB.API.SDK/SDK/Contracts/Version2/Contact/EmployeeSuperannuationInfo.cs
hueyh/AccountRight_Live_API_.Net_SDK
14
7063292
<filename>MYOB.API.SDK/SDK/Contracts/Version2/Contact/EmployeeSuperannuationInfo.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using MYOB.AccountRight.SDK.Contracts.Version2.PayrollCategory; namespace MYOB.AccountRight.SDK.Contracts.Version2.Contact { ///...
Common7/Tools/NClass_v2.04/src/Core/Entities/IInterfaceImplementer.cs
jdm7dv/visual-studio
1
7063293
<reponame>jdm7dv/visual-studio // NClass - Free class diagram editor // Copyright (C) 2006-2009 <NAME> // // This program is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free Software // Foundation; either version 3 of the License, o...
tests/unit/CommonTests.cs
JTOne123/fdns-dotnet-sdk
1
7063294
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Net; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Xunit; using Foundation.Sdk; namespace Foundation.Sdk.Tests { public clas...
Coordinates/CoordinateM.cs
IBAS0742/iGeospatial_change
1
7063295
<filename>Coordinates/CoordinateM.cs using System; namespace iGeospatial.Coordinates { /// <summary> /// Summary description for CoordinateM. /// </summary> [Serializable] public class CoordinateM : Coordinate { #region Private Fields /// <summary> /// The measure for this ...
Quamotion.WebDriver.Client/Models/Global.cs
quamotion/Quamotion.WebDriver
2
7063296
<reponame>quamotion/Quamotion.WebDriver // <copyright file="Global.cs" company="Quamotion"> // Copyright (c) Quamotion. All rights reserved. // </copyright> using Newtonsoft.Json; using System; namespace Quamotion.WebDriver.Client.Models { /// <summary> /// Contains global properties for a session. /// <...
src/System.Windows.Forms.Primitives/src/Interop/Richedit/Interop.EM.cs
adamsitnik/winforms
3,557
7063297
<gh_stars>1000+ // 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 static Interop.User32; internal partial class Interop { internal static partial class Ri...
FastReport.Core.Web/Controllers/ReportController.cs
VSS-DEV/FastReport
0
7063298
using FastReport.Export; using FastReport.Export.Html; using FastReport.Export.Image; using Microsoft.AspNetCore.Mvc; using System; using System.IO; using System.Linq; using System.Net; using System.Web; using System.Reflection; namespace FastReport.Web.Controllers { class ReportController : BaseController { ...
FewBox.ActiveDirectory.Core/Attribute/ContainerAttributeValues.cs
FewBox/ActiveDirectory.Core
4
7063299
namespace FewBox.ActiveDirectory.Core.Attribute { /// <summary> /// Container Object Attribute const values. /// </summary> public class ContainerAttributeValues : AttributeValues { /// <summary> /// Container attribute value. /// </summary> public const string Conta...
sourceCode/compositewpf/V5/StockTrader RI/Desktop/StockTraderRI.Modules.Market.Tests/TrendLineView/TrendLineViewModelFixture.cs
andrewdbond/CompositeWPF
0
7063301
<reponame>andrewdbond/CompositeWPF<gh_stars>0 // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Practices.Prism.PubSubEvents; using Moq; using StockTraderRI.Infrastr...
Unity Project/Assets/MK Assets/UI Sprite Manager/Scripts/API/SpriteData.cs
mohsinkhan26/UISpriteManager
11
7063302
/* * Author : <NAME> * Portfolio : http://mohsinkhan26.github.io/ * LinkedIn : http://pk.linkedin.com/in/mohsinkhan26/ * Github : https://github.com/mohsinkhan26/ */ using System.Collections.Generic; using System.Linq; using UnityEngine; namespace MK.UISprite.API { [CreateAssetMenu(fileName = "SpriteData", ...
C#/src/Radix.Components.Material.3.2.0/AppBar/Top/Action/Buttons/Favorite.cs
MCGPPeters/Radix
4
7063303
<reponame>MCGPPeters/Radix using Radix.Components.Html; namespace Radix.Components.Material._3._2._0.AppBar.Top.Action.Buttons; public class Favorite : Button { protected override string Name => "favorite"; protected override string AriaLabel => "Favorite"; }
Algorithm/Labuladong/Code0020.cs
futugyou/CodeFragments
0
7063304
namespace Labuladong; public class Code0020 { public static void Exection() { var s = "([)]"; Console.WriteLine(IsValid(s)); s = "()[]{}"; Console.WriteLine(IsValid(s)); } public static bool IsValid(string str) { var stack = new Stack<char>(); foreach...
PH.Core3/PH.Core3.TestContext/Map/UserMap.cs
paonath/PH.Core3
0
7063305
<filename>PH.Core3/PH.Core3.TestContext/Map/UserMap.cs using System; using Microsoft.EntityFrameworkCore.Metadata.Builders; using PH.UowEntityFramework.EntityFramework.Mapping; namespace PH.Core3.TestContext.Map { internal class TestDataMap : EntityMap<TestData, Guid> { } internal class UserMap : ...
Source/ToolkitResearch.Core/Models/PollItem.cs
SirRandoo/ToolkitResearch
1
7063306
<reponame>SirRandoo/ToolkitResearch<filename>Source/ToolkitResearch.Core/Models/PollItem.cs using System.Collections.ObjectModel; using SirRandoo.ToolkitResearch.Helpers; using Verse; namespace SirRandoo.ToolkitResearch.Models { public class PollItem { private ResearchProjectDef _project; priv...
src/Gaia.Authentication.Jwt/JwtSettings.cs
geovanipn/gaia-todo-list
0
7063307
 namespace Gaia.Authentication.Jwt { public class JwtSettings { public string Secret { get; set; } public int ExpirationHours { get; set; } public string Issuer { get; set; } public string ValidIn { get; set; } } }
ProxyCrawler/Entity/ProxyIpEntity.cs
WeihanLi/ProxyCrawler
24
7063308
<reponame>WeihanLi/ProxyCrawler using System.Collections.Generic; using Newtonsoft.Json; namespace ProxyCrawler.Entity { public class ProxyIpEntity { public string Ip { get; set; } public int Port { get; set; } public string Location { get; set; } public string Channel { get...
src/App/Code/Observable/ObservableProgressHelper.cs
psulek/lhqeditor
1
7063309
#region License // Copyright (c) 2021 <NAME> / ScaleHQ Solutions s.r.o. // // 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...
source/NumberGenerator.Logic/RangeObserver.cs
stefanse/NumberGenerator
0
7063310
using System; using System.Collections.Generic; using System.Text; namespace NumberGenerator.Logic { /// <summary> /// Beobachter, welcher die Anzahl der generierten Zahlen in einem bestimmten Bereich zählt. /// </summary> public class RangeObserver : BaseObserver { #region Pro...
Riot.Phone/service/CaptureActionService.cs
rphuang/riot
0
7063311
<reponame>rphuang/riot using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Xamarin.Essentials; namespace Riot.Phone.Service { /// <summary> /// capture photo/video on the phone device /// </summary> public class CaptureActionService :...
src/Wizard.Cinema.Application/DTOs/Request/Session/SeatInfoReqs.cs
ElderJames/Wizard.Cinema
5
7063312
using System; using System.Collections.Generic; using System.Text; namespace Wizard.Cinema.Application.DTOs.Request.Session { public class SeatInfoReqs { public string SeatNo { get; set; } public string RowId { get; set; } public string ColumnId { get; set; } } }
SnkrsBank.Services/Contracts/ICrudService.cs
ddxkalin/SnkrsBank
1
7063313
namespace SnkrsBank.Services.Contracts { using SnkrsBank.Domain.Common.Models; using System.Linq; using System.Threading.Tasks; public interface ICrudService<T> where T : BaseDeletableModel<string> { IQueryable<T> GetAll(); IQueryable<T> GetAllWithDeleted(); Task<T> Get(s...
SharpGui/Font.cs
AnomalousMedical/Adventure
0
7063314
<reponame>AnomalousMedical/Adventure<filename>SharpGui/Font.cs using Engine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharpGui { public class Font { private Dictionary<char, uint> CharMap; private Dictionary<u...
sdk/Domain/Grant.cs
tsuixl/UploadCloud
11
7063315
<gh_stars>10-100 /* * Copyright (C) Alibaba <NAME> * All rights reserved. * */ using System; namespace Aliyun.OSS { /// <summary> /// The access control grant class definition /// </summary> public class Grant { /// <summary> /// The grantee instance /// </summary> ...
WWCP_OCPIv2.2_UnitTests/TokenTests.cs
OpenChargingCloud/WWCP_OCPI
9
7063316
/* * Copyright (c) 2015--2021 GraphDefined GmbH * This file is part of WWCP OCPI <https://github.com/OpenChargingCloud/WWCP_OCPI> * * 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 * * ...
PeResEnum/PEResEnum/Native/NativeConstants.cs
the-nerbs/Sandbox
0
7063317
<reponame>the-nerbs/Sandbox<filename>PeResEnum/PEResEnum/Native/NativeConstants.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PEResEnum.Native { internal static class NativeConstants { public const uint DosSig...
Scripts/Player/Inventory/Inventory.cs
Peacetoletov/AdaptiveWizard
0
7063318
<filename>Scripts/Player/Inventory/Inventory.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; // TODO: come up with a solution to the inventory system implementation /* Possible solution: create an interface for each type of action an item can have, for example ChangesGoldGa...
Lumi The Fairy Witch/Assets/_Scripts/characters/PlayerController/CameraFollow.cs
Sindiewen/Fairy-Witch-Blaster---LOWREZGAMEJAM-2017
0
7063319
<reponame>Sindiewen/Fairy-Witch-Blaster---LOWREZGAMEJAM-2017 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraFollow : MonoBehaviour { /* Structs */ private struct FocusArea { // Public variables public Vector2 center; pub...
samples/LittleWatson/LittleWatson/MainPage.xaml.cs
Cimbalino/Cimbalino-Phone-Toolkit
12
7063320
<reponame>Cimbalino/Cimbalino-Phone-Toolkit using System; using System.Windows; using Microsoft.Phone.Controls; namespace LittleWatson { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); } private void PhoneApplicatio...
2018.03.19-OOPAdvanced/2018.04.03-UnitTestingH5/BubleSort/Program.cs
SimeonShterev/2018.01.22-2018.04.22-CSharpFundamentals
0
7063321
<gh_stars>0 using System; using System.Linq; using System.Reflection; namespace BubleSort { class Program { static void Main(string[] args) { } } }
newUniversity/UserNameRule.cs
ThreeBadBoys/NewUniversity
2
7063322
<reponame>ThreeBadBoys/NewUniversity<gh_stars>1-10 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace newUniversity { public class UserNameRule : ValidationRule { publi...
HikBDCheckTool/Main.cs
Tea-NT/HikBDCheckTool
2
7063323
using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System....
test/SteveTheTradeBot.Api.Tests/IntegrationTestsBase.cs
rolfwessels/SteveTheTradeBot
1
7063324
using System; using SteveTheTradeBot.Dal.Tests; using SteveTheTradeBot.Sdk; using SteveTheTradeBot.Sdk.Helpers; using SteveTheTradeBot.Sdk.RestApi; using Serilog; using Microsoft.Extensions.Hosting; namespace SteveTheTradeBot.Api.Tests { public class IntegrationTestsBase { public const stri...
Magia/Magia.WebAPI/Configuration/SwaggerConfig.cs
rovianbauer/Magia
1
7063325
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.OpenApi.Models; using System; namespace Magia.WebAPI.Configuration { public static class SwaggerConfig { public static void AddSwaggerConfiguration(this IServiceCollection services) { ...
Assets/PC2D/Scripts/Scriptable Objects/Loadings/LoadPositions.cs
RocherBrockas/GobelinsDiplome
0
7063326
using System.Collections; using System.Collections.Generic; using UnityEngine; using PC2D; [CreateAssetMenu] public class LoadPositions : ScriptableObject { public Vector2 initialValue; public Perception perception; }
SqlAuditor/Trace/TraceContext.cs
iraklisk/SqlAuditor
5
7063327
using SqlAuditor.Config; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; namespace SqlAuditor.Trace { public class TraceContext { public TraceConfig Trace { get; set; } public Dictionary<int, SqlTraceEvent> S...
src/EcommerceDDD.Application/Orders/GetOrderDetails/GetOrderDetailsQuery.cs
AELMOUMNI/EcommerceDDD
0
7063328
<reponame>AELMOUMNI/EcommerceDDD using System; using BuildingBlocks.CQRS.QueryHandling; using FluentValidation; using FluentValidation.Results; namespace EcommerceDDD.Application.Orders.GetOrderDetails { public class GetOrderDetailsQuery : Query<OrderDetailsViewModel> { public Guid CustomerId { get; s...
src/UIScrollCenterView.cs
moto2002/kaituo_src
1
7063329
using System; using UnityEngine; [ExecuteInEditMode, RequireComponent(typeof(UIPanel))] public class UIScrollCenterView : MonoBehaviour { public enum DragEffect { MomentumAndSpring } public static BetterList<UIScrollCenterView> list = new BetterList<UIScrollCenterView>(); public float accelerate = 1f; publi...
Project-Obsidian-UWP/Core/Parser.cs
idexdavis/Project-Obsidian-UWP
1
7063330
<reponame>idexdavis/Project-Obsidian-UWP using YamlDotNet.RepresentationModel; using System.IO; using System.Collections.Generic; namespace Project_Obsidian_UWP.Core { public class Parser { public static IList<YamlDocument> ParseYamlFile(string input) { YamlStream yamlStream = Pars...
TestDay1_Q03/Form1.cs
thyangDTOL/EduCsharp
0
7063331
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; //3. 현재 시간을 출력하는 예제이다. 4개의 Clock 클래스를 생성하여 다음과 출력 // 되도록 Form1 클래스를 수정하시오. // ex) Clock:0, Time:201...
Trace/Anno.Command/ModifyRoleFuncLinkCommand.cs
staoran/Viper
571
7063332
using System; using System.Collections.Generic; using System.Text; namespace Anno.Command { public class ModifyRoleFuncLinkCommand : CommandBus.Command { public ModifyRoleFuncLinkCommand(long id, int version) : base(id, version) { } public List<long> FidList { get; set; } = ne...
src/Postgres.Marula.App.Control/UIElements/MainViews/MainWindow.cs
zadykian/postgres-marula
2
7063333
<filename>src/Postgres.Marula.App.Control/UIElements/MainViews/MainWindow.cs using System.Threading.Tasks; using Postgres.Marula.App.Control.UIElements.Extensions; using Postgres.Marula.App.Control.UIElements.Lifetime; using Postgres.Marula.App.Control.UIElements.MainViews.General; using Postgres.Marula.App.Control.UIE...
TCPTests.Client/Program.cs
VinnieThePooh/networkapis.learning
0
7063334
<filename>TCPTests.Client/Program.cs<gh_stars>0 using System; using System.IO; using System.Net; using System.Net.Sockets; using System.Runtime.Loader; using System.Text; using System.Threading; using Microsoft.Extensions.Configuration; using TCPTests.Common.Models; namespace TcpClient { class Program ...
YUtil/YCSharp/Ext/DictionaryExt.cs
yscode001/YUtil
0
7063335
<gh_stars>0 // Author:yaoshuai // Email:<EMAIL> // Date:2022-2-10 // ------------------------------ using System.Collections.Generic; using System.ComponentModel; namespace YCSharp { public static class DictionaryExt { /// <summary> /// 根据key获取value /// </summary> /// <typepara...
DragonSpark.Application/Diagnostics/TemplateAwareLogException.cs
DragonSpark/Framework
10
7063336
<filename>DragonSpark.Application/Diagnostics/TemplateAwareLogException.cs using DragonSpark.Model.Operations; using System; namespace DragonSpark.Application.Diagnostics; sealed class TemplateAwareLogException : Coalesce<LogExceptionInput, Exception>, ILogException { public TemplateAwareLogException(ILogException ...
ShiftOS/ShiftOS/Commands/Clock.cs
Alee14/shiftos-challenge
0
7063337
<reponame>Alee14/shiftos-challenge using System; using System.Collections.Generic; using System.Linq; using System.Text; using ShiftOS.Metadata; using System.Threading.Tasks; namespace ShiftOS.Commands { [Requires("secondssincemidnight")] public class Clock : TerminalCommand { public override stri...
test/NSign.Abstractions.UnitTests/Signatures/SignatureParamsComponentTests.cs
Unisys/NSign
0
7063338
using Moq; using System; using Xunit; namespace NSign.Signatures { public sealed class SignatureParamsComponentTests { private readonly SignatureParamsComponent signatureParams = new SignatureParamsComponent(); [Fact] public void CtorWithValueParses() { string inpu...
JoinNET/UCContentList.xaml.cs
garakutanokiseki/Join.NET
0
7063339
using System; using System.Collections; 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; usi...
Assets/AI/Scripts/Unity/Action/AttackAction.cs
exidhor/Atlantis
1
7063340
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UnityAI { [CreateAssetMenu(menuName = "PluggableAI/Actions/Attack")] public class AttackAction : Action { public override void Init() { // nothing yet } publ...
BackEnd/Timeline/Services/PathProvider.cs
crupest/Timeline
5
7063341
<filename>BackEnd/Timeline/Services/PathProvider.cs using Microsoft.Extensions.Configuration; using System; using System.IO; using Timeline.Configs; namespace Timeline.Services { public interface IPathProvider { public string GetWorkDirectory(); public string GetDatabaseFilePath(); ...
SynapseXUI/UserControls/OptionsUserControl.xaml.cs
casperb123/SynapseXUI
5
7063342
<reponame>casperb123/SynapseXUI<gh_stars>1-10 using SynapseXUI.Entities; using SynapseXUI.ViewModels; using SynapseXUI.Windows; using System.Windows; using System.Windows.Controls; namespace SynapseXUI.UserControls { /// <summary> /// Interaction logic for OptionsUserControl.xaml /// </summary> public...
Source/DarkKanban.Core.Contracts/Responses/GetBoardsResponse.cs
nielemptiness/dark-kanban
0
7063343
using System.Collections.Generic; using DarkKanban.Core.Contracts.Models; namespace DarkKanban.Core.Contracts.Responses { public class GetBoardsResponse { public List<EntityShortInfoModel> Boards { get; set; } public int TotalCount { get; set; } } }
Chess/Chess/Chess.Users.DataAccess/Entities/User.cs
zhivkomilev/ChessProject
0
7063344
using Chess.Core.DataAccess.Entities; using System.ComponentModel.DataAnnotations; namespace Chess.Users.DataAccess.Entities { public class User : BaseEntity { [Required] public string Username { get; set; } [Required] public string Password { get; set; } [Required] ...
Editor/UVC.Tests/ComposedSetTest.cs
Olliebrown/uversioncontrol
51
7063346
using System.IO; using NUnit.Framework; using ComposedString = UVC.ComposedSet<string, UVC.FilesAndFoldersComposedStringDatabase>; //using Unity.PerformanceTesting; namespace UVC.UnitTests { public class ComposedSetTest { static ComposedString CCSet(string str) { return n...
src/Common/CrazyUtils/Tail.cs
nvanlaerebeke/MLT.AutoRender
0
7063347
<reponame>nvanlaerebeke/MLT.AutoRender<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading; namespace CrazyUtils { public class Tail { private readonly ManualResetEvent me; private const string ...
src/UnitTypes/MagneticInductionUnit.cs
elastacloud/opendigitaltwins-dtdl-semantictypes-dotnet
0
7063348
<reponame>elastacloud/opendigitaltwins-dtdl-semantictypes-dotnet namespace Elastacloud.OpenDigitalTwins.Dtdl.SemanticTypes.UnitTypes { public class MagneticInductionUnit : BaseUnit { private readonly double value; public MagneticInductionUnitOfMeasure UoM { get; } public double Value => v...
App.Model.Services/Common/ServiceBase.cs
VladyslavYakymenkoCom/ASP-Chat-MVC
0
7063349
<reponame>VladyslavYakymenkoCom/ASP-Chat-MVC using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using App.Model.Data; namespace App.Model.Services { public class ServiceBase { protected readonly DB_Context db_context; ...
atriumDAL/SSTCase_UDAL.cs
chris-weekes/atrium
0
7063350
using System; using System.Data; using System.Data.SqlClient; using lmDatasets; namespace atriumDAL { public partial class SSTCaseDAL : atDAL.ObjectDAL { public byte[] LoadAll(int fileId) { atriumDALManager aDAL = (atriumDALManager)this.DAL; DataSet ds = new DataSet(); ...
UI/ChatSignalR/UnoChat.Client/UnoChat.Client.Shared/Schedulers.cs
Mohsens22/Uno.Samples
79
7063351
<filename>UI/ChatSignalR/UnoChat.Client/UnoChat.Client.Shared/Schedulers.cs using System; using System.Reactive.Concurrency; using System.Threading; namespace UnoChat.Client { public static partial class Schedulers { static partial void OverrideDispatchScheduler(ref IScheduler scheduler); pri...
iTuner/iTunes/Interaction.cs
stevencohn/iTuner
1
7063352
//************************************************************************************************ // Copyright © 2010 <NAME>. All Rights Reserved. // //************************************************************************************************ namespace iTuner.iTunes { using System; using System.Diagnostics; ...
MagicalLifeGUIWindows/Input/EscapeHandler.cs
Batarian711/MagicalLife
0
7063353
<gh_stars>0 using MagicalLifeAPI.Filing.Logging; using MagicalLifeAPI.World.Data; using MagicalLifeGUIWindows.GUI; using MonoGame.Extended.Input.InputListeners; namespace MagicalLifeGUIWindows.Input { /// <summary> /// Used to handle the escape key, and it's many uses. /// </summary> public class Esca...
Sudoku2/Program.cs
Vastlee/CodeSignal
0
7063354
<reponame>Vastlee/CodeSignal using System; using System.Collections.Generic; using VastTools; namespace Sudoku2 { internal class Program { private static void Main(string[] args) { var trueTest = new char[][] { new char[] {'.','.','.','1','4','.','.','2','.'}, new char[] {'.','.','6','.','...
PaperMarioBattleSystem/PaperMarioBattleSystem/Classes/Collectibles/Badges/ChillOutBadge.cs
tdeeb/PaperMarioBattleSystem
40
7063355
<filename>PaperMarioBattleSystem/PaperMarioBattleSystem/Classes/Collectibles/Badges/ChillOutBadge.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PaperMarioBattleSystem { /// <summary> /// The Chill Out Badge - Makes Mar...
Softeq.XToolkit.WhiteLabel.Tests/ViewModels/Tab/ToolbarViewModelBaseTests/TestToolbarViewModelBase.cs
Softeq/XToolkit.WhiteLabel
25
7063356
<reponame>Softeq/XToolkit.WhiteLabel<filename>Softeq.XToolkit.WhiteLabel.Tests/ViewModels/Tab/ToolbarViewModelBaseTests/TestToolbarViewModelBase.cs // Developed by Softeq Development Corporation // http://www.softeq.com using System.Collections.Generic; using Softeq.XToolkit.WhiteLabel.Model; using Softeq.XToolkit.Wh...
IndicatorsUI/MainUI/Views/LongerLives/_LegendInlineBob.cshtml
publichealthengland/fingertips-open
2
7063357
@model string <p class="legend"> @Model <span id="outcomes-header"></span> <span class="grade"> <img src="@(ViewBag.ImagesUrl)Mortality/bobLower.png" alt="worse" />lower </span> <span class="grade"> <img src="@(ViewBag.ImagesUrl)Mortality/grade-2.png" alt="consistent" />consistent <...
Desktop/Tempest/Tests/SerializationContextTests.cs
0xFireball/Tempest
20
7063358
<reponame>0xFireball/Tempest // // SerializationContextTests.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2011-2013 <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...
src/SFA.DAS.LoginService.Application/ResetPassword/ResetPasswordResponse.cs
uk-gov-mirror/SkillsFundingAgency.das-login-service
0
7063359
using System; namespace SFA.DAS.LoginService.Application.ResetPassword { public class ResetPasswordResponse { public bool IsSuccessful { get; set; } public Guid ClientId { get; set; } public string ReturnUrl { get; set; } } }
V5_DataCollection/Forms/Task/Tools/frmTaskPlanSet.cs
qiyeyihao/V5_DataCollection
17
7063360
<gh_stars>10-100 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace V5_DataCollection.Forms.Task.Tools { public partial class frmTaskPlanSet : Form { public event...
src/Data/Maui.Data/SQL/IDatabase.cs
bg0jr/Maui
0
7063361
using System; using System.Data; using System.Data.Common; using Maui; namespace Maui.Data.SQL { public interface IDatabaseSC : IServiceComponent { string GetDBType( Type type ); string ConnectionUri { get; } DbCommand CreateCommand(); DbCommand CreateCommand( stri...
src/Medic.Entities/Helpers/GenMarker.cs
eeevgeniev/ITSPMedic
0
7063362
<reponame>eeevgeniev/ITSPMedic using AutoMapper; using Medic.AppModels.GenMarkers; using CP = Medic.Models.CP; namespace Medic.Entities { public partial class GenMarker { public GenMarker Copy() { return base.Copy<GenMarker>(this); } public void ConfigureTransforma...
Assets/Scripts/Utils/ObjectsPool.cs
Lazea/Unity-FPS
0
7063363
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectsPool : MonoBehaviour { public GameObject poolObject; public int poolSize = 0; int count = 0; int currIndex = 0; public List<GameObject> poolObjects; // Use this for initialization void Start () ...
tests/src/JIT/Regression/CLR-x86-JIT/V1-M11-Beta1/b49318/b49318.cs
CyberSys/coreclr-mono
10
7063364
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Test { using System; class AA { static void Main1() { int N = 0; #pragma warning disable 1718 while (c...
Assets/Scripts/InGame/Health/HeathBar.cs
LuffyGM/TowerDefense
0
7063365
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HeathBar : MonoBehaviour { [SerializeField] private Image healthImage; [SerializeField] private float updateSpeedSeconds = 0.5f; [SerializeField] private float positionOffset; ...
WinCommandPalette/Enums/ModifierKey.cs
DarkIrata/WinCommandPalette
6
7063366
<reponame>DarkIrata/WinCommandPalette<filename>WinCommandPalette/Enums/ModifierKey.cs using WinCommandPalette.Helper; using System; namespace WinCommandPalette.Enums { [Flags] public enum ModifierKey { None = 0, ALT = HotKeyHelper.MOD_ALT, LeftCTRL = HotKeyHelper.MOD_CONTROL, ...
src/BbsSignatures/Bls/NativeMethods.cs
StevenTCramer/bbs-signatures-dotnet
0
7063367
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace BbsSignatures.Bls { internal class NativeMethods { [DllImport(Constants.BbsSignaturesLibrary, CharSet = CharSet.Ansi, BestFitMapping = false, ThrowOnUnmappableChar = true)] intern...
SyntacsApp/Models/User.cs
Is-Broke/CodeBreaker
0
7063368
<filename>SyntacsApp/Models/User.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace SyntacsApp.Models { public class User { public int ID { get; set; } [StringLength(20, MinimumLength = 3), ...
Source/Application/Adapt/ViewModels/DataSource/NewDataSourceWindowViewModel.cs
GridProtectionAlliance/Adapt
0
7063369
// ****************************************************************************************************** // NewDataSourceWindowViewModel.tsx - Gbtc // // Copyright © 2021, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agre...
src/libary/Middleware/Default/TokenHelper.cs
weirdAlchemist/pillowsharp
2
7063370
<filename>src/libary/Middleware/Default/TokenHelper.cs<gh_stars>1-10 using System; using System.Collections.Generic; using PillowSharp.BaseObject; namespace PillowSharp.Middleware.Default { public class TokenStorage{ public int LifeTime { get; set; } private Dictionary<string,LifeTimeToken> stora...
src/BlurLibrary/NativeThings/Windows10/NativeMethods.cs
mokeev1995/sample-win-aeroglass
6
7063371
<filename>src/BlurLibrary/NativeThings/Windows10/NativeMethods.cs<gh_stars>1-10 using System; using System.Runtime.InteropServices; using mokeev1995.BlurLibrary.NativeThings.Windows10; // ReSharper disable once CheckNamespace namespace mokeev1995.NativeThings { internal static partial class NativeMethods { [DllI...
Assets/Scripts/Instantiation/ChangeCarColor.cs
maya-papaya/Rush-Racing
0
7063372
<reponame>maya-papaya/Rush-Racing using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Author: <NAME> /// Allows the car's colour to be changed depending on player's choice in the Garage /// </summary> public class ChangeCarColor : MonoBehaviour { public GameObject[] Car...
CoreProfiler/Data/DbProfiler.cs
teddymacn/coreprofiler
61
7063373
using System; using System.Collections.Concurrent; using System.Data.Common; using System.Threading.Tasks; using CoreProfiler.Timings; namespace CoreProfiler.Data { /// <summary> /// The default <see cref="IDbProfiler"/> implementation. /// </summary> public class DbProfiler : IDbProfiler { ...
Wycademy/src/Wycademy/Commands/Services/BlacklistService.cs
Iwuh/Wycademy
8
7063374
<reponame>Iwuh/Wycademy using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Wycademy.Commands.Enums; namespace Wycademy.Commands.Services { public class BlacklistService { private List<ulong> _userBlacklist; ...
UniversalSplitScreen/RawInput/MessageProcessor.cs
EdwardBetts/UniversalSplitScreen
573
7063375
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Windows.Forms; using UniversalSplitScreen.Core; using UniversalSplitScreen.SendInput; namespace UniversalSplitScreen.RawInput { internal class MessageProcessor { /// <summary> /// Only up...