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
SWP391/Areas/Identity/Pages/Account/ResetPassword.cshtml.cs
dtd91/online_learning_SWP391
0
7028476
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; usin...
samples/Echo.Client/Packet/TextPacket.cs
ZargorNET/NetworkLibrary
0
7028477
using System.Text; using DotNetty.Buffers; using ZNetLib.Core.Packet; namespace Echo.Client.Packet { public class TextPacket : IInOutPacket { public string Text; public void Read(IByteBuffer buffer) { var l = buffer.ReadInt(); Text = buffer.ReadString(l, Encoding.UTF8); } public void Write(IByteBuf...
Data/GokoSite.Data.Models/LoL/Region.cs
NikolaViktorov/GOKO-Community-website
1
7028479
namespace GokoSite.Data.Models.LoL { using System; public class Region { public Region() { this.RegionId = Guid.NewGuid().ToString(); } public string RegionId { get; set; } public string RegionName { get; set; } public int RiotRegionId { get; ...
src/CEXIO.Api/Common/IAccount.cs
fasetto/cex.io-api
2
7028480
<reponame>fasetto/cex.io-api using CEXIO.Api.MarketEntities; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace CEXIO.Api.Common { public interface IAccount { Task<Balance> GetBalanceAsync(); Task<IEnumerable<Order>> GetOpenOrdersAsync(SymbolPairs...
src/mailslurp.Test/Api/TemplateControllerApiTests.cs
mailslurp/mailslurp-client-csharp
2
7028481
<reponame>mailslurp/mailslurp-client-csharp /* * MailSlurp API * * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resourc...
src/FileRenamerDiff/ViewModels/SettingAppViewModel.cs
robyscar/FileRenamerDiff
0
7028482
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Resources; using System.Globalization; using System.Windows.Data; using System.Collections; using System.Collections.ObjectModel; using System.IO; using System.Threading.Tasks; using System.D...
Programming with C#/5. C# Data Structures and Algorithms/11. Graphs and Graph Algorithms/01. Friends of Pesho/FriendsOfPesho.cs
wIksS/Telerik-Academy
1
7028483
<reponame>wIksS/Telerik-Academy<filename>Programming with C#/5. C# Data Structures and Algorithms/11. Graphs and Graph Algorithms/01. Friends of Pesho/FriendsOfPesho.cs /* * Algo Academy March 2012 – Problem 05 – Friends of Pesho * http://bgcoder.com/Contests/Practice/Index/118#4 */ using System; using System.Col...
components/Components.FileUpload/Dtos/FileUploadRequestDto.cs
Smahdie/Blog
0
7028484
<filename>components/Components.FileUpload/Dtos/FileUploadRequestDto.cs<gh_stars>0 using System.Collections.Generic; using Microsoft.AspNetCore.Http; namespace Component.FileUpload.Dtos { public class FileUploadRequestDto { public int MaxKiloBytes { get; set; } public List<string> Extensions {...
src/Workspaces/Core/Portable/CodeGeneration/NullableSyntaxAnnotation.cs
ffMathy/roslyn
17,923
7028485
<reponame>ffMathy/roslyn<filename>src/Workspaces/Core/Portable/CodeGeneration/NullableSyntaxAnnotation.cs<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more informat...
Commanigy.ProtectDotApp.Site/Controllers/PayPalController.cs
theill/protectdotapp
0
7028486
<filename>Commanigy.ProtectDotApp.Site/Controllers/PayPalController.cs #region Using directives using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using log4net; using Commanigy.ProtectDotApp.Data; using Commanigy.ProtectDotApp.Site.Properties; #endregi...
brk4113/brk4113/brk4113/View/Cells/EventOrgCell.cs
fabianwilliams/ignitebrk3114
0
7028487
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; using Xamarin.Forms; namespace brk4113.View.Cells { public class EventOrgCell : ViewCell { public EventOrgCell() { var OrganizerNameLabel = new Label { ...
normal/THSet/MaterialDesign/Controls/MaterialFlatButton.cs
swordarrow2/THSet
3
7028488
using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; using System.Windows.Forms; using MaterialSkin.Animations; namespace MaterialSkin.Controls { public class MaterialFlatButton:Button, IMaterialControl { [Browsable(false)] pub...
Server/Model/GameGather/Module/WeChatPay/WeChatOrderInfo.cs
dingxing123/fivestar
121
7028489
using System; using System.Collections.Generic; using System.Text; namespace ETModel { public class WeChatOrderInfo:Component { public string prepayId;//订单id app用于发起的订单id public string nonceStr;//随机字符串 public string outTradeNo;//商户内部订单id 也是查询id } }
Assets/ZenvaVR/Scripts/FreeTeleportationZone.cs
ReanSchwarzer1/VR-FPRPG-Proto
1
7028491
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using VRStandardAssets.Utils; [RequireComponent(typeof(VRInteractiveItem))] public class FreeTeleportationZone : MonoBehaviour { VRInteractiveItem vrItem; VREyeRaycaster vrEyeRaycaster; PlayerFreeTeleportControll...
src/NatureRecorder.Interpreter/Base/CommandBase.cs
davewalker5/NatureRecorderDb
0
7028492
<reponame>davewalker5/NatureRecorderDb using System; using System.Globalization; using System.IO; using NatureRecorder.BusinessLogic.Extensions; using NatureRecorder.Entities.Db; using NatureRecorder.Entities.Exceptions; using NatureRecorder.Interpreter.Entities; namespace NatureRecorder.Interpreter.Base { publi...
sdk/dotnet/SageMaker/Outputs/AppResourceSpec.cs
AaronFriel/pulumi-aws-native
29
7028493
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
Script/UnrealEngine/GeneratedScriptFile/FCollisionResponseContainer.cs
xiongfang/UnrealCS
126
7028494
using System; namespace UnrealEngine { /// <summary>Container for indicating a set of collision channels that this object will collide with.</summary> public partial struct FCollisionResponseContainer { /// <summary> /// Reserved Engine Trace Channels /// Note - If you change this (add/remove/modify) ...
src/Ptv.Timetable.Api/Requests/SearchRequest.cs
APErebus/ptv-timetable-ap
0
7028495
<reponame>APErebus/ptv-timetable-ap using System; using System.Globalization; namespace Ptv.Timetable.Api.Requests { class SearchRequest : IRequest { private readonly string _searchTerm; private const string Url = "/v2/search/{0}"; public SearchRequest(string searchTerm) { ...
Form1.cs
nicocrm/RackspaceMetadataHelper
0
7028496
<filename>Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace RackspaceMetadataHelper { public partial class Form1 : Form { ...
Server/Games.Service/Presentation/GameBox.Api/Controllers/CartController.cs
TodorStamenov/GameBox
5
7028497
using GameBox.Application.Games.Queries.GetGamesInCart; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace GameBox.Api.Controllers { public class CartController : BaseApiController { [HttpPost] public async Task<ActionResult<...
backend/Domain/Services/Communication/CoordinationResponse.cs
OpenDataNTNU2/TDT4290-OpenData2020
1
7028498
<filename>backend/Domain/Services/Communication/CoordinationResponse.cs using OpenData.API.Domain.Models; namespace OpenData.API.Domain.Services.Communication { public class CoordinationResponse : BaseResponse<Coordination> { /// <summary> /// Creates a success response. /// </summary> ...
FTX.Net/Objects/Models/LeveragedTokens/FTXLeveragedTokenBalance.cs
GeorgeF0/FTX.Net
0
7028499
<reponame>GeorgeF0/FTX.Net namespace FTX.Net.Objects.Models.LeveragedTokens { /// <summary> /// Balance info /// </summary> public class FTXLeveragedTokenBalance { /// <summary> /// Token name /// </summary> public string Token { get; set; } = string.Empty; /...
XBee.Core/Frames/AtCommands/NetworkDiscoveryResponseDataExtendedInfo.cs
andygikling/XBee
49
7028500
<gh_stars>10-100 using BinarySerialization; namespace XBee.Frames.AtCommands { internal class NetworkDiscoveryResponseDataExtendedInfo { [FieldOrder(0)] public ShortAddress ParentNetworkAddress { get; set; } [FieldOrder(1)] public DeviceType DeviceType { get; set; } [...
src/Reface.NPI.DynamicProxy/DbTranscationProxy.cs
ShimizuShiori/Reface.NPI.DynamicProxy
0
7028501
<reponame>ShimizuShiori/Reface.NPI.DynamicProxy using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Reface.NPI.DynamicProxy { public class DbTranscationProxy : IDbTransaction { private readonly IDbTransaction ...
src/Client/UserClient.cs
akselarzuman/iterable-client-dotnet
6
7028502
<reponame>akselarzuman/iterable-client-dotnet<gh_stars>1-10 using Armut.Iterable.Client.Contracts; using Armut.Iterable.Client.Core; using Armut.Iterable.Client.Core.Responses; using Armut.Iterable.Client.Models.BrowserModels; using Armut.Iterable.Client.Models.DeviceModels; using Armut.Iterable.Client.Models.UserMode...
TLCGen.PluggedInItems/TLCGen.Plugins.Timings/CodeGeneration/TimingsCodeGenerator.cs
mennowo/TLCGen
6
7028503
<reponame>mennowo/TLCGen using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using TLCGen.Generators.CCOL.CodeGeneration; using TLCGen.Generators.CCOL.Settings; using TLCGen.Models; using TLCGen.Models.Enumerations; using TLCGen.Plugins.Timings.Models; namespace TLCGe...
CSharp-Programming-Basics/WhileLoop/moreExercises/AverageNumber/Program.cs
Ivanazzz/SoftUni-Software-Engineering
1
7028504
<gh_stars>1-10 using System; namespace AverageNumber { internal class Program { static void Main(string[] args) { int numbersCount = int.Parse(Console.ReadLine()); int numbersSum = 0; for (int i = 0; i < numbersCount; i++) { int ...
RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs
DaniqueDJ97/RJW-Sexperience
9
7028505
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using HarmonyLib; using rjw; using RimWorld; using Verse; using Verse.AI; using UnityEngine; namespace RJWSexperience { [HarmonyPatch(typeof(JobDriver_Sex), "Orgasm")] public static class RJ...
Samples/HubApp/ViewModels/Tab1ViewModel.cs
johnds1974/Coligo.net
0
7028506
<reponame>johnds1974/Coligo.net using System.Collections.ObjectModel; using Coligo.Core; using Coligo.Platform; namespace HubApp.ViewModels { public class Tab1ViewModel : BaseViewModel { private ObservableCollection<string> _items; public Tab1ViewModel() { Items = new Obse...
aspnetcore/fundamentals/host/hosted-services/samples/3.x/BackgroundTasksSample/Services/ConsumeScopedServiceHostedService.cs
cartmanner/AspNetCore.Docs
10
7028507
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace BackgroundTasksSample.Services { #region snippet1 public class ConsumeScopedServiceHostedService : BackgroundServ...
metabase/csharp/Models/PropertyMapping.cs
naveego/api-clients
1
7028508
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Naveego.Metabase.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; ...
GeekBudget.DataAccess/Migrations/GeekBudgetContextModelSnapshot.cs
minajevs/GeekBudget
1
7028509
<filename>GeekBudget.DataAccess/Migrations/GeekBudgetContextModelSnapshot.cs<gh_stars>1-10 // <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; namespace GeekBudget.DataAccess.Migrations { [DbContext(typeof(GeekBudgetContext))] partial c...
mcs/tools/monodoc/Lucene.Net/Lucene.Net/Search/Searcher.cs
nataren/mono
1
7028510
/* * Copyright 2004 The Apache Software Foundation * * 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 a...
src/EventStore.ClientAPI.Abstractions/ConnectionState.cs
cuteant/myevent
7
7028511
namespace EventStore.ClientAPI { /// <summary>TBD</summary> public enum ConnectionState { /// <summary>TBD</summary> Init = 0, /// <summary>TBD</summary> Connecting = 1, /// <summary>TBD</summary> Connected = 2, /// <summary>TBD</summary> Clos...
Frontend.Core/Commands/OpenFolderCommand.cs
Zemurin/frontend
114
7028512
using System.IO; using System.Windows.Forms; using Caliburn.Micro; using Frontend.Core.Helpers; using Frontend.Core.Logging; using Frontend.Core.Model.Interfaces; using Frontend.Core.Model.Paths.Interfaces; namespace Frontend.Core.Commands { /// <summary> /// Command used to select a particular...
MercuryBOT/Main.Designer.cs
Pamskyjoy/Mercury
1
7028513
<gh_stars>1-10 namespace MercuryBOT { partial class Main { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
Athena.SQLite/Client/SQLiteConvert.cs
jcwmoore/athena
1
7028514
<reponame>jcwmoore/athena /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by <NAME> (<EMAIL>) * * Released to the public domain, use at your own risk! ********************************************************/ namespace System.Data.SQLite { ...
apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.Tests/TestData.cs
kontab/google-cloud-dotnet
0
7028515
// Copyright 2017 Google Inc. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
test/Test.Utility/Mocks/MockPackageRepository.cs
atheken/nuget
1
7028516
<filename>test/Test.Utility/Mocks/MockPackageRepository.cs using System.Collections; using System.Collections.Generic; using System.Linq; using System; namespace NuGet.Test.Mocks { public class MockPackageRepository : PackageRepositoryBase, ICollection<IPackage>, ILatestPackageLookup, IOperationAwareReposit...
src/Microsoft.VisualStudio.Extensibility.Testing.Xunit.Shared/Threading/IdeTheoryTestCaseRunner.cs
sharwell/vs-extension-testing
3
7028517
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for more information. namespace Xunit.Threading { using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Threading; using...
EntroTester/EntroTestRunner.cs
ymotton/EntroTester
7
7028518
using System; using System.Linq; using System.Linq.Expressions; using EntroBuilder; namespace EntroTester { public class EntroTestRunner { public static void Run<T, TResult>(Action<Builder<T>> configureBuilder, Func<T, TResult> when, Expression<Func<T, TResult, bool>> assertionExpression, int...
src/Syntax/Expressions/InvalidExpression.cs
svick/CSharpE
0
7028519
using Microsoft.CodeAnalysis.CSharp.Syntax; using Roslyn = Microsoft.CodeAnalysis; namespace CSharpE.Syntax { public sealed class InvalidExpression : Expression { private ExpressionSyntax syntax; internal InvalidExpression(ExpressionSyntax expressionSyntax, SyntaxNode parent) : ba...
Raina/Path/NetworkShare.cs
basp/raina
1
7028520
namespace Raina.Path { using System; internal class NetworkShare : IVolume { public NetworkShare(string host, string share) { this.Host = host; this.Share = share; } public string Host { get; } public string Share { get; } public stri...
Lib/Neon.Common/Net/NetworkCidr.cs
jefflill/neonKUBE
0
7028522
//----------------------------------------------------------------------------- // FILE: NetworkCidr.cs // CONTRIBUTOR: <NAME> // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
src/HeathcareSystem/ViewModels/ProfileViewmodel.cs
nguyenmanhphuc93/healthcare-social-network
0
7028523
using Healthcare.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HeathcareSystem.ViewModels { public class ProfileViewmodel { public ProfileViewmodel(Profile profile) { if (profile != null) ...
X4_ComplexCalculator/Main/WorkArea/UI/StorageAssign/StorageAssign.xaml.cs
proudust/X4_ComplexCalculator
7
7028524
using System.Windows.Controls; namespace X4_ComplexCalculator.Main.WorkArea.UI.StorageAssign { /// <summary> /// StorageSimulator.xaml の相互作用ロジック /// </summary> public partial class StorageAssign : UserControl { public StorageAssign() { InitializeComponent(); } ...
ZeroLevel/Services/Network/Utils/Networks/Wireless.cs
ogoun/Zero
0
7028525
<reponame>ogoun/Zero using System; using System.Diagnostics; using System.Net.NetworkInformation; using System.Net.Sockets; namespace ZeroLevel.Services.Network.Utils { /// <summary> /// Wireless network. /// </summary> public static class Wireless { /// <summary> /// Gets a value indicating if w...
XenAdmin/Commands/Controls/ContextMenuBuilder.cs
splastunov/xenadmin
323
7028526
/* Copyright (c) <NAME>, 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 notice, this li...
src/Yargon.Parser.Sdf/Interval.cs
Virtlink/yargon-parser
1
7028527
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JetBrains.Annotations; namespace Yargon.Parser.Sdf { /// <summary> /// An interval. /// </summary> /// <typeparam name="T">The type of value.</typeparam> public struct Interval...
src/Anthurium.Web/Services/IItemService.cs
CurlyBytes/Anthurium
1
7028528
<reponame>CurlyBytes/Anthurium using Anthurium.API.Dtos; using Anthurium.Web.Contracts; using System.Net.Http; using System.Threading.Tasks; namespace Anthurium.Web.Services { public interface IItemService { Task<HttpResponseMessage> CreateItemAsync(ItemCreateDto item); Task DeleteItemByIdAsync(int id); ...
ISAAR.MSolve.FEM/Elements/SpringDamper3D.cs
gsoim/MSolveAnsys
1
7028529
using System; using System.Collections.Generic; using ISAAR.MSolve.Discretization; using ISAAR.MSolve.Discretization.FreedomDegrees; using ISAAR.MSolve.Discretization.Interfaces; using ISAAR.MSolve.Discretization.Mesh; using ISAAR.MSolve.FEM.Entities; using ISAAR.MSolve.FEM.Interfaces; using ISAAR.MSolve.LinearAlgebra...
src/Tests/FooWillMessage.cs
d3rail0/mqtt
295
7028530
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace Tests { [Serializable] internal class FooWillMessage { public string Message { get; set; } public byte[] GetPayload () { var formatter = new BinaryFormatter (); using (var stream = new MemoryStream ()) { ...
PlanetShine/PlanetShine.cs
valerian/ksp-planetshine
28
7028531
<gh_stars>10-100 /* * (C) Copyright 2014, <NAME> * * Kerbal Space Program is Copyright (C) 2013 Squad. See http://kerbalspaceprogram.com/. This * project is in no way associated with nor endorsed by Squad. * * This code is licensed under the Apache License Version 2.0. See the LICENSE.txt * file for more information....
src/Hevadea/GameObjects/Entities/CraftingBench.cs
krisz2000/hevadea
0
7028532
<filename>src/Hevadea/GameObjects/Entities/CraftingBench.cs using Hevadea.Framework.Graphic.SpriteAtlas; using Hevadea.GameObjects.Entities.Components; using Hevadea.GameObjects.Entities.Components.Actions; using Hevadea.GameObjects.Entities.Components.Attributes; using Hevadea.GameObjects.Items; using Hevadea.Registr...
HTMLHelp/Site.Master.designer.cs
john-nance/HTMLHelp
0
7028533
<gh_stars>0 //------------------------------------------------------------------------------ // <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-generated> //----------------------------...
Assets/MRBC4iCore/AnnotationLayer/Plugins/ImageProjector.cs
smart-production-innovations/MARTA-Remote-Assistance
0
7028534
<gh_stars>0 using UnityEngine; using System.Collections; using System.Collections.Generic; // Modification of the "Image Projector Shader For Unity3D" project //https://forum.unity.com/threads/solved-image-projection-shader.254196/ //http://www.xdpixel.com/downloads/unity/ImageProjector.zip public class ImageProject...
Intersect.Client.Framework/Gwen/ControlInternal/SplitterBar.cs
RedBandana/Intersect-Engine
146
7028535
<reponame>RedBandana/Intersect-Engine using Intersect.Client.Framework.Gwen.Control; namespace Intersect.Client.Framework.Gwen.ControlInternal { /// <summary> /// Splitter bar. /// </summary> public class SplitterBar : Dragger { /// <summary> /// Initializes a new instanc...
src/OmniSharp.Shared/Utilities/ImmutableArrayExtensions.cs
jcs-PR/omnisharp-roslyn
0
7028536
<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; namespace OmniSharp.Utilities { internal static class ImmutableArrayExtensions { public static ImmutableArray<T> EmptyIfDefault<T>(this ImmutableArray<T> array) => ...
EBookLibrary/EBookLibrary.DTOs/UserDTOs/UserDTO.cs
israelprofeasy/Ebook-Library-MVC
0
7028537
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace EBookLibrary.DTOs.UserDTOs { public class UserDTO { [StringLength(maximumLength: 50, ErrorMessage = "The property should not have more than {1} characters")] public string ...
src/CRA.ClientLibrary/AzureProvider/AzureBlobProvider.cs
Rich-MSR/CRA
32
7028538
namespace CRA.DataProvider.Azure { using CRA.DataProvider; using Microsoft.WindowsAzure.Storage.Blob; using System; using System.IO; using System.Threading.Tasks; /// <summary> /// Definition for AzureBlobProvider /// </summary> public class AzureBlobProvider : IBlobStorage...
Framework/Microsoft.Xrm.Portal/Web/UI/WebControls/Property.cs
hhnguyen/xRM-Portals-Community-Edition
117
7028539
/* 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.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using Microsoft.Xrm.Client; using Microsoft.Xrm.Portal.C...
dotnet/Razorvine.Pyrolite/EchoExample/TestStreaming.cs
viirya/Pyrolite
0
7028540
<filename>dotnet/Razorvine.Pyrolite/EchoExample/TestStreaming.cs /* part of Pyrolite, by <NAME> (<EMAIL>) */ using System; using System.Collections; using Razorvine.Pyro; // ReSharper disable CheckNamespace // ReSharper disable PossibleNullReferenceException namespace Pyrolite.TestPyroEcho { /// <summary> /// Test P...
src/Aegis/CredentialsInterface/InputPrompt.cs
solari23/Aegis
0
7028541
using System.Text; using Aegis.Core; namespace Aegis.CredentialsInterface; /// <summary> /// Helper that prompts the user until a valid value is entered. /// </summary> public class InputPrompt { /// <summary> /// Initializes a new instance of the <see cref="InputPrompt"/> class. /// </summary> /// ...
Float.Core.Tests/TestViewModel.cs
gowithfloat/Float.Core
0
7028542
using System.ComponentModel; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Float.Core.ViewModels; using Xunit; using System.Collections.ObjectModel; using Xunit.Abstractions; using System; namespace Float.Core.Tests { public class TestViewModel : ...
src/ecl.Unicode/Cldr/Doc/LdmlTypeLengthNode.cs
panost/ecl.Unicode
0
7028543
<filename>src/ecl.Unicode/Cldr/Doc/LdmlTypeLengthNode.cs using System; using System.Text; namespace ecl.Unicode.Cldr.Doc { class LdmlTypeLengthNode : LdmlNode { private FormatLength _length; /// <summary> /// /// </summary> public FormatLength Length { get { ...
EtAlii.CryptoMagic/Shared/Network/Client.cs
vrenken/EtAlii.CryptoMagic
1
7028544
namespace EtAlii.CryptoMagic { using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Binance.Net; using Binance.Net.Enums; using Binance.Net.Objects; using Binance.Net.Objects.Spot.MarketData; using CryptoExchange.Net.Authentication; using ...
AspNetCoreContentLocalization/ModelState.cs
DmitrySikorsky/AspNetCoreContentLocalization
18
7028545
// Copyright © 2019 <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace AspNetCoreContentLocalization { public class ModelState { p...
Assets/Scripts/Matts Scripts/Mechanics/PressurePlate.cs
JamesVeug/NIM
0
7028546
<gh_stars>0 using UnityEngine; using System.Collections; using System; public class PressurePlate : MonoBehaviour { private AudioSource audioSource; private Vector3 PositionOff; private Vector3 PositionOn; public GameObject[] partners; public float downwardsMoveDist; public bool triggerTester...
14-Polymers/Program.cs
ajlakanen/AdventOfCode2021
0
7028547
using System.Text; /// <summary> /// See, https://adventofcode.com/2021/day/14 /// </summary> public class Day14 { private readonly string Start = "NNCB"; private readonly Dictionary<string, string> Rules; public static void Main() { string[][] splitted = Array.ConvertAll(File.ReadAllLines("d...
src/GuardianRP.Launcher/FileSystem/JsonFile.cs
Jemmotar/GuardianRP.Launcher
0
7028548
<reponame>Jemmotar/GuardianRP.Launcher<filename>src/GuardianRP.Launcher/FileSystem/JsonFile.cs<gh_stars>0 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GuardianRP.Launcher.FileSystem { [JsonObj...
10-timer-trigger/function/GetBestDeals.cs
stuartleaver/25-days-of-serverless
10
7028549
using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Microsoft.WindowsAzure.Storage.Table; using System.Collections.Generic; using System.Net.Http; using Syst...
Scheduler.Common/Types/IEX/Responses/BalanceSheetsResponse.cs
jhart100187/Insight.Scheduler
1
7028550
<reponame>jhart100187/Insight.Scheduler<filename>Scheduler.Common/Types/IEX/Responses/BalanceSheetsResponse.cs using System.Collections.Generic; using Newtonsoft.Json; namespace Scheduler.Common.Types { public class BalanceSheetsResponse { [JsonProperty("symbol")] public string Symbol { get; se...
source/NuLink.Cli/IUserInterface.cs
mfdeveloper/NuLink
45
7028551
<filename>source/NuLink.Cli/IUserInterface.cs using System; using System.Linq.Expressions; namespace NuLink.Cli { public interface IUserInterface { void Report( VerbosityLevel level, Expression<Func<string>> message, params ConsoleColor[] paramColors); } ...
src/Qwack.Providers/Json/ServiceCollectionExtensions.cs
cetusfinance/qwack
20
7028552
using System; using System.Collections.Generic; using System.Text; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Qwack.Core.Basic; using Qwack.Dates; using Qwack.Futures; namespace Qwack.Providers.Json { public static class ServiceCollectionExtensions { ...
UnityTools/AssetsBundleFile/BundleReplacer/BundleRemover.cs
Igor55x/UAAE
78
7028553
<filename>UnityTools/AssetsBundleFile/BundleReplacer/BundleRemover.cs namespace UnityTools { public class BundleRemover : BundleReplacer { private readonly string name; private readonly bool hasSerializedData; private readonly int bundleListIndex; public BundleRemover(string nam...
Script C#/Aulas/Aula08/Program.cs
eduardobaltazarmarfim/CSharp
0
7028554
<gh_stars>0 using System; namespace Aula08 { class Program { static void Main() { int n1,n2,res; Console.Write("Digite o primeiro valor: "); n1=int.Parse(Console.ReadLine()); Console.Write("Digite o segundo valor: "); n2...
src/Npgsql/BackendMessages/CopyMessages.cs
azhmur/npgsql
1
7028555
using System; using System.Collections.Generic; using Npgsql.Util; namespace Npgsql.BackendMessages { abstract class CopyResponseMessageBase : IBackendMessage { public abstract BackendMessageCode Code { get; } internal bool IsBinary { get; private set; } internal short NumColumns { ge...
ShoppingDeals/Controllers/DealsController.cs
libjared/shoppingdeals
0
7028556
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Threading.Tasks; using ShoppingDeals.Models; // ReSharper disable UnusedMember.Global // ReSharper disable ClassNeverInstantiated.Global namespace ShoppingDeals....
Server/FitnessApp.Server/Features/Identity/Models/UpdateUserPersonalInfoResponseModel.cs
martingganev/FitnessApp
0
7028557
<filename>Server/FitnessApp.Server/Features/Identity/Models/UpdateUserPersonalInfoResponseModel.cs  namespace FitnessApp.Server.Features.Identity.Models { using System.Collections.Generic; public class UpdateUserPersonalInfoResponseModel { public string Token { get; set; } public bool...
Source/Suity.Rex/Rex.Mapping/RexMappingInfo.cs
simage3d/Suity.Engine.Runtime.V4
0
7028558
<gh_stars>0 // Copyright (c) Suity by HuangWei(<EMAIL>) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Suity.Collections; namespace Suity.Rex.Mapping { public enum R...
src/Plethora.Mvvm/Model/DependentNotifyPropertyChanged.cs
mikebarker/Plethora.NET
2
7028559
<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading; using JetBrains.Annotations; using Plethora.Collections; namespace Plethora.Mvvm.Model { /// <summary> /// Base class whic...
C# Fundamentals/Mid Exam - 30 June 2019 Group 1/Contact List/Program.cs
iltodbul/SoftUni
0
7028560
using System; using System.Linq; namespace Contact_List { class Program { static void Main(string[] args) { var contacts = Console.ReadLine().Split().ToList(); var commands = Console.ReadLine().Split().ToList(); while (commands[0] != "Print") { ...
Assets/Scripts/Tile.cs
SiiMeR/LD45-GJG
0
7028561
<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using System.IO; using Themes; using TMPro; using UnityEngine; public class Tile : MonoBehaviour { public TextMeshPro letter; public bool IsActivated => letter.color == GameState.CurrentTheme.fontColor; public TileType...
HunterPie/Core/Readme/ReadmeService.cs
TypeTen/HunterPie
361
7028562
<reponame>TypeTen/HunterPie<gh_stars>100-1000 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using HunterPie.Logger; using HunterPie.Utils; using Markdig; using Markdig.Hel...
src/Integration/src/IntegrationBase/IntegrationServices.cs
mzakrzewski/Steeltoe
495
7028563
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Steeltoe.Common.Contexts; using Steeltoe.Common.Converter; using Steeltoe.Common.Expression.Internal; ...
test/FunctionalTests/Microsoft.OData.Edm.Tests/Schema/AmbiguousOperationBindingTests.cs
erpnet/odata.net
0
7028564
<filename>test/FunctionalTests/Microsoft.OData.Edm.Tests/Schema/AmbiguousOperationBindingTests.cs //--------------------------------------------------------------------- // <copyright file="AmbiguousOperationBindingTests.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See L...
TestStatements/TestStatements/Anweisungen/Declarations.cs
joecare99/CSharp
1
7028565
<filename>TestStatements/TestStatements/Anweisungen/Declarations.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TestStatements.Constants; namespace TestStatements.Anweisungen { public class Declarations { /// <summary>Does v...
src/Twilio/Rest/Video/V1/CompositionSettingsOptions.cs
jbonner89/twilio-csharp
0
7028566
<reponame>jbonner89/twilio-csharp /// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Converters; namespace Twilio.Rest.Video.V1 { /// <summary> /// PLEASE NOTE that th...
samples/interop/NativeEmbedSample/MacHelper.cs
jangernert/Avalonia
13,764
7028567
<filename>samples/interop/NativeEmbedSample/MacHelper.cs using System; using Avalonia.Platform; using MonoMac.AppKit; namespace NativeEmbedSample { public class MacHelper { private static bool _isInitialized; public static void EnsureInitialized() { if (_isInitialized) ...
Arrow Race/Assets/FXIFIED/common/Scripts/PowerUp.cs
Barky/Arrow-Race-
2
7028568
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PowerUp : MonoBehaviour { public GameObject pickupEffect; void OnTriggerEnter(Collider other) { if (other.CompareTag("Player")) { Pickup(); } } void P...
Library/PackageCache/com.unity.inputsystem@0.2.6-preview/InputSystem/Editor/Internal/InputStateWindow.cs
ToadsworthLP/Millennium
71
7028569
<filename>Library/PackageCache/com.unity.inputsystem@0.2.6-preview/InputSystem/Editor/Internal/InputStateWindow.cs #if UNITY_EDITOR using System; using System.Collections.Generic; using Unity.Collections.LowLevel.Unsafe; using UnityEditor; using UnityEditor.IMGUI.Controls; using UnityEngine.Experimental.Input.LowLevel;...
Source/Test.Unit/App/VersionCompatibilityTests.cs
arkium/Macad3D
0
7028570
using System.Collections; using System.IO; using Macad.Test.Utils; using NUnit.Framework; namespace Macad.Test.Unit.App { [TestFixture] public class VersionCompatibilityTests { [SetUp] public void SetUp() { Context.InitWithDefault(); } ...
QuestionsOfRuneterra/Models/LeaderBoard/LeaderBoardQueryModel.cs
RadoStanchev/Questions-of-Runeterra-ASP.NET-Core-Project
0
7028571
<gh_stars>0 using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace QuestionsOfRuneterra.Models.LeaderBoard { public class LeaderBoardQueryModel { public const int PlayersPerPage = 20; [Display(Name = "Search by text")] public string SearchTerm { get; ...
src/WinFormsMVP.NET/Binder/PresenterDiscoveryResult.cs
redawgts/WinFormsMVP.NET
6
7028572
<reponame>redawgts/WinFormsMVP.NET using System; using System.Collections.Generic; namespace WinFormsMVP.NET.Binder { /// <summary /> public class PresenterDiscoveryResult { readonly IEnumerable<IView> viewInstances; readonly string message; readonly IEnumerable<PresenterBinding> b...
DotNetFlicks.Engines/Interfaces/IMovieRoleUpdateEngine.cs
marklacasse/demo-netflicks
9
7028573
<filename>DotNetFlicks.Engines/Interfaces/IMovieRoleUpdateEngine.cs using DotNetFlicks.ViewModels.Movie; using System.Collections.Generic; namespace DotNetFlicks.Engines.Interfaces { public interface IMovieRoleUpdateEngine { void UpdateCast(List<CastMemberViewModel> castMemberVms, int movieId); ...
UCLouvain.KAOSTools.Optimizer/CECountermeasureSelectionOptimizer.cs
ancailliau/KAOSTools
2
7028574
<reponame>ancailliau/KAOSTools using System; using System.Collections.Generic; using UCLouvain.KAOSTools.Core; using System.Linq; using UCLouvain.KAOSTools.Core.SatisfactionRates; using UCLouvain.KAOSTools.Propagators; using System.Diagnostics; using UCLouvain.KAOSTools.Integrators; namespace UCLouvain.KAOSTools.Opti...
src/RapidCMS.Core/Models/ApiBridge/Request/DeleteModel.cs
ThomasBleijendaal/RapidCMS
216
7028575
using RapidCMS.Core.Abstractions.Data; namespace RapidCMS.Core.Models.ApiBridge.Request { public class DeleteModel { public DeleteModel() { } public DeleteModel(IParent? parent) { ParentPath = parent?.GetParentPath()?.ToPathString(); } public string? Paren...
integrationtests/IntegrationTests.UWP/LoginControl.xaml.cs
SpiegelSoft/ReactiveUI
0
7028576
<filename>integrationtests/IntegrationTests.UWP/LoginControl.xaml.cs using System; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Reactive.Windows.Foundation; using IntegrationTests.Shared; using ReactiveUI; using Windows.UI.Popups; namespace IntegrationTests.UWP { /// <summary> /...
src/Razor/Microsoft.AspNetCore.Mvc.Razor.Extensions/src/RazorExtensionsDiagnosticFactory.cs
rokonec/aspnetcore
792
7028577
<gh_stars>100-1000 // 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.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.Language; namespace Microsoft.AspNetCore.Mvc.Razor....
String and Text Processing-More Exercises/Strings-More Exercises/02.Stateless/02.Stateless.cs
anedyalkov/CSharp-Programming-Fundamentals
0
7028578
<reponame>anedyalkov/CSharp-Programming-Fundamentals<gh_stars>0 namespace Stateless { using System; public class Stateless { public static void Main() { string input; while ((input = Console.ReadLine()) != "collapse") { var state = inpu...