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
Priest_details.aspx.cs
Sherinmj/Assumption-Church
0
7066316
<filename>Priest_details.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using System.Configuration; namespace ChurchWebPortal { public partial class Pries...
People.API/Controllers/PersonController.cs
Javorov1103/PeopleTable
1
7066317
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using People.API.Data.Contracts; using People.API.Dtos; using People.API.Models; namespace People.API.Controllers { [Route("api/[controller]")] [ApiController] public class Perso...
OptionalStyle.Tests/OptionalTests.cs
alzuma/OptionalSyle
0
7066318
<reponame>alzuma/OptionalSyle<filename>OptionalStyle.Tests/OptionalTests.cs using System; using System.Diagnostics.Tracing; using System.Threading.Tasks; using OptionalStyle.exceptions; using OptionalStyle.Tests.model; using Shouldly; using Xunit; namespace OptionalStyle.Tests { public class OptionalTests { ...
src/SFCCTools.OCAPI/ShopAPI/Resources/IOrders.cs
clavery/sfcc-tools
3
7066319
<filename>src/SFCCTools.OCAPI/ShopAPI/Resources/IOrders.cs using System.Threading.Tasks; using Refit; using SFCCTools.OCAPI.ShopAPI.Types; namespace SFCCTools.OCAPI.ShopAPI.Resources { public interface IOrders { [Get("/orders/{orderNo}")] Task<Order> GetOrder(string orderNo); [...
Game/Assets/Scripts/Inventory/Inventory.cs
jesseroffel/OpenWorldExam
3
7066320
<reponame>jesseroffel/OpenWorldExam using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; public class Inventory : MonoBehaviour { GameObject inventoryPanel; GameObject slotPanel; ItemDatabase database; Player_Health health; public GameObject invento...
openBVE/OpenBveAts/Properties/AssemblyInfo.cs
leezer3/openbve-1
0
7066321
<reponame>leezer3/openbve-1<filename>openBVE/OpenBveAts/Properties/AssemblyInfo.cs using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("OpenBveAts")] [assembly: AssemblyDescription("The default ATS/ATC train plugin used by openBVE if a train does not come with its own...
GameDesigner/Serialize/Newtonsoft.Json/Utilities/ConvertUtils.cs
penghuidong/gdnet
56
7066322
<filename>GameDesigner/Serialize/Newtonsoft.Json/Utilities/ConvertUtils.cs<gh_stars>10-100 using Newtonsoft_X.Json.Serialization; using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Reflection; using System.Text.RegularExpressions; namespace Newtonsoft...
WeatherSample.Entities/WeatherEntity.cs
WeatherSample/Backend
1
7066323
using System.Collections.Generic; using LinqToDB.Mapping; namespace WeatherSample.Entities { [Table(Name = "Cities")] public class CityEntity { [Column, NotNull] public string CityName { get; set; } = string.Empty; [ Association( ThisKey = nameof(CityName), ...
H.NET.Core/Runners/Command.cs
HavenDV/UpworkNotifier
0
7066324
<reponame>HavenDV/UpworkNotifier using System; using System.Collections.Generic; using System.Linq; namespace H.NET.Core.Runners { public class Command { #region Properties public List<SingleCommand> Commands { get; set; } = new List<SingleCommand>(); public List<SingleKey> Keys { get...
search-website/api/Suggest.cs
thulz24/azure-search-dotnet-samples
0
7066326
<gh_stars>0 using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using System.Text.Json; using Azure.Search.Documents; using Azure.Search....
01. DB Apps Introduction/01. DB Apps Introduction/DbConfig.cs
HouseBreaker/SoftUni-Databases-Advanced
0
7066327
using System.Data.SqlClient; namespace _01.DB_Apps_Introduction { public static class DbConfig { public static readonly SqlConnection Connection = new SqlConnection(@"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=MinionsDB;Integrated Security=True"); } }
src/xunit.analyzers.tests/Analyzers/TestClassMustBePublicTests.cs
louis-z/xunit.analyzers
120
7066328
using System.Collections.Generic; using System.Linq; using Xunit; using Verify = CSharpVerifier<Xunit.Analyzers.TestClassMustBePublic>; public class TestClassMustBePublicTests { public static IEnumerable<object[]> CreateFactsInNonPublicClassCases = from attribute in new[] { "Xunit.Fact", "Xunit.Theory" } ...
WonkaRestService/Models/SvcRuleTreeRegistry.cs
jaerith/wonkarestservice
1
7066329
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Xml.Serialization; using System.Web; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.Util; using Newtonsoft.Json; namespace WonkaRestService.Models { [DataContract(Names...
test/dotnet-test.UnitTests/GivenThatWeWantToRunTests.cs
krytarowski/cli
1
7066330
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using Microsoft.DotNet.Tools.Test; using Microsoft.Extensions.Testing.Abstractions; using Moq; using Newtonsoft.Json.L...
ScrmizuChat/Assets/Scripts/Runtime/SortedInfiniteScrollItemRepository.cs
ToshikiImagawa/ScrmizuChatSample
1
7066331
<reponame>ToshikiImagawa/ScrmizuChatSample // Scrmizu C# reference source // Copyright (c) 2016-2020 COMCREATE. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using Scrmizu; using UnityEngine.Assertions; namespace Chat { public class SortedInfiniteScrollItemRepository<TKey...
g5/PizzaApp - EntityFramework/PizzaApp/Mappers/PizzaSizeMapper.cs
sedc-codecademy/skwd8-08-aspnetmvc
0
7066332
using DomainModels; using ViewModels; namespace Mappers { public static class PizzaSizeMapper { public static PizzaSizeViewModel ToViewModel(this PizzaSize pizzaSize) { return new PizzaSizeViewModel { Id = pizzaSize.Id, PizzaId = pizzaSiz...
Wpf_Ado.Net_App/ViewModelStatisticsPage.cs
BoomZoom/Wpf_Ado.Net_App
0
7066333
using Wpf_Ado.Net_App.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Input; using System.Data; using System.Data.SqlClient; using System.Threading; namespace Wpf_Ado.Net_App { inter...
Controle Financeiro Git/MovimentoDAO.cs
Guilherme-Bruschi/CSharp
0
7066334
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Transactions; namespace DAO { public class MovimentoDAO { public void RealizarMovimento(tb_movimento objMOV) { banco objbanco = ...
DASN.PortableWebApp/Controllers/DASNoteController.cs
frankigamez/dasn-actividad2
0
7066335
using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using DASN.PortableWebApp.Models.DataModels; using DASN.PortableWebApp.Models.ViewModels.DASNote; using DASN.PortableWebApp.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; usin...
AdventOfCSharp.Testing.xUnit/XUnitProblemValidationTests.cs
AlFasGD/AdventOfCSharp
2
7066336
using Xunit; namespace AdventOfCSharp.Testing.XUnit; public abstract class XUnitProblemValidationTests<TProblem> : FrameworkUnboundProblemValidationTests<TProblem> where TProblem : Problem, new() { protected sealed override void AssertEquality<T>(T expected, T actual) { Assert.Equal(expected, actu...
TRadioPlayer/SearchForm.Designer.cs
ozok/TRadioPlayer
3
7066337
<reponame>ozok/TRadioPlayer<gh_stars>1-10 namespace TRadioPlayer { partial class SearchForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being ...
Source/Norma.Delta/Models/SlotReservation2.cs
mika-f/Norma
3
7066338
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Norma.Delta.Models { public class SlotReservation2 { public string SlotId { get; set; } [Key] [ForeignKey(nameof(Reservation))] public int ReservationId { get; set; } ...
Extensions/TransformPro/Editor/TransformProRectEditor.cs
Mu-L/UnityExtensions
18
7066340
using UnityEditor; using UnityEngine; //[CustomEditor(typeof(RectTransform))] public class TransformProRectEditor : Editor { /// <inheritdoc /> public override void OnInspectorGUI() { bool dirty = false; RectTransform rectTransform = (RectTransform) this.target; ...
ContosoUniv/ContosoUniv.WebAppRp/Areas/Admin/Pages/Role/Delete.cshtml.cs
mclotham/WebApps
0
7066341
using ContosoUniv.Data; using ContosoUniv.Authorization; using ContosoUniv.InputModels.Admin.Role; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microso...
HCEngine/HCEngine/DefaultImplementations/Factories/DefaultLanguageScriptFactory.cs
IfElseSwitch/hc-engine
1
7066342
<gh_stars>1-10 namespace HCEngine.DefaultImplementations { /// <summary> /// Language Structure definition for the default language. /// </summary> public class DefaultLanguageScriptFactory : IScriptFactory { /// <summary> /// <see cref="IScriptFactory.CreateScript(ISourceRe...
Assets/PhotonRelativeTransformView.cs
mtaulty/PunFun
7
7066343
<filename>Assets/PhotonRelativeTransformView.cs namespace Photon.Pun { using UnityEngine; [RequireComponent(typeof(PhotonView))] public class PhotonRelativeTransformView : MonoBehaviour, IPunObservable { [SerializeField] string relativeTransformGameObjectName; GameObject relat...
src/BJW.Raven/WebAuthClient.cs
bward/raven.net
0
7066344
using System; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; namespace BJW.Raven { public class WebAuthClient { private readonly string _hostName; public WebAuthClient(string hostName) { _hostName = hostName; } ...
src/Creekdream.UnitOfWork/Uow/Database/ISupportsRollback.cs
zengqinglei/Creekdream.AspNetCore
69
7066345
using System.Threading; using System.Threading.Tasks; namespace Creekdream.Uow { /// <summary> /// Supports rollback /// </summary> public interface ISupportsRollback { /// <summary> /// Rollback /// </summary> void Rollback(); /// <summary> /// Asy...
Unity/Assets/Model/GamePlay/CharacterCtr/CharacterMoveComponent.cs
xfs81150082/ET-RPG-DEMO
1
7066346
<reponame>xfs81150082/ET-RPG-DEMO<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using UnityEngine; namespace ETModel { [ObjectSystem] public class CharacterMoveComponentAwakeSystem : AwakeSystem<Charact...
MaintFace/Server.cs
bmdub/MaintFace
0
7066347
<filename>MaintFace/Server.cs<gh_stars>0 using System; using System.Diagnostics; using System.IO; using System.Net; using System.Net.WebSockets; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Collections.Concurrent; using Newtonsoft.Json; // See for enab...
GitTfs/Commands/Log.cs
olivierdagenais/git-tfs
1
7066348
namespace Sep.Git.Tfs.Commands { [Pluggable("history")] [Pluggable("log")] public class Log : GitTfsCommand { [OptDef(OptValType.ValueReq)] public int limit { get; set; } [OptDef(OptValType.ValueReq)] [ShortOptionName('r')] public string revision { get; set; } ...
Michael assets/TilePair.cs
sebysebyseby/ktaneMahjongQuiz
0
7066349
namespace Mahjong { struct TilePair { public int Ix1 { get; private set; } public int Ix2 { get; private set; } public TilePair(int ix1, int ix2) { Ix1 = ix1; Ix2 = ix2; } } }
Ryujinx.HLE/HOS/Kernel/KThread.cs
pinguicodes/Ryujinx
0
7066350
<gh_stars>0 using ChocolArm64; using System.Collections.Generic; using System.Linq; using static Ryujinx.HLE.HOS.ErrorCode; namespace Ryujinx.HLE.HOS.Kernel { class KThread : KSynchronizationObject, IKFutureSchedulerObject { public AThread Thread { get; private set; } public long AffinityMask...
AlipaySDKNet/Response/AnttechBlockchainTwcUserMatchResponse.cs
alipay/alipay-sdk-net
117
7066351
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AnttechBlockchainTwcUserMatchResponse. /// </summary> public class AnttechBlockchainTwcUserMatchResponse : AopResponse { /// <summary> /// 不匹配 /// </summary> [Xm...
docs/input/docs/more-info/index.cshtml
piedar/GitVersion
1
7066352
<gh_stars>1-10 --- Order: 80 Description: More in depth information about GitVersion --- <p>Once you understand the basics of GitVersion, there are a number of lower level functions and configurations that you might want to make. These are detailed in the following sections.</p> @Html.Partial("_ChildPages")
src/Infrastructure/IdentityServer4/Services/IEndpointHandlerProvider.cs
holydk/IdentityServer4.Anonymous
12
7066353
<gh_stars>10-100 using IdentityServer4.Hosting; namespace AnonymousIdentity.Infrastructure.IdentityServer4.Services { /// <summary> /// Represents a endpoint handlers factory. /// </summary> public interface IEndpointHandlerProvider { /// <summary> /// Gets original endpoint handler...
SEIR.cs
logiclink/corona_seir_workbench
3
7066354
<filename>SEIR.cs using System; using System.Text; namespace LogicLink.Corona { /// <summary> /// SEIR model class /// </summary> public class SEIR : ISEIR { #region Protected Static Compartment Functions /// <summary> /// Daily number of individuals moving from S(usceptible...
Hechima/HechimaClient2/HechimaClient2/Remark.cs
stackprobe/CSharp
0
7066355
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Charlotte { public class Remark { public long Stamp; public string Ident; public string Message; } }
MouseAttack/Extensions/ListExtensions.cs
AndreTerra5348/MouseAttack
0
7066356
<gh_stars>0 using System; using System.Collections.Generic; namespace MouseAttack.Extensions { public static class ListExtensions { public static T GetRandomElement<T>(this IList<T> list, Random random) { return list[random.Next(list.Count)]; } } }
Unity/Assets/Samples/Ubik/0.0.4/Samples/puzzle/Scripts/PuzzleManager.cs
mremilien/MonopolyVR
2
7066357
<reponame>mremilien/MonopolyVR using System.Collections; using System.Collections.Generic; //using System.Windows.Forms; using UnityEngine; using System.IO; using UnityEngine.UI; using Ubik.Messaging; using Ubik.Samples; // Log: 1. 改了PiecesDrag和PuzzleMagger之间的交互关系 // 2. 给PuzzleManager加了网络属性,让其交互时间! 所以不要忘记在对...
src/Extensions.Statiq.Git.Test/Internal/GitRepositoryTest.cs
ap0llo/statiq-extensions
0
7066358
using System.IO; using System.Linq; using FluentAssertions; using Grynwald.Extensions.Statiq.Git.Internal; using Grynwald.Extensions.Statiq.TestHelpers; using NUnit.Framework; namespace Grynwald.Extensions.Statiq.Git.Test.Internal { /// <summary> /// Base test class for implementations of <see cref="IGitRepos...
PlayerManager/PlayerManager.cs
amenarde/ServiceFabricSampleGame
4
7066359
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace PlayerManager { ...
src/Chesster.Debug/Program.cs
yiliansource/chesster
5
7066360
<filename>src/Chesster.Debug/Program.cs using System; using System.IO; using System.Linq; using System.Collections.Generic; using Chesster.ML; using Chesster.Chess; using Chesster.Training; using Chesster.Chess.Engines; using Chesster.Logging; namespace Chesster { public class Program { public stati...
HQC/HQC-2-NamingIdentifiers-Homework/MinesweeperGame/Minesweeper.cs
dzhenko/TelerikAcademy
6
7066361
namespace MinesweeperGame { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class Minesweeper { public static void Main(string[] args) { const int MAXIMUM_CELLS_TO_OPEN = 35; string currentCommand = string.Em...
Special Space Force/Assets/Scripts/Sector View/Interaction/Planet_Click.cs
guardsman111/Special-Space-Force
0
7066362
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Planet_Click : MonoBehaviour { /// <summary> /// This script manages the cameras on clicking a planet /// </summary> [SerializeField] private Camera systemCamera; [SerializeFi...
StockTradingAnalysisWebsite/StockTradingAnalysis.Interfaces/Common/ILoggingService.cs
EajksEajks/StockTradingAnalysisWebsite
25
7066363
using System; namespace StockTradingAnalysis.Interfaces.Common { /// <summary> /// The interface ILoggingService defines an logging service /// </summary> public interface ILoggingService { /// <summary> /// Logs the given <paramref name="exception"/> /// </summary> ...
src/Web/WebBlazor/Client/Services/ModelDTOs/CatalogDTO.cs
n-stefan/eShopOnContainers
3
7066364
 namespace WebBlazor.Client.Services.ModelDTOs; public record CatalogDTO { public int PageIndex { get; init; } public int PageSize { get; init; } public int Count { get; init; } public Collection<CatalogItemDTO> Data { get; init; } }
Samples/Mixed/SmartHome/Shared/DTO.cs
elix22/urho
446
7066365
using System.Collections.Generic; using System.Runtime.InteropServices; using ProtoBuf; namespace Shared { [ProtoContract(ImplicitFields = ImplicitFields.AllPublic)] [ProtoInclude(100, typeof(SurfaceDto))] [ProtoInclude(200, typeof(CurrentPositionDto))] [ProtoInclude(300, typeof(BulbAddedDto))] [ProtoInclude(400...
Assets/AnyRPG/Engine/Core/System/Scripts/Interactables/AnimatedObject.cs
Scott004948/AnyRPGCore
289
7066366
<filename>Assets/AnyRPG/Engine/Core/System/Scripts/Interactables/AnimatedObject.cs using AnyRPG; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AnyRPG { public class AnimatedObject : InteractableOption { [SerializeField] private AnimatedObjectProps animate...
prototype2/P2/Assets/Scripts/FindTheImage.cs
walthill/production2
0
7066367
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class FindTheImage : MonoBehaviour { public bool won = false; int winCounter; [SerializeField] GameObject leftSelect, rightSelect; [SerializeF...
Storing/Store.cs
zablej/rvmparser
1
7066368
<filename>Storing/Store.cs<gh_stars>1-10 using System.Collections.Generic; using System.Diagnostics; namespace RvmParser.Storing { public class Store { #region Public Fields public Arena Arena { get; set;} = new Arena(); public Arena ArenaTriangulation { get; set; } = new Arena(); ...
Source/MergeryEditor/MergeryEditor.Build.cs
BorMor/Mergery
1
7066369
using UnrealBuildTool; public class MergeryEditor : ModuleRules { public MergeryEditor(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; PublicIncludePaths.AddRange( new string[] { } ); PrivateIncludePaths.AddRange( new string[] { ...
RingCentral/Definitions/GlipConversationsList.cs
ringcentral/ringcentral-csharp-client
25
7066370
<gh_stars>10-100 namespace RingCentral { public partial class GlipConversationsList { // List of conversations public GlipConversationInfo[] @records { get; set; } // public GlipNavigationInfo @navigation { get; set; } } }
SampleBrowser.Maui/Samples/Presentation/Samples/EncryptAndDecrypt/EncryptAndDecrypt.xaml.cs
syncfusion/maui-demos
21
7066371
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicable laws. #end...
Tests/Batch3/BridgeIssues/2900/N2961.cs
Danielku15/Bridge
14
7066372
<filename>Tests/Batch3/BridgeIssues/2900/N2961.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Threading.Tasks; using Bridge.Html5; using Bridge.Test.NUnit; namespace Bridge.ClientTest.Batch3.BridgeIssues { [Category(Constants.M...
FanficFormatter/Model/Chapter.cs
sthg-anon/FanficFormatter
0
7066373
// DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE // Version 2, December 2004 // // Copyright (C) 2020 <NAME> (<EMAIL>) // // Everyone is permitted to copy and distribute verbatim or modified // copies of this license document, and changing it is allowed as long // as the name is changed. // // DO WHAT THE FUCK ...
code/Player.Clothes.cs
DrMeepso/sbox-toiletroyale
0
7066374
<reponame>DrMeepso/sbox-toiletroyale using Sandbox; namespace ToiletRoyale { public class ClothingEntity : ModelEntity { } public partial class ToiletRoyalePlayer { public bool IsDressed = false; public ClothingEntity Hat; public ClothingEntity Jacket; public ClothingEntity Shoes; public virtual void ...
ProjectManagementApp/Infrastructure/IoC.cs
JokerFunny/ProjectManagement
0
7066375
<gh_stars>0 using Autofac; namespace System { /// <summary> /// Holder for container /// </summary> public static class IoC { /// <summary> /// <see cref="IContainer"/> /// </summary> public static IContainer Container { get; private set; } /// <summary> ...
OnixBusinessErp/Its/Onix/Erp/Models/Legacies/MProfile.cs
its-software-services-onix/onix-business-erp-lib
0
7066376
<gh_stars>0 using Its.Onix.Core.Commons.Model; namespace Its.Onix.Erp.Models { public class MProfile : BaseModel { public string Message1 {get; set;} public string Message2 {get; set;} public string CompanyWebSite {get; set;} } }
Unity/Assets/Scripts/EventDelivery.cs
wizardCRain/Tools
0
7066377
<reponame>wizardCRain/Tools using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class EventDelivery : MonoBehaviour, IPointerUpHandler, IPointerDownHandler, IBeginDragHandler, IDragHandler, IEndDragHandler { public delegate void LongPressCallBack(GameObject i...
src/RunTicks/AssertionMessages/NotExceedTotalMillisecondsAssertionMessage.cs
khanlarmammadov/RunTicks
0
7066378
using System; using System.Globalization; using System.Text; namespace RunTicks.AssertionMessages { internal class NotExceedTotalMillisecondsAssertionMessage : AssertionMessageBase { private readonly Int64 _expectedMaxMilliseconds; private readonly Double _actualMilliseconds; public N...
Filazor.Core/Controller/UploadController.cs
SuperbCodefactory/Filazor
0
7066379
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Filazor.Core.Data; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Hosting; namespace Filazor.Core.Controller { [Route("api/[controller]")] [ApiCo...
src/IdentityUI.Core/Interfaces/Services/IInviteService.cs
HorvatMatej/IdentityUI
0
7066380
<filename>src/IdentityUI.Core/Interfaces/Services/IInviteService.cs<gh_stars>0 using SSRD.IdentityUI.Core.Models.Result; using SSRD.IdentityUI.Core.Services.User.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace SSRD.IdentityUI.Core.Interfaces.Services ...
Src/AuthModule/Interface/IAuthController.cs
MonoInfinity/mono-shopping-store-be
0
7066381
<filename>Src/AuthModule/Interface/IAuthController.cs<gh_stars>0 using store.Src.AuthModule.DTO; using Microsoft.AspNetCore.Mvc; namespace store.Src.AuthModule.Interface { public interface IAuthController { public ObjectResult loginUser(LoginUserDto body); public ObjectResult registerUser(Regis...
GamificationSamples/Assets/KreliUI/Editor/UICarouselPanelEditor.cs
ishtilkind/UI-Gamification
0
7066382
<filename>GamificationSamples/Assets/KreliUI/Editor/UICarouselPanelEditor.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEditor.UI; using UnityEngine; namespace KreliStudio { [CustomEditor(typeof(UICarouselPanel), true)] public class UICarouselPanelEdi...
DB Fundamentals/DB Advanced/2. Code First/1. HospitalDatabaseTasks/Data/EntityConfiguration/PatientMedicamentConfig.cs
doba7a/SoftUni
0
7066383
<reponame>doba7a/SoftUni<gh_stars>0 namespace P01_HospitalDatabase.Data.EntityConfiguration { using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using P01_HospitalDatabase.Data.Models; class PatientMedicamentConfig : IEntityTypeConfiguration<PatientMedicament> ...
Nav.Language.Tests/SourceTextTests.cs
IInspectable/Nav-Language-Extensions
1
7066384
<gh_stars>1-10 using System; using NUnit.Framework; using Pharmatechnik.Nav.Language; using Pharmatechnik.Nav.Language.Text; namespace Nav.Language.Tests { [TestFixture] public class SourceTextTests { [Test] public void TestEmpty() { SourceText st = SourceText.E...
DFC.FutureAccessModel.AreaRouting/Helpers/ResponseMessageHelper.cs
SkillsFundingAgency/dfc-futureaccessmodel-arearouting
0
7066385
using System.Net.Http; using System.Text; using DFC.FutureAccessModel.AreaRouting.Models; using Newtonsoft.Json; namespace DFC.FutureAccessModel.AreaRouting.Helpers { /// <summary> /// the response message helper /// </summary> public static class ResponseMessageHelper { /// <summary> ...
Scripts/Message/UpdateCharacterEntityMsg.cs
insthync/unity-tbrpg-pun2
1
7066386
using System.Collections.Generic; namespace RealtimeArena.Message { [System.Serializable] public struct UpdateCharacterEntityMsg { public string entityId; public int currentHp; public int currentTimeCount; public List<UpdateCharacterSkillMsg> skills; public List<Upd...
Source/Libraries/GSF.Historian/DataServices/TimeSeriesDataService.cs
kylekewley/gsf
131
7066387
<reponame>kylekewley/gsf //****************************************************************************************************** // TimeSeriesDataService.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contribu...
ggj2019/Assets/_3rdPartyAssets/HTC.UnityPlugin/ViveInputUtility/Scripts/Misc/StickyGrabbable.cs
Pjchardt/ggj_2019
3
7066388
//========= Copyright 2016-2018, HTC Corporation. All rights reserved. =========== using HTC.UnityPlugin.ColliderEvent; using HTC.UnityPlugin.Utility; using System; using UnityEngine; using UnityEngine.Events; namespace HTC.UnityPlugin.Vive { [AddComponentMenu("HTC/VIU/Object Grabber/Sticky Grabbable", 1)] p...
Tracker/Network/Trackers/TrackerH.cs
MalauD/Musics-Free-musics-player
6
7066389
using System; using Tracker.Network.Trackers.Services; using Utility.Network; using Utility.Network.Server; using Utility.Network.Tracker.Identity; namespace Tracker.Network.Trackers { public class TrackerH : ServerComunication { public ConnectionService ConnectionServices = new ConnectionService(); ...
src/Zeus.Storage.Faster/Store/Internal/FasterStore.Types.cs
btshft/Zeus
4
7066390
<reponame>btshft/Zeus using System.Text.Json; using FASTER.core; using Microsoft.Extensions.Logging; namespace Zeus.Storage.Faster.Store.Internal { internal partial class FasterStore<TKey, TValue> { public struct ValueHolder { public TValue Value; public ValueHolder(TV...
src/STB.Core/Structures/Payments/Outputs.cs
stbchain/stb.core
17
7066391
/*--------------------------------------------------------------------------------------------- * Copyright (c) STB Chain. All rights reserved. * Licensed under the Source EULA. See License in the project root for license information. * Source code : https://github.com/stbchain * Website : http://www.soft2b.com/ *...
GetVoid.Tests/Void_Get.cs
Seb-stian/GetVoid
12
7066392
<gh_stars>10-100 using Xunit; namespace GetVoid.Tests { public class Void_Get { [Fact] public void VoidGet_ReturnsVoidObject() { object @void = Void.Get(); Assert.Equal(typeof(void), @void.GetType()); } [Fact] public void VoidToString_Ret...
LearningComputerFunda/ComputerFunda.Algorithm.Test/Sort/SelectionSortTest.cs
vaishnav6887/ComputerScienceFundamental
0
7066393
using ComputerFunda.Algorithm.Sort; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComputerFunda.Algorithm.Test.Sort { [TestCategory("SortingAlgorithm")] [TestClass] public cl...
FileStorage/WCFService.ServiceLibrary/FileStorageService.cs
modzelm1/bearded-archer
0
7066394
using FileStorage; using SQLStreamLib; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text...
src/Beef.Events/Repository/AzureStorageRepository.cs
ciaranodonnell/Beef
104
7066395
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef using Microsoft.Azure.Cosmos.Table; using Microsoft.Extensions.Logging; using System; using System.Net; using System.Threading; using System.Threading.Tasks; namespace Beef.Events.Repository { /// <summary> /// Enab...
WebChurchManagement/WebChurchManagement/Views/Disciplinas/Details.cshtml
ericrva/CMS
0
7066396
@model WebChurchManagement.Models.Disciplina @{ ViewBag.Title = "Detalhes da Disciplina"; } <div> <dl class="dl-horizontal"> <dt>@Html.DisplayNameFor(model => model.Id_Disc)</dt> <dd>@Html.DisplayFor(model => model.Id_Disc)</dd> <dt>@Html.DisplayNameFor(model => model.Membros.Nome)<...
src/Core/LadderLogic.cs
tnunnink/L5XParser
3
7066397
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using L5Sharp.Enums; namespace L5Sharp.Core { /// <inheritdoc cref="ILadderLogic" /> public class LadderLogic : ILadderLogic { private readonly List<Rung> _rungs = new(); /// <summary> ///...
ECSDevServer/ECS.Models/Salt.cs
extra-curricular-schooling/WebAPI-Demo
0
7066398
<gh_stars>0 using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ECS.Models { /// <summary> /// This model represents the salt used when hasfing the username's password. /// </summary> public class Salt { // Salt identifier [Key...
Inferno/InfernoScripts/InfernoCore/Interface/IProgressBar.cs
Hackbesh/GTAV_InfernoScripts
24
7066399
namespace Inferno { /// <summary> /// ProgressBarの描画に用いることができるインターフェース /// </summary> public interface IProgressBar { /// <summary> /// 描画時のバーの度合い /// </summary> float Rate { get; } /// <summary> /// 完了したかフラグ /// </summary> ...
src/GlowingBrain.DataCapture/Views/StaticItems/PageHeaderView.cs
davidjcaton/glowingbrain-data-capture
0
7066400
using System; using GlowingBrain.DataCapture.ViewModels; using Xamarin.Forms; namespace GlowingBrain.DataCapture.Views.StaticItems { public class PageHeaderView : ContentView { public PageHeaderView (PageHeader header, SurveyPageAppearance appearance) { var stackLayout = new StackLayout { Style = appeara...
ISAAR.MSolve.IGA/Entities/Patch.cs
TheoChristo/MSolve.Bio
0
7066401
<reponame>TheoChristo/MSolve.Bio<filename>ISAAR.MSolve.IGA/Entities/Patch.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using ISAAR.MSolve.Discretization.Commons; using ISAAR.MSolve.Discretization.FreedomDegrees; using ISAAR.MSolve.Discretization.Interfaces; using ISAA...
Editor/ThirdParty/AssetsTools.NET/AssetsExporter/Collection/AssetCollection.cs
pikokr/ThunderKit
0
7066403
using AssetsExporter.Extensions; using AssetsTools.NET; using AssetsTools.NET.Extra; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AssetsExporter.Collection { public class AssetCollection : BaseAssetCollection { private static readonly Dictionary<Asset...
src/RabbitDB/Schema/DbColumn.cs
PowerMogli/Rabbit.Db
0
7066404
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DbColumn.cs" company=""> // // </copyright> // <summary> // The db column. // </summary> // ----------------------------------------------------------------------------------...
SoftwareManager.cs
tifish/SoftwareCrawler
0
7066406
using System.Text; namespace SoftwareCrawler; public static class SoftwareManager { private static readonly string ConfigPath = Path.Combine( AppDomain.CurrentDomain.SetupInformation.ApplicationBase ?? string.Empty, "Software.tab"); public static List<SoftwareItem> Items { get; private set;...
src/SuaveKeys/SuaveKeys.Clients/SuaveKeys.Clients/Services/KeyboardProfileService.cs
SuavePirate/SuaveKeys
6
7066407
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using SuaveKeys.Core.Models.Transfer.Keyboard; namespace SuaveKeys.Clients.Services { public class KeyboardProfile...
ComputerService/Interfaces/IDevice.cs
dbuszman/ComputerServiceLibWithDI
0
7066408
using System; using System.CodeDom; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComputerService { interface IDevice { void SetNextApplicationNumber(Device device); void AddDevice(Device device); Device GetDeviceByAppli...
src/ISDAOC_Domain/Entities/DCAppControlAction.cs
valstekt/opensource-low-code-application-design
0
7066409
<reponame>valstekt/opensource-low-code-application-design using Domain.Abstractions; using System; using System.Collections.Generic; namespace Domain.Entities { public class DCAppControlAction : Entity { public DCAppControlAction(Guid id) : base(id) { Capabilities = new HashSet<DCA...
resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/RedundantAttributeOnTarget/Availability/RedundantAttributesInScope.cs
SirDuke/resharper-unity
1,182
7066410
// ${RUN:2} using System; using UnityEngine; using UnityEditor; [assembly: SerializeField] [SerializeFie{caret}ld] public class Foo { [CustomEditor(typeof(Material))] private int myField; } [HideInInspector] public delegate void MyEventHandler(object sender, EventArgs e);
Cloud.Common/CloudDokanNetUploadHereInfo.cs
nguyendotuong/sse
1
7066412
<gh_stars>1-10 namespace Azi.Cloud.Common { using System.Collections.Generic; public class CloudDokanNetUploadHereInfo { public const string StreamName = "UploadHere"; public List<string> Files { get; set; } } }
TransitCity/WpfDrawing/Objects/VehicleRidersObject.cs
gartenriese2/TransitCity
0
7066413
namespace WpfDrawing.Objects { using System.Globalization; using System.Windows; using System.Windows.Media; using Geometry; using Panel; public class VehicleRidersObject : PanelObject { private readonly SolidColorBrush _brush; private FormattedText _formattedText; ...
tests/ProvisionData.Common.UnitTests/RegularExpressionsTests.cs
provisiondata/ProvisionData.GELF
0
7066414
/******************************************************************************* * MIT License * * Copyright 2020 Provision Data Systems Inc. https://provisiondata.com * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (...
Assets/_Game/Scripts/Piece.cs
cameronmeyer/TurnBasedGame
0
7066415
<filename>Assets/_Game/Scripts/Piece.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public enum Type { SHOOTER, ROLLER, BOMB } public enum Direction { UP, DOWN, LEFT, RIGHT } public class Piece : MonoBehaviour { public Type pieceType; public boo...
Src/Tests/Gravyframe.Kernel.Umbraco.Tests/TestHelpers/Examine/MockIndex/MockedIndex.cs
gravypower/Gravyframe
2
7066416
namespace Gravyframe.Kernel.Umbraco.Tests.TestHelpers.Examine.MockIndex { using System.Collections.Generic; using global::Examine; using global::Examine.LuceneEngine; using Lucene.Net.Analysis; using Lucene.Net.Store; public class MockedIndex { public ISearcher Searcher { get; se...
modules/Common/src/EasyAbp.WeChatManagement.Common.Domain.Shared/EasyAbp/WeChatManagement/Common/WeChatBusinessException.cs
davidnasar/WeChatManagement
92
7066417
using Volo.Abp; namespace EasyAbp.WeChatManagement.Common { public class WeChatBusinessException : BusinessException { public WeChatBusinessException(int errorCode, string errorMessage) : base(message: $"WeChat error: [{errorCode}] {errorMessage}") { } } }
Source/Test/NUnit.BitSetArray/BitSetArrayTest/Relations.cs
ddur/DBCL
0
7066418
// -------------------------------------------------------------------------------- // <copyright file="https://github.com/ddur/DBCL/blob/master/LICENSE" company="DD"> // Copyright © 2013-2016 <NAME>. All Rights Reserved. // </copyright> // ------------------------------------------------------------------------------...
sesion6/colegio/Data/AlumnoRepository.cs
jmanuelcorral/cursoaspnetcore
0
7066419
namespace colegio.Data { using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; using Models; public class AlumnoRepository : BaseRepository<Alumno, int>, IAlumnoRepository { public List<Alumno> GetAlumnosByCurso(int Curso) { return _query.Where(x => x.curs...
NugetManagement/ModelPackageUpgrade.cs
ikathegreat/RepoManager
9
7066420
<gh_stars>1-10 namespace NugetManagement { public class ModelPackageUpgrade { public bool Upgrade { get; set; } public string PackageName { get; set; } public string Version { get; set; } public int OutOfDatePackages { get; set; } = 0; public override string ToString()...