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
Util/LoginHandler.cs
Stuyk/stuykserver
0
7055637
using GTANetworkServer; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Linq; using System.Text; using System.Security.Cryptography; using BCr = BCrypt.Net; namespace stuykserver.Util { public class LoginHandler : Script { Main main = new Main(...
src/Jitsukawa.EmailSender.Api/Controllers/EmailController.cs
paulo-jitsukawa/EmailSender
5
7055638
<reponame>paulo-jitsukawa/EmailSender using Jitsukawa.EmailSender.Api.Models; using Jitsukawa.EmailSender.Api.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Linq; using System.Threading.Tasks; namespace Jitsukawa.Email...
Bot/Member.cs
Poneyy/Discord-Zerator-Bot
0
7055639
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using DSharpPlus; using DSharpPlus.Entities; using Newtonsoft.Json; namespace Main { public class MemberCheck { // thread checkant les lives contenu dans la config ...
Docfx2xml/docfx2xml/CmdLine/CmdVerbRunArgs.cs
opensquiggly/docfx2xml
1
7055640
using CommandLine; namespace Docfx2xml.CmdLine { [Verb("run_a", HelpText = "Run convert docfx yaml to xml, using cmd args as config values")] public class CmdVerbRunArgs : ICmdVerb { [Option('y', "yml", Required = true, HelpText = "Path to folder with docfx .yml files")] public string YamlFolderPath { g...
Battleships/Services/CellMapper.cs
kubabuda/Battleships
0
7055641
using Battleships.Configurations; using Battleships.Interfaces; using Battleships.Models; using System.Collections.Generic; using System.Linq; namespace Battleships.Services { public class CellMapper : ICellMapper { private readonly BattleshipGridCell[] _cellStatesAfterHit; private readonly IBa...
Source/PeterKottas.DotNetCore.RequestResponse.Example/Program.cs
PeterKottas/DotNetCore.RequestResponseCorelation
8
7055642
<gh_stars>1-10 using PeterKottas.DotNetCore.RequestResponse.Example.DTO; using System; using System.Threading; using PeterKottas.DotNetCore.RequestResponse.Extensions.SerializedJourney; namespace PeterKottas.DotNetCore.RequestResponse.Example { public class Program { public static void Main(string[] a...
Shared/SchemaFetching/TypeMappings/IDB2CS.cs
SammyEnigma/query-first
78
7055643
<gh_stars>10-100 namespace QueryFirst.TypeMappings { /// <summary> /// Interface that for mapping C# types onto SQL types. /// </summary> public interface IDB2CS { /// <summary> /// Returns the C# type to which the reader result can be safely cast, and from which a sql parameter ...
Assets/Scripts/Mazes/Cell.cs
bzgeb/UnityMazes
2
7055644
using System; using System.Collections.Generic; namespace Mazes { public class Cell { readonly Grid _grid; public int Column; public int Row; public readonly HashSet<Cell> Links = new HashSet<Cell>(); public struct Neighbours { public Cell North; ...
FastText.NetWrapper/FastTextWrapper.cs
olegtarasov/FastText.NetWrapper
57
7055645
<gh_stars>10-100 using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http.Headers; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using AutoMapper; using Microsoft.Extensions.Logging; using NativeLibraryManager; namespace FastText.NetWrapper ...
Jal.Router/Interface/Inbound/IRouterInterceptor.cs
raulnq/Jal.Router
1
7055646
using System; using Jal.Router.Model; namespace Jal.Router.Interface { public interface IRouterInterceptor { void OnEntry(MessageContext context); void OnSuccess(MessageContext context); void OnExit(MessageContext context); void OnException(MessageContext context, Exception e...
WeQuiz/Infrastructure/ClaimsPrincipalExtensions.cs
grendal11/ASP.NET-Core-Project-We-Quiz
0
7055647
<gh_stars>0 namespace WeQuiz.Infrastructure { using System.Security.Claims; using static WebConstants; using static Areas.Admin.AdminConstants; public static class ClaimsPrincipalExtensions { public static string Id(this ClaimsPrincipal user) => user.FindFirst(ClaimTypes.NameI...
netfusion/src/Core/NetFusion.Messaging/Plugin/Modules/QueryDispatchModule.cs
grecosoft/NetFusion
43
7055648
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.DependencyInjection; using NetFusion.Bootstrap.Catalog; using NetFusion.Bootstrap.Plugins; using NetFusion.Common.Extensions.Collections; using NetFusion.Common.Extensions.Reflection; using NetFusion.Messaging.Exceptions; usi...
UserMicroservice/DTO/Student/Request/CreateStudentRequestDTO.cs
sebamed/saup-microservices
2
7055649
using System.ComponentModel.DataAnnotations; namespace UserMicroservice.DTO.Student.Request { public class CreateStudentRequestDTO { [Required] public string name { get; set; } [Required] public string surname { get; set; } [Required] public string password { get...
src/Synercoding.FileFormats.Pdf/LowLevel/StreamFilter.cs
synercoder/FileFormats.Pdf
12
7055650
<reponame>synercoder/FileFormats.Pdf<filename>src/Synercoding.FileFormats.Pdf/LowLevel/StreamFilter.cs namespace Synercoding.FileFormats.Pdf.LowLevel { /// <summary> /// Enum representing different data encoding methods /// </summary> internal enum StreamFilter { /// <summary> /// De...
Czar.Cms/Czar.Cms.ViewModels/Article/ArticleListModel.cs
jcsoft-net/Czar.Cms
0
7055651
using System; namespace Czar.Cms.ViewModels { /// <summary> /// 文章列表显示实体 /// </summary> public class ArticleListModel { /// <summary> /// 主键 /// </summary> public Int32 Id { get; set; } /// <summary> /// 分类ID /// </summary> public Int32 ...
HZH_Controls/HZH_Controls/Controls/FactoryControls/Arrow/UCArrow.cs
qiangvei/NetWinformControl
1,841
7055652
<filename>HZH_Controls/HZH_Controls/Controls/FactoryControls/Arrow/UCArrow.cs // *********************************************************************** // Assembly : HZH_Controls // Created : 2019-09-10 // // *********************************************************************** // <copyright file="...
Dapper.Build/Controllers/UserController.cs
datasuricata/dapper.build
1
7055653
<gh_stars>1-10 using System; using System.Threading.Tasks; using Dapper.Build.Commands; using Dapper.Build.Data.Repository.Base; using Dapper.Build.Handlers; using Dapper.Build.Models; using Microsoft.AspNetCore.Mvc; namespace Dapper.Build.Controllers { [ApiController] [Route ("[controller]")] ...
Online Grid Arena/Assets/Scripts/Abilities/ConcreteAbilities/Kamikaze.cs
ModestosV/BlackDice
1
7055654
using System.Collections.Generic; using UnityEngine; public class Kamikaze : AbstractTargetedAbility { // need secondary animation/sound for landing private readonly GameObject damageAnimation; private readonly AudioClip damageClip; public Kamikaze(ICharacter activeCharacter) : base( Resource...
OpenRiaServices.DomainServices.Hosting.OData/Framework/DataServices/DomainDataService.cs
jeffhandley/OpenRiaServices
0
7055655
<gh_stars>0 using System; namespace OpenRiaServices.DomainServices.Hosting.OData { #region Namespaces using System.ComponentModel; using System.Data.Services; using System.Data.Services.Providers; #endregion /// <summary> /// Data service on top of a domain service. /// </summary> ...
SafeSpace/Pages/Admin/DeleteCourse.cshtml.cs
OliverSuik/SafeSpace
0
7055656
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using SafeSpace.Models; using Microsoft.EntityFrameworkCore; namespace SafeSpace.Pages.Admin { public class DeleteCourseModel : PageModel {...
src/OSharp.Permissions/Security/Dtos/ModuleBaseInputDto.cs
breavewong/osharp
17
7055657
<reponame>breavewong/osharp // ----------------------------------------------------------------------- // <copyright file="ModuleBaseInputDto.cs" company="OSharp开源团队"> // Copyright (c) 2014-2016 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor...
scr/WikiPageFilter.cs
kawaiigamer/wiktionary-ru-parser
1
7055659
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "WikiPageFilter", menuName = "WikiPageFilter", order = 51)] [ExecuteInEditMode] public class WikiPageFilter : ScriptableObject { public string[] IgnoreMorphology = new string[] { "Предлог;", "Частица;", "Топ...
tests/CsvHelper.Tests/CsvParserRawRecordTests.cs
crowbar27/CsvHelper
3,289
7055660
<reponame>crowbar27/CsvHelper // Copyright 2009-2021 <NAME> // This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. // See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. // https://githu...
src/MusicVisualizer/Json/PaletteConverter.cs
erictuvesson/MusicVisualizer
7
7055661
<filename>src/MusicVisualizer/Json/PaletteConverter.cs<gh_stars>1-10 namespace MusicVisualizer.Json { using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; class PaletteConverter : JsonConverter { public override bool CanConvert(Type objectType) { return obje...
CP77.Common/Tools/Oodle/OozNative.cs
MasterScott/CP77Tools
0
7055662
<reponame>MasterScott/CP77Tools using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace CP77.Common.Tools { public static class OozNative { #region osx [DllImport("lib/libo...
Code/Luval.AzureSync/HashProvider.cs
marinoscar/Luval.AzureSync
0
7055663
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace Luval.AzureSync { public class HashProvider { private readonly MD5CryptoServiceProvider _md5; private static HashPr...
a20201226/Decompile/Confused_01/Elsa20200001/TweakPrivateAquaSetup.cs
soleil-taruto/Hatena
0
7055664
using System; using System.Runtime.InteropServices; namespace Charlotte { // Token: 0x020000D0 RID: 208 public class TweakPrivateAquaSetup { // Token: 0x06000513 RID: 1299 RVA: 0x00010010 File Offset: 0x0000E210 public void RepresentIncompatiblePhilophrosyneConfiguration(int ReleasePreviousPuckInformation, int...
ControladorDeNotas/ControladorDeNotas/Servico/AlunoServico.cs
jvtoti/ControladorDeNotas
0
7055665
using ControladorDeNotas.entidade; using System; using System.Collections.Generic; using System.Data.Entity.Validation; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace ControladorDeNotas.Servico { public class AlunoServico : Aluno { ControladorDeNota...
Test/WindowsFormsApplication1/Layout/LayoutPosition.cs
kiarsy/GoodZilla
1
7055666
<reponame>kiarsy/GoodZilla using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BLL.Layout { public class LayoutPosition { public int Layout_Code { get; set; } public string Position_Name { ...
src/Whenitarget/Model/Algorithm.cs
mharthoorn/WhenITarget.net
0
7055667
using System; using System.Collections.Generic; using System.Linq; namespace Moniker.Model { public static class Algorithm { public static void Project(Network network, IEnumerable<Key> keys) { foreach(var key in keys) { var item ...
Payroll/Helpers/HttpAppEventArgsFactory.cs
asakura89/Payroll
0
7055668
<reponame>asakura89/Payroll using System; using System.Web; using Emi; using Payroll.Models; namespace Payroll.Helpers { public static class HttpAppEventArgsFactory { public static EmitterEventArgs CreateForAppStart(Object sender, EventArgs args) { var context = new HttpAppEventContext("App.Sta...
Packages/AudioSourceEvents/Scripts/AudioSourceObserver.cs
Moolt/UnityAudioSourceEvents
6
7055669
<gh_stars>1-10 using System; using UnityEngine; namespace AudioSourceEvents { [RequireComponent(typeof(AudioSource))] public class AudioSourceObserver : MonoBehaviour { private AudioSource _audioSource; private bool _previousState; private void Awake() { _audioS...
PowerDocu.AppDocumenter/ControlEntity.cs
cakriwut/PowerDocu
0
7055670
<filename>PowerDocu.AppDocumenter/ControlEntity.cs<gh_stars>0 using System; using System.Collections.Generic; using PowerDocu.Common; namespace PowerDocu.AppDocumenter { public class ControlEntity { public string ID; public string Name; public string Type; public List<Expression...
src/CodeArts.Db.Influx17x/Influx17xHelper.cs
rivenfx/CodeArts.Db.Influx17x
2
7055671
<filename>src/CodeArts.Db.Influx17x/Influx17xHelper.cs using CodeArts.Casting; using CodeArts.Db.Lts; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace CodeArts.Db { public static class Influx17xHelper { public static bool Initiali...
MassInstance.ServiceCollection/CqrsDependencyInjectionHandlerResolver.cs
velunin/Shop
4
7055672
using System; using System.Collections.Generic; using MassInstance.Cqrs; using Microsoft.Extensions.DependencyInjection; namespace MassInstance.ServiceCollection { internal class CqrsDependencyInjectionHandlerResolver : IHandlerResolver { private readonly IServiceProvider _serviceProvider; pu...
src/Samples/TestStack.BDDfy.Samples/Atm/Atm.cs
AlexKeySmith/TestStack.BDDfy
322
7055674
<gh_stars>100-1000 namespace TestStack.BDDfy.Samples.Atm { public class Atm { public int ExistingCash { get; private set; } public Atm(int existingCash) { ExistingCash = existingCash; } public void RequestMoney(Card card, int request) { i...
Assets/FullscreenQuad/FullscreenQuad.cs
jnhtt/FullscreenQuad
0
7055675
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace FullScreenQuad { public class FullscreenQuad : MonoBehaviour { [SerializeField] protected Material material; protected MeshRenderer meshRenderer; protected MeshFilter...
UnitTests/Infrastructure/Clients/PasswordBreach/Given_PasswordBreachClient.cs
Jay-Aye/Password
0
7055676
using Core.Interfaces; using FluentAssertions; using Infrastructure.Clients.PasswordBreach; using Moq; using System.IO; using System.Net.Http; using System.Text; using Xunit; namespace UnitTests.Infrastructure.Clients.PasswordBreach { public class Given_PasswordBreachClient { private readonly Mock<IHtt...
controllers/GroupScheduleController.cs
markupCode/schedule-server
0
7055677
<reponame>markupCode/schedule-server<gh_stars>0 using Microsoft.AspNetCore.Mvc; using ScheduleServer.Models; using ScheduleServer.Libs; using System.Threading.Tasks; using Newtonsoft.Json; using System; namespace ScheduleServer.Controllers { [Route("groups/schedules")] public class GroupScheduleController : C...
FourthDimensionOEC/views/FDPlot/Index.cshtml
shanshanpeng333/Organic-Fertilizer-Company-Website
0
7055678
@model IEnumerable<FourthDimensionOEC.Models.Plot> @using Microsoft.AspNetCore.Http @{ ViewData["Title"] = "Plot List"; } <h2>Plot List</h2> <p> <a asp-action="Create" value="Create Plot" class="btn btn-success">Add Plot</a> </p> <table class="table"> <thead> <tr> <th> ...
VerneMQnet.AspNetCore/Monitoring/DefaultMonitoringConfiguration.cs
mehdiakar/VerneMQNet
2
7055679
using System; using System.Collections.Generic; using System.Text; namespace VerneMQNet.AspNetCore.Monitoring { public class DefaultMonitoringConfiguration: IMonitoringConfiguration { private string baseAddress; private int? port; public DefaultMonitoringConfiguration(string baseAddress, int? port) { thi...
resharper/resharper-unity/src/Unity.Rider/Integration/CSharp/Feature/RunMarkers/UnityRunMarkerHighlighting.cs
rwx788/resharper-unity
0
7055680
using JetBrains.DocumentModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.Rider.Backend.Features.RunMarkers; using JetBrains.Util.Dotnet.TargetFrameworkIds; #nullable enable namespace JetBrains.ReSharper.Plugins.Unity.Ri...
project5/trianglesWithColors.cs
davepape/DMS423_2020
0
7055681
// trianglesWithColors.cs // by <NAME>, 12 Oct 2020 // // A variation of triangles.cs, which adds RGB color data. The colors // must be defined per-vertex - ie for each vertex (XYZ location), there // is a corresponding color value; these are defined by two parallel arrays. // This example requires the file "vertexCol...
BlackFire/Export/ExportedAssemblyBase.cs
BlackFire-Studio/BlackFireFramework
36
7055682
<reponame>BlackFire-Studio/BlackFireFramework<filename>BlackFire/Export/ExportedAssemblyBase.cs /* -------------------------------------------------- | Copyright © 2008 Mr-Alan. All rights reserved. | | Website: www.0x69h.com | | Mail: <EMAIL> | | QQ: 835988221 ...
api/Models/MailMessage.cs
mtfoley/OpenArabic
6
7055683
using System.ComponentModel.DataAnnotations; namespace api.Models { public class Mail { [StringLength(1000)] public string Body { get; set; } [StringLength(50)] public string Sender { get; set; } } }
aspnet-core/src/XiongHui.Core/Types/Prices.cs
songjiefa/Xionghui
0
7055684
using System; using System.Collections.Generic; using System.Text; namespace XiongHui.Types { public class Prices { public decimal Price { get; set; } public UnitType Unit { get; set; } } }
Assets/SurfacePositionGenerator/Scripts/TextureVisualizer.cs
sugi-cho/Animated-Mesh-Surface-Position-Texture-Generator
40
7055685
using UnityEngine; public class TextureVisualizer : MonoBehaviour { SurfaceTextureGenerator texGen; // Use this for initialization void Start () { texGen = GetComponent<SurfaceTextureGenerator>(); } // Update is called once per frame void Update () { texGen.UpdateRts(); } private vo...
Toggl.Networking/Models/WorkspaceFeatureCollection.cs
medvedy/toggl
0
7055686
<filename>Toggl.Networking/Models/WorkspaceFeatureCollection.cs using Newtonsoft.Json; using System.Collections.Generic; using Toggl.Networking.Serialization.Converters; using Toggl.Shared.Models; namespace Toggl.Networking.Models { internal sealed partial class WorkspaceFeatureCollection : IWorkspaceFeatureColle...
Models/Persona.cs
MassimoMenghi03/Menghi.Massimo.5H.PrimoEF
0
7055687
using System.ComponentModel.DataAnnotations; namespace Menghi.Massimo._5H.PrimoEF.Models { public class Persona { [Key] public int PersonaId{ get; set; } public string Nome{ get; set; } public string Cognome{ get; set; } [EmailAddress] public string EMail{ get; ...
samples/samples-aspnet/embedded-auth-with-sdk/embedded-auth-with-sdk/Controllers/OktaVerifyController.cs
danielmaharry-okta/okta-idx-dotnet
0
7055688
namespace embedded_auth_with_sdk.Controllers { using embedded_auth_with_sdk.Models; using Microsoft.Owin.Security; using Okta.Idx.Sdk; using System; using System.Security.Claims; using System.Threading.Tasks; using System.Web.Mvc; public class OktaVerifyController : Controller { ...
src/LSTY.Sdtd.PatronsMod/WebApi/Modules/AuthenticateModule.cs
1249993110/LSTY.Sdtd-5.X
2
7055689
<filename>src/LSTY.Sdtd.PatronsMod/WebApi/Modules/AuthenticateModule.cs<gh_stars>1-10 using Nancy; using System.IO; using System.Reflection; namespace LSTY.Sdtd.PatronsMod.WebApi.Modules { public class AuthenticateModule : ApiModuleBase { public AuthenticateModule() { Get("/Authent...
Native/Deprecated/EnhancedBrowser.cs
juliensobrier/trifleJS
422
7055690
<filename>Native/Deprecated/EnhancedBrowser.cs using System; using System.Runtime.InteropServices; using System.Windows.Forms; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Security.Permissions; using mshtml; namespace TrifleJS.Native.Deprecated { /// <summary> /// This...
Product/Desktop/XmlRunner/Utilities/Components/PID/PID.Designer.cs
mind0n/hive
5
7055691
namespace Utilities.Components { partial class PID { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
Source/FlowDesign.Model/Diagram.cs
FlowDesign-HS-Esslingen/FlowDesignModelingTool
3
7055692
<reponame>FlowDesign-HS-Esslingen/FlowDesignModelingTool<filename>Source/FlowDesign.Model/Diagram.cs using FlowDesign.Model.Components; using FlowDesign.Model.Flow; using System; using System.Collections.Generic; using System.Xml.Serialization; namespace FlowDesign.Model { /// <summary> /// Alle möglichen Dia...
dotnet/src/AbpNSwag.Application.Contracts/Permissions/AbpNSwagPermissions.cs
antosubash/AbpNSwag
2
7055693
<reponame>antosubash/AbpNSwag namespace AbpNSwag.Permissions { public static class AbpNSwagPermissions { public const string GroupName = "AbpNSwag"; //Add your own permission names. Example: //public const string MyPermission1 = GroupName + ".MyPermission1"; } }
ProductInstaller/6/InstallationProgressForm.Designer.cs
Mortens4444/InstallAssistant
0
7055694
namespace ProductInstaller._6 { partial class InstallationProgressForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing...
nopCommerce 4.4/src/Libraries/Nop.Services/Orders/ICheckoutAttributeParser.cs
peterthomet/BioPuur
0
7055695
<reponame>peterthomet/BioPuur<gh_stars>0 using System.Collections.Generic; using System.Threading.Tasks; using Nop.Core.Domain.Orders; namespace Nop.Services.Orders { /// <summary> /// Checkout attribute parser interface /// </summary> public partial interface ICheckoutAttributeParser { //...
src/IMonitorItem.cs
kenkendk/SockRock
3
7055696
using System; namespace SockRock { /// <summary> /// The interface for an item that can be monitored with a <see cref="ISocketHandler"/> /// </summary> public interface IMonitorItem : IDisposable { /// <summary> /// Signals that the handle can be read /// </summary> ...
MegatubeDataMigrator/PaymentMethodCessioneDirittiUnder35.cs
Alx666/MegatubeV2
0
7055697
using System; using System.Collections.Generic; using System.Linq; using System.Web; public class PaymentMethodCessioneDirittiUnder35 : IPaymentMethod { public decimal ComputeNet(decimal dGross) { return dGross - (dGross * 0.6m) * 0.2m; } public override string ToString() { ret...
ThetaNetCore/Wifi/Request/SetPluginParam.cs
rysaproject/ThetaNetCore
6
7055698
using System; using System.Runtime.Serialization; namespace ThetaNetCore.Wifi { [DataContract] public class SetPluginParam { [DataMember(Name = "packageName")] public String PackageName { get; set; } [DataMember(Name = "boot")] public bool Boot { get; set; } = true; } }
MyCantinaCore/src/MyCantinaCore.UI/ViewModels/Consumer/ConsumerCreateViewModel.cs
vitorussomoliterni/my-cantina-core
0
7055699
<gh_stars>0 using System; using System.ComponentModel.DataAnnotations; namespace MyCantinaCore.UI.ViewModels.Consumer { public class ConsumerCreateViewModel { public ConsumerCreateViewModel() { DateOfBirth = new int[3]; } public int Id { get; set; } public s...
Repository.SqlServer.EFPowerToolGenerator/UfcContext.cs
cedd82/FightSearchV3
0
7055700
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace Repository.SqlServer.EFPowerToolGenerator { public partial class UfcContext : DbContext { public UfcContext() { } public UfcContext(DbContextOptions<UfcContext> options) ...
AspNetCoreMVC_Loja/LojaAspNetCoreMVC/LojaAspNetCoreMVC/Program.cs
JoaoDiasDev/Projetos
0
7055702
using LojaAspNetCoreMVC.Data; using LojaAspNetCoreMVC.Services; using Microsoft.AspNetCore.Localization; using Microsoft.EntityFrameworkCore; using System.Globalization; var builder = WebApplication.CreateBuilder(args); string connectionString = builder.Configuration.GetConnectionString("LojaAspNetCoreMVCContext"); ...
resharper/test/data/Runner/DynamicMethodWithRepeatedName.xunit1.cs
derigel23/resharper-xunit
82
7055703
using System; using System.Collections.Generic; using Xunit; using Xunit.Extensions; using Xunit.Sdk; namespace Foo { public class MethodWithRepeatedNames { [Repeat(5)] public void DoTests() { } } public class RepeatAttribute : FactAttribute { private readon...
Store Front/Apollo.FrontStore/Views/Customer/AccountLockout.cshtml
hancheester/apollo
2
7055704
@{ Html.AddTitleParts("Account Lockout"); } @{ Html.RenderPartial("_OfferStrips"); } <div id="register"> <div class="container"> <div class="row"> <div class="col-xs-12"> <h4>Locked Out</h4> </div> <div class="col-xs-12"> <h5>Sorry, ...
DesignPattern.Facade/AuthoriationSystemA.cs
LambertW/DesignPattern
0
7055705
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace DesignPattern.Facade { /// <summary> /// 身份认证子系统A /// </summary> public class AuthoriationSystemA { public void MethodA() { Console.WriteLine("执行身份认证"); } } }
Assets/Scripts/Player.cs
ben-and-sam/RPC
0
7055706
using System.Collections; using System.Collections.Generic; using UnityEngine; // All (Ben) expect restart public class Player : MonoBehaviour { public int id; public int num_wins; public Weapon weapon; public bool ready; //Constructor public Player(int new_id) { id = new_id; ...
src/api/Fig.Api/Middleware/CallerDetailsMiddleware.cs
mzbrau/fig
1
7055707
<reponame>mzbrau/fig<filename>src/api/Fig.Api/Middleware/CallerDetailsMiddleware.cs using Fig.Api.Services; namespace Fig.Api.Middleware; public class CallerDetailsMiddleware { private readonly RequestDelegate _next; public CallerDetailsMiddleware(RequestDelegate next) { _next = next; } ...
sl4/SL4/PanZoomControl.cs
NDUnityWeb/bot
148
7055708
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Input; using System.Windows.Media; using Microsoft.Practices.Prism.Commands; using PixelLab.Common; namespace PixelLab.SL { [TemplatePart(Name = "PART_Horizontal", Type = typeof(Scroll...
C# OOP June 2019/InterfacesAndAbstractionEx/Ferrari/Ferrari.cs
BorislavVladimirov/C-Software-University
0
7055709
<filename>C# OOP June 2019/InterfacesAndAbstractionEx/Ferrari/Ferrari.cs<gh_stars>0 using Ferrari.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace Ferrari { public class Ferrari : ICar { private const string model = "488-Spider"; public Ferrari(string d...
msvc/BlocklyMruby/Blockly.cs
h7ga40/BlocklyMruby
0
7055710
/** * @license * Visual Blocks Editor * * Copyright 2012 Google Inc. * https://developers.google.com/blockly/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
Sources/Audio/Microsoft.Psi.Audio.Windows/Operators.cs
Microsoft/psi
51
7055711
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Audio { /// <summary> /// Stream operators and extension methods for Microsoft.Psi.Audio.Windows. /// </summary> /// <remarks> /// These are a collection of extension methods def...
C#2/Exams/C#Part2-8-February-2012/CSharp-Exam-II-Third-Day-8-Feb-2012-Solutions/Problem 4 Bombing Cuboids/BombingCuboids.cs
Ico093/TelerikAcademy
0
7055712
#define DEBUG_MODE_OFF using System; namespace Problem_4_Bombing_Cuboids { class BombingCuboids { static int width, height, depth; static char[, ,] cuboid; static readonly int[] cubesDestroyed = new int['Z' - 'A' + 1]; private const char EmptyCell = '-'; static void M...
ViewModels/RolePermsVM.cs
raytellier/Hager_Ind_CRM
0
7055713
<reponame>raytellier/Hager_Ind_CRM<filename>ViewModels/RolePermsVM.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Hager_Ind_CRM.ViewModels { public class RolePermsVM { public string Id { get; se...
src/Tranquire.Selenium/Actions/Navigate.cs
gitter-badger/tranquire
31
7055714
using System; namespace Tranquire.Selenium.Actions { /// <summary> /// Navigate to an url /// </summary> public sealed class Navigate : ActionBaseUnit<WebBrowser> { /// <summary> /// Gets the Uri to navigate to /// </summary> public Uri Uri { get; } /// <s...
MovableContainers/properties/AssemblyInfo.cs
zorgesho/TheLongDarkMods
6
7055715
using System.Reflection; using System.Runtime.InteropServices; using MelonLoader; [assembly: AssemblyTitle("MovableContainers")] [assembly: AssemblyProduct("MovableContainers")] [assembly: AssemblyCopyright("© 2021-2022 zorgesho")] [assembly: ComVisible(false)] [assembly: AssemblyVersion(MovableContainers.Main.ver...
Wazera/System/WazeraUtils.cs
Wauzmons/Wazera
7
7055716
<filename>Wazera/System/WazeraUtils.cs using System; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Imaging; namespace Wazera { class WazeraUtils { public static Image GetImage(string path, int diameter) { return new Image { ...
src/Tests/Sfa.Tl.ResultsAndCertification.Api.Client.UnitTests/Clients/ResultsAndCertificationInternalApiClientTest/When_GetTlevelsByStatusId_Called.cs
SkillsFundingAgency/tl-result-and-certification
1
7055718
<filename>src/Tests/Sfa.Tl.ResultsAndCertification.Api.Client.UnitTests/Clients/ResultsAndCertificationInternalApiClientTest/When_GetTlevelsByStatusId_Called.cs using FluentAssertions; using NSubstitute; using Sfa.Tl.ResultsAndCertification.Api.Client.Clients; using Sfa.Tl.ResultsAndCertification.Api.Client.Interfaces...
GroupLinkApi/gLinkApi/Database/Repositories/ClassScheduleRepository/IClassScheduleRepository.cs
Asder98/Grouplink
0
7055719
using Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GroupLinkApi.Database.Repositories.ClassScheduleRepository { public interface IClassScheduleRepository : IBasicRepository<ClassSchedules> { int GetId(ClassSchedules classScheduleT...
IPPDotNetDevKitCSV3/Code/Intuit.Ipp.Utility.Test/Common/RequestXmlCollectionTest.cs
chiller00/QuickBooks-V3-DotNET-SDK
83
7055720
////********************************************************* // <copyright file="RequestXmlCollectionTest.cs" company="Intuit"> // Copyright (c) Intuit. All rights reserved. // </copyright> // <summary>This file contains test cases for RequestXmlCollection class functions.</summary> ////**************************...
src/MarginTrading.MarketMaker/Models/Settings/SettingsRoot.cs
LykkeCity/MT.MarketMaker
6
7055721
<reponame>LykkeCity/MT.MarketMaker using System; using System.Collections.Immutable; namespace MarginTrading.MarketMaker.Models.Settings { public class SettingsRoot { public ImmutableSortedDictionary<string, AssetPairSettings> AssetPairs { get; } public SettingsRoot(ImmutableSortedDictionary<...
Source/FunctionMonkey.Compiler.Core/FunctionCompiler.cs
MrBliz/FunctionMonkey
0
7055722
using AzureFromTheTrenches.Commanding; using AzureFromTheTrenches.Commanding.Abstractions; using FunctionMonkey.Abstractions; using FunctionMonkey.Abstractions.Builders.Model; using FunctionMonkey.Builders; using FunctionMonkey.Compiler.Core.Implementation; using FunctionMonkey.Infrastructure; using Microsoft.Extensio...
trunk/platforms/windows/logjoint.winforms/ui/CommonControls/TagsList/TagsListPanel.cs
rkapl123/logjoint
44
7055723
<gh_stars>10-100 using LogJoint.UI.Presenters.TagsList; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace LogJoint.UI { public partial class TagsListControl : UserControl, IView { IViewModel viewModel; ISubscription subscription; public TagsListControl()...
src/Griffin.Framework/Griffin.Core/Data/CommandExtensions.cs
campersau/Griffin.Framework
0
7055724
using System; using System.Data; namespace Griffin.Data { /// <summary> /// Extensions for IDbCommand /// </summary> public static class CommandExtensions { /// <summary> /// Add a parameter to a command /// </summary> /// <param name="command">Comm...
Framework/Adxstudio.Xrm/Web/UI/CrmEntityFormView/FormXmlCellMetadata.cs
hhnguyen/xRM-Portals-Community-Edition
117
7055725
/* 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.Collections.Generic; using System.Linq; using System.Xml.Linq; using Adxstudio.Xrm.Partner; using Adxstudio.Xrm.Web.UI.JsonConfigur...
src/DtronixPackage.Tests/PackageManagerViewModelTests/PackageManagerViewModelTests_Commands.cs
Dtronix/DtronixPackage
0
7055726
<reponame>Dtronix/DtronixPackage using System; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Windows; using DtronixPackage.ViewModel; using NUnit.Framework; namespace DtronixPackage.Tests.PackageManagerViewModelTests { public class PackageManagerViewModelTests_Commands : Pack...
NewPlatform.Flexberry.ORM.IntegratedTests/ICSSoft.STORMNET.DataObject/TypeUsageProviderTest.cs
in-9/NewPlatform.Flexberry.ORM
0
7055727
namespace ICSSoft.STORMNET.Tests.TestClasses.DataObject { using System; using Xunit; using NewPlatform.Flexberry.ORM.Tests; /// <summary> /// Тестовый класс для TypeUsageProvider. /// </summary> public class TypeUsageProviderTest { /// <summary> /// Проверка получе...
src/Upcloud/Model/StorageDevice.cs
kaleho/upcloud-dotnetcore-api
0
7055728
<gh_stars>0 /* * Upcloud api * * The UpCloud API consists of operations used to control resources on UpCloud. The API is a web service interface. HTTPS is used to connect to the API. The API follows the principles of a RESTful web service wherever possible. The base URL for all API operations is https://api.upclou...
Nerdle.AutoConfig/Mapping/Mappers/IMapper.cs
0xced/Nerdle.AutoConfig
35
7055729
using System; using System.Xml.Linq; namespace Nerdle.AutoConfig.Mapping.Mappers { public interface IMapper { object Map(XElement element, Type type); } interface ISelectableMapper : IMapper { bool CanMap(Type type); } }
TimeLogger/TimeLogger/Views/Event/Index.Mobile.cshtml
GundlackFelixDEV/ASP.NET_TUTS
0
7055730
@model IEnumerable<TimeLogger.Models.Event> @{ ViewBag.Title = "Events"; DateTime lastDay = default(DateTime); } @Html.Partial("CreateEvent", new TimeLogger.Models.Event()) @Html.ValidationSummary("Die folgenden Fehler sind aufgetreten:") <ul data-role="listview"> @foreach (var item in Mode...
workshop/src/Client/Blazor/Generated/OnUserOnlineStatusChangedResultParser.cs
arif-hanif/hotchocolate-examples
111
7055731
<reponame>arif-hanif/hotchocolate-examples<filename>workshop/src/Client/Blazor/Generated/OnUserOnlineStatusChangedResultParser.cs using System; using System.Collections; using System.Collections.Generic; using System.Text.Json; using StrawberryShake; using StrawberryShake.Configuration; using StrawberryShake.Http; usi...
GeneticAlgorithm.cs
ddomingueti/MiniGAFramework
0
7055732
<reponame>ddomingueti/MiniGAFramework<filename>GeneticAlgorithm.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; namespace MiniGAFramework { public abstract class GeneticAlgorithm { public int PopulationSize { get; set; } public List...
test/CoreDocker.Dal.Tests/TestLoggingHelper.cs
rolfwessels/CoreDocker
2
7055733
using System; using CoreDocker.Core.Framework.Logging; using NUnit.Framework; using Serilog; using Serilog.Events; namespace CoreDocker.Dal.Tests { [SetUpFixture] public class TestLoggingHelper { private static Lazy<ILogger> _logger; static TestLoggingHelper() { _logge...
Src/AjSharpure.Tests/Language/LanguageTests.cs
ajlopez/AjSharpure
1
7055734
<filename>Src/AjSharpure.Tests/Language/LanguageTests.cs namespace AjSharpure.Tests.Language { using System; using System.Text; using System.Collections.Generic; using System.Linq; using AjSharpure.Language; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] ...
src/Emmola.Helpers/i18n/Res.Designer.cs
klesh/Emmola.Helper
0
7055735
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18408 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
Assets/Scripts/Ships/Particles/ShipExplosion.cs
Zesix/rails-hunter
10
7055736
using UnityEngine; using Zenject; public class ShipExplosion : MonoBehaviour { // Dependencies private Pool _shipExplosionPool; // Internal private ParticleSystem _particleSystem; private AudioSource _audioSource; [Inject] public void Construct(Pool shipExplosionPool) { _...
src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonOutputFormatterTest.cs
cypressious/AspNetCore
2
7055737
<reponame>cypressious/AspNetCore // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net; using System.Threading.Tasks; using FormatterWebSite.Controllers; using Xunit; namespace Microsoft.A...
core/Akka.Interfaced.SlimSocket.Server/Channel/TcpGateway.cs
SaladbowlCreative/Akka.Interfaced.SlimSocket
2
7055738
<reponame>SaladbowlCreative/Akka.Interfaced.SlimSocket<filename>core/Akka.Interfaced.SlimSocket.Server/Channel/TcpGateway.cs using System; using System.Collections.Generic; using System.Net.Sockets; using System.Linq; using Akka.Actor; using Akka.Interfaced.SlimServer; using Common.Logging; namespace Akka.Interfaced....
Funeral.Core.Model/ViewModels/Qw/QuestionsDto.cs
15958105063/FuneralVue
1
7055739
<filename>Funeral.Core.Model/ViewModels/Qw/QuestionsDto.cs<gh_stars>1-10 using SqlSugar; namespace Funeral.Core.Model.ViewModels { public class QuestionsDto { /// <summary> /// Id /// </summary> public int Id { get; set; } /// <summary> /// 标题 /// </su...
Conscience.Extensions/System/System.String/String.IsNotNullOrEmpty.cs
Conscience-Information-Technology/OpenApiValidator
0
7055740
<filename>Conscience.Extensions/System/System.String/String.IsNotNullOrEmpty.cs using System; using System.Collections.Generic; using System.Text; namespace System { public static partial class Extensions { public static bool IsNotNullOrEmpty(this string @this) { return !string.IsNullO...