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
CP77.CR2W/Types/cp77/IngredientListItemLogicController.cs
MasterScott/CP77Tools
1
7054148
<reponame>MasterScott/CP77Tools using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class IngredientListItemLogicController : inkButtonController { [Ordinal(0)] [RED("TooltipsManager")] public wCHandle<gameuiToo...
08356_ACW2+Sound/GameEngine2/Components/ComponentSphereCollider.cs
Lentono/GamesArchitecture
1
7054149
using OpenTK; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GameEngine.Components { //<NAME>, <NAME> public class ComponentSphereCollider : IComponent { public ComponentTypes ComponentType { get => ComponentTypes.COMPONENT_SPHER...
src/DataAccess/Model/QuestionnaireContext.cs
AlekhineFan/szakdolgozat
0
7054150
using System; using Microsoft.EntityFrameworkCore; namespace DataAccess.Model { public class QuestionnaireContext : DbContext { public DbSet<Admin> Admins { get; set; } public DbSet<Question> Questions { get; set; } public DbSet<QuestionAnswer> QuestionAnswers { get; set; } pub...
Sources/GeologicalLandforms/Patches/RimWorld_MapGenerator.cs
m00nl1ght-dev/GeologicalLandforms
2
7054151
using GeologicalLandforms.GraphEditor; using HarmonyLib; using Verse; namespace GeologicalLandforms.Patches; [HarmonyPatch(typeof(MapGenerator))] internal static class RimWorld_MapGenerator { [HarmonyPatch(nameof(MapGenerator.GenerateContentsIntoMap))] [HarmonyPriority(Priority.First)] private static void...
src/Melville.WpfControls/TimePickers/TimePicker.cs
JohnN6TSM/Melville
0
7054152
using System; using System.IO; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; namespace Melville.WpfControls.TimePickers; public class TimePicker : TextBox { public string TimeFormat { get { return (string)GetValue(TimeFormatProperty); } set { SetValue(TimeFor...
SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Views/Shared/Layouts/_Layout.cshtml
jonmcquade/csharp-snippets
2
7054153
<reponame>jonmcquade/csharp-snippets @{ Layout = "_Document"; Html.RenderWidget("body_start_html_tag_after"); Html.RenderPartial("_Notifications"); var hasLeftCol = IsSectionDefined("left"); var hasRightCol = IsSectionDefined("right"); var hideLeftCol = ViewBag.HideLeftCol == true; var hideRightCol = ViewBag....
algs4net/Collections/Bag.cs
wilson0x4d/algs4net
0
7054154
using System; using System.Collections.Generic; namespace algs4net.Collections { public class Bag<T> : CollectionBase<T>, IBag<T> where T : IComparable<T> { protected readonly LinkedList<T> _set = new LinkedList<T>(); public override int Count => _set.Count; p...
EpsilonEngine/Dont Melt/Components/CheckPoint.cs
kgb7711/epsilonengine
1
7054155
namespace DontMelt { public class Checkpoint : Component { public Sprite Selected; private Sprite Normal; private SpriteRenderer sr; private RG_Collider RGC; private void Start() { RGC = GetComponent<RG_Collider>(); sr = GetComponent<Spri...
LiveHAPI.Infrastructure/Repository/ClientEncounterRepository.cs
palladiumkenya/livehapi
0
7054156
<filename>LiveHAPI.Infrastructure/Repository/ClientEncounterRepository.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using LiveHAPI.Core.Interfaces.Repository; using LiveHAPI.Core.Model.Encounters; using LiveHAPI.Core.Model.Studio; using LiveHAPI.Shared.Custom; using Microsof...
ImageServer/Web/Common/Data/DataSource/WorkQueueDataSource.cs
econmed/ImageServer20
1
7054157
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
Sigil/Emit.Break.cs
cameronism/Sigil
810
7054158
using Sigil.Impl; using System.Reflection.Emit; namespace Sigil { public partial class Emit<DelegateType> { /// <summary> /// Emits a break instruction for use with a debugger. /// </summary> public Emit<DelegateType> Break() { UpdateState(OpCodes.Break, Wra...
src/Bakana.UnitTests/Services/Batches/BatchOptionServiceTests.cs
BacanCI/Bacan
0
7054159
using System.Net; using System.Threading.Tasks; using Bakana.Core.Entities; using Bakana.Core.Repositories; using Bakana.ServiceInterface.Batches; using Bakana.ServiceModels.Batches; using FluentAssertions; using NSubstitute; using NSubstitute.ReturnsExtensions; using NUnit.Framework; using ServiceStack; using BatchOpt...
GunboundImageFix/Utils/FileNameFixer.cs
hakanaku2009/Openbound
0
7054160
/* * Copyright (C) 2020, <NAME>. <<EMAIL>> * This file is part of OpenBound. * OpenBound 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, or(at your option) any later versio...
Common/TradingCompany.Shared/Exception/CustomException.cs
gaganpa2020/Trading-App-Backend
0
7054161
<filename>Common/TradingCompany.Shared/Exception/CustomException.cs<gh_stars>0 namespace TradingCompany.Shared { using System; public class CustomException : Exception { public CustomException(string Message) { this.Message = Message; } public CustomException(string Message, string ErrorCode) { th...
QCV/ShowQueryForm.Designer.cs
zpc930/qcv
0
7054162
<filename>QCV/ShowQueryForm.Designer.cs namespace QCV { partial class ShowQueryForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
AZALDevToolsServer/Shared.AnZwDev.ALTools/Extensions/List_SyntaxNode_Extensions.cs
anzwdev/az-al-dev-tools-server
6
7054163
<filename>AZALDevToolsServer/Shared.AnZwDev.ALTools/Extensions/List_SyntaxNode_Extensions.cs using AnZwDev.ALTools.ALSymbols.Internal; using AnZwDev.ALTools.CodeTransformations; using Microsoft.Dynamics.Nav.CodeAnalysis; using Microsoft.Dynamics.Nav.CodeAnalysis.Syntax; using System; using System.Collections.Generic; ...
Finance/Payments/Payments/Application/PaymentDto.cs
marinasundstrom/YourCompany
1
7054164
<reponame>marinasundstrom/YourCompany<filename>Finance/Payments/Payments/Application/PaymentDto.cs using YourBrand.Payments.Domain.Enums; namespace YourBrand.Payments.Application; public record PaymentDto(string? Id, int InvoiceId, PaymentStatus Status, string Currency, decimal Amount, DateTime DueDate, PaymentM...
cqrs-event-sourcing/Bar.Tests/DbConnectionTests.cs
sharmasourabh/ddd
12
7054165
using Npgsql; using System.Threading.Tasks; using Xunit; namespace Bar.Tests { public class DbConnectionTests { [Fact] public async Task TestRelationalConnection() { using (var connection = new NpgsqlConnection(SliceFixture.RelationalDbConnectionString)) { ...
src/Libraries/FaraMedia.Services/Installation/Systematic/ActivityInstaller.cs
m-sadegh-sh/FaraMedia
0
7054166
<reponame>m-sadegh-sh/FaraMedia namespace FaraMedia.Services.Installation.Systematic { using FaraMedia.Data.Schemas.Systematic; using FaraMedia.Services.Installation.Abstraction; using NHibernate; public sealed class ActivityInstaller : ResourceInstallerBase { public override void InstallReso...
AVG/Assets/Naninovel/Runtime/Audio/IAudioManager.cs
286studio/Sim286
0
7054167
// Copyright 2017-2020 Elringus (<NAME>). All Rights Reserved. using System.Collections.Generic; using System.Threading; using UniRx.Async; using UnityEngine.Audio; namespace Naninovel { /// <summary> /// Implementation is able to manage the audio: SFX, BGM and voice. /// </summary> publi...
src/api gateways/NSE.BFF.Compras/Services/PagamentoService.cs
guilherme-stefano/AspNetCoreEnterpriseExample
3
7054168
using System; using System.Net.Http; using Microsoft.Extensions.Options; using NSE.Bff.Compras.Extensions; namespace NSE.Bff.Compras.Services { public interface IPagamentoService { } public class PagamentoService : Service, IPagamentoService { private readonly HttpClient _httpClient; ...
Assets/Klak/Midi/NoteInput.cs
jlankitus/DaddysPlaygroundMidi
44
7054169
// // MidiKlak - MIDI extension for Klak // // Copyright (C) 2016 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // ...
Mozlite.Extensions.Extensions/Security/Stores/RoleBase.cs
Mozlite/aspnetcore
8
7054170
namespace Mozlite.Extensions.Extensions.Security.Stores { /// <summary> /// 用户组基类。 /// </summary> public abstract class RoleBase : Mozlite.Extensions.Security.Stores.RoleBase, ISitable { /// <summary> /// 获取当前站Id。 /// </summary> public int SiteId { get; set; } } ...
Source/Xamarin Studio Microframework Add-in/Add-In Project/Debugger/LibUsbStream.cs
webmonger/Monkey.Robotics
1
7054171
<gh_stars>1-10 // // LibUsbStream.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2014 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softw...
Release/Silverlight3/Source/Controls.Testing.Theming/ImplicitStyleManager/UserControls/ContentUserControl.xaml.cs
incoplex/SilverlightToolkit
38
7054172
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using System; using System.Windows.Controls; namespace System.Windows.Controls.Testing { /// ...
dsis/shared/src/Core.Ioc.Api/src/TypeInstanciableAttribute.cs
jonnyzzz/phd-project
1
7054173
using System; using JetBrains.Annotations; namespace EugenePetrenko.Shared.Core.Ioc.Api { /// <summary> /// Marker attribute for types that can be instanciated using /// <see cref="ITypeInstantiator"/> intefrace /// </summary> [AttributeUsage(AttributeTargets.Class)] [MeansImplicitUse] public ...
PassKitHelper/Extensions/PassBuilderCompanionAppBuilderExtensions.cs
justdmitry/PassKitHelper
9
7054174
<reponame>justdmitry/PassKitHelper namespace PassKitHelper { public static class PassBuilderCompanionAppBuilderExtensions { /// <summary> /// Optional. Custom information for companion apps. This data is not displayed to the user. /// </summary> /// <remarks> /// For exa...
Auth/Auth.Web/Views/Client/Details.cshtml
twb0223/authserver
1
7054175
<filename>Auth/Auth.Web/Views/Client/Details.cshtml<gh_stars>1-10 @model Auth.Model.ClientInfo @{ ViewBag.Title = "认证记录明细"; var str = ""; } <div class="topinformationbox"> <a>认证记录明细</a> </div> <div style="height: 5px;"> </div> <div align="center"> <table class="tb tbbordertopleft" width="100%" bor...
src/LinCms.Web/Models/v1/MessageBoards/MessageBoardDto.cs
kiyeer/lin-cms-dotnetcore
1
7054176
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LinCms.Zero.Domain; namespace LinCms.Web.Models.v1.MessageBoards { public class MessageBoardDto:EntityDto<Guid> { public string Text { get; set; } public string Ip { get; set; } publ...
CardsAndSymbols/Extensions.cs
eescardo/CardsAndSymbols
0
7054177
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Markup; using System.Windows.Media; using System.Windows.Med...
C#-WebDeveloper-3.0/Advanced-C#-May-2016/Exercises/StacksAndQueues/Stacks-ReverseNumbers/ReverseNumbers.cs
sholev/SoftUni
1
7054178
namespace Stacks { using System; using System.Collections.Generic; using System.Linq; class ReverseNumbers { static void Main(string[] args) { Stack<int> numbers = new Stack<int>(); Console.ReadLine() .Split(" ".ToCharArray(), StringSplitOpt...
AuthenticationOIDC/src/IdentityServer4.IDP/Config.cs
sansindia85/SecuringNet6
0
7054179
<gh_stars>0 // Copyright (c) <NAME> & <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Models; using System.Collections.Generic; namespace IdentityServer4.IDP { public static class Config { ...
RazorViewCompress/Properties/AssemblyInfo.cs
helloworld89/RazorViewCompress
0
7054181
<filename>RazorViewCompress/Properties/AssemblyInfo.cs<gh_stars>0 using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("RazorViewCompress")] [assembly: AssemblyDescription(@" Use to remove white spaces in razor.Work With MVC3 above...
Areas/Admin/Views/AdministrateApp/Index.cshtml
hergiz/service-genie
0
7054182
@model Ser.Areas.Admin.Models.AdministrateApp.IndexBasicAppVM @{ ViewBag.Title = Ress.Ress.TitleBasicAppSettings; TempData["Err"] = Ress.Ress.CachInfo; } @section Action { @Html.ActionLink(Ress.Ress.AppEditCompanyDetails, "EditCompanyDetails", null, new { @class = "btn btn-sm btn-default" }) @Html.ActionLink(R...
RestaurantAPI/RestaurantAPI/Migrations/20210421002616_Initial Create.cs
azamatbekmurat/restaurant-app
0
7054183
<filename>RestaurantAPI/RestaurantAPI/Migrations/20210421002616_Initial Create.cs<gh_stars>0 using Microsoft.EntityFrameworkCore.Migrations; namespace RestaurantAPI.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { ...
CH13/CH13_CodeRefactoring/ProblemCode/Oddball.cs
leonardoheis/Clean-Code-in-C-
41
7054184
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CH13_CodeRefactoring.ProblemCode { public class Oddball { public void DictionaryMethod1(List<int> integers) { } } }
ThirdUnitTestProject/UnitTest1.cs
muhammet-kandemir-95/dmuka2.CS.UnitTest
0
7054185
using System; using Xunit; namespace ThirdUnitTestProject { public class UnitTest1 : dmuka2.CS.UnitTest.BaseUnitTest { [Fact] public void Test1() { Assert.True(dmuka2.CS.UnitTest.IsUnitTest.Check); } } }
Jbpc.DomainModel/Import/Model Elements/IModelRow.cs
JaniceBPC/Common.DomainModel
0
7054186
using System.Data; using Jbpc.Repository; namespace Jbpc.Common.DomainModel.ImportModel { public interface IModelRow<out TRepositoryObject> : IAbstractModelRow where TRepositoryObject : IRepositoryObject { TRepositoryObject ImportedObject { get; } DataRow DataRow { get; } } }
LeetCode.Test/0901-0950/0913-CatAndMouse-Test.cs
BigEggStudy/LeetCode-CS
16
7054188
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LeetCode.Test { [TestClass] public class _0913_CatAndMouse_Test { [TestMethod] public void CatMouseGameTest() { var solution = new _0913_CatAndMouse(); var result = solution.CatMouseGame( ...
extra/pqc/crypto/ntru/NTRUAsymmetricCipherKeyPair.cs
Neuralia/Neuralia.BouncyCastle
1
7054189
<reponame>Neuralia/Neuralia.BouncyCastle<filename>extra/pqc/crypto/ntru/NTRUAsymmetricCipherKeyPair.cs  using Org.BouncyCastle.Crypto; namespace Neuralia.BouncyCastle.extra.pqc.crypto.ntru { public class NTRUAsymmetricCipherKeyPair : AsymmetricCipherKeyPair { public NTRUAsymmetricCipherKeyPair(NTRUEncryptionPubli...
tools/Bibim.Toolkit/GFX/ParticleSystemSet.cs
halak/bibim
3
7054190
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Bibim.Asset; using Bibim.Graphics; namespace Bibim.GFX { [ClassID('P', 'S', 'S', 'T')] public sealed class ParticleSystemSet : GameAsset { #region Fields private Dictionary<string, Part...
Assets/Plugins/Externals/I2/Localization/PlayMaker I2/Actions/I2GetCurrentLanguage.cs
pdyxs/UnityProjectStarter
0
7054191
using HutongGames.PlayMaker; namespace I2.Loc { [ActionCategory("I2 Localization")] [Tooltip("Get the localization current Language")] public class I2GetCurrentLanguage : FsmStateAction { [Tooltip("The LocalizationManager.CurrentLanguage")] [UIHint(UIHint.Variable)] public FsmString ...
src/BurgerHub.Api/Infrastructure/Security/Encryption/EncryptionHelper.cs
ffMathy/BurgerHub
0
7054192
using System.Security.Cryptography; using System.Text; using Microsoft.Extensions.Options; namespace BurgerHub.Api.Infrastructure.Security.Encryption; public class EncryptionHelper : IEncryptionHelper { private readonly IOptionsMonitor<EncryptionOptions> _encryptionOptionsMonitor; private const int KeySize ...
PubActiveSubService.Services.SharedProject/IntegrationProcessorsConfigurations.cs
StewartScottRogers/PubActiveSubService
0
7054193
using Microsoft.Extensions.DependencyInjection; using PubActiveSubService.Internals.Interfaces; using PubActiveSubService.Internals.Services; namespace PubActiveSubService { public static class IntegrationProcessorsConfigurations { public static void AddIntegrationServer(this IServiceCollection services) ...
stepik/971/30399/step_1/Program.cs
tshemake/Software-Development
0
7054194
using System; /* * http://pokeliga.com/pictures/sprites/small_art/54.png */ namespace step_1 { class Program { static void Main(string[] args) { Console.WriteLine("Psyduck"); } } }
Unity/Assets/Baum2/Sample/Sample.cs
hadoumune/Baum2
262
7054195
using UnityEngine; using UnityEngine.UI; namespace Baum2.Sample { public class Sample : MonoBehaviour { [SerializeField] private GameObject uiPrefab = null; private UIRoot ui; private System.Collections.Generic.List<string> listElements = new System.Collections.Generic.List<st...
source/src/Patch/Patch_MissionAgentSpawnLogic.cs
Fellow93/EnhancedBattleTest
0
7054196
<reponame>Fellow93/EnhancedBattleTest using System; using System.Collections.Generic; using System.Reflection; using EnhancedBattleTest.Config; using EnhancedBattleTest.Data.MissionData; using EnhancedBattleTest.Multiplayer.Data.MissionData; using EnhancedBattleTest.SinglePlayer.Data.MissionData; using TaleWorlds.Core...
MahMaterialDragablzMashUp/TextFields.xaml.cs
3nGercog/MaterialDesignInXamlToolkit
0
7054197
<filename>MahMaterialDragablzMashUp/TextFields.xaml.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; ...
backend/api/Areas/Project/Models/Dispose/ProjectPropertyModel.cs
agalbrai/PIMS
20
7054198
<filename>backend/api/Areas/Project/Models/Dispose/ProjectPropertyModel.cs using Pims.Dal.Entities; namespace Pims.Api.Areas.Project.Models.Dispose { /// <summary> /// ProjectPropertyModel class, provides a model to represent a project property. /// </summary> public class ProjectPropertyModel : Api.Mo...
VeraDemoNet/Models/BlabSearchResultViewModel.cs
yivu/veracode-security-demo
1
7054199
using System; namespace VeraDemoNet.Models { public class BlabSearchResultViewModel { public string Content { get; set; } public string Blabber { get; set; } public DateTime BlabDate { get; set; } public string BlabDateString => BlabDate.ToString("MMM d, yyyy"); } }
LearnDraw.Core/Models/AppServiceContract.cs
HHChaos/Drawing-Studio
34
7054200
using System; using System.Collections.Generic; using System.Text; namespace LearnDraw.Core.Models { public class AppServiceContract { public const string Exception = "Exception"; public const string RequestPredict = "Data"; public const string Prediction = "Exception"; public ...
src/Bruno/Compiler/Ast/BrunoExpression.cs
csim/BrunoLang
1
7054201
namespace Bruno.Compiler.Ast { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using Bruno.Compiler.Ast.Transform; using Bruno.Interpreter; using static BrunoExpressionHelper; public interface IBrunoOperat...
ODataLib/EdmLib/Silverlight/Microsoft/Data/Edm/Library/Expressions/EdmEntitySetReferenceExpression.cs
BrightstarDB/odata-sparql
4
7054202
// Copyright 2011 Microsoft Corporation // // 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 applicabl...
Grillbot/Views/Internal/Memory.cshtml
LowwinCZ/GrillBot
0
7054203
@model Grillbot.Models.Internal.MemoryStatusViewModel; @{ ViewData["Title"] = "Správa paměti"; } <div class="mt-2 mr-3 ml-3"> <div class="d-flex justify-content-center"> <div class="card" style="width: 1000px"> <div class="card-body"> <div class="row"> ...
src/AzureCompiler.Core/HandlerInfo.cs
Acumatica/AzurePackageCompiler
0
7054204
using System; namespace AzureCompiler.Core { [Obsolete("This class transfered from PX.WebConfig")] public class HandlerInfo { public const String VerbAll = "*"; public String Name { get; set; } public String Path { get; set; } public String Verb { get; set; } publi...
ExodusExport/Scripts/Editor/Exporter/JsonPrefabData.cs
AldeRoberge/ProjectExodus
288
7054205
using UnityEngine; using UnityEditor; using System.Collections.Generic; namespace SceneExport{ [System.Serializable] public class JsonPrefabData: IFastJsonValue{ public ResId id = ResId.invalid; public string name; public string path; public string guid; //public string prefabType; public string pref...
BotBits/Packages/Login/Client/VersionLoginClient.cs
ajosg/BotBits
18
7054207
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; using PlayerIOClient; namespace BotBits { public class VersionLoginClient : ILoginClient { private readonly LoginClient _loginClient; private con...
TMDB.Core/API/V3/Models/Configuration/DepartmentJobsConfigurationResponse.cs
JeremiSharkboy/TMDb.Client
0
7054208
<filename>TMDB.Core/API/V3/Models/Configuration/DepartmentJobsConfigurationResponse.cs using Newtonsoft.Json; using System.Collections.Generic; namespace TMDB.Core.Api.V3.Models.Configuration { public class DepartmentJobsConfigurationResponse : TMDbResponse { [JsonProperty("results")] public v...
Core/Piranha/Data/ModelException.cs
BilalHasanKhan/Piranha.vNext
4
7054209
<filename>Core/Piranha/Data/ModelException.cs /* * Copyright (c) 2014-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.vnext * */ using System; using System.Collections.G...
MultiDocking/Controller/Controllers.cs
AlinNereid/MultiDocking
0
7054210
namespace MultiDocking.Controller { static class Controllers { public static string WorkSpacePath = ""; public static readonly RcsbController RcsbController= new RcsbController(); public static readonly RemoveLigandsController RemoveLigandsController = new RemoveLigandsController(); ...
iClient60ForWinRT/SuperMap.WinRT.REST/Networkanalyst/FindClosestFacilitiesParameters.cs
SuperMap/iClient-for-Win8
2
7054211
 using SuperMap.WinRT.Core; using System.Collections.Generic; using SuperMap.WinRT.Utilities; namespace SuperMap.WinRT.REST.NetworkAnalyst { //T只能是Point2D和int类型; /// <summary> /// <para>${REST_ClosestFacilitiesParameters_Title}</para> /// <para>${REST_ClosestFacilitiesParameters_Description}</para>...
App/Common/Card/Kanban.cs
Datasilk/Kandu
44
7054213
using System; using System.Collections.Generic; using Kandu.Core; namespace Kandu.Common.Card { public static class Kanban { public static string RenderCard(IRequest request, Query.Models.Card card, string boardColor = "", string boardName = "") { var useLayout = false; ...
C# Part 1/03.OperatorsAndExpressions/06.FourDigitNumber/Program.cs
TheWayBy/TelerikAcademy
0
7054214
using System; namespace FourDigitNumber { public class Program { public static void Main(string[] args) { int numb = int.Parse(Console.ReadLine()); int a = (numb / 1000) % 10; int b = (numb / 100) % 10; int c = (numb / 10) % 10; int ...
src/HttPlaceholder.Application.Tests/StubExecution/ConditionChecking/XPathConditionCheckerFacts.cs
dukeofharen/httplaceholder
59
7054215
<gh_stars>10-100 using System.Collections.Generic; using HttPlaceholder.Application.Interfaces.Http; using HttPlaceholder.Application.StubExecution.ConditionChecking.Implementations; using HttPlaceholder.Domain; using HttPlaceholder.Domain.Enums; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespac...
Demo/UnityClient/Assets/ChatRoom/Script/UI/UIManager.cs
frank12001/FT-SocketServer
1
7054216
<filename>Demo/UnityClient/Assets/ChatRoom/Script/UI/UIManager.cs<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ChatRoom { public class UIManager : MonoBehaviour { public Register Register; public Login Login; public SelectChatro...
WindowsStress/StressForWindows.cs
Huczu/Stress-for-Windows
9
7054218
<reponame>Huczu/Stress-for-Windows using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Diagnostics; using System.Threading.Tasks; namespace WindowsStress { /** * The aim of this program is to load the cpu to a specific load. It is similar...
Solutions/Argotic.Extensions/Core/iTunes/ITunesExplicitMaterial.cs
HowardvanRooijen/Argotic-1
5
7054219
<filename>Solutions/Argotic.Extensions/Core/iTunes/ITunesExplicitMaterial.cs using System; using Argotic.Common; namespace Argotic.Extensions.Core { /// <summary> /// Represents the explicit language or adult content advisory information of an iTunes podcast. /// </summary> /// <seealso cref="ITunesS...
Assets/Scripts/CharacterSelection/CharactersFadeOut.cs
strebern/TheGameIsALiar
0
7054220
<filename>Assets/Scripts/CharacterSelection/CharactersFadeOut.cs using Game.Dialog; using UnityEngine; namespace Game.CharacterSelection { [DisallowMultipleComponent] public class CharactersFadeOut : MonoBehaviour { public void FadeOut() { foreach (var dialogDisplayer in GetCom...
src/E01D.Base.Api/Coding/Code/Api/E01D/Core/CastingApi.cs
E01D/Base
0
7054221
<gh_stars>0 namespace Root.Coding.Code.Api.E01D.Core { public class CastingApi { public T CastOrThrow<T>(object x) where T:class { if (x == null) return null; var result = x as T; if (result == null) { throw new System.Exception(...
UnityProject/Delight/Assets/Delight/Content/Views/UI/NavigationButton.cs
dungeon2567/Delight
296
7054222
#region Using Statements using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; #endregion namespace Delight { /// <summary> /// Defines a navigation button that is used by List views to navigate between pa...
ContosoAuthApp/Views/Home/Index.cshtml
seekdavidlee/az-customer-rewards-app
0
7054223
@{ ViewData["Title"] = "Home Page"; } <div class="text-center"> @{ bool hasRole = false; if (User.IsInRole(EasyAuthConstants.AgentRoleName)) { hasRole = true; <p>Agent role assigned!</p> } if (User.IsInRole(EasyAuthConstants.SupervisorRoleName)) { hasRole = true; <p>Supervisor role assigned!...
TankLib/STU/Types/STU_2A8E9CEA.cs
Mike111177/OWLib
1
7054225
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x2A8E9CEA)] public class STU_2A8E9CEA : STU_D8E10207 { [STUFieldAttribute(0xB6279693, ReaderType = typeof(InlineInstanceFieldReader))] public STUAnimBlendDriverParam m_B6...
TAlex.WPF.Controls.Tests/Converters/NotEmptyStringToBoolConverterTests.cs
T-Alex/WPFControls
39
7054226
<gh_stars>10-100 using System; using System.Text; using System.Collections.Generic; using System.Linq; using TAlex.WPF.Converters; using NUnit.Framework; namespace TAlex.WPF.Controls.Tests.Converters { [TestFixture] public class NotEmptyStringToBoolConverterTests { protected NotEmptyStringToBoole...
B3Provider/B3Provider/Readers/B3EquityInfoReader.cs
pelife/prototyping
34
7054227
<gh_stars>10-100 #region License /* * B3EquityInfoReader.cs * * The MIT License * * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, ...
ParserObjects/Parsers/Multi/SelectSingleResultParser.cs
Whiteknight/ParserObjects
2
7054228
<reponame>Whiteknight/ParserObjects using System.Collections.Generic; using ParserObjects.Utility; namespace ParserObjects.Parsers.Multi { public class SelectSingleResultParser<TInput, TOutput> : IParser<TInput, TOutput> { private readonly SelectMultiAlternativeFunction<TOutput> _selector; pri...
PhysSound_2.6.0_Beta/Assets/PhysSound/Scripts/Utilities/Range.cs
Barina/PhysSound-Open-Source
0
7054229
<reponame>Barina/PhysSound-Open-Source using UnityEngine; namespace PhysSound { [System.Serializable] public struct Range { /// <summary> /// The minimum value of the range. /// </summary> public float Min; /// <summary> /// The maximum value of the range. ...
MVC.RBAC/Entities/Mapping/EntityPermissionMap.cs
HuZeHua/MVC.RBAC
0
7054230
<filename>MVC.RBAC/Entities/Mapping/EntityPermissionMap.cs using System.Data.Entity.ModelConfiguration; namespace MVC.RBAC.Entities.Mapping { public class EntityPermissionMap : EntityTypeConfiguration<EntityPermission> { public EntityPermissionMap() { this.HasKey(t => new {...
DevExpress.Mvvm/Services/DialogService/IDialogService.cs
DevExpress/DevExpress.Mvvm.Free
193
7054232
using System.Collections.Generic; using System.ComponentModel; using System.Threading.Tasks; namespace DevExpress.Mvvm { public interface IDialogService { [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] UICommand ShowDialog(IEnumerable<UICommand> dialogCommands, string title, string...
NET.Tools/Types/RectangleType.cs
CHiiLD/net-toolkit
1
7054233
<filename>NET.Tools/Types/RectangleType.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NET.Tools { /// <summary> /// Represent a typed rectangle /// </summary> /// <typeparam name="T">Type of rectangle values</typeparam> public struct ...
ePizzaHub.Services/Implementations/CartService.cs
dotnettricks/azure-project
0
7054234
using ePizzaHub.Entities; using ePizzaHub.Repositories.Interfaces; using ePizzaHub.Repositories.Models; using ePizzaHub.Services.Interfaces; using System; using System.Linq; namespace ePizzaHub.Services.Implementations { public class CartService : ICartService { private readonly ICartRepository _cartR...
src/Ninject.Tests/Fakes/Sword.cs
schambers/ninject
1
7054235
using System; namespace Ninject.Tests.Fakes { public class Sword : IWeapon { public string Name { get { return "sword"; } } } }
docudude/Models/KMSData.cs
dotsonjb14/DocuDude
0
7054236
namespace docudude.Models { public class KMSData { public string Region { get; set; } public string CypherText { get; set; } } }
Source/SpecFlowTests/Steps/JsonService/PostSteps.cs
sergiorykov/Nelibur
125
7054237
<reponame>sergiorykov/Nelibur using System; using System.Linq; using Nelibur.ServiceModel.Clients; using SpecFlowTests.Samples.Contracts; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Assist; namespace SpecFlowTests.Steps.JsonService { [Scope(Feature = "Post json actions")] [Binding] public sealed clas...
CommandService/AsyncDataServices/MessageBusSubscriber.cs
6895mahfuzgit/MicroservicesGrpcApp
0
7054238
using CommandService.EventProcessing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using RabbitMQ.Client; using RabbitMQ.Client.Events; using System; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CommandService.AsyncDataServices { public class ...
02. Programming Fundamentals/08.01. Text Processing - Lab/04. Text Filter/Program.cs
GeorgiGradev/SoftwareUniversity
7
7054239
using System; using System.ComponentModel; using System.Net.Security; namespace _04._Text_Filter { class Program { static void Main(string[] args) { string[] bannedWords = Console.ReadLine().Split(", "); string text = Console.ReadLine(); foreac...
rules/Gendarme.Rules.BadPractice/Test/DoNotDecreaseVisibilityTest.cs
JAD-SVK/mono-tools
5
7054240
// // Tests.Rules.BadPractice.DoNotDecreaseVisibilityTest // // Authors: // <NAME> <<EMAIL>> // // Copyright (C) 2011 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal /...
src/IdentityServer4.Admin/Controllers/RoleController.cs
zlzforever/IdentityServer4.Admin2
65
7054241
<reponame>zlzforever/IdentityServer4.Admin2 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using IdentityServer4.Admin.Entities; using IdentityServer4.Admin.Infrastructure; using IdentityServer4.Admin.ViewModels.Role; using Microsoft.AspNetCore.Authori...
SvgBuild/Renderer.cs
ForNeVeR/SvgBuild
5
7054242
<filename>SvgBuild/Renderer.cs using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using Svg; using SvgBuild.Savers; namespace SvgBuild { public static class Renderer { private static readonly Dictionary<string, ImageFormat> _extensionFo...
Sorts/IntroSort.cs
BugLight/SharpSorts
3
7054243
<gh_stars>1-10 using System; namespace Sorts { public static partial class Sort { /// <summary> /// Introspective sort /// </summary> /// <remarks> /// <list type="bullet"> /// <item> /// <term>Complexity</term> /// <description>O(nlogn)</descrip...
Libraries/MadReflection.BungieApi/MadReflection.BungieNetApi.Entities/Static_/Destiny/Definitions/Items/DestinyItemPlugDefinition.cs
KiaArmani/XurSuite
0
7054244
using Newtonsoft.Json; namespace BungieNet.Destiny.Definitions.Items { partial class DestinyItemPlugDefinition { [JsonProperty("actionRewardSiteHash")] public uint ActionRewardSiteHash { get; set; } [JsonProperty("actionRewardItemOverrideHash")] public uint ActionRewardItemOverrideHas...
SDK/SDK/FieldSystemCore.cs
shalzuth/DeepRockGahactic
2
7054245
<reponame>shalzuth/DeepRockGahactic<filename>SDK/SDK/FieldSystemCore.cs using UnrealSharp; using Object = UnrealSharp.UEObject; namespace SDK.Script.FieldSystemCoreSDK { public enum EFieldPhysicsDefaultFields : int { Field_RadialIntMask = 0, Field_RadialFalloff = 1, Field_UniformVector =...
RMCHelpDesk/Models/ComplainRegistrationModel.cs
DharmeshPatel33/rajkot-municipal-corporation-Help-Desk-MVC-App
2
7054246
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace RMCHelpDesk.Models { public class ComplainRegistrationModel { public int ID { get; set; } [Display(Name ="Your Name")] [Required] public st...
WebApp1/WebApp1/Views/Home/GetAllRecords.cshtml
msn2106/ASP.NET-MVC-5-Tutorial-Series
0
7054247
@model IEnumerable<WebApp.Model.EmployeModel> @{ ViewBag.Title = "GetAllRecords"; } <h2>GetAllRecords</h2> <p> @Html.ActionLink("Create New", "Create") </p> @if (Model != null) { <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.FirstName) ...
Chapter01/ConsoleApp1/ConsoleApp1/Program.cs
BionStt/Visual-Studio-2019-Cookbook
4
7054248
<reponame>BionStt/Visual-Studio-2019-Cookbook #define SHOWERROR using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string welcomeMessage; #w...
samples/Examples/src/Silverback.Examples.Main/UseCases/Producing/Kafka/Advanced/SameProcessUseCaseStartup.cs
gitjosephbeer/silverback
139
7054250
// Copyright (c) 2020 <NAME> // This code is licensed under MIT license (see LICENSE file for details) using System; using System.Diagnostics.CodeAnalysis; using Confluent.Kafka; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Silverback.Examples.Common.Messages; using Silver...
src/services/product/product.application/Features/Products/Commands/DeleteProduct/DeleteProductCommand.cs
developersamim/vending-machine
0
7054251
using MediatR; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace product.application.Features.Products.Commands.DeleteProduct; public class DeleteProductCommand : IRequest { public string ProductId { get; set; } public string UserId ...
GenDoc/Classes/DocNav/NavProcessor.cs
metabench/jsgui-doc
0
7054252
<reponame>metabench/jsgui-doc using GenDoc.Classes.Env; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GenDoc.Classes { class NavProcessor { public static void Proce...
AppCore/AppCore/Entities/Application.cs
viniciuscs84/marvin
1
7054253
<filename>AppCore/AppCore/Entities/Application.cs using System.Data; namespace Marvin.AppCore.Entities { [DataAnnotations.ERBridge.Table("sys_application")] //Insert Procedure [DataAnnotations.ERBridge.InsertProcedure("usp_sys_application_insert")] [DataAnnotations.ERBridge.InsertProcedureParameter("N...
e20210247_Hakonoko/Elsa20200001/Elsa20200001/Games/GameCommon.cs
soleil-taruto/Elsa2
0
7054254
<filename>e20210247_Hakonoko/Elsa20200001/Elsa20200001/Games/GameCommon.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Commons; namespace Charlotte.Games { public static class GameCommon { // ================== // ==== Map 関連 ==== // ==================...
src/IconResizeUtility.App/ArgumentsPrinter.cs
epsmae/IconResizeUtility
0
7054255
using System.Linq; using IconResizeUtility.App.DataModel; using Microsoft.Extensions.Logging; namespace IconResizeUtility.App { public class ArgumentsPrinter : IArgumentsPrinter { private readonly ILogger<ArgumentsPrinter> _logger; public ArgumentsPrinter(ILogger<ArgumentsPrinter> logger) ...