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
src/SFA.DAS.AdminService.Web/Controllers/CertificateBaseController.cs
uk-gov-mirror/SkillsFundingAgency.das-admin-service
0
7033931
<filename>src/SFA.DAS.AdminService.Web/Controllers/CertificateBaseController.cs using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using SFA....
Src/SqzTo.Api/Common/ApiRoutes.cs
Bratistolf/SqzTo.Api
0
7033932
namespace SqzTo.Api.Common { /// <summary> /// Contains all API routes in project. /// </summary> public static class ApiRoutes { /// <summary> /// Route for POST: v1.0/sqzlink/ /// </summary> public const string CreateSqzLink = "sqzlink"; /// <sum...
src/FastQuant/Core/GetByList`T.cs
OmniQuant/omniquant-server
2
7033933
// Copyright (c) FastQuant Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections; using System.Reflection; namespace FastQuant { [NotOriginal] cl...
Pandemic_AI/Pandemic_AI_Framework/PD_AI/Agent_Definitions/MacroAgents/AI_MacroAgents_PolicyBased/PD_AI_MacroAgent_SinglePolicy.cs
konsfik/Pandemic-AI-Framework
3
7033935
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pandemic_AI_Framework { [Serializable] public class PD_AI_MacroAgent_SinglePolicy : PD_AI_Macro_Agent_Base { public PD_AI_MacroAgent_MainPolicy_Base MainPolicy { get; priva...
src/HouseofCat.RabbitMQ.Client/client/api/BasicGetResult.cs
tiggerite/Tesseract
9
7033936
<filename>src/HouseofCat.RabbitMQ.Client/client/api/BasicGetResult.cs // This source code is dual-licensed under the Apache License, version // 2.0, and the Mozilla Public License, version 2.0. // // The APL v2.0: // //--------------------------------------------------------------------------- // Copyright (c) 2007-2...
src/Repository/BaseRepository.cs
muhammedikinci/partner-api
0
7033937
<filename>src/Repository/BaseRepository.cs using Domain; using MongoDB.Driver; using Repository.Interfaces; using Persistence; using Persistence.Interfaces; using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace ...
build-tools/xaprepare/xaprepare/Main.cs
rossbaby1/xamarin-android
1,959
7033938
<filename>build-tools/xaprepare/xaprepare/Main.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Mono.Options; namespace Xamarin.Android.Prepare { class App { sealed class ParsedOptions { public bool ShowHelp ...
Shared/Cauldron/KnownFolders.cs
armohamm/Cauldron
78
7033940
<filename>Shared/Cauldron/KnownFolders.cs using System; using System.IO; #if !NETFX_CORE /* This is "mirror" or the UWP KnownFolders class. It can come handy in shared projects that is shared between NetClassic and UWP. */ namespace Windows.Storage { /// <summary> /// Provides access to common locations...
Assembly-CSharp/FengLi/Interface/Buttons/BTN_save_snapshot.cs
tivuhh/guardian
1
7033941
<reponame>tivuhh/guardian using System; using System.Collections; using UnityEngine; using System.IO; public class BTN_save_snapshot : MonoBehaviour { public GameObject targetTexture; public GameObject info; public GameObject[] thingsNeedToHide; private string SaveDir = Guardian.GuardianClient.RootDir ...
Engine/RandomGenerator.cs
takuyakanbr/simple-rpg
0
7033942
using System; using System.Security.Cryptography; namespace Engine { public static class RandomGenerator { private static readonly RNGCryptoServiceProvider _generator = new RNGCryptoServiceProvider(); /// <summary> /// Returns a random number between 0.0 and 1.0 (both inclusive). ...
Server/Users.Service/User.Services/Exceptions/AccountUnlockedException.cs
TodorStamenov/GameBox
5
7033943
using System; namespace User.Services.Exceptions { public class AccountUnlockedException : Exception { public AccountUnlockedException(string username) : base($"User {username} is locked!") { } } }
src/Microsoft.ServiceFabric.Services/Common/DebugUtility.cs
KDSBest/service-fabric-services-and-actors-dotnet
56
7033945
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Servic...
AWSSDK_DotNet35/Amazon.EC2/Model/CreateCustomerGatewayRequest.cs
zz0733/aws-sdk-net
1
7033946
<filename>AWSSDK_DotNet35/Amazon.EC2/Model/CreateCustomerGatewayRequest.cs /* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the Licens...
Ash.Portable/Utils/Extensions/RectangleExt.cs
JonSnowbd/Nez
3
7033947
using System; using Microsoft.Xna.Framework; namespace Ash { public static class RectangleExt { /// <summary> /// gets the position of the specified side /// </summary> /// <returns>The side.</returns> /// <param name="edge">Side.</param> public static int GetSide(this Rectangle rect, Edge edge) { ...
SYSTRADE_AGENCIA/Systrade_Agencia/Systrade.Dominio/Entidades/Enderecos/CEP.cs
Marcos237/MMSystrade
0
7033948
using System; using System.Text.RegularExpressions; using Systrade.Core.Helpers; namespace Systrade.Dominio.Enderecos.Entidades { public class CEP { protected CEP() { } public string CepCod { get; private set; } public const int CepMaxLength = 8; public CEP(s...
src/bitgrids/src/bitgrid/ops/same.cs
0xCM/z0
0
7033949
<reponame>0xCM/z0 //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; usin...
src/Web/ViewModels/TransferViewModel.cs
SH4KUR/PharmacyNetwork-ASP.NET_Core_MVC
7
7033950
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using PharmacyNetwork.ApplicationCore.Entities; namespace PharmacyNetwork.Web.ViewModels { public class TransferViewModel { public Pharmacy Pharmacy { get; set; } ...
src/Project/Habitat/specs/Foundation.Common/Extensions/Infrastructure/ItemFieldDefinition.cs
ajshehan/SC-HACKATHON-2017
2
7033951
namespace Sitecore.Foundation.Common.Specflow.Infrastructure { public class ItemFieldDefinition { public string ItemPath { get; set; } public string FieldValue { get; set; } public string FieldName { get; set; } public string ParentItemPath { get; set; } public string TemplateItemPath { get; se...
gRPC.Select/gRPC.Select/LogicConditions/LogicConditionStrategy.cs
InsonusK/gRPC.Select
0
7033952
using System; using gRPC.Select.Interface; using GRPC.Selector.Enum; namespace gRPC.Select.LogicConditions { public class LogicConditionStrategy : ILogicConditionStrategy { public ILogicCondition GetExpressionBuilder(LogicCondition condition) { return condition switch { ...
tests/LazyCoder.Tests/ShouldlyExtensions.cs
roman-g/LazyCoder
9
7033953
<gh_stars>1-10 using System; using Shouldly; namespace LazyCoder.Tests { public static class ShouldlyExtensions { public static void ShouldBeLines(this string actual, params string[] lines) { actual.ShouldBe(string.Join(Environment.NewLine, lines)); } } }
System.Grid/ClampedGridSize.cs
laicasaane/unity-supplements
22
7033954
using System.Runtime.Serialization; namespace System.Grid { [Serializable] public readonly partial struct ClampedGridSize : IEquatableReadOnlyStruct<ClampedGridSize>, ISerializable { public int Row => this.value.Row; public int Column => this.value.Column; public int this[int ind...
NewsAggregator/NewsAggregator.Data/Migrations/20220302102147_ChangeTypeToNullable.cs
DreiK-one/NewsAggregator
0
7033955
<gh_stars>0 using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace NewsAggregator.Data.Migrations { public partial class ChangeTypeToNullable : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<float>( ...
Assets/Scripts/Victorine.cs
chukki3/shit
0
7033956
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Random = System.Random; using DodoDataModel; public class Victorine : MonoBehaviour { public GameObject GameManager; public QuestionList[] Questions; public Text[] AnswersText; ...
proj/SocietyAgendor.UI/Controllers/ClienteController.cs
leonardoalves14/agendafut
1
7033957
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using SocietyAgendor.UI.Models; using SocietyAgendor.UI.Service; namespace SocietyAgendor.UI.Controllers { public class ClienteController : Controller { private readonly ICl...
src/Mef.Host/ByValueEquality.cs
InKahootz/vs-mef-alc
0
7033958
<filename>src/Mef.Host/ByValueEquality.cs using System; using System.Collections.Generic; using System.Reflection; namespace Mef.Host { internal static partial class ByValueEquality { internal static IEqualityComparer<AssemblyName> AssemblyName { get { return AssemblyNameComparer.D...
Flooring Orders/Flooring.BLL/OrderFactory.cs
timross14/Example-Work
0
7033959
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using Flooring.Data; using Flooring.Models; namespace Flooring.BLL { public class OrderFactory { public Order CreateOrder(Order order) ...
src/ParaglidingWeather.Bot/Configuration.cs
andreypudov/ParaglidingWeather
0
7033960
// <copyright file="Configuration.cs" company="<NAME>"> // Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. // </copyright> namespace ParaglidingWeather.Bot { /// <summary> /// Represents application con...
Gw2Sharp/WebApi/V2/Models/Guild/GuildUpgradeHub.cs
Archomeda/Gw2Sharp
24
7033961
namespace Gw2Sharp.WebApi.V2.Models { /// <summary> /// Represents a guild hub upgrade. /// </summary> public class GuildUpgradeHub : GuildUpgrade { } }
YeGods.Web/Areas/Admin/Views/Category/Page.cshtml
JwanKhalaf/YeGods
0
7033962
<filename>YeGods.Web/Areas/Admin/Views/Category/Page.cshtml @using YeGods.ViewModels @model YeGods.ViewModels.CategoryPageViewModel @{ Layout = "_AdminLayout"; } <h1>Manage Categories</h1> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Name</th> <th>...
src/Stomp4Net/Model/Frames/CommitFrameHeaders.cs
ma-sch/Stomp4Net
1
7033963
<filename>src/Stomp4Net/Model/Frames/CommitFrameHeaders.cs namespace Stomp4Net.Model.Frames { /// <summary> /// Headers for <see cref="AbortFrame"/>. /// </summary> public class CommitFrameHeaders : BaseStompHeaders { /// <summary> /// Gets or sets the transaction header of the fram...
src/Services/Users/Users.Services/Users/IntegrationEvents/UserUpdatedIntegrationEvent.cs
GeorgeLatsev/lounge-backend
1
7033964
using Lounge.BuildingBlocks.EventBus.Events; namespace Lounge.Services.Users.Services.Users.IntegrationEvents { public class UserUpdatedIntegrationEvent : IntegrationEvent { public UserUpdatedIntegrationEvent(string userId, string name, string tag) { UserId = userId; Na...
Sogeti.Capstone.Web/Sogeti.Capstone.Domain/Commands/CreateEvent/CreateEventHandler.cs
DavidMGardner/sogeti.capstone
6
7033965
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Moo.Extenders; using ShortBus; using Sogeti.Capstone.Data.Model; namespace Sogeti.Capstone.Domain.Commands.CreateEvent { public class CreateEventHandler : IAsyncRequestHandler<CreateEvent, Cre...
src/GraphQL/Validation/Rules/UniqueDirectivesPerLocation.cs
srs6814/graphql-dotnet
0
7033966
<reponame>srs6814/graphql-dotnet using System.Collections.Generic; using System.Threading.Tasks; using GraphQL.Language.AST; using GraphQL.Validation.Errors; namespace GraphQL.Validation.Rules { /// <summary> /// Unique directive names per location: /// /// A GraphQL document is only valid if all direc...
Models/UserLogin.cs
Niklas89/ASPNETleboncoin
1
7033967
using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace lebonanimal.Models; public class UserLogin { [Required(ErrorMessage = "le champ est vide")] [EmailAddress] [DisplayName("Email")] [MaxLength(320,ErrorMessage = "La taille max est 320")] public string Email { get; ...
src/tibs.stem.Application/LeadTypes/Exporting/ILeadTypeListExcelExporter.cs
realvino/Core-2.0
1
7033968
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using tibs.stem.Dto; namespace tibs.stem.LeadTypes.Dto.Exporting { public interface ILeadTypeListExcelExporter { FileDto ExportToFile(List<LeadTypeList> LeadTypeListDtoss); } }
Hope/Assets/Scripts/UI_Related/MainMenu.cs
ManuNt/Hope
0
7033969
<reponame>ManuNt/Hope<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainMenu : MonoBehaviour { // Represents the button actions of the Main Menu, each action calls a method in the GameManager public void NewGame() { GameManager.Instance.Loa...
Source/MgSoft.K3Cloud.WebApi/Common/Dto/Stk/Stk_InStock_FInStockEntry.cs
vebin/Kingdee.Bos.Plug
1
7033970
<reponame>vebin/Kingdee.Bos.Plug<gh_stars>1-10 using MgSoft.K3Cloud.WebApi.Common.Dto.Property; using MgSoft.K3Cloud.WebApi.Common.Model; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace MgSoft.K3Cloud.WebApi.Common.Dto.Stk { public class Stk_InStock_FInStockEntr...
src/Microsoft.SqlTools.ServiceLayer/LanguageExtensibility/Contracts/ExternalLanguageListRequest.cs
JPaja/sqltoolsservice
176
7033972
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.SqlTools.Hosting.Protocol.Contracts; using System.Collections.Generic; namespace Microsoft.SqlTools.ServiceLayer.LanguageExtensibility.Contracts...
iothub/device/tests/AuthenticationWithTokenRefreshTests.cs
tomkerkhove/azure-iot-sdk-csharp
2
7033973
<gh_stars>1-10 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Diagnostics; namespace Microsoft.Azure.Devi...
BookShop/Server/BookShop.Server.Common/Models/Authors/AuthorRequestModel.cs
IvayloKodov/My-Projects
0
7033974
<gh_stars>0 namespace BookShop.Server.Common.Models.Authors { using AutoMapper; using Data.Models; using Mappings.Contracts; using Microsoft.Build.Framework; public class AuthorRequestModel : IMapFrom<Author>, IHaveCustomMappings { [Required] public string FirstName { get; set;...
sdk/src/Services/SageMaker/Generated/Model/FeatureGroupSummary.cs
philasmar/aws-sdk-net
1
7033975
<reponame>philasmar/aws-sdk-net /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/...
src/DHS.Domain.Core/Mapper/Mapping.cs
DeividyH/DHS
0
7033976
<filename>src/DHS.Domain.Core/Mapper/Mapping.cs using AutoMapper; using DHS.Domain.Core.Interfaces.Mapper; using System.Collections.Generic; namespace DHS.Domain.Core.Mapper { public abstract class Mapping<TEntity, TEntityDto, TCreateInput, TUpdateInput, TDeleteInput> : IMapping<TEntity, TEntityDto, TCrea...
WebService.asmx.cs
Encosia/Encosia-Samples-ASMX-CORS
1
7033977
<reponame>Encosia/Encosia-Samples-ASMX-CORS using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; namespace Encosia.Samples.ASMX_CORS { [System.Web.Script.Services.ScriptService] public class WebService : System.Web.Services.WebService { [WebMethod] ...
LiteApi/LiteApi/Attributes/ActionRouteAttribute.cs
stanac/LiteApi
5
7033978
<reponame>stanac/LiteApi<filename>LiteApi/LiteApi/Attributes/ActionRouteAttribute.cs<gh_stars>1-10 using LiteApi.Contracts.Models; using System; using System.Collections.Generic; using System.Linq; namespace LiteApi { /// <summary> /// Attribute for renaming action and optionally adding route parameters /...
src/StructuredLogger/ObjectModel/Import.cs
ladipro/MSBuildStructuredLog
1,152
7033979
namespace Microsoft.Build.Logging.StructuredLogger { public class Import : TextNode, IHasRelevance, IPreprocessable, IHasSourceFile, IHasLineNumber { public string ProjectFilePath { get; set; } public string ImportedProjectFilePath { get; set; } public int Line { get; set; } ...
_Au.Editor/Compiler/Compiler.cs
alexfordc/Au
1
7033980
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.IO; using System.Threading; using System.Threading.Tasks; using System.ComponentModel; using System.Reflection; using Microsoft.Win32; us...
Tests/Roslyn.Test/Tests/AnalysisBase.cs
warning-explosive/Core
3
7033981
namespace SpaceEngineers.Core.Roslyn.Test.Tests { using System; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Linq; using CompositionRoot; using CompositionRoot.Api.Abstractions.Container; using Core.Test.Api; using Core.Test.Api.ClassFixtures; ...
ezDMS/Class/CommonUtil.cs
Seonghyun-Kim/ezDMS
0
7033982
<reponame>Seonghyun-Kim/ezDMS using SmartDSP.Models.Auth; using SmartDSP.Models.Common; using System; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Web; namespace SmartDSP.Class { public class CommonUt...
Source/1.0/Patches/PatchBuildingTrap.cs
jaxxa/ED-WarningOptions
8
7033983
using Harmony; using RimWorld; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using Verse; namespace EnhancedDevelopment.EnhancedOptions.Detours { class PatchBuildingTrap : Patch { protected override void ApplyPatch(HarmonyInstan...
sources/Interop/Windows/Windows/um/CommCtrl/NMTVCUSTOMDRAW.cs
reflectronic/terrafx.interop.windows
0
7033984
<filename>sources/Interop/Windows/Windows/um/CommCtrl/NMTVCUSTOMDRAW.cs // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/CommCtrl.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Micros...
Stream/Streams/Folder/SumStream.cs
GaelOn/Stream
0
7033985
using System; namespace Stream.Streams.Folder { internal class SumDoubleStream<TIn> : FolderStream<TIn, double> { public SumDoubleStream(Func<TIn, double> fn, IStartable parent) : base((o, acc) => fn(o) + acc, 0d, parent) { } // Tuple<TargetStream<T, T2>, Action<T>> public...
UaClient/ServiceModel/Ua/DataValueExtensions.cs
ismdiego/opc-ua-client
0
7033986
<reponame>ismdiego/opc-ua-client // Copyright (c) Converter Systems LLC. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace Workstation.ServiceModel.Ua { publi...
Gu.Reactive.Tests/Helpers/StructLevel.cs
forki/Gu.Reactive
0
7033987
<gh_stars>0 #pragma warning disable WPF1001 #pragma warning disable INPC008 namespace Gu.Reactive.Tests.Helpers { using System.ComponentModel; using System.Runtime.CompilerServices; public struct StructLevel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; ...
WeightTracker/Views/WeightTracking/Delete.cshtml
florian-3ap/weight-tracker
0
7033988
@model WeightTracking @{ ViewData["Title"] = "Delete"; } <div> <div class="header"> <h1>Gewicht Eintrag Löschen</h1> <h2>Sind Sie sicher, dass Sie dase Eintrag löschen wollen?</h2> </div> <hr/> <table class="table"> <thead> <tr> <th style="width: 25%"> ...
Shop/Shop.API/Program.cs
sickwick/SneakerShop
0
7033989
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Shop.Api.Core; namespace Shop.API { public static class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } ...
StoreApp/StoreBL/CustomerBL.cs
210503-Reston-NET/Fang-Phoebe-P0
0
7033990
<reponame>210503-Reston-NET/Fang-Phoebe-P0 using System.Collections.Generic; using StoreModels; using StoreDL; namespace StoreBL { public class CustomerBL : ICustomerBL { private IRepository _repo; public CustomerBL(IRepository repo) { this._repo = repo; } pub...
ReferenceSwitcher/Commands/LegacyReferenceService.cs
andreasstolpmann/ReferenceSwitcher
0
7033991
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml; using EnvDTE; using Microsoft.VisualStudio.Shell; namespace ReferenceSwitcher.Commands { public class LegacyReferenceService : IReferenceService { public async Task<ISet<ConfigItem>> GetP...
src/_AttachmentsSampleSystem/AttachmentsSampleSystem.BLL.Core/_Generated/AttachmentsSampleSystem.Generated.cs
Luxoft/BSSFramework.Attachments
0
7033992
<reponame>Luxoft/BSSFramework.Attachments //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-genera...
src/EtlLib.Nodes.Redshift/Builders/Copy/RedshiftCopyCommandBuilder.cs
dabaus/EtlLib
0
7033993
<reponame>dabaus/EtlLib using System; using System.Text; namespace EtlLib.Nodes.Redshift.Builders.Copy { public enum CopyFromAuthorizedBy { Undefined, IamRole, AccessKey } public enum CopyFromSourceType { Undefined, S3, RemoteHost, ...
backend/Expenses.Application/Features/Expenses/Commands/CreateExpense/CreateExpenseCommandValidator.cs
mperator/expenses
0
7033994
<gh_stars>0 using FluentValidation; namespace Expenses.Application.Features.Expenses.Commands.CreateExpense { public class CreateExpenseCommandValidator : AbstractValidator<CreateExpenseCommand> { // https://danielwhittaker.me/2016/04/20/how-to-validate-commands-in-a-cqrs-application/ public C...
TGC.MonoGame.Samples/Samples/Physics/BEPU/PyramidOfBoxes.cs
tgc-utn/tgc-monogame-samples
0
7033995
<reponame>tgc-utn/tgc-monogame-samples using System; using System.Collections.Generic; using BepuPhysics; using BepuPhysics.Collidables; using BepuUtilities.Memory; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using TGC.MonoGame.Samples.Cameras; using TGC....
src/VkNet.FluentCommands.GroupBot/VkMessageType.cs
ariusbronte/VkNet.FluentCommands.GroupBot
8
7033996
namespace VkNet.FluentCommands.GroupBot { /// <summary> /// The type of incoming message. /// </summary> internal enum VkMessageType { /// <summary> /// Text message type. /// </summary> Message, /// <summary> /// Reply message ty...
tests/EasyArchitecture.Plugins.Tests/IoC/MinimalContainerTest.cs
TicketArchitecture/EasyArchitecture
0
7033997
using System; using EasyArchitecture.Plugins.Contracts.IoC; using EasyArchitecture.Plugins.Tests.IoC.Stuff; using NUnit.Framework; using System.Collections.Generic; namespace EasyArchitecture.Plugins.Tests.IoC { [TestFixture] public abstract class MinimalContainerTest { protected IContainer Contai...
ImageViewer/Services/AuthorityTokens.cs
econmed/ImageServer20
1
7033998
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
AdventOfCode/aoc.csharp.tests/2017/Day04Tests.cs
zivkan/CodingForFun
0
7033999
<reponame>zivkan/CodingForFun<gh_stars>0 using aoc.csharp._2017; using Xunit; namespace aoc.csharp.tests._2017 { public class Day04Tests { [Fact] public void Answer() { using var input = Input.Get(2017, 04); var (part1, part2) = Day04.GetAnswer(input); ...
UaClient.UnitTests/UnitTests/Channels/BinaryDecoderTests.Equivalency.cs
quinmars/opc-ua-client
260
7034000
using FluentAssertions; using FluentAssertions.Xml; using FluentAssertions.Equivalency; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; using Workstation.ServiceModel.Ua; using Workstation.Serv...
DamageMeter.Core/Heuristic/S_PLAYER_STAT_UPDATE.cs
neowutran/OpcodeSearcher
4
7034001
<reponame>neowutran/OpcodeSearcher using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tera.Game.Messages; namespace DamageMeter.Heuristic { class S_PLAYER_STAT_UPDATE : AbstractPacketHeuristic { public new void Process(ParsedMessag...
test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceWithToManyRelationshipTests.cs
json-api-dotnet/JsonApiDotNetCore
490
7034002
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; using FluentAssertions; using JsonApiDotNetCore.Serialization.Objects; using Microsoft.EntityFrameworkCore; using TestBuildingBlocks; using Xunit; namespace JsonApiDotNetCoreTests.I...
Source/New.LumiSoft.Net/SIP/Stack/SIP_ResponseSentEventArgs.cs
rnwood/New.LumiSoft.Net
1
7034003
<reponame>rnwood/New.LumiSoft.Net using System; using System.Collections.Generic; using System.Text; namespace LumiSoft.Net.SIP.Stack { /// <summary> /// This class provides data for <b>SIP_ServerTransaction.ResponseSent</b> method. /// </summary> public class SIP_ResponseSentEventArgs : EventArgs ...
Tethys.Logging/AbstractLogger.cs
tngraf/Tethys.Logging
0
7034004
// -------------------------------------------------------------------------- // Tethys.Logging // ========================================================================== // // A (portable) logging library for .NET Framework 4.5, Silverlight 4 and // higher, Windows Phone 7 and higher and .NET for Windows Store app...
NBi.genbiL/Action/IAction.cs
TheAutomatingMrLynch/NBi
0
7034005
<reponame>TheAutomatingMrLynch/NBi using NBi.GenbiL.Stateful; using System; using System.Linq; namespace NBi.GenbiL.Action { public interface IAction { void Execute(GenerationState state); string Display { get; } } }
src/Models/ExportData/ExportDataSettings.cs
lifeindarkside/Bravo
2
7034006
<filename>src/Models/ExportData/ExportDataSettings.cs namespace Sqlbi.Bravo.Models.ExportData { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.IO; using System.Text.Json.Serialization; public abstract cl...
src/Microsoft.SqlTools.ResourceProvider.Core/AccountOptionsHelper.cs
JPaja/sqltoolsservice
176
7034007
<reponame>JPaja/sqltoolsservice // // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.ResourceProvider.Core { internal class AccountOptionsHelper { /// <summary> ...
src/OpenWindow/Backends/Wayland/Native.cs
Jjagg/OpenWindow
33
7034008
using System; using System.Runtime.InteropServices; namespace OpenWindow.Backends.Wayland { internal static unsafe class WaylandClient { [DllImport("libwayland-client.so")] public static extern wl_display* wl_display_connect(byte* strConn); [DllImport("libwayland-client.so")] p...
Source/Main/NProxy.Core/Internal/Definitions/IProxyDefinition.cs
mtamme/NProxy
42
7034009
<gh_stars>10-100 // // Copyright © <NAME> // // 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
test/SlowTests/Issues/RavenDB-3420.cs
ryanheath/ravendb
1
7034010
using System.Collections.Generic; using System.Linq; using FastTests; using Raven.Client; using Raven.Client.Documents; using Xunit; namespace SlowTests.Issues { public class RavenDB_3420 : RavenTestBase { [Theory(Skip = "RavenDB-6283")] [InlineData("ShardedDatabase", "ShardedDataba...
Library/Models/Role.cs
zikato/schemazen
0
7034011
namespace SchemaZen.Library.Models; public class Role : IScriptable, INameable { public string Name { get; set; } public string ScriptCreate() { return $"CREATE ROLE {Name}"; } }
src/Gunnsoft.AspNetCore.Identity.MongoDB/IdentityServerBuilderExtensions.cs
Gunnsoft/gunnsoft-aspnetcore-identity-mongodb
0
7034013
using IdentityModel; using IdentityServer4.AspNetIdentity; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; namespace Gunnsoft.AspNetCore.Identity.MongoDB { public static class IdentityServerBui...
Repository/Repository/UsuariosRepository.cs
Propeus/loteria
1
7034014
<gh_stars>1-10 using System.Data.Entity; namespace Repository { /// <summary> /// Repositório para a entidade <see cref="Usuarios"/> /// </summary> public class UsuariosRepository : GenericoRepository<Usuarios> { /// <summary> /// Instacia do repositório criando um novo contexto ...
test/AsmResolver.PE.Tests/DotNet/Metadata/Tables/TablesStreamTest.cs
CrackerCat/AsmResolver
374
7034015
using System.IO; using AsmResolver.IO; using AsmResolver.PE.DotNet.Metadata.Tables; using AsmResolver.PE.File; using Xunit; namespace AsmResolver.PE.Tests.DotNet.Metadata.Tables { public class TablesStreamTest { [Fact] public void DetectNoExtraData() { var peImage = PEImage....
PocketSocket.Extensions.Hosting/SocketInterfaceImplementationBinder.cs
chandler14362/PocketSocket
0
7034016
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using PocketSocket.Abstractions; namespace PocketSocket.Extensions.Hosting { public class SocketInterfaceImplementationBinder : IHostedService { priv...
src/Aardvark.Base/Tup/Tuples_auto.cs
jackfoxy/aardvark.base
113
7034017
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace Aardvark.Base { // AUTO GENERATED CODE - DO NOT CHANGE! #region Simple Tuples of uniform type #region Tup2 public struct Tup2<T> { public T E0, E1; #regio...
libraries/Pliant/Tokens/IToken.cs
patrickhuber/Earley
26
7034018
<filename>libraries/Pliant/Tokens/IToken.cs using Pliant.Captures; using Pliant.Grammars; using System.Collections.Generic; namespace Pliant.Tokens { public interface IToken { //string Value { get; } ICapture<char> Capture { get; } int Position { get; } TokenType TokenType { ge...
src/Altinn.Platform/Altinn.Platform.Authorization/Authorization/Repositories/InstanceMetadataRepository.cs
DanRJ/altinn-studio
85
7034019
<reponame>DanRJ/altinn-studio using System; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using Altinn.Platform.Authorization.Configuration; using Altinn.Platform.Authorization.Repositories.Interface; using Altinn.Platform.Storage.Interface.Models; using Microsoft.Azure.Documents; using Microsoft...
Sources/CiteProc/Compilation/Class.cs
fouke-boss/citeproc-dotnet
12
7034020
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CiteProc.Compilation { internal class Class : Snippet { private string _Signature; private List<Snippet> _Members = new List<Snippet>(); public Class(Snippet p...
portfolio-game/Assets/Scripts/Player/PlayerStates/SubStates/PlayerDashState.cs
MrMurly/portfolio_game
0
7034021
<filename>portfolio-game/Assets/Scripts/Player/PlayerStates/SubStates/PlayerDashState.cs using UnityEngine; //TODO: Add afterimages //TODO: Add custom sprite for dash //TODO: Add camera zooom - fwoosh! //TODO: Add particles public class PlayerDashState : PlayerAbilityState { private bool _isHolding; private b...
NsqSharp/Bus/Configuration/IMessageMutator.cs
a180285/NsqSharp
170
7034022
namespace NsqSharp.Bus.Configuration { /// <summary> /// Implement this interface to modify a message before it is sent. /// </summary> public interface IMessageMutator { /// <summary> /// Gets a mutated message before it is sent. /// </summary> /// <typeparam name="...
SimpleJinja2DotNet/SimpleJinja2DotNet/Lexer.cs
anders-liu/SimpleJinja2DotNet
3
7034023
<filename>SimpleJinja2DotNet/SimpleJinja2DotNet/Lexer.cs<gh_stars>1-10 using System.Diagnostics; namespace SimpleJinja2DotNet { internal class Lexer { internal Lexer(string s) { Debug.Assert(!string.IsNullOrWhiteSpace(s)); _s = s; _l = s.Length; ...
Programming Basics/03.Primitive data types and variables/Homework/09.Exchange Variable Values/Exchange Variable Values.cs
Kalo7o/Softuni
0
7034024
using System; class ExchangeVariableValues { static void Main() { int a = 5, b = 10, c; Console.WriteLine("a= " + a + ";b= " + b); c = a; a = b; b = c; Console.WriteLine("a= " + a + ";b= " + b); } }
InterfaceSegregation_Solution/NotificationEngine/EmailNotificationEngine.cs
vlasovt/SolidPrinciples
0
7034025
<gh_stars>0 using SolidPrinciples; using System; using System.Collections.Generic; using System.Text; namespace SingleResponsibility_Solution { public class EmailNotificationEngine: IEmail { public IList<string> ToAddresses { get; set; } public IList<string> BccAddresses { get; set; } ...
DigitalPlatform.OPAC.Install/InstallOpacParamDlg.cs
jasonliaocn/dp2
95
7034027
<filename>DigitalPlatform.OPAC.Install/InstallOpacParamDlg.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Xml; using System.Diagnostics; using System.IO; using System.Ne...
src/Application/Proprietes/Queries/GetProprietesWithPaginationQueryValidator.cs
wahidrezgui/RealEstate
0
7034028
using FluentValidation; namespace CleanArchitecture.Application.Proprietes.Queries; public class GetProprietesWithPaginationQueryValidator : AbstractValidator<GetProprietesWithPaginationQuery> { public GetProprietesWithPaginationQueryValidator() { RuleFor(x => x.PageNumber) .GreaterThanOr...
tests/FMData.Xml.Tests/TestModels/Art.cs
gitter-badger/fmdata
26
7034029
<reponame>gitter-badger/fmdata<filename>tests/FMData.Xml.Tests/TestModels/Art.cs using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; namespace FMData.Xml.Tests.TestModels { [DataContract(Name = "layout")] public class Art { public string Ti...
BZ2UIEdit.Services/SuccessResult.cs
LuzFaltex/BZ2UIEdit
1
7034030
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace BZ2UIEdit.Services { public class SuccessResult : IResult { public State State => State.Success; public string Reason { get; } public Exception Exception => null; public Succe...
Astrarium.Plugins.Tycho2/Plugin.cs
AlexanderKrutov/Astrarium
1
7034031
<filename>Astrarium.Plugins.Tycho2/Plugin.cs using Astrarium.Plugins.Tycho2.Controls; using Astrarium.Types; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Astrarium.Plugins.Tycho2 { public class Plugin : AbstractPlugin ...
AirVinyl.Web/Controllers/AirVinylController.cs
mcampulla/AirVinyl
0
7034032
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using AirVinyl.Model; using AirVinyl.Web.Models; namespace AirVinyl.Web.Controllers { public class AirVinylController : Controller { // GET: AirVinyl public ActionResult Index() {...
Views/GDPR/Index.cshtml
kbmacneal/church_of_the_emporer_as_messiah
0
7034033
@model GDPRModel @{ ViewData["Title"] = "GDPR"; } @inject Microsoft.AspNetCore.Http.IHttpContextAccessor HttpContextAccessor <script> function myIP() { if (window.XMLHttpRequest) xmlhttp = new XMLHttpRequest(); else xmlhttp = new ActiveXObject("Microsoft.JSON"); xmlhttp.open("GET", "https:...
aspnet-core/src/ABPNetCore.Web.Host/Startup/ABPNetCoreWebHostModule.cs
phamquanghien/ZeroProject
0
7034034
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using ABPNetCore.Configuration; namespace ABPNetCore.Web.Host.Startup { [DependsOn( typeof(ABPNetCoreWebCoreModule))] public class ABPNetCoreWebHostModule: AbpModule { ...
csharp/DP/UniquePaths-62/UniquePathsSolution.cs
yurik256/leetcode
0
7034035
namespace Solutions.DP { // https://leetcode.com/problems/unique-paths/ public class UniquePathsSolution { public int UniquePaths(int m, int n) { var memo = new int[m, n]; for (var i = 0; i < n; i++) { memo[0, i] = 1; } ...
src/Cofoundry.Domain/Domain/Users/Bootstrap/NonCofoundryUserEntityDefinition.cs
SVemulapalli/cofoundry
780
7034036
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cofoundry.Domain.CQS; namespace Cofoundry.Domain { /// <summary> /// Entity definition to represent non-cofoundry users which is required /// to be able to manage th...