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
Behaviour/Strategy/Program.cs
Tassadar2499/Patterns
0
7060734
<reponame>Tassadar2499/Patterns using Ninject; namespace Strategy { internal class Program { private static void Main(string[] args) { var bratishkaContainer = new StandardKernel(); bratishkaContainer.Bind<ICleaner>().To<BratishkaCleaner>(); var army = bratishkaContainer.Get<Army>(); army.CleanToil...
C-SimTests/UInt128Tests.cs
Baltasarq/CSim
1
7060735
// CSim - (c) 2014-17 Baltasar MIT License <<EMAIL>> namespace CSimTests { using System; using System.Numerics; using NUnit.Framework; using CSim.Core.Native; [TestFixture] public class UInt128Tests { [Test] public void TestByte() { for(byte x = byte.MinValue; x < byte.MaxValue; ++x)...
test/SyllableGeneratorDemoApp/Form1.Designer.cs
AliArkin/SyllableGenerator
2
7060736
<gh_stars>1-10 namespace SyllableGeneratorDemoApp { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// ...
samples/Streema/Master/Site/Extensions/StringExtension.cs
eltra-ch/eltra-sdk
3
7060737
using System; using System.Text; using System.Text.RegularExpressions; namespace StreemaMaster.Helpers { public static class StringExtensions { public static bool Contains(this string source, string stringToCompare, StringComparison comparison) { return source?.IndexOf(stringToComp...
Source/Mosa.Tool.TinySimulator/WatchView.cs
Kintaro/MOSA-Project
0
7060738
<reponame>Kintaro/MOSA-Project<gh_stars>0 // Copyright (c) MOSA Project. Licensed under the New BSD License. using Mosa.TinyCPUSimulator; using System.Collections.Generic; using System.ComponentModel; namespace Mosa.Tool.TinySimulator { public partial class WatchView : SimulatorDockContent { private BindingList<W...
TodoWeb/Views/Todo/Select.cshtml
umutknay/TodoAppPrj
0
7060739
<filename>TodoWeb/Views/Todo/Select.cshtml  @{ ViewData["Title"] = "Select"; } @model Todo <div class="row"> <div class="col-md-8 offset-md-2"> <div class="card"> <div class="card-body"> <div asp-validation-summary="ModelOnly"></div> ...
Migrations.cs
IDeliverable/IDeliverable.Slides
1
7060740
<reponame>IDeliverable/IDeliverable.Slides using Orchard.ContentManagement.MetaData; using Orchard.Core.Contents.Extensions; using Orchard.Data.Migration; namespace IDeliverable.Slides { public class Migrations : DataMigrationImpl { public int Create() { ContentDefinitionManager.Al...
AzureServiceBus/MessageSessions/Solution1/ConsumerApp/Program.cs
ciaranodonnell/AzureDemos
5
7060741
using System; using System.Threading.Tasks; namespace ConsumerApp { public class Program { static async Task Main(string[] args) { var connectionString = args[0]; var queueName = args[1]; var id = args.Length > 2 ? args[2] : ""; var sessionIds = args.Length > 3 ? args[3] : ""; //QueueRece...
src/ChoETL/Common/ChoIndexedEnumerator.cs
aTiKhan/ChoETL
540
7060742
<gh_stars>100-1000 namespace ChoETL { #region NameSpaces using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; #endregion NameSpaces public class ChoIndexedEnumerator<T> : IEnumerator<Tuple<long, T>> { #region Instance Data Members (Private) pr...
ScrapJunker/ScrapJunker.CQRS.Core/Interface/IEventRepository.cs
vladapetre/scrap-junker
1
7060743
<reponame>vladapetre/scrap-junker using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ScrapJunker.CQRS.Core.Interface { public interface IEventRepository { void Save<TAggregate>(IAggregateRoot aggregate, int expectedVersion) whe...
Assets/Scripts/Player/WeaponFirePlace.cs
Kepler-Br/Unity-Asteroids
0
7060744
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeaponFirePlace : MonoBehaviour { // [SerializeField] // GameObject playerControllet; [SerializeField] GameObject player = null; PlayerController controllerScript = null; [SerializeField] ...
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/SanMarino/SanMarinoHolidayProvider.cs
cosmos-open/cosmos-holiday
0
7060745
<reponame>cosmos-open/cosmos-holiday<filename>src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/SanMarino/SanMarinoHolidayProvider.cs using System.Collections.Generic; using System.Linq; using Cosmos.Abstractions; using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.Bus...
IIS.SLSharp.Examples.Complex/DemoWindow.cs
circler3/SLSharpEngine
33
7060746
using System; using System.Diagnostics; using IIS.SLSharp.Bindings.OpenTK; using IIS.SLSharp.Examples.Complex.Shaders; using IIS.SLSharp.Shaders; using OpenTK; using OpenTK.Graphics.OpenGL; namespace IIS.SLSharp.Examples.Complex { public sealed class DemoWindow : GameWindow { private CubeShader _cubeS...
Heimathafen/Assets/Scripts/GameManager.cs
Gk1mtd/heimathafen
1
7060747
<reponame>Gk1mtd/heimathafen using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; #if !UNITY_EDITOR_OSX public class GameManager : MonoBehaviour { public static GameManager instance = null; public bool gameIsRunning; GameObject playerObj; ...
NerdAmigo.Abstractions/IFileStorageItemInfo.cs
nerdamigo/abstractions
0
7060748
<reponame>nerdamigo/abstractions<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NerdAmigo.Abstractions { /// <summary> /// Interaction Behaviours associated with a blob of data stored on some form of persistan...
Tests/UnitTests/Group09CrudServicesAsync/Test05PostsViaDetailDtoAsync.cs
mburleigh/GenericServices
224
7060749
<gh_stars>100-1000 #region licence // The MIT License (MIT) // // Filename: Test05PostsViaDetailDtoAsync.cs // Date Created: 2014/06/17 // // Copyright (c) 2014 <NAME> (www.selectiveanalytics.com & www.thereformedprogrammer.net) // // Permission is hereby granted, free of charge, to any person obtaining a copy // o...
Samples/GdiW3cSvgTestSuite/Progress/RotationType.cs
BJN-A/SharpVectors
450
7060750
//-------------------------------------------------------------------------- // Source: https://www.codeproject.com/Articles/30625/Circular-Progress-Indicator // Copyright c <NAME> 2008-2010 //-------------------------------------------------------------------------- namespace ProgressControls { /// <summary> ...
LatticeObjectTree/Exceptions/ObjectTreeNotEqualException.cs
dotlattice/LatticeObjectTree
0
7060751
using System; using System.Collections.Generic; using System.Linq; namespace LatticeObjectTree.Exceptions { /// <summary> /// Exception thrown when two <see cref="ObjectTree"/> values are unexpectedly equal. /// </summary> public class ObjectTreeNotEqualException : ObjectTreeAssertException ...
Exercises/E05.Methods/E05.Methods/P06.PrimeChecker/StartUp.cs
KaloqnILchev/ProFund_Lab_And_Exercises
0
7060752
<filename>Exercises/E05.Methods/E05.Methods/P06.PrimeChecker/StartUp.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace P06.PrimeChecker { public class StartUp { public static void Main(string[] args) { l...
SpellEffect/EffectInstances/EffectDice.cs
pyrocept/SpellEffect
0
7060753
using System; using System.IO; namespace SpellEffect.EffectInstances { [Serializable] public class EffectDice : EffectInteger { protected short m_diceface; protected short m_dicenum; public EffectDice() { } public EffectDice(EffectDice copy) : ...
src/Coherence.Core/Net/Impl/RemoteInvocationService.cs
vasac/coherence-dotnet-extend-client
9
7060754
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ using System; using System.Collections; using System.Threading; using Tangosol.Net.Messaging; using Tangosol.Net.Messaging.Impl.InvocationServ...
YouiToolkit/Models/Config/ConfigCtrl.cs
MaQaQu/tool
0
7060755
using SuperConfig; using System; using System.IO; using YouiToolkit.Logging; namespace YouiToolkit { internal class ConfigCtrl { /// <summary> /// 默认配置文件名称 /// </summary> public const string DefaultConfigName = "YouiToolkit"; /// <summary> /// 默认配置文件路径 ...
src/Telegram.Bot/Requests/Games/GetGameHighScoresRequest.cs
zefir01/Telegram.Bot
3
7060756
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Types; // ReSharper disable once CheckNamespace namespace Telegram.Bot.Requests { /// <summary> /// Get data for high score tables. Will return the score of the specified user and several of his neighbors in a game. On success, ret...
Cave.Extensions/Collections/Generic/SynchronizedDictionary.cs
Dingsd4/cave-extensions
0
7060757
<reponame>Dingsd4/cave-extensions using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Cave.Collections.Generic { /// <summary>Gets a thread safe dictionary. This is much faster than ConcurrentDictionary if you got only two threads accessing values.</summary> ...
MedicalExaminer.API/Authorization/PermissionHandler.cs
neiltait/medex_api_pub
0
7060758
<filename>MedicalExaminer.API/Authorization/PermissionHandler.cs using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using MedicalExaminer.API.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.Filters; namespace MedicalExaminer.API.Authorization { /// <s...
DotfuscatorCommunitySample/Program.cs
preemptive/dotfuscator-ce-samples
2
7060759
// Copyright (c) 2021 PreEmptive Solutions; All Right Reserved, http://www.preemptive.com/ // // This source is subject to the Microsoft Public License (MS-PL). // Please see the License.txt file for more information. // All other rights reserved. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY O...
Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/DepthFade.cs
affloeck/Vanish
0
7060760
<filename>Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/DepthFade.cs using UnityEngine; using UnityEditor; using System; namespace AmplifyShaderEditor { [Serializable] [NodeAttributes( "Depth Fade", "Generic", "Outputs a 0 - 1 gradient representing the distance between the surface of this objec...
Src/Shared/Tauron.Application.Common/Temp/TempStream.cs
Tauron1990/Project-Manager-Akka
1
7060761
<filename>Src/Shared/Tauron.Application.Common/Temp/TempStream.cs using System.IO; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; namespace Tauron.Temp; [PublicAPI] public sealed class TempStream : Stream { private readonly TempFile _file; private readonly bool _noDispose;...
Assets/Scripts/Core/Manager/XMLManager.cs
aboutvfx/SLGanim
0
7060762
<reponame>aboutvfx/SLGanim<filename>Assets/Scripts/Core/Manager/XMLManager.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using SLG; using System.Xml; using System.Xml.Serialization; using System.IO; public class XMLManager : MonoBehaviour { private static XMLManager instance; ...
src/CompetitionModels/Game/TeamCaptain.cs
arne-z/legacy_elo
11
7060763
<filename>src/CompetitionModels/Game/TeamCaptain.cs using System.ComponentModel.DataAnnotations.Schema; namespace ELO.Models { public class TeamCaptain { //[ForeignKey("GuildId")] //public Competition Comp { get; set; } public ulong GuildId { get; set; } [ForeignKey("ChannelId...
Web/Spurious2.Web.ServiceModel/BoundaryRequest.cs
claq2/spurious2
0
7060764
<gh_stars>0 using ServiceStack; using System; namespace Spurious2.Web.ServiceModel { [Route("/subdivisions/{Id}/boundary")] public class BoundaryRequest : IReturn<string> { public int Id { get; set; } } }
VL-Api-Server/Source/[Features]/Establishment/LogIn/Database.cs
dj-nitehawk/VisitorLog
3
7060765
using MongoDB.Entities; using System.Threading.Tasks; using VisitorLog; namespace Establishment.LogIn { public class Database : IDatabase { public Task<Dom.Establishment> GetEstablishment(string email) { return DB.Find<Dom.Establishment>() .Match(e => e.Email =...
Altairis.ShirtShop.Web/Pages/Account/Manage/ExternalLogins.cshtml
ridercz/ShirtShop
6
7060766
@page @model ExternalLoginsModel <h2>Přihlášení pomocí služeb třetích stran</h2> @if (this.Model.AvailableLogins.Any()) { <h3>Propojit nový účet</h3> <ul> @foreach (var idp in this.Model.AvailableLogins) { <li> <a asp-page-handler="Initiate" asp-route-idpName="@idp.Name">@...
Portal/SmartHome.Portal.Domain.Telemetry/ITelemetryRepository.cs
locatw/SmartHome
0
7060768
using System; using System.Threading.Tasks; namespace SmartHome.Portal.Domain.Telemetry { public interface ITelemetryRepository { Task<TelemetrySet> GetMeasuredTodayAsync(string deviceId, string telemetryKey, TimeZoneInfo timeZone); } }
TwaijaComposite.Silverlight/ResourceManager.cs
chidionuekwusi/Twaija
0
7060769
<gh_stars>0 using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Practices.Prism.Events; u...
Code/EllieWare.Common/DirectoryBatchParameter.cs
TrevorDArcyEvans/EllieWare
0
7060770
// // Copyright (C) 2013 EllieWare // // All rights reserved // // www.EllieWare.com // using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; using EllieWare.Interfaces; namespace EllieWare.Common { public class DirectoryBatchParameter : SerializableBatchParameter...
src/Mapster.Tests/WhenPerformingDestinationTransforms.cs
wk-j/mapster
0
7060771
using System; using System.Collections; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Shouldly; namespace Mapster.Tests { [TestClass] public class WhenPerformingDestinationTransforms { [TestCleanup] public void TestCleanup() { ...
csharp/AppEncryption/Crypto/Keys/CryptoKey.cs
sjlbos/asherah
1
7060772
<reponame>sjlbos/asherah using System; namespace GoDaddy.Asherah.Crypto.Keys { public abstract class CryptoKey : IDisposable { public abstract DateTimeOffset GetCreated(); public abstract void WithKey(Action<byte[]> actionWithKey); public abstract TResult WithKey<TResult>(Func<byte[],...
test/fixtures/viewone.cshtml
GordonApplepie/grunt-minify-cshtml
0
7060773
@using GordonApplepie.Core @using GordonApplepie.Models @model MyAwesomeModel @inject BigHelper BigHelper @{ var helpedwithsomething = BigHelper.Help(this.Model); } @* Module number 1 *@ <div class="form"> <div class="form__button alert"> <!-- Dies ist ein Button --> <button id="@(this.Model.Hel...
src/GitLabApiClient/Models/Releases/Requests/DeleteReleaseRequest.cs
0x4D616E75/GitLabApiClient
0
7060774
using System; using System.Collections.Generic; using System.Text; using GitLabApiClient.Internal.Utilities; using Newtonsoft.Json; namespace GitLabApiClient.Models.Releases.Requests { /// <summary> /// Used to delete a release in a project. /// </summary> public sealed class DeleteReleaseRequest ...
src/Memoyu.Mbill.Application/Core/Impl/PermissionService.cs
BlazorHub/mbill_service
0
7060775
/************************************************************************** * ================================= * CLR版本 :4.0.30319.42000 * 命名空间 :Memoyu.Mbill.Application.Core.Permission.Impl * 文件名称 :PermissionService.cs * ================================= * 创 建 者 :Memoyu * 创建日期 :2021-01-14 22:46:15 * ...
eDriven/eDriven.Gui/GUIStyles/ComboBoxOverlayStyle.cs
dkozar/edriven-gui
42
7060776
<filename>eDriven/eDriven.Gui/GUIStyles/ComboBoxOverlayStyle.cs /*using eDriven.Gui.Geom; using eDriven.Gui.Mappers; using eDriven.Gui.Components; using eDriven.Gui.Graphics.Base; using UnityEngine; using Rect=eDriven.Gui.Graphics.Rect; namespace eDriven.Gui.GUIStyles { public class ComboBoxOverlayStyle { ...
Alexa.NET.InSkillPricing/CancelConnectionRequestHandler.cs
stoiveyp/Alexa.NET.InSkillPricing
4
7060778
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Alexa.NET.InSkillPricing.Directives; using Alexa.NET.Response.Directive; using Newtonsoft.Json.Linq; namespace Alexa.NET.InSkillPricing { public class CancelConnectionRequestHandler : IConnectionSendRequestH...
src/ChromaControl.Launcher/Program.cs
Trispast/ChromaControl
198
7060780
// Licensed to the Chroma Control Contributors under one or more agreements. // The Chroma Control Contributors licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.IO; using System.Reflection; using Windows.Applicati...
Source/Source/Horeb.MoneySaver.Persistency/Common/TableNames.cs
ricardoduranram/Money-Saver
0
7060781
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Horeb.MoneySaver.Persistency.Common { internal static class TableNames { internal const string Wallet = "Wallet"; internal const string Transaction = "Transaction"; ...
Rychusoft.PidFileManager/HostedServices/PidFileOptions.cs
Rychu-Pawel/PidFileManager
0
7060782
namespace Rychusoft.PidFileManager.HostedServices { public class PidFileOptions { public bool IsDisabled { get; set; } public string PidFilePath { get; set; } } }
src/NMoneys/Change/IntegralDenomination.cs
ManGysT/nmoneys
55
7060783
<filename>src/NMoneys/Change/IntegralDenomination.cs using System; namespace NMoneys.Change { internal struct IntegralDenomination : IEquatable<IntegralDenomination> { public Denomination Denomination { get; } public long IntegralAmount { get; } public IntegralDenomination(Denomination denomination, Currency...
src/BracketPipe.Tests/Properties/AssemblyInfo.cs
erdomke/AngleParse
16
7060784
<reponame>erdomke/AngleParse<filename>src/BracketPipe.Tests/Properties/AssemblyInfo.cs using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("BracketPipe.Core.Tests")] [assembly: AssemblyDescription("Tests for the core of the AngleSharp library.")] [assembly: AssemblyConfiguration(""...
Conceptoire.Twitch/TwitchApplicationOptions.cs
ccorsano/BlipBloopBot
1
7060785
<reponame>ccorsano/BlipBloopBot using Conceptoire.Twitch.IRC; using Conceptoire.Twitch.Options; namespace Conceptoire.Twitch { public class TwitchApplicationOptions { public string ClientId { get; set; } public string ClientSecret { get; set; } public TwitchChatClientOptions IrcOptions...
src/vSphereIntegrationLibraries/test/VMware.Http.Sso.Authentication.Tests/AuthVerifierTests.cs
dmilov/script-runtime-service-for-vsphere
29
7060786
// ************************************************************************** // Copyright 2020 VMware, Inc. // SPDX-License-Identifier: Apache-2.0 // ************************************************************************** using System; using System.Collections.Generic; using System.IO; using System.Reflection; u...
Locadora/Controllers/FilmeLocacaoController.cs
williamvitorino3/LocadoraDeV-deo_LP2
0
7060787
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WebApi.Models; namespace Locadora.Controllers { [Route("api/[controller]")] public class FilmeLocacaoController : Controller { private DataContext api;...
Media/Player/Nequeo.Wpf.Controls/Nequeo.Wpf.Controls/Ribbon/Controls/RibbonGallery.cs
drazenzadravec/projects
5
7060788
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/ * Copyright : Copyright © Nequeo Pty Ltd 2012 http://www.nequeo.com.au/ * * File : * Purpose : * */ #region Nequeo Pty Ltd License /* Permission is hereby granted, free of charge, to any person obtaining a copy of th...
DeadCellsStats/Level.cs
nvillemin/DeadCellsStats
0
7060789
using System; namespace DeadCellsStats { class Level { public DateTime date { get; set; } public string id { get; set; } public int? mapSeed { get; set; } public bool started { get; set; } } }
CLR/Tools/EmulatorInterface/IEncryption.cs
Sirokujira/MicroFrameworkPK_v4_3
4
7060790
<reponame>Sirokujira/MicroFrameworkPK_v4_3 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. //////////////...
function/Adapters/OnboardingAdapter.cs
enzocanoo/json-func-bot
3
7060791
<filename>function/Adapters/OnboardingAdapter.cs using JsonBot.Sample.Integration; using Microsoft.Bot.Builder; using Microsoft.Bot.Connector.Authentication; using Microsoft.Bot.Schema; using System; using System.Threading.Tasks; namespace JsonBot.Sample.Adapters { public class OnboardingAdapter : BotFrameworkFun...
GateKeeperSDK/GKFileUtils.cs
BluStor/PasswordVault_Windows
0
7060792
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; namespace GateKeeperSDK { public class GkFileUtils { /// <summary> /// Base path of the card /// </summary> public const string Root = "/data...
SuitCase.Benchmarks/GenericCasingConverterBenchmarks.cs
WarpSpideR/SuitCase
0
7060793
using BenchmarkDotNet.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SuitCase.Benchmarks { public class GenericCasingConverterBenchmarks { public GenericCasingConverter Converter { get; set; } public GenericCasingConvert...
src/SESMTTech.Gestor.PlanosDeAcao.WebApi/Mapping.cs
sesmt-tecnologico/gestor-planodeacao
0
7060794
<gh_stars>0 using AutoMapper; using SESMTTech.Gestor.PlanosDeAcao.Domain.Commands.PlanoDeAcaoCommands; using SESMTTech.Gestor.PlanosDeAcao.WebApi.Dtos.v1.PlanosDeAcao; namespace SESMTTech.Gestor.PlanosDeAcao.WebApi { public class Mapping : Profile { public Mapping() { CreateMap<Ite...
Form1.Designer.cs
wolfcall/RandomColorGenerator
0
7060795
namespace RandomColorGenerator { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
Markov/Program.cs
luismedel/markov
0
7060796
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Markov { class Program { static Random _rnd = new Random(); static Dictionary<Tuple<string, string>, List<string>> _graph = new Dictionary<Tuple<string...
FactoryPatterns/FactoryMethod/Stores/CaliforniaPizzaStore.cs
wilmerbz/designpatterns
0
7060797
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FactoryMethod.PizzaCatalog; namespace FactoryMethod.Stores { public class CaliforniaPizzaStore : PizzaStore { protected override Pizza CreatePizza(string type) { ...
DockerSdk/QueryStringBuilder.cs
tsonto/DockerSdk
2
7060798
<reponame>tsonto/DockerSdk<gh_stars>1-10 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text.Json; namespace DockerSdk { /// <summary> /// Builds an HTTP URL query string using Docker's conventions. /// </summary> public class QueryStringBui...
WebApiExamples/API/Examples/TicketRequestExample.cs
tonchevaAleksandra/HackerRank-Problem-Solving
3
7060799
using Swashbuckle.AspNetCore.Filters; namespace API.Examples { public class TicketRequestExample:IExamplesProvider<TicketRequest> { public TicketRequest GetExamples() { return new TicketRequest() { EventName = "Endava's best employees", O...
Template Objects/User0/SingleRoomBuilding/Compile.cs
johnmott59/ShapeTemplate
0
7060800
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using ShapeTemplateLib.BasicShapes; using ShapeTemplateLib; namespace ShapeTemplateLib.Templates.User0 { public partial class SingleRoomBuilding { pub...
src/VlcLibFormsDisposeSample/App.xaml.cs
AndreasHennig/LibVlcSharpCodeCarouselSample
0
7060801
<filename>src/VlcLibFormsDisposeSample/App.xaml.cs<gh_stars>0 using VlcLibFormsDisposeSample.Views; using Xamarin.Forms; namespace VlcLibFormsDisposeSample { public partial class App : Application { public App() { InitializeComponent(); LibVLCSharp.Shared.Core.Initiali...
MafiaWeb/Views/Achievement/Index.cshtml
Taumer/DiscordMafia
7
7060802
<reponame>Taumer/DiscordMafia @using DiscordMafia.Achievement @model MafiaWeb.ViewModels.Achievement.View @{ ViewData["Title"] = $"Достижение {Model.Achievement.GetName(Language)}"; } <achievement>@Model.Achievement.Id</achievement> <p>@Model.Achievement.GetDescription(Language)</p> @(Html .Grid(Model.DbAchiev...
src/SFA.DAS.EmployerIncentives.Web/Models/ApplicationModel.cs
uk-gov-mirror/SkillsFundingAgency.das-employer-incentives-web
2
7060804
<reponame>uk-gov-mirror/SkillsFundingAgency.das-employer-incentives-web<filename>src/SFA.DAS.EmployerIncentives.Web/Models/ApplicationModel.cs using System; using System.Collections.Generic; using System.Linq; namespace SFA.DAS.EmployerIncentives.Web.Models { public class ApplicationModel { public Gui...
src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Loader/ProviderLoaderTests/GetProviderLookupData/When_Action_Called.cs
SkillsFundingAgency/tl-result-and-certification
1
7060805
<reponame>SkillsFundingAgency/tl-result-and-certification using FluentAssertions; using NSubstitute; using Sfa.Tl.ResultsAndCertification.Models.Contracts; using System.Collections.Generic; using System.Linq; using Xunit; namespace Sfa.Tl.ResultsAndCertification.Web.UnitTests.Loader.ProviderLoaderTests.GetProviderLoo...
VirtualRadar.Interface/WebServer/MimeType.cs
wiseman/virtual-radar-server
9
7060807
// Copyright © 2010 onwards, <NAME> // All rights reserved. // // Redistribution and use of this software 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 notice, this list ...
UPnPWin/Utils/UI/DuplicateTextbox.cs
DennisCorvers/UPnP
1
7060808
<reponame>DennisCorvers/UPnP using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Media; namespace UPnPWin.Utils.UI { internal class DuplicateTextbox { private bool m_isManual; pr...
AlipaySDKNet/Domain/AlipayCommerceTransportEtcResouceGetModel.cs
alipay/alipay-sdk-net
0
7060809
<gh_stars>0 using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayCommerceTransportEtcResouceGetModel Data Structure. /// </summary> [Serializable] public class AlipayCommerceTransportEtcResouceGetModel : AopObject { /// <summary> /// 业...
LifePath/CActor.cs
RichardRanft/RPGLifePath
0
7060810
using System; using System.IO; namespace LifePath { class CActor { public String Relationship = ""; public String Status = ""; public String Reaction = ""; public String Origin = ""; public String Location = ""; public String Age = ""; publi...
Exam/04.HitList/Program.cs
YonchevSimeon/CSharp-Advanced
0
7060812
namespace _04.HitList { using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main(string[] args) { int targetInfoIndex = int.Parse(Console.ReadLine()); Dictionary<string, Dictionary<string, string>> per...
Demo/ProgramAppEntry.cs
Pixytech/Frameworks
0
7060813
using System; using System.Diagnostics; using System.Threading; using System.Windows.Threading; using Demo.Helpers; using Demo.Installer; using Demo.ViewModels; using Demo.Views; using Pixytech.Core.Logging; using Pixytech.Desktop.Presentation.Infrastructure; using Demo.Presentation.Infrastructure; using Pixytech.Core...
MelfsMagicStore_Web/Views/Login/DisplayUserDetails.cshtml
ArtistArcher/Revature_P1
0
7060814
<gh_stars>0 @model ModelLayer.ViewModels.UserViewModel @{ ViewData["Title"] = "DisplayUserDetails"; } <h1>User Details</h1> <div> <h4>User</h4> <hr /> <dl class="row"> <dt class = "col-sm-2"> @Html.DisplayNameFor(model => model.UserID) </dt> <dd class = "col-sm-10...
Tester.Integration.EfCore5/EfrpgTestData/Configuration/AlphaWorkflowSynonymConfiguration.cs
janissimsons/EntityFramework-Reverse-POCO-Code-First-Generator
0
7060815
<reponame>janissimsons/EntityFramework-Reverse-POCO-Code-First-Generator // <auto-generated> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace V5EfrpgTest { // alpha_workflow_synonym public class A...
AdventOfCode/Day06/OrbitMap.cs
Abzylicious/advent-of-code-2019
0
7060816
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; namespace AdventOfCode.Day06 { public class OrbitMap { private readonly IDictionary<string, Orbit> _orbitMap; public OrbitMap() { _orbitMap = new Dictionary<string, Orbit>(); } ...
src/Assets/DynamicPanels/Scripts/PanelManager.cs
CWolfs/BTDebug-Library
0
7060817
<filename>src/Assets/DynamicPanels/Scripts/PanelManager.cs<gh_stars>0 using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; #if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER using UnityEngine.InputSystem; #endif using BTDebug.Panels; namespace DynamicPanels { public enum Direct...
Models/BaseModels/BaseModel.cs
idanma4104/OptimalApi
0
7060818
using OptimalApi.Models.DataBase; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace OptimalApi.Models.BaseModels { public class BaseModel { public i...
src/A5Soft.CARMA.Domain.Test/MockValidationEngineProvider.cs
Apskaita5/CARMA
0
7060819
<reponame>Apskaita5/CARMA<filename>src/A5Soft.CARMA.Domain.Test/MockValidationEngineProvider.cs using System; using System.Collections.Generic; using System.Text; using A5Soft.CARMA.Domain.Rules; namespace A5Soft.CARMA.Domain.Test { public class MockValidationEngineProvider : IValidationEngineProvider { ...
Gaming/SkiaSharp/Primo_Progetto_SkiaSharp/Demos/SkiaSharpFormsDemos.UWP/TouchEffect.cs
massimoubertini/Mobile
0
7060820
<reponame>massimoubertini/Mobile<filename>Gaming/SkiaSharp/Primo_Progetto_SkiaSharp/Demos/SkiaSharpFormsDemos.UWP/TouchEffect.cs using System; using System.Linq; using Windows.UI.Input; using Windows.UI.Xaml; using Windows.UI.Xaml.Input; using Xamarin.Forms; using Xamarin.Forms.Platform.UWP; [assembly: ResolutionGrou...
Source/DotSpatial.Controls/Docking/DockablePanelEventArgs.cs
sdrmaps/dotspatial
0
7060821
<reponame>sdrmaps/dotspatial // ----------------------------------------------------------------------- // <copyright company="DotSpatial Team"> // </copyright> // ----------------------------------------------------------------------- using System; namespace DotSpatial.Controls.Docking { /// <summary> ...
RegistrDisconnection/Views/Poper/UpdateFinance.cshtml
wakud/RegistrDisconn
0
7060822
@model IEnumerable<RegistrDisconnection.Models.Operations.UpdateFinance> @{ ViewData["Title"] = "Оновлення боргів"; } <h1>Список оновлених боргів абонентів</h1> <table class="table"> <thead> <tr> <th> Особовий рахунок </th> <th> Прі...
Tests/Batch3/BridgeIssues/3300/N3356.cs
cinjguy/Bridge
14
7060823
using System; using Bridge.Html5; using Bridge.Test.NUnit; using System.Reflection; namespace Bridge.ClientTest.Batch3.BridgeIssues { /// <summary> /// This consists in checking whether reflecion unboxing works with /// DateTime and integer. /// </summary> [Category(Constants.MODULE_ISSUES)] [T...
JLCSUtils/JLUtilsEFTest/Db/Ef/EfUtilTest.cs
JohnLambe/JLCSUtils
0
7060824
using System; using System.Collections.Generic; using System.Data.Entity.Validation; using System.Linq; using System.Text; using System.Threading.Tasks; using JohnLambe.Util.Db.Ef; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace JLUtilsEFTest.Db.Ef { [TestClass] public class EfUtilTest { ...
src/AzureFunctions/FunctionsConfiguration.cs
martincostello/azure-functions
1
7060825
// Copyright (c) <NAME>, 2018. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using System; namespace MartinCostello.AzureFunctions { /// <summary> /// A class representing the default implementation of <see cref="IFunction...
MMLPlayerClient/Assets/Scripts/UI/MusicItemCtrl.cs
CodeGize/MMLPlayer
0
7060826
<reponame>CodeGize/MMLPlayer using UnityEngine; using UnityEngine.UI; namespace MMLPlayer { public class MusicItemCtrl : MonoBehaviour { [SerializeField] private Text m_txNum; [SerializeField] private Text m_txName; [SerializeField] private Image m_imgPlaying; ...
CHOJ2.0/CHOJ/Controllers/QuestionController.cs
WesleyKhoiVo/asp_contestjudge
0
7060827
using System.Linq; using System.Web.Mvc; using CHOJ.Models; using CHOJ.Service; namespace CHOJ.Controllers { public class QuestionController : BaseController { public ActionResult Index(string id) { ViewData["comefrom"] = Request.UrlReferrer; var d = QuestionService.Get...
Sources/CommonLIB/AppCode/ObjectBuilders/SubObjects/MyMwcObjectBuilder_ObjectToBuild.cs
emperorstarfinder/Miner-Wars-2081
118
7060828
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using MinerWars.CommonLIB.AppCode.Networking; using SysUtils.Utils; namespace MinerWars.CommonLIB.AppCode.ObjectBuilders.SubObjects { public class MyMwcObjectBuilder_ObjectToBuild : MyMwcObject...
TAO3/Internal/Commands/ConnectMSSQL/SaveChangesInterceptor.cs
Lawlzee/TAO3
1
7060829
using Microsoft.EntityFrameworkCore.Diagnostics; using System.Data.Common; using System.Threading; namespace TAO3.Internal.Commands.ConnectMSSQL; public class SaveChangesInterceptor : DbCommandInterceptor, IDbCommandInterceptor { private readonly DbCommandFormatter _formatter; private readonly List<string> _...
Master/ASTRA.EMSG.Business/Models/Strassennamen/StrassenabschnittOverviewModelBase.cs
astra-emsg/ASTRA.EMSG
4
7060830
<gh_stars>1-10 using System; using System.ComponentModel.DataAnnotations; using ASTRA.EMSG.Common; namespace ASTRA.EMSG.Business.Models.Strassennamen { [Serializable] public class StrassenabschnittOverviewModelBase : Model { public string Strassenname { get; set; } public int? Abschnittsnum...
FinBot/Controllers/BotController.cs
borismod/FinBot
0
7060831
<filename>FinBot/Controllers/BotController.cs using System.Web.Http; using FinBot.Engine; using FinBot.Models; namespace FinBot.Controllers { public class BotController : ApiController { private readonly IBotResponseGenerator _botResponseGenerator; public BotController(IBotResponseGenerator b...
Muon/ViewModel/AccountTabViewModel.cs
shinmili/muon
2
7060832
<filename>Muon/ViewModel/AccountTabViewModel.cs<gh_stars>1-10 using Mastonet; using Mastonet.Entities; using Reactive.Bindings; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Muon.Model; namespace Muon.Vie...
Web/CHE.Web/Views/Teachers/Details.cshtml
DenicaAtanasova/CHE
0
7060833
@model CHE.Web.ViewModels.Teachers.TeacherDetailsViewModel @{ Layout = WebConstants.TeacherLayout; } <div class="row"> <div class="col-lg-4 image"> <img src="@Model.Profile.ImageUrl" alt="no picture"> </div> <div class="col-lg-5"> <h5>Info</h5> <hr /> <div><strong>Firs...
SunnyLand/Assets/Scripts/Levels/GemCounter.cs
iivchenko/SunnyLand
2
7060834
<reponame>iivchenko/SunnyLand using UnityEngine; public class GemCounter : TriggerHandler { private int _total; private int _collected; private UpdateScore _score; public void Awake() { _total = GameObject.FindGameObjectsWithTag("Gem").Length; _score = FindObjectOfType<UpdateScor...
VisualBat/VersionInfoDialog.Designer.cs
kb289/visualbat
0
7060835
namespace VisualBat { partial class VersionInfoDialog { /// <summary> /// 必要なデザイナ変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name...
RPG Project/Assets/Scripts/Shops/Shop.cs
ElectricBloo/RPG
156
7060836
using System; using System.Collections; using System.Collections.Generic; using GameDevTV.Inventories; using GameDevTV.Saving; using RPG.Control; using RPG.Inventories; using RPG.Stats; using UnityEngine; namespace RPG.Shops { public class Shop : MonoBehaviour, IRaycastable, ISaveable { [SerializeField...
src/ActiveStorage/StorageException.cs
danielcrenna/ActiveStorage
0
7060837
<gh_stars>0 // Copyright (c) <NAME> & Contributors. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace ActiveStorage { public sealed class StorageException : Exception { public StorageException(string messag...
GAT/Src/Actions/ActivateOutputWindowAction.cs
MicrosoftArchive/opengax
11
7060838
<gh_stars>10-100 //=================================================================================== // Microsoft patterns & practices // Guidance Automation Toolkit //=================================================================================== // Copyright (c) Microsoft Corporation. All rights reserved....
Infinite Scroll Jam/Assets/Scripts/Ball.cs
coatline/Infinite-Scroll-Jam
0
7060839
using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; using UnityEngine; using TMPro; public class Ball : MonoBehaviour { [SerializeField] GameObject[] platforms; [SerializeField] TMP_Text scoreText; [SerializeField] float bounceForce; [SerializeFiel...