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
DAL/IToDoRepository.cs
glaschu1/aspnet-core-todo-api
0
7066738
<filename>DAL/IToDoRepository.cs<gh_stars>0 using System.Collections.Generic; public interface IToDoRepository { int GetNextId(); List<ToDoItem> GetToDoItems(); ToDoItem GetToDoItemById(int id); void CreateToDoItem(ToDoItem toDoItem); void DeleteToDoItem(int id); void UpdateToDoItem(ToDoItem to...
TrafficStatistics/Relay/IRelay.cs
GangZhuo/TrafficStatistics
20
7066739
using System; using System.Net; using System.Net.Sockets; namespace TrafficStatistics.Relay { public interface IRelay { event EventHandler<RelayEventArgs> Relay; event EventHandler<RelayErrorEventArgs> Error; event EventHandler<WriteLogEventArgs> WriteLog; void Start(); ...
build/Build.cs
vknet/VkNet.Extensions.Polling
2
7066740
<filename>build/Build.cs using System; using System.IO; using System.Linq; using Nuke.Common; using Nuke.Common.CI; using Nuke.Common.CI.GitHubActions; using Nuke.Common.Execution; using Nuke.Common.Git; using Nuke.Common.IO; using Nuke.Common.ProjectModel; using Nuke.Common.Tooling; using Nuke.Common.Tools.DotNet; usi...
Source/Store.Core.Services/Internal/Records/Queries/GetRecords/Helpers/FilteringHelper.cs
nielemptiness/AspNetStore
1
7066741
<reponame>nielemptiness/AspNetStore using System; using System.Linq; using Store.Core.Contracts.Domain; using Store.Core.Contracts.Enums; namespace Store.Core.Services.Internal.Records.Queries.GetRecords.Helpers { public static class FilteringHelper { public static IQueryable<Record> FilterBySoldStatus...
iFactr.UI/iFactr.UI/MonoView/Menus and Toolbars/Toolbar.cs
BenButzer/iFactr-iOS
6
7066742
using System; using System.Collections.Generic; using System.Diagnostics; using iFactr.Core; using MonoCross.Navigation; namespace iFactr.UI { /// <summary> /// Represents a toolbar containing items that provide support functions for an <see cref="iFactr.UI.ICanvasView"/>. /// </summary> public class ...
PhotoMSK/PhotoMSK/Themes/Page/photocollege.by/Views/Templates/Phototechnic.Vertical.Summary.cshtml
MarkusMokler/photomsmsk-by
1
7066743
<div class="uk-panel uk-panel-box uk-panel-box-item"> <p class="uk-text-bold"> <a class="uk-link-muted" href="@Html.Raw(PhototechnicsDefinition.Url)">@Html.Raw(@PhototechnicsDefinition.Name)</a> </p> <div class="uk-grid uk-grid-small"> <div class="uk-width-1-3"> <a class="uk-li...
Generators/RepositoryObjectGenerator.cs
mariusmg/efbog2
0
7066744
using System; using System.IO; using System.Text; namespace voidsoft.efbog { public class BusinessObjectGenerator { private GeneratorContext context; public BusinessObjectGenerator(GeneratorContext context) { this.context = context; } public void Generate() { foreach (EntityDefinition t in conte...
src/MathSite.Repository/GroupsRepository.cs
YarGU-Demidov/math-site
1
7066745
<filename>src/MathSite.Repository/GroupsRepository.cs using MathSite.Db; using MathSite.Entities; using MathSite.Repository.Core; namespace MathSite.Repository { public interface IGroupsRepository : IMathSiteEfCoreRepository<Group> { } public class GroupsRepository : MathSiteEfCoreRepository...
sourceCode/efpatterns/Main/EntityFramework.Patterns/Repository.cs
vardars/EFPatterns
0
7066746
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Core.Objects; using System.Linq; using System.Linq.Expressions; namespace EntityFramework.Patterns { public class Repository<T> : IRepository<T> where T : class { private readonly IObjectSet<T> _objectSe...
Assets/Scripts/CamGyro.cs
Koje3/Paattisten_luontopolku_WebXR
0
7066747
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CamGyro : MonoBehaviour { private bool gyroEnabled; private Gyroscope gyro; private GameObject cameraContainer; private Quaternion rot; void Start() { cameraContainer = new GameObje...
CITS-DNSMEU/CrestlineDNSMEU.cs
pstatho/DNSMadeEasyUpdater
0
7066748
<reponame>pstatho/DNSMadeEasyUpdater using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace Crestline.DNSMEU { partial class CrestlineDNSMEU : ...
PerrysNetConsoleStd/ColorScheme.cs
perryflynn/PerrysNetConsole
8
7066749
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PerrysNetConsole { public class ColorScheme { public ConsoleColor? Foreground { get; set; } public ConsoleColor? Background { get; set; } publi...
ChotChotChat/ChotChotChat/Client.cs
koichi210/CS_Form
0
7066750
<filename>ChotChotChat/ChotChotChat/Client.cs using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.Sockets; namespace ChotChotChat { class Client { private readonly int port = ...
Assets/Scripts/InputManager.cs
milkru/raytracer_unity
0
7066751
<reponame>milkru/raytracer_unity using UnityEngine; public class InputManager : MonoBehaviour { #region Public Fields [HideInInspector] public float HorizontalMovement; [HideInInspector] public float VerticalMovement; [HideInInspector] public float HorizontalLook; [HideInInspector] public float VerticalLook; [...
Toggl.Foundation/Sync/States/Push/Interfaces/IPushEntityState.cs
HectorRPC/Toggl2Excel
1
7066752
<reponame>HectorRPC/Toggl2Excel<gh_stars>1-10 using System; using Toggl.Foundation.Models.Interfaces; namespace Toggl.Foundation.Sync.States.Push.Interfaces { public interface IPushEntityState<T> : ISyncState<T> where T : IThreadSafeModel { StateResult<(Exception, T)> ServerError { get; } ...
source/R5T.Dunbar.Construction/Code/Extensions/IServiceCollectionExtensions.cs
SafetyCone/R5T.Dunbar
0
7066753
using System; using Microsoft.Extensions.DependencyInjection; using R5T.Dacia; using R5T.Dunbar.D001.DatabaseConnectionConfiguration; using R5T.Dunbar.Construction.Operations; using IDatabaseConnectionConfigurationProvider = R5T.Dunbar.D003.IDatabaseConnectionConfigurationProvider; using IRawDatabaseConnectionConf...
Easy.SMTP.Client/ViewModels/Controls/MenuItemViewModel.cs
rafalkadow/Easy.SMTP.Client
1
7066755
<reponame>rafalkadow/Easy.SMTP.Client using Easy.SMTP.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Easy.SMTP.Client.ViewModels.Controls { /// <summary> /// Implement the IHamburgerMenuItemBase to allow set the Visibility of...
Neovolve.Toolkit.Workflow.UnitTests/WorkflowExtensionBehaviorTests.cs
roryprimrose/Neovolve.Toolkit
0
7066756
<gh_stars>0 namespace Neovolve.Toolkit.Workflow.UnitTests { using System; using System.Activities; using System.ServiceModel; using System.ServiceModel.Activities; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neovolve.Toolkit.Workflow.Extensions; using Neovolve.Toolkit.Workflow...
Solutions/OfficeDevPnP.SPOnline/Commands/WikiPage/RemoveWikiPage.cs
HenrikGustafsson/PnP
0
7066757
<reponame>HenrikGustafsson/PnP using OfficeDevPnP.SPOnline.Commands.Base; using Microsoft.SharePoint.Client; using System.Management.Automation; using Microsoft.SharePoint.Client.WebParts; namespace OfficeDevPnP.SPOnline.Commands { [Cmdlet(VerbsCommon.Remove, "SPOWikiPage", ConfirmImpact = ConfirmImpact.High)] ...
yuiime/Models/Users.cs
emrislm/yuiime
1
7066759
<reponame>emrislm/yuiime<filename>yuiime/Models/Users.cs using System; using System.Collections.Generic; using System.Text; namespace yuiime.Models { public class Users { public string Id { get; set; } public string Username { get; set; } public string Password { get; set; } } }
RJWSexperience/RJWSexperience/Patches/GetGizmos.cs
amevarashi/RJW-Sexperience
0
7066760
using HarmonyLib; using RJWSexperience.Logs; using System.Collections.Generic; using System.Reflection; using Verse; namespace RJWSexperience { public static class Pawn_GetGizmos { public static void DoConditionalPatch(Harmony harmony) { if (!SexperienceMod.Settings.History.EnableSexHistory) return; ...
sample/Program.cs
KyleMit/azure-app-insights-sdk
0
7066761
using Azure.ApplicationInsights; using Microsoft.Extensions.Configuration; using System; namespace azure_app_insights_sample { class Program { static void Main(string[] args) { var config = new ConfigurationBuilder() .AddJsonFile("appsettings.json") ...
CulinaryBlogCore/Models/ProductViewModels/CreateProductViewModel.cs
IvayloIV/CulinaryBlogCore
1
7066762
namespace CulinaryBlogCore.Models.ProductViewModels { public class CreateProductViewModel { public long Id { get; set; } public string Name { get; set; } public long RecipeId { get; set; } } }
WordsBlazor/Models/Word.cs
dayve-jones/blazor-words
0
7066763
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WordsBlazor.Models { public class Word { public string Text { get; set; } public bool IsDone { get; set; } } }
src/MAVN.Service.PaymentTransfers.Domain/Models/IPaymentTransfer.cs
LykkeBusiness/MAVN.Service.PaymentTransfers
0
7066764
<filename>src/MAVN.Service.PaymentTransfers.Domain/Models/IPaymentTransfer.cs using System; using Falcon.Numerics; using MAVN.Service.PaymentTransfers.Domain.Enums; namespace MAVN.Service.PaymentTransfers.Domain.Models { public interface IPaymentTransfer { string TransferId { get; set; } string...
Updater/Folders/Installer.cs
secretMoi/Wallon
2
7066765
<gh_stars>1-10 using System; using System.IO; namespace Updater.Folders { public class Installer { public static string Path = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\WallonsTest\\"; public static string Executable = "Wallon.exe"; public static string LastInstallFile ...
ArgumentHandlerTest/exceptionTests/UnknownArgumentIdExceptionTest.cs
KurtLarsen/ldosh
0
7066766
<gh_stars>0 using ArgumentHandlerLib.exceptions; using NUnit.Framework; namespace ArgumentHandlerTest.exceptionTests{ [TestFixture] public class UnknownArgumentIdExceptionTest{ [Test] public void UnknownArgumentIdException_works(){ const string arg1 = "abc"; var expectedMsg = string.Format(Unk...
CalendarsTester/CalendarsTester.Core/Helpers/ModalViewModelBase.cs
TheAlmightyBob/CalendarsTester
9
7066767
<filename>CalendarsTester/CalendarsTester.Core/Helpers/ModalViewModelBase.cs using System.Windows.Input; using CalendarsTester.Core.Enums; using Xamarin.Forms; namespace CalendarsTester.Core.Helpers { public class ModalViewModelBase : ViewModelBase { public ModalResult Result { get; set; } pu...
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel/Package.cs
MelbourneDeveloper/Uno
1
7066768
<gh_stars>1-10 #pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel { #if false || false || false || false || false [global::Uno.NotImplemented] #endif public partial class Package { // Skipping already declared property Dependen...
src/WaterBend/ItemModuleMagicProjectileWaterBend.cs
extract/WaterBending
0
7066769
<filename>src/WaterBend/ItemModuleMagicProjectileWaterBend.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using Sirenix.Utilities; using System.Runtime.CompilerServices; using ThunderRoad; using UnityEngine; using UnityEngine.VFX; namespace WaterBendSpell { public class Ite...
src/EventStore.ClientAPI/Internal/DefaultEventDescriptor.cs
cuteant/myevent
7
7066770
using System.Collections.Generic; using SpanJson.Internal; using SpanJson.Linq; namespace EventStore.ClientAPI { internal sealed class DefaultEventDescriptor : IEventDescriptor { private static readonly Dictionary<string, object> s_empty = new Dictionary<string, object>(); private readonly IE...
src/Azos/Serialization/POD/Exceptions.cs
chadfords/azos
1
7066771
using System; using System.Runtime.Serialization; using System.Collections.Generic; namespace Azos.Serialization.POD { /// <summary> /// Base exception thrown by the Portable Object Document serialization format /// </summary> [Serializable] public class PODException : AzosSerializationException { pub...
DMTools/DMTools/View/Campaign/SettingPreviewUserControlModel.cs
dgioielli/DM_Tools
0
7066772
<gh_stars>0 using DMTools.CoreLib.ViewModel; using DMTools.Managers; using DMTools.Managers.Observers; using DMTools.Models; using DMTools.Models.SettingModels; using DMTools.Repositories; using DMTools.View.CharacterEditor; using DMTools.View.ContentViewer; using DMTools.View.LocationEditor; using DMTools.View.Organi...
test/Itn.SnkUtils.Test/TestConvertFromTo.cs
itn3000/Itn.SnkUtils
0
7066773
using System; using Xunit; using System.IO; using System.Text; using System.Security.Cryptography; using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.DependencyInjection; namespace Itn.SnkUtils.Test { public class TestConvertFromTo { [Fact] public void TestConvertFromNoEncry...
Framework.Core/System/BooleanTheraotExtensions.cs
workgroupengineering/Theraot
113
7066774
<gh_stars>100-1000 #if LESSTHAN_NETCOREAPP20 || LESSTHAN_NETSTANDARD20 using System.Runtime.CompilerServices; namespace System { public static class BooleanTheraotExtensions { [MethodImpl(MethodImplOptionsEx.AggressiveInlining)] public static string ToString(this bool boolean, IFormatProvider...
mszcoolPoDInventoryApi/Models/PoDEnvironment.cs
mszcool/mszcoolPowerOnDemand
0
7066776
using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace mszcoolPoDMachineInventory.Models { public class PoDEnvironment { [BsonId] public string EnvironmentName { get; set; } public string E...
Sources/Steepshot/Steepshot.Android/CustomViews/CustomViewPager.cs
pmartynov/steepshot-mobile
17
7066777
<reponame>pmartynov/steepshot-mobile using System; using Android.Content; using Android.Runtime; using Android.Support.V4.View; using Android.Util; namespace Steepshot.CustomViews { public sealed class CustomViewPager : ViewPager { public CustomViewPager(Context context) : base(context) { ...
Assets/VRInputModule/Scripts/ViveUILaserPointer.cs
S1r0hub/Unity-VRInputModule
2
7066778
using UnityEngine; using Valve.VR; using Valve.VR.InteractionSystem; /** * Initial code by Wacki. * Code modified by S1r0hub (11.2018) */ namespace Wacki { public class ViveUILaserPointer : IUILaserPointer { public Hand controller; public SteamVR_Action_Boolean toggleButton; public S...
sdk/keyvault/Azure.Security.KeyVault.Certificates/src/DeletedCertificate.cs
ejdelrio/azure-sdk-for-net
2
7066779
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using System; namespace Azure.Security.KeyVault.Certificates { public class DeletedCertificate : Certificate { public string RecoveryId { get...
PointOfSales.Core/Infraestructure/VueTable/QueryFactoryBuilder.cs
mota57/PointOfSales
0
7066780
<filename>PointOfSales.Core/Infraestructure/VueTable/QueryFactoryBuilder.cs using System; using SqlKata.Execution; using SqlKata.Compilers; using PointOfSales.Core.Entities; using Microsoft.Data.Sqlite; using System.Data.SqlClient; namespace TablePlugin { public static class QueryFactoryBuilder { //p...
Source/NEATAgents/HyperSharpNEAT 2.1/SharpNeatLib/NeuralNetwork/ActivationFunctions/Gaussian.cs
sinairv/GridSoccerSimulator
12
7066781
using System; using System.Collections.Generic; using System.Text; namespace SharpNeatLib.NeuralNetwork { class Gaussian : IActivationFunction { #region IActivationFunction Members public double Calculate(double inputSignal) { return 2 * Math.Exp(-Math.Pow(inputSignal * 2.5...
sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Generated/Models/AKSProperties.Serialization.cs
gjy5885/azure-sdk-for-net
3,268
7066782
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.MachineLearningServices.Models { public partial class AKSProperties :...
Enlighten/Inflector/Interfaces/IInflector.cs
JaCraig/Enlighten
3
7066783
using Enlighten.Inflector.Enums; namespace Enlighten.Inflector.Interfaces { /// <summary> /// Inflector interface /// </summary> public interface IInflector { /// <summary> /// Infinitives the specified input. /// </summary> /// <param name="input">The input.</param...
AonWeb.FluentHttp.Tests/Hal/HalSerializationTests.cs
andrewescutia/fluent-http
0
7066785
<filename>AonWeb.FluentHttp.Tests/Hal/HalSerializationTests.cs<gh_stars>0 using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using AonWeb.FluentHttp.Exceptions; using AonWeb.FluentHttp.HAL; using AonWeb.FluentHttp.HAL.Serialization; using AonWeb.FluentHttp.Mocks; using AonWeb.FluentHttp....
Runtime/ValueRange.cs
cmdwtf/UnityTools
0
7066786
using System; using System.Globalization; using UnityEngine; using Random = UnityEngine.Random; namespace cmdwtf.UnityTools { [Serializable] public struct ValueRange : IEquatable<ValueRange>, IFormattable { [SerializeField] internal Vector2 range; [SerializeField] internal Vector2 limit; ...
Assets/Scripts/Bluetooth/Messaging/EmojiSlotButtonGroupScript.cs
ZsemberiDaniel/TicTacToe
3
7066787
using UnityEngine; using DG.Tweening; /// <summary> /// Groups together the four emoji slot buttons /// </summary> public class EmojiSlotButtonGroupScript : MonoBehaviour { private BluetoothEmojiSlotButton[] buttons; private RectTransform[] buttonRects; void Start () { buttons = new BluetoothEmo...
Assets/Scripts/Scripts/ThrusterScript.cs
ChrisKindred/CodeLab2019Final
0
7066788
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ThrusterScript : MonoBehaviour { public float thrusterStrength; public float thrusterDistance; public Transform[] thrusters; void FixedUpdate() { RaycastHit hit; foreach (Transform thruster in thrusters) { Vect...
src/SimpleS3.Core.Common/Validation/InputValidatorBase.cs
Genbox/SimpleS3Net
0
7066789
<reponame>Genbox/SimpleS3Net using Genbox.SimpleS3.Core.Abstracts.Enums; using Genbox.SimpleS3.Core.Abstracts.Provider; using Genbox.SimpleS3.Core.Common.Helpers; namespace Genbox.SimpleS3.Core.Common.Validation; public abstract class InputValidatorBase : IInputValidator { public bool TryValidateKeyId(string? ke...
Nester.Library/ViewModels/LogViewModel.cs
inkton/nester.library
0
7066790
<gh_stars>0 /* Copyright (c) 2017 Inkton. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
src/Shared/Configuration/XML/BrowserRegistry.cs
gregor4005/grisu-noe-infoscreen
6
7066791
<reponame>gregor4005/grisu-noe-infoscreen<filename>src/Shared/Configuration/XML/BrowserRegistry.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="BrowserRegistry.cs" company="<NAME>/Donau"> // <NAME>/Donau // Austraß...
Source/PresentationTheme.Aero/IThemePolicy.cs
gix/PresentationTheme
41
7066792
namespace PresentationTheme.Aero { using System; /// <summary> /// Defines which theme resources are used for a WPF control assembly. /// </summary> /// <seealso cref="ThemeManager.SetTheme(System.Reflection.Assembly,IThemePolicy)"/> public interface IThemePolicy { /// <summary> ...
ConversionTool/DiabloPCX.cs
mewbak/devilutionX
5
7066793
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace ConversionTool { public static class DiabloPCX { private class pcx_t { public byte manufacturer; public byte version; public byte encoding; public byte bits_p...
Kull.Data/StringUtils.cs
Kull-AG/kull-data
1
7066794
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace Kull.Data { /// <summary> /// A Helper class containing string utilities /// </summary> public static class StringUtils { /// <summary> /// Replaces a string...
test/Microsoft.TemplateEngine.Cli.UnitTests/CliMocks/MockHostSpecificDataLoader.cs
jesmi-ops/azure
2
7066795
<filename>test/Microsoft.TemplateEngine.Cli.UnitTests/CliMocks/MockHostSpecificDataLoader.cs<gh_stars>1-10 using Microsoft.TemplateEngine.Abstractions; namespace Microsoft.TemplateEngine.Cli.UnitTests.CliMocks { public class MockHostSpecificDataLoader : IHostSpecificDataLoader { // If needed, ext...
src/ActivityMapper.Demo/Models/SampleActivityOutput.cs
rafalkozik/ActivityMapper
0
7066796
namespace ActivityMapper.Demo.Models { using ActivityMapper.Interfaces; public class SampleActivityOutput : IActivityOutput { public string Result { get; set; } } }
credits.cs
iury-sky/SnailMaze
0
7066797
<reponame>iury-sky/SnailMaze using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class credits : MonoBehaviour { // Use this for initialization void Start () { } public void Click () { SceneManager.LoadScene("credits"); } }
KilyCore.WEB/Areas/WebGovtManage/Controllers/AppController.cs
EmilyEdna/KilyCore
4
7066798
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace KilyCore.WEB.Areas.WebGovtManage.Controllers { [Area("WebGovtManage")] public class AppController : Controller { public IActionResult Index() ...
Scrutiny.Net/Controllers/HomeController.cs
aquamoth/Scrutiny
0
7066799
using Scrutiny.State; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Scrutiny.Controllers { class HomeController : Controller { internal string Index() { ViewBag.Add("RootUrl", Scrutiny.Config....
Controllers/ImageClassificationController.cs
viktordd/ImageClassifier
0
7066800
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction; using Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Models; using Microsoft.Extensions.Configuration; using M...
DungeonGen.Tests.Unit/Generators/TrapTests.cs
DnDGen/DungeonGen
0
7066801
<reponame>DnDGen/DungeonGen using NUnit.Framework; namespace DungeonGen.Tests.Unit.Common { [TestFixture] public class TrapTests { private Trap trap; [SetUp] public void Setup() { trap = new Trap(); } [Test] public void TrapIsInitialize...
Libraries/MaskedTextBox/src/TokenValuePadRule.cs
Arno1235Official/JugaAgenda
1
7066802
<gh_stars>1-10 using System; namespace Opulos.Core.UI { public enum TokenValuePadRule { ///<summary>The token uses the default behavior depending on the type of token. A token that contains ///a CustomValues list will pad right. A token that is a numeric type will pad left.</summary> Default = 0, ///<summary>Sp...
src/Dexter.Web.Core/MetaWeblogApi/Domain/PageInfo.cs
imperugo/Dexter-Blog-Engine
6
7066803
<filename>src/Dexter.Web.Core/MetaWeblogApi/Domain/PageInfo.cs<gh_stars>1-10 #region Disclaimer/Info // //////////////////////////////////////////////////////////////////////////////////////////////// // File: PageInfo.cs // Website: http://dexterblogengine.com/ // Authors: http://dexterblogengine.com/aboutus // ...
App/DataServiceUnitTests/APITests.cs
Rokoth/PBS
0
7066804
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using ProjectBranchSelector.Controllers; using ProjectBranchSelector.Db.Context; using ProjectBranchSelector.Db.Model; using ProjectBranchSelector.Models; using System; using System.Collections.Generic; using System.Linq; using System.Thre...
ECSDevServer/ECS.WebAPI/Controllers/v1/LoginController.cs
extra-curricular-schooling/WebAPI-Demo
0
7066806
<gh_stars>0 using System; using System.Collections.Generic; using System.Net.Http; using System.Web.Http; using System.Web.Http.Cors; using ECS.BusinessLogic.ControllerLogic.Implementations; using ECS.Constants.Network; using ECS.DTO; using ECS.Models; using ECS.Repositories.Implementations; using ECS.Security.AccessT...
EDID.Core.cs/Program.cs
GKO95/Win32.EDID
0
7066807
<reponame>GKO95/Win32.EDID using System; using System.Collections.Generic; using Windows.Devices.Display; using Windows.Devices.Enumeration; namespace EDID.Core.cs { class Program { static void Main(string[] args) { //============================================================== ...
Sources/Tools/Yoakke.Platform.X86.Generator/ParserGenerator.cs
lucyelle/Yoakke
0
7066808
// Copyright (c) 2021 Yoakke. // Licensed under the Apache License, Version 2.0. // Source repository: https://github.com/LanguageDev/Yoakke using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Syste...
Assets/Hertzole/HertzVox/Example Scene/Example Scripts/ExampleLoadButton.cs
Hertzole/HertzVox
6
7066809
<filename>Assets/Hertzole/HertzVox/Example Scene/Example Scripts/ExampleLoadButton.cs using System.IO; using UnityEngine; using UnityEngine.UI; namespace Hertzole.HertzVox.Examples { [RequireComponent(typeof(Button))] public class ExampleLoadButton : MonoBehaviour { private Button m_ButtonComp; ...
PracticalUi/Composite/BindableBaseOfTinTout.cs
ultradr3mer/PracticalCSharp
0
7066810
using PracticalUi.Extrensions; using Prism.Mvvm; namespace PracticalUi.Composite { /// <summary> /// The <see cref="BindableBase{Tin, Tout}"/> class is an extension of the <see cref="BindableBase"/>. /// </summary> /// <typeparam name="Tin">The type of the attaced data model.</typeparam> /// <typeparam name...
src/AddIn.FogBugz/CommonConfig.cs
GibraltarSoftware/Loupe.Samples
1
7066811
<filename>src/AddIn.FogBugz/CommonConfig.cs using System; using System.Xml.Serialization; using Loupe.Extensibility.Data; namespace Loupe.Extension.FogBugz { /// <summary> /// FogBugzConfig is the serializable configuration data that is read & written to a file /// in the same folder as the addin. /...
src/asm.cases/src/prototypes/AsmOpCodes.cs
0xCM/z0
0
7066812
<reponame>0xCM/z0 //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0.Asm { partial struct Prototypes { public enum AsmOpCodeI...
Assets/Script/Extensions/ExtensionMethods.cs
Jonysand/CodeLab1-Final-WhacAMole
0
7066813
using UnityEngine; public static class ExtensionMethods { // functions of removing components // https://stackoverflow.com/a/42133812/12953816 public static void RemoveComponent<Component>(this GameObject obj, bool immediate = false) { Component component = obj.GetComponent<Component>(); ...
src/Serilog.Enrichers.CustomRequestHeader/CustomRequestHeaderLoggerConfigurationExtentions.cs
enisgultekin/serilog-enrichers-custom-request-header
0
7066814
using Serilog.Configuration; using Serilog.Enrichers; using System; namespace Serilog { public static class CustomRequestHeaderLoggerConfigurationExtentions { public static LoggerConfiguration WithCustomRequestHeader( this LoggerEnrichmentConfiguration enrichmentConfiguration, ...
Philosopher.Multiplat/Philosopher.Multiplat/Services/IAuthService.cs
pingzing/Philosopher
0
7066815
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Philosopher.Multiplat.Services { public interface IAuthService { IEnumerable<Account> FindAccountsForService(string serviceId); void Save...
Sources/Dependency/source/AbstractState.cs
aheroine/SIR-use
24
7066816
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Boogie; using Microsoft.Boogie.GraphUtil; namespace Dependency { public interface IAbstractState { bool JoinWith(IAbstractState s); IAbstractState Clone(); ...
tests/Albatross.CodeGen.UnitTest/CSharp/WriteConstructorTest.cs
RushuiGuan/framework
0
7066818
<filename>tests/Albatross.CodeGen.UnitTest/CSharp/WriteConstructorTest.cs<gh_stars>0 using Albatross.CodeGen.Core; using Albatross.CodeGen.CSharp.Model; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; using System.IO; using Xunit; namespace Albatross.CodeGen.UnitTest.CSharp { public...
src/Remora/Transformers/Impl/SoapTransformer.cs
julienblin/Remora
1
7066819
<reponame>julienblin/Remora #region Licence // The MIT License // // Copyright (c) 2011 <NAME>, <EMAIL> // // 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, includin...
test/Normaleezie.Tests/Test Classes/Pet.cs
bofirial/Normaleezie
0
7066820
<filename>test/Normaleezie.Tests/Test Classes/Pet.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Normaleezie.Tests.Test_Classes { public class Pet : Animal { public Person Owner { get; set; } } }
Tests/Telerik.Sitefinity.Frontend.TestUtilities/DummyClasses/Controls/DummyControl.cs
jonathanread/feather
0
7066821
<reponame>jonathanread/feather<filename>Tests/Telerik.Sitefinity.Frontend.TestUtilities/DummyClasses/Controls/DummyControl.cs using System.Web.UI; namespace Telerik.Sitefinity.Frontend.TestUtilities.DummyClasses.Controls { /// <summary> /// This class represents dummy <see cref="System.Web.UI.Control"/> with ...
src/Client/Pages/Movies/Edit.razor.cs
peter-andersson/peterpedia
0
7066822
using Microsoft.AspNetCore.Components; using PeterPedia.Client.Services; namespace PeterPedia.Client.Pages.Movies; public partial class Edit : ComponentBase { [Inject] private MovieService MovieService { get; set; } = null!; [Inject] private NavigationManager NavManager { get; set; } = null!; [...
XForm.Tests/Mocks/MockForm.cs
starke0o/XForm
3
7066823
<reponame>starke0o/XForm using XForm.Forms; namespace XForm.Tests.Mocks { public class MockForm: Form { public static void Register() { FormCreateFunc = () => new MockForm(); } public int EnabledChangedCalledCount { get; private set; } protected ove...
KiwiSoft.TinyGuid/GuidGenerator.cs
JOHN-HADIKUSUMO/KiwiSoft.TinyGuid
0
7066824
<filename>KiwiSoft.TinyGuid/GuidGenerator.cs using System.Net.NetworkInformation; namespace KiwiSoft.TinyGuid { public class GuidGenerator { private Random random; public GuidGenerator() { random = new Random(); } public string UUID(bool onlyAlphanumeric = f...
com/netfx/src/clr/toolbox/urtui/snapin/cconfigassemwizard.cs
npocmaka/Windows-Server-2003
17
7066825
<filename>com/netfx/src/clr/toolbox/urtui/snapin/cconfigassemwizard.cs // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace Microsoft.CLRAdmin { using System; class CConfigAssemWizard: CWizard { BindingRedirInfo m_bri; internal CConfigAssemWizard(CAp...
Services/InterfazService/ICursoService.cs
jonaav/Overseas5
0
7066826
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using Entidades; namespace Services.InterfazService { public interface ICursoService { List<Curso> ListarCursos(string nombreCurso, string programa, int estado); List<Curso> ListarCursosHabiles(); List<Curs...
CreateData/ba_createData/ba_createData/SA_GetIndex.cs
HyperBlazt/BachelorNew
0
7066827
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ba_createData { [Serializable] public class SA_GetIndex { public int IndexOf(string substr, int[] m_sa, string m_str ) { int l = 0; int r = ...
Verse/src/Schemas/RawProtobuf/WriterState.cs
r3c/Verse
5
7066828
using System; using System.Globalization; using System.IO; using System.Text; namespace Verse.Schemas.RawProtobuf { internal class WriterState { public int FieldIndex; private readonly MemoryStream buffer; private readonly ErrorEvent error; private readonly bool noZigZagEncoding; private readonly Stre...
Source/Initium.Portal.Domain/CommandHandlers/RoleAggregate/UpdateRoleCommandHandler.cs
DeviousCreation/stance
0
7066829
<filename>Source/Initium.Portal.Domain/CommandHandlers/RoleAggregate/UpdateRoleCommandHandler.cs // Copyright (c) Project Initium. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.Linq; using System.Threading; using S...
Mijika/Mijika/Tools.cs
goto10hq/Mijika
0
7066830
<gh_stars>0 using Newtonsoft.Json; namespace Mijika { internal static class Tools { /// <summary> /// Set Json default settings. /// </summary> public static void SetJsonDefaultSettings() { JsonConvert.DefaultSettings = () => new JsonSerializerSettings ...
src/Bot.Ibex.Instrumentation/Extensions/ActivityExtensions.cs
chudzik1990/Bot.Ibex.Instrumentation
0
7066831
<filename>src/Bot.Ibex.Instrumentation/Extensions/ActivityExtensions.cs namespace Bot.Ibex.Instrumentation.Extensions { using System.Collections.Generic; using Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models; using Microsoft.Bot.Schema; public static class ActivityExtensions { ...
MonsterInfo.cs
chasedayr/DungeonClawSample
0
7066832
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class MonsterInfo { public abstract MonsterType monsterType { get; } public abstract string monsterId { get; } public abstract string displayName { get; } public abstract MonsterStats Ge...
ArchaicQuestII.GameLogic/Commands/Communication/Communication.cs
elky84/ArchaicQuest-II
1
7066833
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ArchaicQuestII.GameLogic.Character; using ArchaicQuestII.GameLogic.Core; using ArchaicQuestII.GameLogic.World.Room; namespace ArchaicQuestII.GameLogic.Commands.Communication { public class Communication: Icommunication ...
TraSH/Model/ParserResult.cs
vi-v/TraSH
2
7066834
// MIT License - Copyright (c) <NAME> // This file is subject to the terms and conditions defined in // LICENSE, which is part of this source code package namespace TraSH.Model { using System; using System.Collections.Generic; using System.Text; public class ParserResult { private readonl...
Msg/GenMsgs/posedetection_msgs/Curve1D.cs
autocore-ai/Roslin
0
7066835
namespace Roslin.Msg.posedetection_msgs { [MsgInfo("posedetection_msgs/Curve1D", "e5367ca89dc9a58670f8f288e2c52f5d", @"float32[] pts # 2xN points in the image ")] public partial class Curve1D : RosMsg { public System.Single[] pts { get; set; } public ...
test/PTV.Domain.Model.Tests/Converters/JsonConverterTest.cs
MikkoVirenius/ptv-1.7
0
7066836
<filename>test/PTV.Domain.Model.Tests/Converters/JsonConverterTest.cs<gh_stars>0 /** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to de...
Runtime/Presentation/Internal/IEntityDataProcessor.cs
Syadeu/CoreSystem
0
7066837
using Syadeu.Collections; using Syadeu.Presentation.Entities; namespace Syadeu.Presentation.Internal { internal interface IEntityDataProcessor : IProcessor { void OnCreated(IEntityData entity); void OnDestroy(IEntityData entity); } }
API/Data/DataContext.cs
stjepanantolovic/AzureDatingApp
0
7066838
using API.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; namespace API.Data { public class DataContext : DbContext { public DataContext(DbContextOptions options) : base(options) { } public DbSet<AppUser> Users { get...
4 - Infra/RecursosCompartilhados.Dados/Repositorios/BaseRepositorio.cs
JTOne123/RecursosCompartilhadosNetCoreMongoDB
0
7066839
<filename>4 - Infra/RecursosCompartilhados.Dados/Repositorios/BaseRepositorio.cs using MongoDB.Driver; using RecursosCompartilhados.Dominio.Interfaces.Entidades; using RecursosCompartilhados.Dominio.Interfaces.Repositorios; using System; using System.Collections.Generic; using System.Linq.Expressions; namespace Recurs...
HairSalon/Views/Stylist/Index.cshtml
glenpogz36/HairSalon.Solutions
0
7066840
@{ Layout = "_Layout"; } <h1>Stylists</h1> <hr /> @foreach (var stylist in @Model) { <ul> <li><h4>Click to Add Clients: <a href='/stylists/@stylist.GetId()'>@stylist.GetName()</a> <br><br> <a href="/stylists/@stylist.GetId()/specialties">Specialties</a> | <a href="/stylists/@stylist.GetId()/up...
Kore/Core/DecimalExtensions.cs
widecommerce/kore-cms
2
7066841
namespace Kore { public static class DecimalExtensions { public static bool Between(this decimal value, int lower, int higher) { return value > lower && value < higher; } public static bool IsNullOrDefault(this decimal? value) { return...
src/DotNetStarter/ServiceProviderTypeChecker.cs
bmcdavid/DotNetStarter
8
7066842
using DotNetStarter.Abstractions; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace DotNetStarter { /// <summary> /// Default IServiceProviderTypeChecker /// </summary> [Registration(typeof(IServiceProviderTypeChecker), Lifecycle.Singleton)] publ...
src/NetGear.Pipelines/DuplexPipeServer.cs
pinopino/NetGear
3
7066843
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using NetGear.Core; using System; using System.Buffers; using System.Collections.Concurrent; using System.IO.Pipelines; using System.Net; using System.Threading; using System.Threading.Tasks; namespace NetGear.Pipelines { public ...