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
Day 3/WebAppCoreRouting/WebAppCoreRouting/CustomHelpers/CustomHelpers.cs
debasis-saha/.Net_Core_Basics
1
7058287
<gh_stars>1-10 using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebAppCoreRouting.CustomHelpers { public static class CustomHelpers { public static IHtmlContent SubmitBu...
Xania.CosmosDb/MemberCall.cs
ibrahimbensalah/Xania.Finance
1
7058288
namespace Xania.CosmosDb { //internal class MemberCall : LinqExpr //{ // public string Method { get; set; } // public ICollection<IExpr> Args { get; } = new List<IExpr>(); // public override IExpr ToGremlin(params IExpr[] args) // { // return new AST.MemberCall(args[0], ...
2020/Solutions/Day02.cs
Speiser/AdventOfCode2019
0
7058289
<filename>2020/Solutions/Day02.cs using System; using System.Collections.Generic; using System.Linq; using AdventOfCode2020.Solutions.Shared; using NUnit.Framework; namespace AdventOfCode2020.Solutions { public class Day02 : ISolution { public void Solve() { var input =...
Editor/EditorUtilityDisplayProgressBar.cs
jedybg/elarion
16
7058290
using System; using System.Reflection; using UnityEditor; using UnityEngine; namespace Elarion.Editor { public static class AsyncProgressBar { static AsyncProgressBar() { var type = typeof(EditorUtility).Assembly.GetType("UnityEditor.AsyncProgressBar"); if(type != null) { ...
QiniuSDK/RS/GetPolicy.cs
Gemini2015/QiniuSDK
0
7058291
using System; using Qiniu.Auth.digest; using Qiniu.Conf; using System.Net; namespace Qiniu.RS { /// <summary> /// GetPolicy /// </summary> public class GetPolicy { public static string MakeRequest (string baseUrl, UInt32 expires = 3600, Mac mac = null) { if (mac == null) { mac = new Mac (Config.ACCESS_...
mid/midorg/Workspace.cs
dynamicdeploy/mid
0
7058292
using System; using System.Collections.Generic; namespace midorg { public enum WorkspaceAccessType { /// <summary> /// Only for the Admin /// </summary> Private = 0, /// <summary> /// Everyone /// </summary> Public = 1, /// <summary> ...
Examples/CSharp/ExResourceUsageView.cs
aspose-tasks/Aspose.Tasks-for-.NET
8
7058293
<reponame>aspose-tasks/Aspose.Tasks-for-.NET<gh_stars>1-10 namespace Aspose.Tasks.Examples.CSharp { using System; using NUnit.Framework; using Saving; using Visualization; [TestFixture] public class ExResourceUsageView : ApiExampleBase { [Test] public void RenderResourceUsa...
Plugins/Parmalen.Weather/Forecast.cs
nakioman/parmalen
0
7058294
<reponame>nakioman/parmalen using System; using System.Collections.Generic; using Newtonsoft.Json; using Parmalen.Contracts.Helpers; namespace Parmalen.Weather { public class Forecast { [JsonProperty("dt")] [JsonConverter(typeof(UnixDateTimeConverter))] public DateTime DateTime { get; ...
WinControls/ThumbnailList/IListViewImageList.cs
aurigma/WinControls
1
7058295
<filename>WinControls/ThumbnailList/IListViewImageList.cs<gh_stars>1-10 // Copyright (c) 2018 Aurigma Inc. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; namespace Aurigma.GraphicsMill.WinControls { /// <summary> /// D...
Destinationboard/Models/ActionInfoM.cs
zeikomi552/Destinationboard
1
7058296
<filename>Destinationboard/Models/ActionInfoM.cs using Destinationboard.Common.Utilities; using Destinationboard.Models.db; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Destinationboard.Models { public class ActionInfoM : A...
itext/itext.styledxmlparser/itext/styledxmlparser/jsoup/nodes/FormElement.cs
criipto/itext7-dotnet
990
7058297
/* This file is part of the iText (R) project. Copyright (c) 1998-2021 iText Group NV Authors: iText Software. This program is offered under a commercial and under the AGPL license. For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below. AGPL licensing: This program is free...
WarOfEmpires.CommandHandlers/Alliances/KickFromAllianceCommandHandler.cs
maikelbos0/WarOfEmpires
0
7058298
<gh_stars>0 using System; using System.Linq; using VDT.Core.DependencyInjection; using WarOfEmpires.CommandHandlers.Decorators; using WarOfEmpires.Commands.Alliances; using WarOfEmpires.Repositories.Alliances; namespace WarOfEmpires.CommandHandlers.Alliances { [TransientServiceImplementation(typeof(ICommandHandle...
Assets/Infinity Code/Real World Terrain/Scripts/Editor/Windows/RealWorldTerrainSettingsWindow.cs
zFz0000/UnitySimulasiGerakParabola
1
7058299
<filename>Assets/Infinity Code/Real World Terrain/Scripts/Editor/Windows/RealWorldTerrainSettingsWindow.cs /* INFINITY CODE 2013-2019 */ /* http://www.infinity-code.com */ using System; using System.IO; using System.Linq; using System.Reflection; using UnityEditor; using UnityEngine; namespace InfinityCo...
src/SFA.DAS.EmployerFinance.Api.Client/DependencyResolution/ConfigurationRegistry.cs
SkillsFundingAgency/das-employerfinance
0
7058300
using Microsoft.Extensions.Configuration; using SFA.DAS.EmployerFinance.Api.Client.Configuration; using StructureMap; namespace SFA.DAS.EmployerFinance.Api.Client.DependencyResolution { internal class ConfigurationRegistry : Registry { public ConfigurationRegistry() { For<EmployerFi...
SimplMQTT/Events/ErrorOccuredEventArgs.cs
fasteddy516/simpl-mqtt
4
7058301
<reponame>fasteddy516/simpl-mqtt using System; namespace SimplMQTT.Client.Events { public class ErrorOccuredEventArgs : EventArgs { public string ErrorMessage { get; private set; } public ErrorOccuredEventArgs() { //You must define the default constructor for simpl+ to se...
Source/Ultraviolet.OpenGL.Bindings/Shared/gl.DSA.cs
Spool5520/ultraviolet
558
7058302
using System; namespace Ultraviolet.OpenGL.Bindings { public static unsafe partial class gl { private static void InitializeDSA() { if (IsVersionAtLeast(4, 5)) { IsARBDirectStateAccessAvailable = true; dsaimpl = new DirectStateAccessARBIm...
snippets/csharp/VS_Snippets_CLR/Microsoft.VisualStudio.Data.Core.IVsDataSourceSpecializer/CS/IVsDataSourceSpecializer3.cs
ericmutta/samples
2
7058303
<reponame>ericmutta/samples<gh_stars>1-10 // <Snippet3> using System; using Microsoft.VisualStudio.Data.Core; using Microsoft.VisualStudio.Data.Framework; public class MySourceSpecializer3 : DataSourceSpecializer { private static readonly Guid s_sqlServerDataSource = new Guid("067EA0D9-BA62-43f7-9106-3493...
src/JsonCryption.Newtonsoft/JsonConverters/EncryptedConverter.cs
Burwin/JsonCryption.Newtonsoft
3
7058304
<filename>src/JsonCryption.Newtonsoft/JsonConverters/EncryptedConverter.cs using Microsoft.AspNetCore.DataProtection; using Newtonsoft.Json; using System; namespace JsonCryption.Newtonsoft.JsonConverters { internal interface IEncryptedConverter { string ToCipherText(object value, JsonSerializer serial...
ClemBot.Api/ClemBot.Api.Core/Security/Policies/Policies.cs
tyler-macinnis/ClemBot
0
7058305
<reponame>tyler-macinnis/ClemBot namespace ClemBot.Api.Core.Security.Policies; public static class Policies { public const string BotMaster = "BotMaster"; public const string RequireClaim = "RequireClaim"; public const string GuildSandbox = "GuildSandbox"; }
Simple Arbitrage Tool/MarketPrice.cs
almarax/simple-arbitrage-tool
17
7058306
using Lostics.NCryptoExchange; using Lostics.NCryptoExchange.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lostics.SimpleArbitrageTool { /// <summary> /// Generic class for tracking a price of an asset. /// </summary> ...
VcmSuite3x.Application/Interface/IElementoAppService.cs
CristovaoTorres/WebApiNetCore_GenericRepositoryPattnerJwt
0
7058307
using System; using System.Collections.Generic; using System.Text; namespace VcmSuite3x.Application.Interface { public interface IElementoAppService { object Get(int elementoId, int cenarioId, string tipoElemento); } }
Chapter02/DllImport/Program.cs
wagnerhsu/packt-.NET-Core-2.0-By-Example
11
7058309
<filename>Chapter02/DllImport/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace DllImport { class Program { [DllImport(@"Dll\ExampleDLL.dll")] static extern int Multiply...
StrainVisualizer/HeaderToImageConverter.cs
aticie/osu-tools
0
7058310
<gh_stars>0 using System; using System.Globalization; using System.IO; using System.Windows.Data; using System.Windows.Media.Imaging; namespace StrainVisualizer { [ValueConversion(typeof(string), typeof(BitmapImage))] class HeaderToImageConverter : IValueConverter { public static Head...
HandSchool.Core/Views/NavMenuItem.cs
yang-er/HandSchool
28
7058311
using HandSchool.Internals; using System; namespace HandSchool.Models { /// <summary> /// 实现导航菜单的基类。 /// </summary> /// <inheritdoc cref="NotifyPropertyChanged" /> public class NavigationMenuItem : NotifyPropertyChanged { private string title; protected readonly string destType...
tests/RedisBoost.ConsoleBenchmark/Clients/CsredisTestClient.cs
igor-brylin/RedisBoost
54
7058312
using System.Net; using System.Threading.Tasks; using ctstone.Redis; namespace RedisBoost.ConsoleBenchmark.Clients { public class CsredisTestClient: ITestClient { private RedisClientAsync _client; private ctstone.Redis.RedisClient _syncClient; public void Dispose() { if (_client!=null) _client.Dispos...
source/KihonEngine.SampleMaps/Maze/MazeLink.cs
nico65535/Research.KihonEngineRewriteGameLogic
1
7058313
<reponame>nico65535/Research.KihonEngineRewriteGameLogic  namespace KihonEngine.SampleMaps.Maze { internal class MazeLink { public MazeNode From { get; set; } public MazeNode To { get; set; } public MazeLink(MazeNode from, MazeNode to) { From = from; To ...
video/Program.cs
chylex/TweetDuck
165
7058314
<filename>video/Program.cs using System; using System.Globalization; using System.Threading; using System.Windows.Forms; namespace TweetDuck.Video { static class Program { // referenced in VideoPlayer // set by task manager -- public const int CODE_PROCESS_KILLED = 1; public const int CODE_INVALID_ARGS = 2; ...
Web Services and Cloud Technologies/06. Web Service Testing/BugLogger.Repositories.Tests/BugRepositoryTests.cs
elena-andonova/telerik-academy
2
7058315
<gh_stars>1-10 namespace BugLogger.Repositories.Tests { using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure; using System.Data.Entity.Validation; using System.Linq; using System.Transactions; using BugLogger.Data; using BugLogger.Data.Repositories; ...
Game Jam CITM 2022/Assets/Scripts/DrawGizmos.cs
allenbateman/Game-Jam-CITM-2022
0
7058316
<reponame>allenbateman/Game-Jam-CITM-2022<filename>Game Jam CITM 2022/Assets/Scripts/DrawGizmos.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class DrawGizmos : MonoBehaviour { [SerializeField] Color color = new Color (1,0,0,1); [SerializeField] float size = ...
src/eon-lib.core.level-2/Text.RegularExpressions/RegexUtilities.cs
vitalik-mironov/eon-lib
0
7058317
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Eon.Text.RegularExpressions { public static class RegexUtilities { /// <summary> /// Возвращает последовательность всех явно именнованных групп захвата указанного объекта регулярного выражения. /// <para>(под...
Demos/Xdk/DragAndDrop/SharpKit/Global.cs
SharpKit/SharpKit-SDK
12
7058318
using SharpKit.JavaScript; using SharpKit.DotNet.JavaScript; using SharpKit.DotNet.Html; using SharpKit.DotNet.IntelXdk; namespace XdkDemo.DragAndDrop { [JsType(GlobalObject = true, Filename = "../js/demo-draganddrop.js", OrderInFile = 1, PreCode = "//---------Global----------//")] public class Global : HtmlC...
BepuPhysicsExample/BepuPhysicsExample.BepuPhysicsIntegration/Engine/BepuPhysicsProcessor.cs
sierra-zero/XenkoProofOfConcepts
11
7058319
using BepuPhysics.Collidables; using BepuPhysicsExample.BepuPhysicsIntegration.Engine; using System.Collections.Generic; using Stride.Core; using Stride.Core.Diagnostics; using Stride.Core.Mathematics; using Stride.Engine; using Stride.Games; using Stride.Graphics; using Stride.Physics; using Stride.Rendering; namespa...
Creational/BuilderPattern/PdfReport.cs
Divya1384/designpatterns
0
7058320
namespace BuilderPattern { public class PdfReport : ReportBuilder { public override void SetReportContent() { reportObject.ReportContent = "PDF Report Content"; } public override void SetReportFooter() { reportObject.ReportFooter = "PDF Report Fo...
src/Afonsoft.Ranking.Web.Mvc/Areas/App/Controllers/DynamicEntityPropertyValuesController.cs
afonsoft/Ranking
1
7058321
<gh_stars>1-10 using System; using Abp.AspNetCore.Mvc.Authorization; using Abp.DynamicEntityProperties; using Abp.Extensions; using Abp.UI; using Microsoft.AspNetCore.Mvc; using Afonsoft.Ranking.Authorization; using Afonsoft.Ranking.Web.Areas.App.Models.DynamicEntityPropertyValues; using Afonsoft.Ranking.Web.Controlle...
test/ExpressionPowerTools.Serialization.Tests/ParameterSerializerTests.cs
sucrose0413/ExpressionPowerTools
62
7058322
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text.Json; using ExpressionPowerTools.Serialization.Extensions; using ExpressionPowerTools.Serialization.Serializers; using ExpressionPowerTools.Serialization.Tests.TestHelpers; using Xunit; namespace Expressi...
Assets/Scripts/Game/Player/FieldComparer.cs
AbbyTheRat/Ravenfall-Legacy
3
7058323
<reponame>AbbyTheRat/Ravenfall-Legacy using System.Linq; using System.Reflection; public static class FieldComparer { public static bool Same<T>(T itemA, T itemB, params string[] exclude) { var fields = typeof(T).GetFields(BindingFlags.Instance | BindingFlags.Public); foreach (var field in fie...
Models/Popo.cs
angelsilva94/WebApiAuth
1
7058324
// using Microsoft.AspNetCore.Identity.EntityFrameworkCore; // namespace WebApiAuth.Models { // public class Popo : IdentityRole { // public string popo { set; get; } // public Popo (string roleName) : base (roleName) { } // } // }
Fretboard Trainer/Fretboard Trainer/ViewModels/HomeViewModel.cs
seamuswin/FretboardTrainer
1
7058325
<gh_stars>1-10 using Fretboard_Trainer.Models; using System; using System.Collections.ObjectModel; using System.Diagnostics; using System.Threading.Tasks; using Xamarin.Forms; namespace Fretboard_Trainer.ViewModels { public class HomeViewModel : BaseViewModel { public ObservableCollection<Instrument> ...
Common/Converters/IntToDoubleTwoWayConverter.cs
marcusts/Com.MarcusTS.SharedForms
0
7058327
<filename>Common/Converters/IntToDoubleTwoWayConverter.cs // Copyright (c) 2019 <NAME>, Inc. <<EMAIL>> // // This file, IntToDoubleTwoWayConverter.cs, is a part of a program called AccountViewMobile. // // AccountViewMobile is free software: you can redistribute it and/or modify // it under the terms of the GNU Gener...
Assets/ComponentTests/FamilyTest14.cs
kubpica/AtreeboosterDI
12
7058328
<reponame>kubpica/AtreeboosterDI<gh_stars>10-100 using UnityEngine; public class FamilyTest14 : MonoBehaviourExtended, ITest { [FamilyComponent(-999, Offset = 999, SkipItself = true)] // Offset 999 makes search start-point null which makes -999 have no effect and starts searching for Inventory from scenes roots (...
NPCs/Bosses/Fiends/WaterFiendKraken.cs
Zeodexic/tsorcRevamp
4
7058330
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace tsorcRevamp.NPCs.Bosses.Fiends { [AutoloadBossHead] class WaterFiendKraken : ModNPC { public override void SetDefaults() {...
com.Github.Haseoo.BMMS.Business/DTOs/OperationDTOs/CompanyOperationDto.cs
Haseoo/Building-Material-Management-System
1
7058331
<filename>com.Github.Haseoo.BMMS.Business/DTOs/OperationDTOs/CompanyOperationDto.cs using System.Collections.Generic; namespace com.Github.Haseoo.BMMS.Business.DTOs.OperationDTOs { public sealed class CompanyOperationDto { private CompanyOperationDto() { } public string Name {...
RideSharing/RideSharing/Services/Vehicles/Models/VehicleVehicleTypeServiceModel.cs
MiroslavChobanov/RideSharing
0
7058333
<gh_stars>0 namespace RideSharing.Services.Vehicles.Models { public class VehicleVehicleTypeServiceModel { public int Id { get; init; } public string Type { get; init; } } }
ArsAffiliate.Persistence/Intefaces/IRepository.cs
LuisEduardoFrias/Back-End
1
7058334
<reponame>LuisEduardoFrias/Back-End using System.Linq; using System.Threading.Tasks; namespace ArsAffiliate.Persistence.Intefaces { public interface IRepository<T> where T : class { IQueryable<T> Show(); Task<bool> Create(T entity); Task<bool> Update(T entity); } }
CodeSearcher.Index/Exporter/ResultExporter.cs
jwupf/code-searcher
8
7058335
using System.IO; using CodeSearcher.Interfaces; namespace CodeSearcher.BusinessLogic.Exporter { internal sealed class ResultFileExporter : IResultExporter { private readonly StreamWriter m_ExportWriter; public ResultFileExporter(StreamWriter exportWriter) { m_ExportWriter ...
HttpPrimer/HttpPrimer/Controllers/HomeController.cs
DPLSSE/HttpPrimer
0
7058336
<reponame>DPLSSE/HttpPrimer using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using HttpPrimer.Models; namespace HttpPrimer.Controllers { public class HomeController : Contr...
src/SysCommand/ConsoleApp/Verbose.cs
juniorgasparotto/SysCommand
17
7058337
<filename>src/SysCommand/ConsoleApp/Verbose.cs using System; namespace SysCommand.ConsoleApp { [Flags] public enum Verbose { None = 0, All = 1, Info = 2, Success = 4, Critical = 8, Warning = 16, Error = 32, Quiet = 64 } }
src/tests/SFA.DAS.EmployerIncentives.Queries.UnitTests/Account/Handlers/WhenHandlingGetAccountsByVrfCaseStatusQuery.cs
uk-gov-mirror/SkillsFundingAgency.das-employer-incentives
4
7058338
using NUnit.Framework; using SFA.DAS.EmployerIncentives.Data; using SFA.DAS.EmployerIncentives.Queries.Account.GetAccountsWithVrfStatus; using Moq; using AutoFixture; using System.Threading.Tasks; using SFA.DAS.EmployerIncentives.Abstractions.DTOs; using System.Linq; using System.Threading; using FluentAssertions; na...
curso_design_patterns/CursoDesignPatterns/CursoDesignPatterns/DescontoPorCincoItens.cs
deividt/alura_cursos_csharp
0
7058339
<gh_stars>0 namespace CursoDesignPatterns { public class DescontoPorCincoItens :IDesconto { public double Desconta(Orcamento orcamento) { if (orcamento.Itens.Count > 5) { return orcamento.Valor * 0.1; } return Proximo.Desconta(orca...
src/GeolettApi.Web/Controllers/BaseController.cs
kartverket/GeolettAp
0
7058340
<filename>src/GeolettApi.Web/Controllers/BaseController.cs using GeolettApi.Application.Exceptions; using GeolettApi.Application.Services.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.JsonPatch.Exceptions; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; n...
Runtime/YarnExtensions/YarnCommandLibrary.cs
axikita/akitacore
1
7058341
<reponame>axikita/akitacore<filename>Runtime/YarnExtensions/YarnCommandLibrary.cs using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Text.RegularExpressions; using UnityEngine.UI; using Yarn.Unity; //defines commands that can be called directly from yarn scrips. ...
tests/Lynx.Test/FENParserTest.cs
lynx-chess/Lynx
7
7058342
using Lynx.Model; using NUnit.Framework; using CR = Lynx.Model.CastlingRights; namespace Lynx.Test; public class FENParserTest { [Test] public void PieceBitBoards_InitialPosition() { // Arrange // Make sure a previous Fen doesn't change anything const string previuosFen = "rnbqkb...
src/DotNetMockServerClient/DataContracts/Header.cs
calrom-jtejero/dotnet-mockserver-client
6
7058343
// ----------------------------------------------------------------------- // <copyright file="Header.cs" company="Calrom Ltd."> // Under MIT license // </copyright> // ----------------------------------------------------------------------- namespace DotNetMockServerClient.DataContracts { using System.Collections...
Examples/Example1_BlankWindow/MainGame.cs
JTOne123/SharpDL
8
7058345
<reponame>JTOne123/SharpDL using Microsoft.Extensions.Logging; using SharpDL; using SharpDL.Graphics; namespace Example1_BlankWindow { public class MainGame : IGame { private readonly ILogger<MainGame> logger; private IGameEngine engine; private IWindow window; private IRendere...
Assets/Bundles/Path/Examples/Scripts/PathFromObjects.cs
sintefneodroid/Inference
0
7058346
using Bundles.Path.Core.Scripts.Objects; using UnityEngine; namespace Bundles.Path.Examples.Scripts { // Creates a path from an array of transforms and moves along it [RequireComponent(typeof(TrailRenderer))] public class PathFromObjects : MonoBehaviour { public Transform[] waypoints; public float spee...
Src/CoSales/trunk/CoSales.Tests/ProductUnitTest.cs
imwyw/.net
15
7058347
using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using CoSales.Model.PO; using CoSales.BLL; namespace CoSales.Tests { /// <summary> /// ProductUnitTest 的摘要说明 /// </summary> [TestClass] public class ProductUnitTest { ...
DevAudit.AuditLibrary/Servers/HttpdServer.cs
nikk1e/DevAudit
1
7058348
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; using Alpheus; namespace DevAudit.AuditLibrary { public class HttpdServer : ApplicationServer ...
src/Teaching.Partner.WpfApp/PreviewPortraitWindow.xaml.cs
librame/teaching
0
7058349
using System.Windows; using System.Windows.Media.Imaging; namespace Teaching.Partner.WpfApp { /// <summary> /// PreviewPortraitWindow.xaml 的交互逻辑 /// </summary> public partial class PreviewPortraitWindow : Window { public PreviewPortraitWindow(StudentOptions? options) { ...
src/SFA.DAS.SharedOuterApi/Interfaces/IGetPagedApiRequest.cs
uk-gov-mirror/SkillsFundingAgency.das-apim-endpoints
4
7058350
<gh_stars>1-10 using System.Text.Json.Serialization; namespace SFA.DAS.SharedOuterApi.Interfaces { public interface IGetPagedApiRequest : IBaseApiRequest { [JsonIgnore] string GetPagedUrl { get; } [JsonIgnore] int PageNumber { get; } [JsonIgnore] int PageSize { g...
DSS/DSS.Lucene/DSS.Lucene.Indexing/Services/Interface/ILuceneIndexService.cs
emir01/document-search-system
0
7058351
using DSS.Lucene.Common.Analyzers; using DSS.Lucene.Common.Directories; using DSS.Lucene.Common.Entities; using Lucene.Net.Analysis; using Lucene.Net.Store; namespace DSS.Lucene.Indexing.Services.Interface { /// <summary> /// Describes a basic indexing service used to index documents stored in objects with ty...
RT.Lingo/TranslationForm.cs
Emik03/RT.Util
1
7058353
using System; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.Linq; using System.Reflection; using System.Windows.Forms; using RT.Util.Controls; using RT.Util.ExtensionMethods; using RT.Util.Forms; namespace RT.Lingo { /// <summary>Provides a GUI for the user to ed...
src/Phnx.Tests/Collections/Extensions/ListExtensionsTests.cs
MarkSFrancis/marksfrancis
1
7058354
<reponame>MarkSFrancis/marksfrancis using NUnit.Framework; using System; using System.Collections.Generic; namespace Phnx.Collections.Tests.Extensions { public class ListExtensionsTests { [Test] public void InsertList_WhenSourceIsNull_ThrowsArgumentNullException() { List<in...
CLIENT/DRONAI/Assets/Script/AI/Procedural/PlacementHelper.cs
LINEARJUN/DRONAI
2
7058356
using System; using System.Collections.Generic; using UnityEngine; namespace Dronai.Procedural { public static class PlacementHelper { public static List<Direction> FindNeighbour(Vector3Int position, ICollection<Vector3Int> collection) { List<Direction> neighbourDirections = new Li...
WPF Utilities/Converters/DualConverter.cs
kmclarnon/WPFUtilities
0
7058357
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; using WPFUtilities.Converters.Base; namespace WPFUtilities.Converters { /// <summary> /// Provides a markup extension that allows chaining two value converters togethe...
Assets/NRSDK/Demos/HandTracking/Scripts/HandJointFollowTarget.cs
NoxDecima/MR-Dashboard
0
7058358
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace NRKernal.NRExamples { public class HandJointFollowTarget : MonoBehaviour { public HandEnum handEnum; public HandJointID handJoint; public HandGesture activeByHandGesture = HandGesture.Non...
WhatMP4Converter/Core/AssHelper.cs
uni2tw/WhatMP4Converter
0
7058359
<reponame>uni2tw/WhatMP4Converter using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace WhatMP4Converter.Core { public class SrtLine : ICloneable { public SrtLine() {...
BackEnd-API-Project/API-Project/Controller/LoginController.cs
alectroat/ReactAdmin
0
7058360
using API_Project.Abstract; using API_Project.Concrete; using API_Project.DAL; using API_Project.Infrastructure; using API_Project.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; namespace API_Project.Controller { public class LoginController : A...
StaytusDaemon/ApiConstants.cs
trinitrotoluene/StaytusDaemon
0
7058361
namespace StaytusDaemon { public static class ApiConstants { public static readonly string SetStatusEndpoint = "/services/set_status"; public static readonly string GetStatusEndpoint = "/services/info"; public static readonly Permalinks Permalinks = new Permalinks(); } }
backend/.net core-be/Pygma/src/Pygma.Users/ViewModels/Responses/Users/UserVm.cs
CodeExcavator/project-pygma
0
7058362
<filename>backend/.net core-be/Pygma/src/Pygma.Users/ViewModels/Responses/Users/UserVm.cs using System; namespace Pygma.Users.ViewModels.Responses.Users { public class UserVm { public int Id { get; set; } public DateTime CreatedAt { get; set; } public DateTime? UpdatedAt { ge...
LiteDB.Shell/Commands/Close.cs
GreatMork/blackstore
0
7058363
<reponame>GreatMork/blackstore using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace LiteDB.Shell.Commands { internal class Close : ConsoleCommand { public override bool IsCommand(StringScanner s) { return s.Sca...
src/DataHub.OperationalDataStore.Reference/UtilityBeneficiaryService.cs
ElevateData/OpenTemenos
0
7058364
<gh_stars>0 //---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.14.5.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- #nullable enable using Shared.Models; #pragma warning disable 108 // Disable "CS0108 '{de...
libzeta/Shading/ShaderProgramHandle.cs
SplittyDev/Zeta
0
7058365
<reponame>SplittyDev/Zeta using System; using OpenTK.Graphics.OpenGL4; namespace libzeta { /// <summary> /// Shader program handle. /// </summary> public sealed class ShaderProgramHandle : IDisposable { /// <summary> /// The previous shader program. /// </summary>...
src/Proto.Cluster/Partition/PartitionPlacementActor.cs
Damian-P/protoactor-dotnet
0
7058366
<filename>src/Proto.Cluster/Partition/PartitionPlacementActor.cs // ----------------------------------------------------------------------- // <copyright file="PartitionPlacementActor.cs" company="Asynkron AB"> // Copyright (C) 2015-2020 Asynkron AB All rights reserved // </copyright> // --------------------------...
myTests/MathHelper_MaxShould.cs
joachimharms/math-master-joachim
0
7058368
<gh_stars>0 using System; using Xunit; using myLib; namespace myTests { public class MaxHelper_MaxShould { private readonly MathHelper _mathHelper; public MaxHelper_MaxShould() { _mathHelper = new MathHelper(); } [Theory] [InlineDataAttribute(89,89, ...
Sultanlar/Sultanlar.UI/frmINTERNETiadelerdetayfiyat.Designer.cs
dogukanalan/Sultanlar
0
7058369
<filename>Sultanlar/Sultanlar.UI/frmINTERNETiadelerdetayfiyat.Designer.cs namespace Sultanlar.UI { partial class frmINTERNETiadelerdetayfiyat { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <...
Code/Main/AdvancedModelSelection.cs
alsa64/cupscale
0
7058370
using System; using System.IO; using Cupscale.IO; using Cupscale.UI; namespace Cupscale.Main { internal class AdvancedModelSelection { // Models public static string e1m1; public static string e1m2; public static string e2m1; public static string e2m2; public...
EasyML/Models/Mapper.cs
yeyopepe/EasyML
0
7058371
<gh_stars>0 using Microsoft.ML.Data; namespace EasyML.Models { internal static class Mapper { public static Trainer GetTrainerInfo(this RegressionMetrics metrics, string name, double durationInSeconds) { return new Trainer { Name = name, TrainingDurationInSeconds = durationInSeconds, AbsoluteE...
Controllers/ProductsController.cs
PetkoBorisov/EcommerceMVC
0
7058372
using EcommerceMVC.Data; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace EcommerceMVC.Controllers { public class ProductsController : Controller { public StoreDbContext _context; public ProductsController(StoreDbContext context) { this._contex...
src/BloomExe/Publish/ConversionProgress.Designer.cs
phillip-hopper/BloomDesktop
2
7058373
namespace GeckofxHtmlToPdf { partial class ConversionProgress { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed res...
src/Stripe.net/Entities/_interfaces/IExternalAccount.cs
matthewling-stripe/stripe-dotnet
557
7058374
<reponame>matthewling-stripe/stripe-dotnet<filename>src/Stripe.net/Entities/_interfaces/IExternalAccount.cs namespace Stripe { /// <summary> /// Resources that implement this interface can be used as external accounts, i.e. they can /// be attached to a Stripe account to receive payouts. /// <para>Possi...
Server/Dtos/BrandAddOrUpdateResponseDto.cs
QuinntyneBrown/future
0
7058375
<filename>Server/Dtos/BrandAddOrUpdateResponseDto.cs using Chloe.Server.Models; namespace Chloe.Server.Dtos { public class BrandAddOrUpdateResponseDto: BrandDto { public BrandAddOrUpdateResponseDto(Brand entity) { } public BrandAddOrUpdateResponseDto() { } ...
Src/Dev/Khooversoft.Telemetry/Extension/EventDataExtensions.cs
khoover768/Toolbox
1
7058376
<gh_stars>1-10 // Copyright (c) KhooverSoft. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Khooversoft.Telemetry.Schemas; using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Globaliz...
src/symcore/src/query/bullet.cs
0xCM/z0
0
7058377
//----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root; ...
10-Code/SevenTiny.Cloud.MultiTenantPlatform.Core/Enum/ServiceMethod.cs
PayHard/SevenTiny.Cloud.MultiTenantPlatform
0
7058378
namespace SevenTiny.Cloud.MultiTenantPlatform.Core.Enum { /// <summary> /// 服务方法 /// </summary> public enum ServiceMethod { Get = 1, Post = 2, Put = 3, Delete = 4 } }
CarAdverts.Core/Exceptions/NotFoundException.cs
fapaydin/CarAdverts
0
7058379
<filename>CarAdverts.Core/Exceptions/NotFoundException.cs using System; using System.Collections.Generic; using System.Text; namespace CarAdverts.Core.Exceptions { public class NotFoundException :Exception { public NotFoundException(string name, object key) :base($"Entity \"{name}\" ({key}...
DistributedFileStorage/DfsSettings.cs
mustaddon/DistributedFileStorage
1
7058380
using System; using System.IO; namespace DistributedFileStorage { public class DfsSettings { public Func<string> IdGenerator { get; set; } = static () => Guid.NewGuid().ToString("n"); public Func<string, string> PathBuilder { get; set; } = static (fileId) => Path.GetFu...
Hto3.StringHelpers.Test/Coalesce.cs
matteoventuri7/Hto3.StringHelpers
3
7058381
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hto3.StringHelpers.Test { [TestClass] public class Coalesce { [TestMethod] public void NormalUse() { ...
src/src/OnceMi.AspNetCore.OSS/SDK/Minio/Credentials/AssumeRoleProvider.cs
gudao/OnceMi.AspNetCore.OSS
31
7058382
/* * MinIO .NET Library for Amazon S3 Compatible Cloud Storage, * (C) 2021 MinIO, Inc. * * 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...
src/Wally.CleanArchitecture.MicroService.Infrastructure.DI.Microsoft/Extensions/HealthChecksExtensions.cs
bwalocha/Wally.CleanArchitecture
1
7058383
<filename>src/Wally.CleanArchitecture.MicroService.Infrastructure.DI.Microsoft/Extensions/HealthChecksExtensions.cs using System; using System.Threading; using System.Threading.Tasks; using HealthChecks.UI.Client; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsof...
Source/Window/LayerAttributesForm/FillSymbolPage.Designer.cs
GIS-design-application/DEETU
2
7058384
 namespace DEETU.Source.Window { partial class FillSymbolPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed res...
TokenTool.Core/TokenRetrieverMsalObo.cs
bojordan/TokenTool
0
7058385
<reponame>bojordan/TokenTool<gh_stars>0 using Microsoft.Identity.Client; namespace TokenTool.Core { public static class TokenRetrieverMsalObo { public static string GetToken( string[] scopes, string clientId, CertStoreLocation storeLocation, st...
serialports/Program.cs
armandjordaan/serialports
0
7058386
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO.Ports; namespace serialports { class Program { static void Main(string[] args) { string[] ports = SerialPort.GetPortNames(); Console.Writ...
Org.BouncyCastle.Asn1.X9/DHDomainParameters.cs
smdx24/CPI-Source-Code
8
7058387
<filename>Org.BouncyCastle.Asn1.X9/DHDomainParameters.cs // DHDomainParameters using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Utilities; using System; using System.Collections; public class DHDomainParameters : Asn1Encodable { private readonly DerInteger p; private readonly DerI...
src/FlickrToCloud.Clouds/OneDrive/Requests/CopyFileRequest.cs
havlicekp/flickr-to-cloud
0
7058388
<gh_stars>0 using Newtonsoft.Json; namespace FlickrToCloud.Clouds.OneDrive.Requests { internal class CopyFileRequest : BaseRequest { [JsonProperty("parentReference")] public ParentReference ParentReference { get; set; } [JsonProperty("name")] public string Name { get; set; } ...
Views/FlexFieldDatabase/ObjectFormDialogsButtons.cshtml
crimsonstrife/GoNorth
0
7058389
@using Microsoft.AspNetCore.Mvc.Localization @model IViewLocalizer <!-- Delete Object Dialog --> <div class="modal fade" role="dialog" data-bind="modal: showConfirmObjectDeleteDialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <b...
AIR.Web/Views/Home/Index.cshtml
tblion/appiconsresizer
1
7058391
@using Syncfusion.JavaScript @using Syncfusion.MVC.EJ @{ Layout = null; } <!DOCTYPE html> <html> <head> <!-- Scripts --> <script src="/Scripts/jquery-2.1.4.min.js"></script> <script src="/Scripts/jquery.easing-1.3.min.js"></script> <script src="/Scripts/jquery.globalize.min.js"></script> <scr...
Assets/Mesh Tilesets/Editor/TilesetRendererEditor.cs
studentutu/unity-mesh-tilesets
50
7058392
using System.Collections.Generic; using System.Linq; using MeshTilesets; using UnityEditor; using UnityEditor.ProBuilder; using UnityEngine; using UnityEngine.ProBuilder; namespace MeshTilesetsEditor { [CustomEditor(typeof(TilesetRenderer))] public class TilesetRendererEditor : Editor { TilesetRen...
src/DiabloSharp/Models/CharacterSkillId.cs
leardev/DiabloSharp
8
7058393
namespace DiabloSharp.Models { public class CharacterSkillId : BattleNetId { public CharacterSkillId(string slug, string id) : base(slug, id) { } } }
Multilinks.Core/Services/HubConnectionService.cs
andym-2iV/MultilinksCore
0
7058394
using Microsoft.EntityFrameworkCore; using Multilinks.Core.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Multilinks.Core.Services { public class HubConnectionService : IHubConnectionService { private readonly Co...
eDriven.Playground/Unity/Assets/eDriven/Demo/_shared/Code/Tweens/FadeIn2.cs
dkozar/edriven-gui
42
7058395
<reponame>dkozar/edriven-gui using eDriven.Animation; using eDriven.Animation.Easing; namespace Assets.eDriven.Demo.Tweens { public class FadeIn2 : Parallel { private static object StartValueReaderFunc(object target) { return (float)target.GetType().GetProperty("Y").GetValue(target...