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
Templater.Tests/TemplateTests.cs
formix/templater
0
7054672
<gh_stars>0 using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Templater.Tests.Models; using System.IO; namespace Templater.Tests { [TestClass] public class TemplateTests { [TestMethod] public void TestRender() { string templateText = null; ...
BankLinksDotNet/Exceptions/FieldLengthOutOfRangeException.cs
jilves/banklinksdotnet
1
7054673
<gh_stars>1-10 using System.Linq; using BanklinksDotNet.ProviderBase; namespace BanklinksDotNet.Exceptions { /// <summary> /// Thrown when one of the parameters sent to or received from a bank exceeds the allowed max length. /// </summary> public class FieldLengthOutOfRangeException : BanklinksDotNetE...
NetBio.Training/StringProcessor/ReverseWords.cs
enriqueescobar-askida/Kinito.NetBio.Training
0
7054674
namespace StringProcessor { using System; /// <summary> /// The reverse words. /// </summary> public class ReverseWords : IStringProcessor { /// <summary> /// The process. /// </summary> /// <param name="input"> /// The input. /// </param> ...
LPContribMvc.UI.Html/HtmlHelperExtension.cs
surya-rakanta/LPContribMvc
0
7054675
using System; using System.Web.Mvc; namespace LPContribMvc.UI.Html { public static class HtmlHelperExtension { [Obsolete("Use Url.Content instead.")] public static string ResolveUrl(this HtmlHelper html, string relativeUrl) { if (relativeUrl == null) { return null; } if (!relative...
TestTask/Program.cs
d4nnoyer/TestTask
0
7054676
using System; namespace TestTask { public static class Program { /// <summary> /// Программа принимает на входе 2 пути до файлов. /// Анализирует в первом файле кол-во вхождений каждой буквы (регистрозависимо). Например А, б, Б, Г и т.д. /// Анализирует во втором фай...
src/Handyman.DataContractValidator/src/Model/TypeInfo.cs
JonasSamuelsson/Handyman
1
7054677
using Handyman.DataContractValidator.CodeGen; using Handyman.DataContractValidator.Validation; namespace Handyman.DataContractValidator.Model { internal abstract class TypeInfo : ITypeInfo { public bool? IsNullable { get; set; } public abstract bool IsPrimitive { get; } public abstract...
src/Sunburst.Win32.ApplicationRecovery/RestartCondition.cs
SunburstApps/Sunburst.WindowsShell
1
7054678
using System; using System.Collections.Generic; using System.Text; namespace Sunburst.Win32.ApplicationRecovery { [Flags] public enum RestartCondition { Always = 0, NotOnCrash = 1, NotOnHang = 2, NotOnPatch = 4, NotOnReboot = 8 } }
CSharpBot/Bot/Utils.cs
krampster/SensibleBot
0
7054679
using System; using System.Numerics; using Bot.Utilities.Processed.BallPrediction; using Bot.Utilities.Processed.FieldInfo; using Bot.Utilities.Processed.Packet; using RLBotDotNet; namespace Bot { public static class Utils { public const float BallRadius = 91.25f; public const float SideWall =...
Code/Foundation/Services/MessageSeverity.cs
DavidMoore/Foundation
1
7054680
namespace Foundation.Services { /// <summary> /// Denotes the severity of a system message. This can be intended /// for logging infrastructure, or messages returned with service results. /// </summary> public enum MessageSeverity { /// <summary> /// No severity specifie...
Packages/UIForia/Src/Parsing/Template/TemplateNode.cs
criedel/UIForia
124
7054681
using System; using UIForia.Parsing.Expressions; using UIForia.Text; using UIForia.Util; namespace UIForia.Parsing { public struct TemplateNodeDebugData { public string fileName; public string tagName; public TemplateLineInfo lineInfo; public override string ToString() { ...
src/Newbe.Claptrap.DevTools/ToolsServiceModule.cs
Z4t4r/Newbe.Claptrap
206
7054682
<gh_stars>100-1000 using Autofac; namespace Newbe.Claptrap.DevTools { public class ToolsServiceModule : Module { protected override void Load(ContainerBuilder builder) { base.Load(builder); builder.RegisterType<ToolService>() .As<IToolService>()...
Pages/Lowyeslicencas/Index.cshtml
fdamiao/lawyerBox
0
7054683
@page @model WeblawyersBox.Pages.Lowyeslicencas.IndexModel @{ ViewData["Title"] = "Index"; } <h1>Index</h1> <p> <a asp-page="Create">Create New</a> </p> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.pagamentoLicenca[0].valorpago) ...
src/Search/N3O.Umbraco.Search/SearchConstants.cs
Osama-Tahboub1/N3O.Umbraco
0
7054684
namespace N3O.Umbraco.Search { public static class SearchConstants { public const string QueryString = "q"; public const string SitemapXml = "sitemap.xml"; public static class BlockModuleKeys { public const string Search = nameof(Search); } } }
Windows8_Controls_Showcase/Controls.Toolkit/Controls.Toolkit/DateTime/DateTimeHelper.cs
TikLiu/Win8_SurgerUI
0
7054685
<filename>Windows8_Controls_Showcase/Controls.Toolkit/Controls.Toolkit/DateTime/DateTimeHelper.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Controls.Tool...
src/OneSignal.net/Entities/Apps/AppResponse.cs
EvoMobius/OneSignal.net
0
7054686
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; namespace OneSignal { public class AppResponse { /// <summary> /// The newly created app id /// </summary> [JsonProperty("id")] public string Id { get; set; } /// <summary> /// Required:...
src/System.Windows.Forms.Primitives/tests/TestUtilities/Metafiles/Validators/EmfValidator.WrappedXunitException.cs
adamsitnik/winforms
3,557
7054687
<filename>src/System.Windows.Forms.Primitives/tests/TestUtilities/Metafiles/Validators/EmfValidator.WrappedXunitException.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more info...
src/QuickLaunch.UI.Wpf/MainWindow.xaml.cs
mpc456/quicklaunch
0
7054688
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Inp...
Introducing/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VSSettingsProvider/VSSettingsScriptReferenceResolver.cs
MrMYX/StartingUnity2D
1
7054689
<reponame>MrMYX/StartingUnity2D<filename>Introducing/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VSSettingsProvider/VSSettingsScriptReferenceResolver.cs using UnityEditor; using UnityEngine; namespace Unity.VisualScripting { public class VSSettingsScriptReferenceResolver { private const...
SteamWebRequest/SteamApiClient/Responses/Dota/ProDota/Tournament/Tournament.cs
Niklas-Seppala/steam-api-core
1
7054690
<gh_stars>1-10 using System; using System.Collections.Generic; namespace SteamApi.Responses.Dota { /// <summary> /// Dota 2 tournament model /// </summary> [Serializable] public sealed class Tournament { /// <summary> /// Tournament Id /// </summary> public ulon...
HAProxy.StreamProcessingOffload.AgentFramework/Spop/SpopAction.SetVarAction.cs
inulogic/HAProxy.StreamProcessingOffload.AgentFramework
0
7054692
<gh_stars>0 namespace HAProxy.StreamProcessingOffload.AgentFramework.Spop; public class SetVarAction : SpopAction { public SetVarAction(VarScope scope, string name, object value) { this.Scope = scope; this.Name = name; this.Value = value; } public VarScope Scope { get; private ...
AnalogDevices.Constraints/Constraints/MinMaxConstraint{Q}.cs
jccockre/constraints
1
7054693
<reponame>jccockre/constraints  using EngineeringUnits; using AnalogDevices.Constraints.Parameters; namespace AnalogDevices.Constraints { internal abstract class NumericalBoundConstraintBase<Q> : UnitaryTypedConstraint<QuantitativeParameterBase<Q>, Q> where Q : BaseUnit, new() { protected abs...
csharp/extractor/Semmle.Extraction.CSharp.Driver/Driver.cs
madhurimamandal/codeql
4,036
7054694
<reponame>madhurimamandal/codeql using System; using System.Text.RegularExpressions; using System.Collections.Generic; namespace Semmle.Extraction.CSharp { /// <summary> /// A command-line driver for the extractor. /// </summary> public static class Driver { public static int Main(string[] ...
src/UnoApp/UnoDecompile/Uno.UI/Uno.UI.__Resources/_MenuFlyout_rs5_themeresources.cs
ljcollins25/Codeground
0
7054695
using System; using Uno.UI.Helpers; using Uno.UI.Helpers.Xaml; using Uno.UI.Xaml; using Windows.UI.Xaml; using Windows.UI.Xaml.Automation; using Windows.UI.Xaml.Automation.Peers; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Markup; using Windows.UI.Xaml.Media.Animation; namespace U...
src/ScottPlot/Plot/Plot.PlotAxisLine.cs
biehlermi/ScottPlot
1
7054696
<gh_stars>1-10 /* Code here extends Plot module with methods to construct plottables. * - Plottables created here are added to the plottables list and returned. * - Long lists of optional arguments (matplotlib style) are permitted. * - Use one line per argument to simplify the tracking of changes. */ using S...
10.CommonType/Homework/02.Customer/Customer.cs
ivayloivanof/OOP-CSharp
0
7054697
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; public class Customer : IComparable<Customer>, ICloneable { public Customer( string firstName, string lastName, long id, long mobilePhone, string email, CustomerType cu...
src/Common/src/System/StringNormalizationExtensions.cs
richamo/wcf
1,794
7054698
<gh_stars>1000+ // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Text; namespace System { #if INTERNAL_GLOBALIZATION_EXTENSIONS internal #else public #endif static partial class StringNorma...
Chip8Console/ConsoleInput.cs
Yttrmin/Chip8Sharp
0
7054699
<reponame>Yttrmin/Chip8Sharp<filename>Chip8Console/ConsoleInput.cs using Chip8Sharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chip8Console { class ConsoleInput : BaseInput { private readonly Dictionary<Cons...
LoadScheduling/LoadScheduler/Program.cs
ngrj93/Project-Morpheus
0
7054700
using System; using Eneter.Messaging.MessagingSystems.MessagingSystemBase; using Eneter.Messaging.MessagingSystems.TcpMessagingSystem; using Eneter.Messaging.Nodes.LoadBalancer; using System.Diagnostics; namespace LoadScheduler { class Program { static void Main(string[] args) { ...
ProgrammingFundamentals/Regex-Exercise/Extract_Emails/Extract_Emails.cs
Iliyan7/SoftUni
0
7054701
using System; using System.Text.RegularExpressions; namespace Extract_Emails { public class Extract_Emails { public static void Main() { var text = Console.ReadLine(); var pattern = @"(?<=\s)[A-Za-z]([A-Za-z]|\.|-|_)+[A-Za-z]@[A-Za-z]([A-Za-z]|-)+[A-Za-z](\.[A-Za-z]?([...
src/BookmarksManager/NetscapeFormat/NetscapeBookmarksReader.cs
mkht/BookmarksManager
34
7054702
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; using Majestic12; namespace BookmarksManager { /// <summary> /// This class is used for bookmarks container deserialization from Netscape bookmarks format /// Netscape bookmarks...
src/Incrementalist/ProjectSystem/SolutionAnalyzer.cs
eaba/Incrementalist
11
7054703
// ----------------------------------------------------------------------- // <copyright file="SolutionAnalyzer.cs" company="Petabridge, LLC"> // Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> // </copyright> // ----------------------------------------------------------------------- using Sys...
CustomEnergyBar/Settings/UI/SettingsUI.cs
ckosmic/CustomEnergyBars
16
7054704
<gh_stars>10-100 using BeatSaberMarkupLanguage; using BeatSaberMarkupLanguage.MenuButtons; using System; using Zenject; namespace CustomEnergyBar.Settings.UI { internal class SettingsUI : IInitializable, IDisposable { private readonly CEBFlowCoordinator _flowCoordinator; private MenuButton _menuButton; publ...
src/BrowserSearch/CommandLineOptions.cs
paultechguy/BrowserSearch
0
7054705
namespace BrowserSearch { using CommandLine; public class CommandLineOptions { [Option('c', "count", Required = true, HelpText = "Number of searches to perform.")] public int SearchCount { get; set; } [Option('b', "browser", Default = "", Required = false, HelpText = "OS command-line browser name (e.g. msedg...
NewLife.Cube/Entity/委托代理.cs
NewLifeX/NewLife.Cube
481
7054706
<reponame>NewLifeX/NewLife.Cube<gh_stars>100-1000 using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; using System.Web.Script.Serialization; using System.Xml.Serialization; using XCode; using XCode.Configuration; using XCode.DataAccessLayer; namespace NewLif...
Controllers/ExecController.cs
mawinkler/c1-app-sec-dotnet-vulnerable
0
7054707
using System; using System.Diagnostics; using Microsoft.AspNetCore.Mvc; namespace app.Controllers { public class ExecController : Controller { [HttpGet] public IActionResult Index() { var filter = HttpContext.Request.Query["filter"].ToString(); if (filter.Length ...
API/Controllers/TeamRequestController.cs
GosuAlex/bacheloroppgave
0
7054709
using System; using System.Collections.Generic; using System.Threading.Tasks; using Application.TeamRequests; using Domain; using MediatR; using Microsoft.AspNetCore.Mvc; namespace API.Controllers { [Route("api/[controller]")] [ApiController] public class TeamRequestController : BaseController { ...
VisioAutomation_2010/VisioAutomation.Models/Layouts/DirectedGraph/MsaglUtil.cs
jhliptak/VisioAutomation
0
7054710
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using MG = Microsoft.Msagl; namespace VisioAutomation.Models.Layouts.DirectedGraph { static class MsaglUtil { public static VisioAutomation.Geometry.Rectangle ToVARectangle(MG.Core.Geometry.Rectangle n) { ...
LeagueBroadcast/Ingame/Events/ItemCompleted.cs
onlyshen/offset
61
7054711
<filename>LeagueBroadcast/Ingame/Events/ItemCompleted.cs<gh_stars>10-100 using LeagueBroadcast.Common.Data.RIOT; using LeagueBroadcast.Common.Events; using LeagueBroadcast.Ingame.Data.RIOT; namespace LeagueBroadcast.Ingame.Events { public class ItemCompleted : LeagueEvent { public int playerId; ...
src/templates/k8soperator/Content/Crd/CustomResourceList.cs
Xabaril/lucecu
46
7054712
<filename>src/templates/k8soperator/Content/Crd/CustomResourceList.cs using k8s; using k8s.Models; using System.Collections.Generic; namespace __ProjectName__.Crd { public abstract class CustomResourceList<TCustomResource> : KubernetesObject where TCustomResource : CustomResource { pu...
Zaphat/Core/TextureNameManager.cs
Lazzu/Zaphat
0
7054713
using System.Collections.Concurrent; using OpenTK.Graphics.OpenGL4; namespace Zaphat.Core { /// <summary> /// Texture manager. Creates and releases OpenGL Texture names. /// </summary> internal class TextureNameManager : GPUResourceManager { /// <summary> /// The released textures. /// </summary> readonl...
sources/CloudDrive.Connector.OneDrive/Client/IClient.cs
LeversonCarlos/Xamarin.OneDrive.Connector
11
7054715
using System.Net.Http; using System.Threading.Tasks; namespace Xamarin.CloudDrive.Connector { public interface IOneDriveClient { Task<bool> ConnectAsync(); Task<bool> CheckConnectionAsync(); Task DisconnectAsync(); Task<HttpResponseMessage> GetAsync(string httpPath); Task<HttpResp...
tests/RayTracingLib.Tests/Traceable/TriangleTests.cs
vv-dc/computer-graphics
0
7054716
namespace RayTracingLib.Tests.Traceable { using System; using Xunit; using Common; using Common.Numeric; using RayTracingLib.Traceable; public class TriangleTests { private readonly Triangle triangle; public TriangleTests() { triangle = new Triangle( ...
Source/Tests/Trakt.NET.Objects.Get.Tests/Collections/Implementations/TraktCollectionMovie_Tests.cs
henrikfroehling/Trakt.NET
39
7054717
namespace TraktNet.Objects.Get.Tests.Collections.Implementations { using FluentAssertions; using System; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Enums; using TraktNet.Objects.Get.Collections; using TraktNet.Objects.Get.Collections.Json.Reader; ...
[1] FailOnSaberClash/Installers/FailPlayerInstaller.cs
ProjectSIRA/SiraUtil-Examples
1
7054718
<reponame>ProjectSIRA/SiraUtil-Examples using FailOnSaberClash.Managers; using Zenject; namespace FailOnSaberClash.Installers { // This is our installer. It is one of the ways we can communicate to Zenject what to run and how to instantiate our classes. internal class FailPlayerInstaller : Installer { ...
src/SymbooglixLibTests/AssertionTextWriterTraceListener.cs
ccadar/symbooglix
20
7054719
<reponame>ccadar/symbooglix //------------------------------------------------------------------------------ // Symbooglix // // // Copyright 2014-2017 <NAME> // // This file is licensed under the MIT license. // See LICENSE.txt for details. //-------------------------------------------...
Microsoft.Research.SpeechWriter/Microsoft.Research.SpeechWriter.Core.Test/WriterSettingsTest.cs
MSREnable/Hands-Free-Keyboard
4
7054720
using NUnit.Framework; using System; using System.Collections.Generic; namespace Microsoft.Research.SpeechWriter.Core.Test { [Parallelizable(ParallelScope.All)] class WriterSettingsTest { private IEnumerable<WriterSettingName> Names { get { foreach ...
bsn.Simple3/Simple2REPL/Simple3/Statement.cs
dolan/simple3-interpreter
0
7054721
<filename>bsn.Simple3/Simple2REPL/Simple3/Statement.cs // /************************************************************ // * // * Copyright (c) 2010 <NAME>. All Rights Reserved // * // * Author: <NAME> // * // ************************************************************/ namespace SimpleREPL.Simple3{ ...
src/Data/IEntryDescriptorManager.cs
Ultraemong/org.Core
0
7054722
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace org.Core.Data { /// <summary> /// /// </summary> public interface IEntryDescriptorManager : IDbQueryOperationContextProvider { /// <summary> /// /...
ExtravagantGifts/Patches/Patch.cs
MrPurple6411/Subnautica-Mods
14
7054723
<filename>ExtravagantGifts/Patches/Patch.cs<gh_stars>10-100 #if BZ namespace ExtravagantGifts.Patches { using HarmonyLib; using SMLHelper.V2.Crafting; using SMLHelper.V2.Handlers; using Story; public static class Patches { [HarmonyPatch(typeof(SeaMonkey), nameof(SeaMonkey.IsGiftBehavio...
test/Esprima.Tests/StrictModeTests.cs
pluethi1/esprima-dotnet
0
7054724
using System.Linq; using Esprima.Ast; using Xunit; namespace Esprima.Tests { public class StrictModeTests { [Fact] public void DetectsForFunction() { var script = new JavaScriptParser("function f() { 'use strict'; }").ParseScript(); var function = (FunctionDeclar...
Subscriptions/Models/SubscriptionPart.cs
infofromca/Etch.OrchardCore.UserProfiles
4
7054725
using OrchardCore.ContentManagement; namespace Etch.OrchardCore.UserProfiles.Subscriptions.Models { public class SubscriptionPart : ContentPart { public string Identifier { get; set; } public bool IsSelected { get; set; } } }
onlinept/obj/Release/Package/PackageTmp/Views/Home/home.cshtml
batuhan-yilmaz/Asp.Net-MVC-5-ONLINEPT-Personel-Trainer-Control-System
0
7054726
<filename>onlinept/obj/Release/Package/PackageTmp/Views/Home/home.cshtml @model List<onlinept.Models.Entity.home> @{ ViewBag.Title = "ONLINE PT"; Layout = "~/Views/Shared/_Layout.cshtml"; } @if (TempData["homeGuncelle"] != null) { <script> Swal.fire('Başarılı', 'İşlem gerçekleşti', 'success'); ...
src/Nucleo.UnitTests.40.MS/Web/Description/ElementDescriptionCollectionTest.cs
brianmains/Nucleo.NET
2
7054727
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Nucleo.TestingTools; namespace Nucleo.Web.Description { [TestClass] public class ElementDescriptionCollectionTest { #region " Tests " [TestMethod] public void GettingEmptyScriptReturnsEmpty() { //Arrange var elements = new Ele...
WzLib/WzProperties/WzConvexProperty.cs
oung/MapleLib
7
7054728
<gh_stars>1-10 using MapleLib.WzLib.Util; using System; using System.Collections.Generic; using System.IO; namespace MapleLib.WzLib.WzProperties { /// <summary> /// A property that contains several WzExtendedPropertys /// </summary> public class WzConvexProperty : APropertyContainer { #region ...
Api/PriceCalculation.Models/Data/Catalogue.cs
dblazeski96/PriceCalculationApp
0
7054729
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using PriceCalculation.Models.Base; namespace PriceCalculation.Models.Data { public class...
HCsbLib/HCsbLib/HTLib2.Bioinfo/Hess.GetHessCoarse/Hess.GetHessCoarseResiIter_IterExperimental.cs
htna/HCsbLib
2
7054730
<reponame>htna/HCsbLib<filename>HCsbLib/HCsbLib/HTLib2.Bioinfo/Hess.GetHessCoarse/Hess.GetHessCoarseResiIter_IterExperimental.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using HTLib2; using HTLib2.Bioinfo; namespace HTLib2.Bioinfo { public partial class Hess ...
LINQ/HWfromFirst/ExtensionMethods.cs
LuGeorgiev/CSharpSelfLearning
3
7054731
<reponame>LuGeorgiev/CSharpSelfLearning<filename>LINQ/HWfromFirst/ExtensionMethods.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HWfromFirst { public static class ExtensionMethods { //Implement an extension method Subst...
src/AutoMapper.Collection.EntityFrameworkCore.Tests/EntityFrameworkCoreUsingCtorTests.cs
kakone/AutoMapper.Collection.EFCore
76
7054732
<gh_stars>10-100 using System; using AutoMapper.EquivalencyExpression; using Microsoft.EntityFrameworkCore; namespace AutoMapper.Collection.EntityFrameworkCore.Tests { public class EntityFrameworkCoreUsingCtorTests : EntityFramworkCoreTestsBase { public EntityFrameworkCoreUsingCtorTests() { ...
src/mailslurp_netstandard_2x/Api/TrackingControllerApi.cs
mailslurp/mailslurp-client-csharp-netstandard-2x
0
7054733
<filename>src/mailslurp_netstandard_2x/Api/TrackingControllerApi.cs /* * MailSlurp API * * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments...
SPM/Views/Account/Register.cshtml
ScottLegrove/ASP-MVC-Web-App
0
7054734
@model SPM.Models.RegisterViewModel @using System.Collections.Generic; @using SPM.Entities @{ ViewBag.Title = "Register"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() <h4>Create a...
minbd/src/Memory/Sched/BatchMemSched/STATIC_BATCH.cs
anderson1008/Noculator
12
7054735
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Diagnostics; namespace ICSimulator { class STATIC_BATCH : BatchMemSched { public bool is_batch_active = true; public STATIC_BATCH(int buf_size, Bank[] bank, RankAlgo rank_...
Lazurite/Lazurite.Shared/IGeolocationTarget.cs
noant/Pyrite2
55
7054736
namespace Lazurite.Shared { public interface IGeolocationTarget { string Name { get; } string Id { get; } GeolocationInfo[] Geolocations { get; } } }
StaticAnalysisProject.Console/Program.cs
Zelvar/VSB-DP
0
7054737
using System; using System.Diagnostics; namespace StaticAnalysisProject.Console { /// <summary> /// Simple interactive console APP /// </summary> class Program { static void Main(string[] args) { if (args.Length >= 1) { #region Console re...
Metadata/FpML.V5r10/FpML.V5r10.Reporting.Models/Rates/Bonds/IBondTransactionParameters.cs
mmrath/Highlander.Net
0
7054738
<filename>Metadata/FpML.V5r10/FpML.V5r10.Reporting.Models/Rates/Bonds/IBondTransactionParameters.cs using System; namespace Orion.Models.Rates.Bonds { public interface IBondTransactionParameters// : IRateInstrumentParameters { string Leg1Currency { get; set; } string Leg2Currency { get; set; ...
Web/ForumSystem.Web.ViewModels/Categories/PostsInCategoryViewModel.cs
kaiovasa1999-ux/Asp.Net-ForumSystem
0
7054739
<reponame>kaiovasa1999-ux/Asp.Net-ForumSystem namespace ForumSystem.Web.ViewModels.Categories { using System.Net; using System.Text.RegularExpressions; using ForumSystem.Data.Models; using ForumSystem.Services.Mapping; public class PostsInCategoryViewModel : IMapFrom<Post> { public in...
src/Zenseless.ExampleFramework/FormShaderException.cs
amadron/FinalProject_ShaderProg
0
7054740
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using Zenseless.HLGL; namespace Zenseless.ExampleFramework { /// <summary> /// /// </summary> /// <seealso cref="System.Windows.Forms.Form" /> public partial class FormShaderException : Form { /// <summary> /// Ini...
backend/src/Domain/Events/FoodCategoryEvents/FoodCategoryCreatedEvent.cs
hesamkal2009/Store
0
7054741
using Domain.Common; using Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Domain.Events.FoodCategoryEvents { public class FoodCategoryCreatedEvent : DomainEvent { public FoodCategoryCreatedEvent(FoodCategor...
src/mono/mono/tests/checked.cs
abock/runtime
469
7054742
using System; namespace test { public class tester { public tester() {} public static int Main () { float a = 1e20f; int i = 0; uint ui = 0; bool exception = false; try { int b = (int) a; checked { i = (int)a; } } catch (OverflowException) { except...
Common/RejectReason.cs
SoftFx/FDK2
0
7054743
<reponame>SoftFx/FDK2<filename>Common/RejectReason.cs namespace TickTrader.FDK.Common { /// <summary> /// Possible reject reasons. /// </summary> public enum RejectReason { /// <summary> /// /// </summary> None = -1, /// <summary> /// Dealer reject....
src/AsyncComponents/AsyncComponents/ProducerConsumer/TaskQueueItem.cs
amitgafni/async-components
0
7054744
<filename>src/AsyncComponents/AsyncComponents/ProducerConsumer/TaskQueueItem.cs using System; using System.Threading; using System.Threading.Tasks; namespace AsyncComponents.ProducerConsumer { internal abstract class TaskQueueItem { public abstract Task ExecuteAsync(CancellationToken token); } ...
src/GuestRoom.Api/Models/Configuration/AppSettings.cs
penCsharpener/guest-room
0
7054745
<filename>src/GuestRoom.Api/Models/Configuration/AppSettings.cs using NETCore.MailKit.Infrastructure.Internal; namespace GuestRoom.Api.Models.Configuration { public class AppSettings { public Token Token { get; set; } public string ApiUrl { get; set; } public string ClientUrl { get; se...
ReactiveGit.Gui.WPF/Selectors/DockingElementStyleSelector.cs
punker76/ReactiveGit
0
7054746
<filename>ReactiveGit.Gui.WPF/Selectors/DockingElementStyleSelector.cs // <copyright file="DockingElementStyleSelector.cs" company="<NAME>"> // Copyright (c) 2018 <NAME>. All rights reserved. // See LICENSE file in the project root for full license information. // </copyright> namespace ReactiveGit.Gui.WPF.Selectors ...
src/Services/Catalog/Catalog.Api/Infrastructure/LoggerAdapter.cs
JordaoGustavo/AspnetMicroservices
0
7054747
using Catalog.Api.Infrastructure.Interfaces; namespace Catalog.Api.Infrastructure { public class LoggerAdapter<T> : ILoggerAdapter<T> { private readonly ILogger<T> logger; public LoggerAdapter(ILogger<T> logger) { this.logger = logger; } public void LogErr...
Persistence/Entity/Project.cs
Kussy/Risk-basedProjectValue
0
7054748
<gh_stars>0 using System.Collections.Generic; namespace Kussy.Analysis.Project.Persistence { /// <summary>プロジェクト</summary> public class Project { /// <summary>ID</summary> public string Id { get; set; } /// <summary>名称</summary> public string Name { get; set; } /// ...
Assets/Scripts/GameUtils/Persistent/TileModel.cs
rp88imxo/RML2048
0
7054749
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class TileModel { public TileState tileState; public int num; } [System.Serializable] public class TileModelWrapper { public TileModel[] tileModels; public void Init(GameTile[] gameTiles) ...
SshConfigParser.Tests/TestExtensions.cs
pariv/Ssh-Config-Parser
8
7054750
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Xunit; namespace SshConfigParser.Tests { public static class TestExtensions { public static void ShouldEqual(this object actual, object expected) { Assert.Equal(expected, actual); } public static v...
Source/Norma.Gamma/Api/RootApi.cs
mika-f/Norma
3
7054751
using System; using System.Linq.Expressions; using System.Threading.Tasks; using Newtonsoft.Json; using Norma.Gamma.Extensions; using Norma.Gamma.Models; namespace Norma.Gamma.Api { public class RootApi : AbemaTvApiImpl { public RootApi(AbemaTv abemaTv) : base(abemaTv) { } ...
src/3D War Game Simulator/Assets/Scripts/MousePlace.cs
prnake/Not-Quite-Accurate-Battle-Simulator
1
7054752
<reponame>prnake/Not-Quite-Accurate-Battle-Simulator<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class MousePlace : MonoBehaviour { public GameObject target; private GameObject MoneyControl; public int money; ...
Licence.cs
uaineteine/GitPusher
1
7054754
using System; using System.Reflection; using System.IO; using System.Collections.Generic; using System.Text; using System.Linq; namespace GitPusher { public static class Licence { static string fn = "LICENSE"; public static void DisplayScreen() { UI.displayFilesScreen(fn);...
Source/DeadManSwitch.UI.Web.AspNet/Account/LoginPresenter.cs
tategriffin/DeadManSwitch
1
7054755
<reponame>tategriffin/DeadManSwitch<filename>Source/DeadManSwitch.UI.Web.AspNet/Account/LoginPresenter.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DeadManSwitch.Service; namespace DeadManSwitch.UI.Web.AspNet.Account { public class L...
Sound.cs
hr18aba/The-Endless-Crucifix
0
7054756
<reponame>hr18aba/The-Endless-Crucifix using UnityEngine; [System.Serializable] public class Sound : MonoBehaviour { public string name; public AudioClip clip; public float volume; public bool loop; public AudioSource source; }
Watchdog/Watchdog.ProxyListener/Models/AttackString.cs
wickedlizerd/Watchdog
5
7054757
<filename>Watchdog/Watchdog.ProxyListener/Models/AttackString.cs using MongoDB.Bson.Serialization.Attributes; using MongoDB.Driver; namespace Watchdog.ProxyListener.Models { public class AttackString { [BsonId] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string Id { get...
Samples/MasterPortal/Areas/Conference/Pages/ConferenceSessions.aspx.cs
hhnguyen/xRM-Portals-Community-Edition
117
7054758
<filename>Samples/MasterPortal/Areas/Conference/Pages/ConferenceSessions.aspx.cs /* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; using System.Linq; using Adxstudio.Xrm.Cms; using Adxstudio.Xrm...
src/KingMigrations.SqlServer/SqlServerMigrationApplier.cs
MatthewKing/KingMigrations
0
7054759
using System.Data.Common; using KingMigrations.Extensions; namespace KingMigrations.SqlServer; public class SqlServerMigrationApplier : MigrationApplier { public override MigrationTableDefinition TableDefinition { get; } = new MigrationTableDefinition() { TableSchema = "dbo", TableName = "Ver...
src/WaterTrans.DailyReport.Domain/Entities/Project.cs
watertrans/DailyReport
1
7054760
using System; using System.Collections.Generic; using WaterTrans.DailyReport.Domain.Constants; namespace WaterTrans.DailyReport.Domain.Entities { /// <summary> /// プロジェクト /// </summary> public class Project { /// <summary> /// プロジェクトID /// </summary> public Guid Pro...
Kugar.Core.Web.NetCore/ActionResult/ModelStateValidActionResult.cs
kugarliyifan/Kugar.UI.Web
2
7054761
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Kugar.Core.ExtMethod; using Kugar.Core.Web.Helpers; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Newtonsoft.Json; namespace Kugar.Core.Web.ActionResult { /// <summar...
Clinica.Web/Data/Repositories/IAppointmentRepository.cs
luase/Clinica
0
7054762
<filename>Clinica.Web/Data/Repositories/IAppointmentRepository.cs namespace Clinica.Web.Data.Repositories { using Clinica.Web.Models; using Entities; using System.Linq; using System.Threading.Tasks; public interface IAppointmentRepository : IGenericRepository<Appointment> { Task<IQuery...
TRL.Csharp.Test/Models/OrderTests.cs
wouldyougo/TRx
7
7054763
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using TRL.Csharp.Models; namespace TRL.Csharp.Test.Models { [TestClass] public class OrderTests { [TestMethod] public void Order_constructor_test() { int id = 95; DateTime date = DateTime.Now;...
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Performance.Tests/Json/JsonReadMicroBenchmarks.cs
ayanMSFT/azure-cosmos-dotnet-v3
522
7054764
<gh_stars>100-1000 //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Performance.Tests.Json { using System; using System.Collections.Generic...
Timetabler.DataLoader.Tests.Unit/Load/Xml/SignalboxHoursSetModelExtensionsUnitTests.cs
caitlinsalt/simple-timetable-editor
0
7054765
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using Timetabler.Data; using Timetabler.DataLoader.Load.Xml; using Timetabler.SerialData.Xml; namespace Timetabler.DataLoader.Tests.Unit.Load.Xml { [TestClass] public class SignalboxHoursSetModelExtensionsUnitT...
Assets/Scripts/Sticks/Joystick.cs
firatozbay/UnityMobileInputHandler
4
7054766
using UnityEngine; public abstract class Joystick : Stick { [HideInInspector] public bool IsActive = false; private int _fingerId; protected override void Awake() { base.Awake(); _fingerId = -1; } private void Update() { if (InputHandler.GetTouch()) {...
ShellBoost.Samples/ShellBoost.Samples.CloudFolder/Program.cs
aelyo-softworks/ShellBoost-Samples
7
7054767
<gh_stars>1-10 using System; using System.Threading.Tasks; using System.Windows.Forms; using ShellBoost.Core; namespace ShellBoost.Samples.CloudFolder { class Program { static void Main() { Console.WriteLine("ShellBoost Samples - CloudFolder" + (Core.Client.Installer.IsN...
Assets/Two/Scripts/InGame/Domain/Model/GameStateModel.cs
kitatas/unity1week_two
0
7054768
<reponame>kitatas/unity1week_two using Two.InGame.Application; using Two.InGame.Domain.Model.Interface; using UniRx; namespace Two.InGame.Domain.Model { public sealed class GameStateModel : IGameStateModel { private readonly ReactiveProperty<GameState> _gameState; public GameStateModel() ...
SageFrame/Modules/AspxCommerce/AspxPopularTags/PopularTagsRss.ascx.cs
AspxCommerce/AspxCommerce2.7
22
7054769
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SageFrame.Web; using AspxCommerce.Core; using AspxCommerce.PopularTags; using System.Xml; using System.Text; using System.Collections; public partial class Modules_AspxComme...
TerrificNet/Models/TemplateItemModel.cs
namics/TerrificNet
9
7054770
<filename>TerrificNet/Models/TemplateItemModel.cs using Newtonsoft.Json; namespace TerrificNet.Models { public class TemplateItemModel { [JsonProperty("url")] public string Url { get; set; } [JsonProperty("text")] public string Text { get; set; } [JsonProperty("editUr...
LogUploader/Data/RaidOrgaPlus/Raid.cs
ProfBits/LogUploader2
1
7054771
<reponame>ProfBits/LogUploader2 using LogUploader.Helper.RaidOrgaPlus; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogUploader.Data.RaidOrgaPlus { /* * { * session: <gültige Session-ID aus Logi...
Demos/08-EFCore/MappingAttributes/BooksContext.cs
TaleLearnCode/WhatsNewInCSharp10AndDotNET6
1
7054772
<gh_stars>1-10 namespace TaleLearnCode.WhatsNewForCSharepDevelopers.EFCore.MappingAttributes; public class BooksContext : DbContext { public DbSet<Book>? Books { get; set; } private readonly bool _quiet; public BooksContext(bool quiet = false) { _quiet = quiet; } protected override void OnConfiguring(DbCon...
Nuqleon/Core/JSON/Nuqleon.Json.Serialization/Compiler/CompiledTrie.cs
ScriptBox99/reaqtor
485
7054773
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT License. // See the LICENSE file in the project root for more information. // // Revision history: // // BD - 04/05/2016 - Created fast JSON deserializer functionality. // using System.Co...
PetiteParser/PetiteParser/Grammar/Item.cs
Snow-Gremlin/PetiteParser
1
7054774
<reponame>Snow-Gremlin/PetiteParser<gh_stars>1-10 namespace PetiteParser.Grammar { /// <summary>An item is part of a term rule.</summary> public abstract class Item { /// <summary>Creates a new item.</summary> /// <param name="name">The name of the item.</param> protected Item(string ...
HttpServer.Addons/Modules/DEIVAModule.cs
bhuebschen/feuerwehrcloud-deiva
3
7054775
<gh_stars>1-10 using System; using HttpServer.Modules; using HttpServer.Messages; using HttpServer.Headers; using Newtonsoft.Json; namespace HttpServer.Addons { public class DEIVAModule : IModule { private readonly FeuerwehrCloud.Plugin.IHost _my; SQLite.SQLiteConnection dbConn; #region IModule implementation...