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
RestaurantSystem/RestaurantSystem.Services/Waiter/Models/Bills/BillsListingServiceModel.cs
RestaurantSystem/EasyFare
0
7053105
namespace RestaurantSystem.Services.Waiter.Models.Bills { using RestaurantSystem.Common.Mapping; using RestaurantSystem.Data.Models; public class BillsListingServiceModel { public int Id { get; set; } public decimal Amount { get; set; } } }
Source/Wif.Infrastructure/Converters/BoolToVisibilityConverter.cs
LeoYang-Chuese/wif
36
7053106
/************************************************************************** * File Name:BoolToVisibilityConverter.cs * Description:BoolToVisibilityConverter.cs class description... * Copyright:Copyright © 2020 LeoYang-Chuese. All rights reserved. * Creator:<NAME> * Create Time:2020/12/15 *Projec...
tests/ServiceStack.OrmLite.Tests/UseCase/AliasedFieldUseCase.cs
augustoproiete-forks/ServiceStack--ServiceStack.OrmLite
1
7053107
using System; using System.Collections.Generic; using System.Data; using NUnit.Framework; using ServiceStack.DataAnnotations; namespace ServiceStack.OrmLite.Tests.UseCase { [TestFixture] public class AliasedFieldUseCase { [TestFixtureSetUp] public void TestFixtureSetup() { OrmL...
MPEGTS/MPEGTSUnsupportedEncodingException.cs
petrj/DVBTTelevizor
1
7053108
using System; using System.Collections.Generic; using System.Text; namespace MPEGTS { [Serializable] public sealed class MPEGTSUnsupportedEncodingException : Exception { public MPEGTSUnsupportedEncodingException() { } public MPEGTSUnsupportedEncodingException(string m...
src/SqlModeller/Compiler/SqlServer/WhereCompilers/SqlWhereFilterCompiler.cs
jmenziessmith/SqlModdler
0
7053109
using SqlModeller.Interfaces; using SqlModeller.Model; using SqlModeller.Model.Where; namespace SqlModeller.Compiler.SqlServer.WhereCompilers { public class SqlWhereFilterCompiler : IWhereCompiler<SqlWhereFilter> { public string Compile(IWhereFilter filter, SelectQuery query, IQueryParameterMan...
Exams/22 April 2018 - Festival Exam/FestivalManager/Entities/Factories/PerformerFactory.cs
melikpehlivanov/CSharp-OOP-Advanced
1
7053110
namespace FestivalManager.Entities.Factories { using Contracts; using Entities.Contracts; using System; using System.Linq; using System.Reflection; public class PerformerFactory : IPerformerFactory { public IPerformer CreatePerformer(string name, int age) { var ...
src/DashFire.Framework/Constants/JobExecutionType.cs
saeedmaghdam/DashFire
0
7053111
namespace DashFire.Framework.Constants { /// <summary> /// Job execution type. /// </summary> public enum JobExecutionType { /// <summary> /// Job initialized as a service, it'll scheduled to be executed. /// </summary> Service, /// <summary> /// Job...
src/PlainElastic.Net.Tests/Builders/Queries/_Facets/When_Facets_with_one_facet_built.cs
skbkontur/PlainElastic.Net
90
7053112
using Machine.Specifications; using PlainElastic.Net.Queries; using PlainElastic.Net.Utils; namespace PlainElastic.Net.Tests.Builders.Queries { [Subject(typeof(Facets<>))] class When_Facets_with_one_facet_built { Because of = () => result = new Facets<FieldsTestClass>() ...
src/ObjectBuilder/BuildPlan/DynamicMethod/Method/DynamicMethodCallStrategy.cs
WilliamBZA/container
1
7053113
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Unity.Builder; using Unity.Builder.Oper...
Cisco.DnaCenter.Api/Data/GetClientEnrichmentDetailsResponseInnerIssueDetailsImpactedHosts.cs
panoramicdata/Cisco.DnaCenter.Api
3
7053114
<filename>Cisco.DnaCenter.Api/Data/GetClientEnrichmentDetailsResponseInnerIssueDetailsImpactedHosts.cs using System.Text; using System.Runtime.Serialization; namespace Cisco.DnaCenter.Api.Data { /// <summary> /// GetClientEnrichmentDetailsResponseInnerIssueDetailsImpactedHosts /// </summary> [DataContract] public...
Framework/Core/Dpws/DpwsDevice/DpwsHostedService.cs
Sirokujira/MicroFrameworkPK_v4_3
4
7053115
using System; using System.Collections; using System.Reflection; using System.Text; using Dpws.Device.Services; using Ws.Services; using Ws.Services.Faults; using Ws.Services.Soap; using Ws.Services.Utilities; using Ws.Services.WsaAddressing; using System.Ext; using System.IO; using System.Xml; using Ws.Services.Xml; ...
ScriptTemplateGenerator/Editor/ScriptTemplateGeneratorWindow.cs
gucheng0712/Unity-EditorToolsLab
2
7053116
using UnityEditor; using UnityEngine; namespace CodeGeneration { public class ScriptTemplateGeneratorWindow : EditorWindow { public static EditorSettings settings; private void OnEnable() { settings = Resources.Load("SavedSettings") as EditorSettings; } [M...
Common7/Tools/NClass_v2.04/src/Core/Relationships/RealizationRelationship.cs
jdm7dv/visual-studio
1
7053117
<reponame>jdm7dv/visual-studio<filename>Common7/Tools/NClass_v2.04/src/Core/Relationships/RealizationRelationship.cs // NClass - Free class diagram editor // Copyright (C) 2006-2009 <NAME> // // This program is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public Licens...
bbt.gateway.messaging/Api/Vodafone/Model/Auth/SuccessXml.cs
hub-burgan-com-tr/bbt.gateway.messaging
0
7053118
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace bbt.gateway.messaging.Api.Vodafone.Model.Auth { public class SuccessXml { // NOTE: Generated code may require at least .NET Framework 4.5 or .NET Core/Standard 2.0. /// <remarks/> ...
MVCForum.Website/Views/Shared/_ModeratePost.cshtml
YodasMyDad/mvcforum
411
7053119
@using MvcForum.Core.ExtensionMethods @model MvcForum.Core.Models.Entities.Post <div class="postsnippet" id="post-@Model.Id"> <div class="row"> <div class="col-md-9"> <h2>Replying in: @Model.Topic.Name</h2> <p>@Html.Raw(Model.PostContent.ConvertPostContent())</p> ...
src/Taro.RavenDB/Indexes/StoredEventIndex.cs
mouhong/Taro
7
7053120
using Raven.Client.Indexes; using System.Linq; namespace Taro.RavenDB.Indexes { public class StoredEventIndex : AbstractIndexCreationTask<StoredEvent> { public StoredEventIndex() { Map = events => from evnt in events select new ...
src/tibs.stem.EntityFrameworkCore/Migrations/20180419081725_alter-table-add-SomeColums-Product.cs
realvino/Core-2.0
1
7053121
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Migrations; namespace tibs.stem.Migrations { public partial class altertableaddSomeColumsProduct : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddCol...
Schnell.Ai/Runtime/ReferenceLoader.cs
schnell-technology/schnell.ai-core
0
7053122
<filename>Schnell.Ai/Runtime/ReferenceLoader.cs using McMaster.NETCore.Plugins; using Schnell.Ai.Runtime.Repositories; using Schnell.Ai.Sdk.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace Schnell.Ai.Runtime { /// <summary...
JsTestAdapter/TestServerClient/ServerEvent.cs
MortenHoustonLudvigsen/JsTestAdapter
5
7053123
<filename>JsTestAdapter/TestServerClient/ServerEvent.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace JsTestAdapter.TestServerClient { public class ServerEvent { public string Event { get; set; } public IEnumerable<Guid> Tests { ge...
Assets/_games/MissingLetter/_scripts/Utils.cs
vgwb-private/EA4S_Antura_U3D
20
7053124
using UnityEngine; using System; using System.Collections; namespace Antura.Minigames.MissingLetter { class Utils { public static IEnumerator LaunchDelay<T>(float delayTime, Action<T> action, T param) { yield return new WaitForSeconds(delayTime); action(param); } p...
XCommand/ASwitchContextCommand.cs
mastertnt/XRay
4
7053125
using System; namespace XCommand { /// <summary> /// Base class for the commands able to switch the context. /// </summary> public abstract class ASwitchContextCommand : AUserCommand, ISwitchContextCommand { #region Properties /// <summary> /// Gets the command specific st...
src/complex-pipeline-ef-customer-api/CustomerAPI.Application/Pipe/Operations/Customers/GetByCustomerMapperResponseStep.cs
kallebelins/mvp24hours-netcore-samples
17
7053126
using CustomerAPI.Core.Resources; using CustomerAPI.Core.ValueObjects.Contacts; using CustomerAPI.Core.ValueObjects.Customers; using Mvp24Hours.Core.Contract.Infrastructure.Pipe; using Mvp24Hours.Extensions; using Mvp24Hours.Infrastructure.Pipe.Operations.Custom; using System.Collections.Generic; using System.Threadin...
src/Blockcore.Indexer.Core/Storage/Mongo/Types/ReorgBlockTable.cs
seniorblockchain/blockcore-indexer
0
7053127
<gh_stars>0 using System; using System.Collections.Generic; namespace Blockcore.Indexer.Core.Storage.Mongo.Types; public class ReorgBlockTable { public DateTime Created { get; set; } public uint BlockIndex { get; set; } public string BlockHash { get; set; } public BlockTable Block { get; set; } public ...
src/XPike.Drivers.Http.Declarative/HttpRouteInfo.cs
xpike/declarative-drivers
0
7053128
namespace XPike.Drivers.Http.Declarative { /// <summary> /// Specifies the information about a Contract's Route. /// /// Attach this to a Request Contract (a class that implements IRespondWith) /// by using a HttpRouteAttribute so that it can be used with HttpDriverBase. /// </summary> pub...
Taf.Core.Net.Utility/Auditing/IMayHaveCreator.cs
thornfieldhe/Taf.Core.Net
0
7053129
// 何翔华 // Taf.Core.Net.Utility // IMayHaveCreator.cs namespace Taf.Core.Net.Auditing; /// <summary> /// Standard interface for an entity that MAY have a creator. /// </summary> public interface IMayHaveCreator { /// <summary>Id of the creator.</summary> Guid? CreatorId{ get; } }
src/Bonsai/Program.cs
Katarn/bonsai
0
7053130
<filename>src/Bonsai/Program.cs using System.IO; using System.Reflection; using Bonsai.Code.Config; using Microsoft.AspNetCore.Hosting; using Serilog; using Serilog.Events; namespace Bonsai { public class Program { public static void Main(string[] args) { var host = new WebHostBuil...
Toggl.Foundation/Interactors/InteractorFactory.User.cs
undeadinu/mobileapp
3
7053131
using System; using Toggl.Foundation.DTOs; using Toggl.Foundation.Models.Interfaces; namespace Toggl.Foundation.Interactors { public sealed partial class InteractorFactory : IInteractorFactory { public IInteractor<IObservable<byte[]>> GetUserAvatar(string url) => new GetUserAvatarInteracto...
src/War3Api.Object/Generated/1.32.10.17734/Abilities/RainOfChaos.cs
YakaryBovine/AzerothWarsCSharp
0
7053133
<reponame>YakaryBovine/AzerothWarsCSharp using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using War3Api.Object.Abilities; using War3Api.Object.Enums; using War3Net.Build.Object; using War3Net.Common.Extensions; namespace War3Api.Object.Abilities { public sea...
Source/Assembly-CSharp/FaMaLeFaMaLeLogic.cs
Shadowrabbit/BigBiaDecompilation
1
7053134
<filename>Source/Assembly-CSharp/FaMaLeFaMaLeLogic.cs using System; using System.Collections; using DG.Tweening; using DG.Tweening.Core; using DG.Tweening.Plugins.Options; using UnityEngine; public class FaMaLeFaMaLeLogic : CardLogic { public override void Init() { base.Init(); this.Color = CardLogicColor.blue;...
Security/HashingExample/LoginSystem/DbUser.cs
rohansen/CodeExamples
4
7053135
using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LoginSystem { public class DbUser { private static string CONNECTION_STRING = ConfigurationManager.ConnectionStrings["D...
src/NUglify/JavaScript/documentcontext.cs
volkanceylan/NUglify
192
7053136
<reponame>volkanceylan/NUglify<filename>src/NUglify/JavaScript/documentcontext.cs // documentcontext.cs // // Copyright 2010 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 Lic...
SP4/Assets/Scripts/CameraMarquee.cs
ManyRaynolds/SP4
0
7053137
<filename>SP4/Assets/Scripts/CameraMarquee.cs using UnityEngine; using System.Collections; using System.Collections.Generic; public class CameraMarquee : MonoBehaviour { public Texture marqueeGraphics; private Vector2 marqueeOrigin; private Vector2 marqueeSize; public Rect marqueeRect; public List<GameObject...
CharlieBackend.Data/Configurations/VisitEntityConfiguration.cs
ITA-Dnipro/WhatBackend
0
7053138
<gh_stars>0 using CharlieBackend.Core.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace CharlieBackend.Data.Configurations { class VisitEntityConfiguration : IEntityTypeConfiguration<Visit> { public void Configure(EntityTypeBuilder<Visit> e...
Controls/HelpWindow.cs
jeffbourdier/MIDIopsy
23
7053139
/* HelpWindow.cs - Implementation of HelpWindow class, which displays a browser with help for the application. * * Copyright (c) 2017-20 <NAME> * * Licensed under the MIT License. This file may be used only in compliance with this License. * Software distributed under this License is provided "AS IS", WITHOUT WA...
Unity/PhysX Plugin/Assets/NVIDIA/PhysX/Runtime/Assets/PxCompoundShape.cs
prnthp/UnityPhysXPlugin
10
7053140
using System; using System.Collections.Generic; using UnityEngine; using PX = NVIDIA.PhysX; namespace NVIDIA.PhysX.Unity { public class PxCompoundShape : PxShape { #region Properties public override bool valid { get { return Array.Exists(m_shapes, x => x && x.valid); } } ...
libraries/Microsoft.Bot.Schema/Teams/TaskModuleResponse.cs
yeze322/botbuilder-dotnet
425
7053141
<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Schema.Teams { using System.Linq; using Newtonsoft.Json; /// <summary> /// Envelope for Task Module Response. /// </summary> public partial class TaskModu...
src/HitBTC.Net/Requests/UnSubscribeCandlesRequest.cs
uceemso/HitBTC.Net
5
7053142
using HitBTC.Net.Enum; namespace HitBTC.Net.Requests { /// <summary> /// UnSubscribe candles /// </summary> internal class UnSubscribeCandlesRequest : HitBTCSocketRequest { private readonly string symbol; private readonly string period; public UnSubscribeCandlesRequest(int...
src/Themes/KrakeDefaultTheme/Views/Register.cshtml
INVA-Spa/Laser.Orchard.Platform
8
7053143
@using Orchard.Environment.Configuration; @{ /*Logica Logo WhiteLabel*/ ShellSettings _shellsettings; WorkContext.TryResolve<ShellSettings>(out _shellsettings); string tenantname = _shellsettings.Name.ToLower(); var whitelabelLogo = Url.Content(String.Format("~/media/AdminResources/Logo/{0}-logo-fronto...
Assets/Scripts/UI/MinimapController.cs
lunetis/OperationZERO
1
7053144
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class MinimapController : MonoBehaviour { public enum MinimapIndex { Small, Large, Entire } public Camera minimapCamera; [Header("Follow Target / Small View...
PlayGen.SUGAR.Server.EntityFramework.Tests/EvaluationDataControllerTests.cs
playgen/SUGAR-SocialGamification
12
7053145
<filename>PlayGen.SUGAR.Server.EntityFramework.Tests/EvaluationDataControllerTests.cs using System.Collections.Generic; using System.Linq; using PlayGen.SUGAR.Common; using PlayGen.SUGAR.Common.Authorization; using PlayGen.SUGAR.Server.EntityFramework.Controllers; using PlayGen.SUGAR.Server.Model; using Xunit; namesp...
Axuno.BackgroundTask/BackgroundQueueServiceConfig.cs
gitter-badger/Volleyball-League
9
7053146
using System; using System.Collections.Generic; using System.Text; namespace Axuno.BackgroundTask { /// <summary> /// Contains the configuration for a <see cref="BackgroundQueueService"/>. /// </summary> public class BackgroundQueueServiceConfig { private TimeSpan _pollQueueDelay = TimeSpa...
UltimateTeam.Toolkit/Exceptions/ConflictException.cs
kauefelipe/FIFA-Ultimate-Team-Toolkit-With-Gifts
216
7053147
<gh_stars>100-1000 using System; using UltimateTeam.Toolkit.Models; namespace UltimateTeam.Toolkit.Exceptions { public class ConflictException : FutErrorException { public ConflictException(FutError futError, Exception innerException) : base(futError, innerException) { } ...
Source/Embeddings.Store/EmbeddingStateDoesNotExist.cs
dolittle/DotNET.Runtime
1
7053148
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Dolittle.Runtime.Embeddings.Store.State; using Dolittle.Runtime.Projections.Store; namespace Dolittle.Runtime.Embeddings.Store; /// <summary> /// E...
SchoolSystem.CLI/Startup.cs
kidroca/exam-high-quality-code-2-DI
0
7053149
<gh_stars>0 namespace SchoolSystem.Cli { using Framework.Core.Contracts; using Framework.Data.Contracts; using Framework.Models.Contracts; using Ninject; public class Startup { public static void Main() { var kernel = new StandardKernel(new SchoolSystemModule()); ...
src/MyLab.RabbitClient/Connection/LazyRabbitConnectionProvider.cs
mylab-tools/rebbit-client
0
7053150
<reponame>mylab-tools/rebbit-client using System; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using MyLab.Log.Dsl; using RabbitMQ.Client; namespace MyLab.RabbitClient.Connection { /// <summary> /// Manages and provides Rabbit connection /// </summary> public class LazyRabbi...
GTiff2Tiles.Core/Helpers/CheckHelper.cs
MobileScientists/GTiff2Tiles
1
7053151
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using GTiff2Tiles.Core.Localization; namespace GTiff2Tiles.Core.Helpers { /// <summary> /// Class with static methods for check the errors. /// </summary> public static class CheckHelper { #region Methods ...
source/test/F0.Analyzers.Tests/CodeAnalysis/Diagnostics/F0100xPreferPatternMatchingNullCheckOverComparisonWithNullTests.cs
Flash0ver/F0.Analyzers
8
7053152
using System.ComponentModel; using F0.CodeAnalysis.Diagnostics; using F0.Testing.CodeAnalysis; namespace F0.Tests.CodeAnalysis.Diagnostics { public class F0100xPreferPatternMatchingNullCheckOverComparisonWithNullTests { [Fact] public void F0100xPreferPatternMatchingNullCheckOverComparisonWithNull_CheckType() ...
Hudl.Ffmpeg.Tests/Filter/FilterchainTests.cs
alex6dj/HudlFfmpeg
112
7053153
<filename>Hudl.Ffmpeg.Tests/Filter/FilterchainTests.cs using System; using Hudl.FFmpeg.Exceptions; using Hudl.FFmpeg.Filters; using Hudl.FFmpeg.Filters.BaseTypes; using Hudl.FFmpeg.Resources.BaseTypes; using Xunit; namespace Hudl.FFmpeg.Tests.Filter { public class FilterchainTests { [Fact] pu...
sources/Interop/Windows/Windows/um/codecapi/eAVEncH264VProfile.cs
reflectronic/terrafx.interop.windows
0
7053154
<reponame>reflectronic/terrafx.interop.windows // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/codecapi.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved....
cswinrt/strings/additions/Windows.Storage.Streams/IBufferByteAccess.cs
karenbtlai/CsWinRT
1
7053155
namespace Windows.Storage.Streams { using global::System; [Guid("905a0fef-bc53-11df-8c49-001e4fc686da")] internal interface IBufferByteAccess { IntPtr Buffer { get; } } } namespace ABI.Windows.Storage.Streams { using global::System; using global::System.Runtime.InteropServices; ...
SmartBlocks/Entities/LeashKnot.cs
CopperPenguin96/SmartBlocks
1
7053156
using MinecraftTypes; namespace SmartBlocks.Entities; public class LeashKnot : Entity { public override string Name => "Leash Knot"; public override VarInt Type => 44; public override bool UseSpawnEntityOnly => true; public override bool UseSpawnPaintingOnly => false; public override bool Use...
Client/Menus/Settings/RenderSettings.cs
JeffM2501/GPx0F
1
7053157
<filename>Client/Menus/Settings/RenderSettings.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Urho; using Urho.Gui; namespace Client.Menus.Settings { public class RenderSettings : SettingsSubMenu { CheckBox FullScreen = nul...
Zongsoft.Data/src/Metadata/Profiles/MetadataFile.cs
Zongsoft/Zongsoft.Framework
1
7053158
<reponame>Zongsoft/Zongsoft.Framework /* * _____ ______ * /_ / ____ ____ ____ _________ / __/ /_ * / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/ * / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_ * /____/\____/_/ /_/\__ /____/\____/_/ \__/ * /____/ * *...
Assets/EasyMiniMap/Assets/Scripts/EasyMiniMap_Effect.cs
zjwmyl/MiniMap
1
7053159
using System.Collections; using System.Collections.Generic; using UnityEngine; //Author:Zjw //CreateTime:2018-11-22 //Effect namespace EasyMiniMap { public class EasyMiniMap_Effect : MonoBehaviour { public GameObject go; public void Select() { if (!go.activeSelf) ...
Tor4NET/Tor/Circuits/Enumerators/CircuitReason.cs
shiftinv/Tor4NET
54
7053160
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace Tor { /// <summary> /// An enumerator containing the possible values for a field which uses the REASON parameter. /// </summary> public enum CircuitReason {...
src/FundAdministration.GlobalInvestor.Party/DistributionAgreementService.cs
ElevateData/OpenTemenos
0
7053161
//---------------------- // <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 '{derivedDto}.To...
External/RangeSearching/RangeSearchingLibrary/MultiDimensionalRanges.cs
uwgraphics/SplatterCS
0
7053162
<filename>External/RangeSearching/RangeSearchingLibrary/MultiDimensionalRanges.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Emil.RangeSearchingLibrary { /// <summary> /// The base class for multi-dimensional ranges. /// </summary> /// <typeparam name...
src/Console/Program.cs
Inxton/template.core
2
7053163
using Plc; using System; namespace PlcConsole { class Program { static void Main(string[] args) { Entry.Plc.Connector.BuildAndStart(); var main= Entry.Plc.MAIN; Console.WriteLine($"{main.Hello_World.AttributeName} {main.Hello_World.Synchron}"); ...
src/CorvusAlba.MyLittleLispy.Runtime/Closure.cs
retran/my-little-lispy
1
7053164
<filename>src/CorvusAlba.MyLittleLispy.Runtime/Closure.cs using System; using System.Collections.Generic; using System.Linq; namespace CorvusAlba.MyLittleLispy.Runtime { public class Closure : Value { public IEnumerable<Scope> Scopes { get; private set; } public bool IsTailCall { get; set; } ...
Assets/Scripts/Serialize/File/MemoryMappedFile.cs
rtsonneveld/Ray1Map
0
7053165
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Cysharp.Threading.Tasks; namespace R1Engine.Serialize { public class MemoryMappedFile : BinaryFile { public MemoryMappedFile(Context context, uint baseAddress) : base(context) { this.baseAddress = baseAd...
MahApps.Metro/Native/ABEdge.cs
HelgePlaschke/MahApps.Metro
6
7053166
<gh_stars>1-10 using System; namespace MahApps.Metro.Native { [Obsolete("Use Standard.ABEdge instead.")] internal enum ABEdge { ABE_LEFT = 0, ABE_TOP = 1, ABE_RIGHT = 2, ABE_BOTTOM = 3 } }
Suiorcladonet/Emb.Poseidon.Utils/Result/ResultOperation.cs
uibasoft/orcladonet
0
7053167
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Emb.Poseidon.Utils.Result { public class ResultOperation { #region Constructor public ResultOperation() { Errors = new List<string>(); M...
Foxtrot/Tests/Sources/OOBPost.cs
jeroen-mostert/CodeContracts
778
7053168
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
ExaminationSystem/ExamPage.cs
Saikat-S/examination-management-system
3
7053169
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; namespace ExaminationSystem { public partial class ExamPag...
Dexter/Games/GameChess.cs
FeroxFoxxo/Dexter
1
7053170
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Dexter.Configurations; using Dexter.Databases.Games; using Dexter.Extensions; using Discord; using Discord.WebSocket; using System.Drawing; using System.Text; using System.Text.Regular...
IndieVisible.Web/Areas/Learn/Views/Study/_ListUsers.cshtml
programad/indiecativo
8
7053171
<filename>IndieVisible.Web/Areas/Learn/Views/Study/_ListUsers.cshtml @model IEnumerable<ProfileViewModel> @{ Layout = null; var noItemsModel = new ListNoItemsViewModel("fas fa-dizzy", "What? We have no users here!"); var description = ViewData["ListDescription"] == null ? SharedLocalizer["Users"] : (stri...
Abmes.DataCollector.Collector.Common/Destinations/IDestinationResolver.cs
abmes/Abmes.DataCollector
1
7053173
using Abmes.DataCollector.Collector.Common.Configuration; using System; using System.Collections.Generic; using System.Text; namespace Abmes.DataCollector.Collector.Common.Destinations { public interface IDestinationResolver { IDestination GetDestination(DestinationConfig destinationConfig); ...
VoiceChat/Assets/VoiceChat/Scripts/Libs/NAudio.cs
radicalgraphics/unityassets
5
7053174
/*Microsoft Public License (Ms-PL) This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning her...
Diversion/Reflection/ITypeInfo.cs
localmed/diversion
6
7053175
using System.Collections.Generic; namespace Diversion.Reflection { public interface ITypeInfo : IMemberInfo { bool IsAbstract { get; } bool IsInterface { get; } string Namespace { get; } ITypeReference Base { get; } IReadOnlyList<ITypeReference> Interfaces { get; } ...
Courses/Programming/C# Part 1/05 Conditional Statements/9. Play with Int, Double and String/9. Play with Int, Double and String.cs
todorm85/TelerikAcademy
0
7053176
<reponame>todorm85/TelerikAcademy using System; //Problem 9. Play with Int, Double and String //• Write a program that, depending on the user’s choice, inputs an int , double //or string variable. ◦ If the variable is int or double , the program increases it by one. //◦ If the variable is a string , the progr...
Omise.Tests/OmiseTest.cs
SallyAbbas/Testms
0
7053177
<reponame>SallyAbbas/Testms using NUnit.Framework; namespace Omise.Tests { [TestFixture] public abstract class OmiseTest { protected static readonly Credentials DummyCredentials = new Credentials("pkey_test_123", "skey_test_123"); } }
src/Anemonis.JsonRpc.ServiceClient/JsonRpcClient.Engine.cs
StiftsEU/json-rpc-client
0
7053178
// © <NAME>. Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Anemonis.JsonRpc.Service...
SampleGallery/Shared/LocalDataSource.cs
angelazhangmsft/WindowsCompositionSamples
674
7053179
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY...
BrowserWrapper.cs
NexusSoftwareSolutions/MRNUIElementsRepo
0
7053180
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MRNUIElements { public class BrowserWrapper : IResourceInterceptor { public BrowserWrapper() { WebCore.ResourceInterceptor = this; //BrowserWrapper can contains WebBro...
src/ReadOnlyExtensions/Internal/ReadOnlyDictionaryWrapper.cs
xKloc/System.Collections.Generic.ReadOnlyExtensions
2
7053181
namespace System.Collections.Generic.Internal { internal class ReadOnlyDictionaryWrapper<TKey, TValue> : IReadOnlyDictionary<TKey, TValue> { private readonly IDictionary<TKey, TValue> _source; internal ReadOnlyDictionaryWrapper(IDictionary<TKey, TValue> source) { _source = ...
Extensions/BynderResourcesExtensions.cs
CityofSantaMonica/Orchard-Core-Bynder
0
7053182
using CSM.Bynder.Fields; using CSM.Bynder.ViewModels; using System.Collections.Generic; using System.Threading.Tasks; namespace CSM.Bynder; public static class BynderResourcesExtensions { public static void AddResourceToDisplayViewModel( this BynderFieldDisplayViewModel viewModel, IList...
KeLi.FlatDesign.WinForm.Example2/Utils/CustomerUtil.cs
keliceo/FlatDesign
0
7053183
using System.Collections.Generic; using KeLi.FlatDesign.WinForm.Example2.Models; namespace KeLi.FlatDesign.WinForm.Example2.Utils { public class CustomerUtil { public static List<CustomerModel> GetCustomerModels() { return new List<CustomerModel> { new ...
Samples/DAQmodule/Tutorials/00-Boot/Boot.cs
fabienroyer/NetduinoGo
1
7053184
/* [nwazet Open Source Software & Open Source Hardware Authors: <NAME> Software License Agreement (BSD License) Copyright (c) 2010-2012, Nwazet, LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
SteamIrcBot/IRC/Commands/Help.cs
yaakov-h/steam-irc-bot
12
7053185
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SteamIrcBot { class HelpCommand : Command { public HelpCommand() { Triggers.Add( "!help" ); HelpText = "!help <command> - Displays a list of commands or info about a specific...
FineUI/WebControls/Field.Label.HyperLink/HyperLink.cs
JesterWang/FineUI
0
7053186
 #region Comment /* * Project: FineUI * * FileName: HyperLink.cs * CreatedOn: 2008-06-09 * CreatedBy: <EMAIL> * * * Description: * -> * * History: * -> * * * * */ #endregion using System; using System.Collections.Generic; using System.Componen...
DarkRift.RPC.Server/ClientEndPoint.cs
alexmalyutindev/darkrift-rpc
0
7053187
<reponame>alexmalyutindev/darkrift-rpc<gh_stars>0 using DarkRift; using DarkRift.RPC; using DarkRift.Server; namespace RPC.Server { public class ClientEndPoint : IEndPoint { private readonly IClient _client; public ClientEndPoint(IClient client) { _client = client; } public void Send(Message message,...
DNA.CastleMinerZ.UI/SettingsMenu.cs
JettSettie/CastleMinerZsrc
0
7053188
using DNA.CastleMinerZ.Globalization; using DNA.Drawing.UI; using DNA.Drawing.UI.Controls; using Microsoft.Xna.Framework; using System; using System.Collections.Generic; namespace DNA.CastleMinerZ.UI { public class SettingsMenu : SettingScreen { private CastleMinerZGame _game; private BarSettingItem BrightnessB...
Source/Zombie.cs
X-EcutiOnner/Zombieland
0
7053189
using HarmonyLib; using RimWorld; using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using Verse; using Verse.Sound; namespace ZombieLand { public enum NthTick { Every2, Every10, Every15, Every30, Every60, Every480, Every960 } public class Verb_Shock : Verb { p...
tests/UnitTests/IntegrationTests.cs
steliosgiakoumidis/HospitalManagement
0
7053190
using Moq; using Hospital.App; using Hospital.App.Interfaces; using Hospital.App.Models; using Hospital.Resources; using System; using System.Collections.Generic; using Xunit; namespace UnitAndIntegrationTests { public class IntegrationTests { private HospitalResource _hospitalResources = new Hospital...
StoreApp/StoreModels/ManagerCart.cs
rjhakes/Rich_Hakes-P1
0
7053191
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StoreModels { public class ManagerCart { public int ManagerId { get; set; } public int LocId { get; set; } public int CurrentItemsId { get; set; } publi...
Unit 3/Module 12/Ch16Ex1Bookstore/Bookstore/Controllers/AuthorController.cs
westbrookmd/CPT-231-ASPNETCORE
0
7053192
using Microsoft.AspNetCore.Mvc; using Bookstore.Models; using Microsoft.AspNetCore.Authorization; namespace Bookstore.Controllers { [AllowAnonymous] public class AuthorController : Controller { private Repository<Author> data { get; set; } public AuthorController(BookstoreContext ctx) => d...
Services/Basket/Basket.API/Infrastructure/EntityConfigure/CheckoutModelEntityConfigure.cs
Egor-kl/eShop
1
7053193
using Basket.API.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Basket.API.Infrastructure.EntityConfigure { public class CheckoutModelEntityConfigure : IEntityTypeConfiguration<Checkout> { public void Configure(EntityTypeBuilder<Checkout> ...
GraphQL.RepoDb.SqlServer/RepoDb.CursorPagination/RepoDbBatchSliceQueryExtensions.cs
DJBMASTER/GraphQL.RepoDB
14
7053194
<filename>GraphQL.RepoDb.SqlServer/RepoDb.CursorPagination/RepoDbBatchSliceQueryExtensions.cs using HotChocolate.PreProcessingExtensions.Pagination; using HotChocolate.RepoDb.SqlServer.Reflection; using RepoDb.CustomExtensions; using RepoDb.Enumerations; using System; using System.Collections.Generic; using System.Dat...
Assets/Scripts/LemmingController.cs
bryanrtboy/GameTemplate
0
7053195
<filename>Assets/Scripts/LemmingController.cs  using UnityEngine; using UnityEngine.AI; using CreatorKitCode; using CreatorKitCodeInternal; public class LemmingController : MonoBehaviour { public float m_maxRadius = 2f; Transform m_followTransform; //The object to move towards Animator m_Animator; // ref...
RailworksDownloader/DependencyDetailsWindow.xaml.cs
Zdendaki/RailworksDownloader
5
7053196
using System.Linq; using System.Windows; namespace RailworksDownloader { /// <summary> /// Interakční logika pro DependencyDetailsWindow.xaml /// </summary> public partial class DependencyDetailsWindow : Window { public DependencyDetailsWindow(DependencyPackage package, RouteInfo info) ...
src/OPCAIC.ApiService/Security/Requirements.cs
opcaic/server
0
7053197
<filename>src/OPCAIC.ApiService/Security/Requirements.cs using System; using System.Collections.Generic; using Microsoft.AspNetCore.Authorization; namespace OPCAIC.ApiService.Security { public class PermissionRequirement<TEnum> : IAuthorizationRequirement where TEnum : Enum { public PermissionRequirement(TEnum ...
ORM/ORM.Core.Test/Entities/Classes.cs
Ephaltes/SWE3_ORM
0
7053198
<reponame>Ephaltes/SWE3_ORM<gh_stars>0 using System.Collections.Generic; using ORM.Core.Attributes; namespace ORM.Core.Test.Entities { public class Classes { [PrimaryKey] public int Id { get; set; } public string Name { get; set; } [ForeignKey("teachersid")] public...
src/Nether.Data.Sql/PlayerManagement/PlayerManagementContextBase.cs
vflorusso/nether
0
7053199
<reponame>vflorusso/nether<gh_stars>0 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.EntityFrameworkCore; using System; using Nether.Data.PlayerManagement; using System.Threading.Tasks; using System...
System.ServiceModel/System/ServiceModel/Channels/IdlingCommunicationPool.cs
ludovic-henry/referencesource
39
7053200
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Channels { using System.Collections.Generic; using System.Diagnostics; using System.Runtim...
MassageStudioLorem.Tests/Areas/Masseur/Controllers/WorkScheduleControllerTest.cs
lulzzz/MassageStudioLorem
8
7053201
namespace MassageStudioLorem.Tests.Areas.Masseur.Controllers { using System.Collections.Generic; using MyTested.AspNetCore.Mvc; using Xunit; using MassageStudioLorem.Areas.Masseur.Controllers; using Services.Appointments.Models; using static Data.Models.WorkScheduleControllerTestModels; ...
Modl/Extensions.cs
bazer/Modl
1
7053202
using Modl.Instance; namespace Modl { public static class Extensions { public static M Delete<M>(this M m) where M : IModl, new() { Handler<M>.Delete(m.Id()); return m; } public static Identity Id<M>(this M m) where M : IModl, new() => m.Mod...
src/QsCompiler/LlvmBindings/Values/ConstantDataSequential.cs
AndreyTretyak/qsharp-compiler
0
7053203
<reponame>AndreyTretyak/qsharp-compiler // ----------------------------------------------------------------------- // <copyright file="ConstantDataSequential.cs" company="Ubiquity.NET Contributors"> // Copyright (c) Ubiquity.NET Contributors. All rights reserved. // Portions Copyright (c) Microsoft Corporation // </co...
src/Client/Bindings/IServiceBindingEndpoint.cs
bacongobbler/OpenServiceBroker
7
7053204
<reponame>bacongobbler/OpenServiceBroker<gh_stars>1-10 using System.Threading.Tasks; using OpenServiceBroker.Errors; namespace OpenServiceBroker.Bindings { /// <summary> /// Represents a Service Binding for a specific Service Instance with blocking operations. /// </summary> /// <remarks>What a...
sdk/dotnet/OsConfig/Outputs/PatchDeploymentPatchConfigPostStep.cs
sisisin/pulumi-gcp
121
7053205
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
json2record.tests/DTOs/sample1/Sample1.cs
mikalst/dtolab
0
7053207
<gh_stars>0 using System; using System.Collections.Generic; namespace json2record.tests.sample1.DTOs { public record Sample1 { public string firstName { get; init; } public string surname { get; init; } public List<Address> address { get; init; } public Account account { get;...