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/Servers/Kestrel/Core/src/HttpProtocols.cs
msschl/AspNetCore
7
7046443
<filename>src/Servers/Kestrel/Core/src/HttpProtocols.cs<gh_stars>1-10 // 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; namespace Microsoft.AspNetCore.Server.Kestrel.Core { [Flags] ...
src/Zindagi.SeedWork/Result/ValidationError.cs
redis-developer/RedisZindagi
0
7046444
namespace Zindagi.SeedWork { public class ValidationError { public string? Identifier { get; set; } public string? ErrorMessage { get; set; } public ValidationSeverity Severity { get; set; } = ValidationSeverity.Error; } }
src/Microsoft.Health.Fhir.SpecManager/fhir/R4/ValueSets/GuideParameterCode.cs
itye-msft/fhir-codegen
46
7046445
// <auto-generated /> // Built from: hl7.fhir.r4.core version: 4.0.1 // Option: "NAMESPACE" = "fhirCsR4" using fhirCsR4.Models; namespace fhirCsR4.ValueSets { /// <summary> /// Code of parameter that is input to the guide. /// </summary> public static class GuideParameterCodeCodes { /// <summary> ...
src/CaseManagement.HumanTask/Domains/HumanTaskInstance/HumanTaskInstanceEventHistory.cs
lulzzz/CaseManagement
21
7046446
using System; namespace CaseManagement.HumanTask.Domains { public class HumanTaskInstanceEventHistory : ICloneable { public string EventId { get; set; } public DateTime EventTime { get; set; } public string HumanTaskIdentifier { get; set; } /// <summary> /// User (princ...
Source/CM.Payments.Client.Shared/Model/Sofort/SofortDetailsRequest.cs
Ryaden/payments-sdk-net
0
7046447
<reponame>Ryaden/payments-sdk-net using JetBrains.Annotations; using Newtonsoft.Json; namespace CM.Payments.Client.Model { /// <summary> /// In depth details of the Sofort payment request. /// </summary> [PublicAPI] public class SofortDetailsRequest : DetailsRequest { /// <summary> ...
MPL.Common/Win32/WinSCard/SCARD_READERSTATE.cs
memiamap/MPL.Common
0
7046448
<filename>MPL.Common/Win32/WinSCard/SCARD_READERSTATE.cs using System; using System.Runtime.InteropServices; namespace MPL.Common.Win32.WinSCard { /// <summary> /// A struct that defines the windscard type SCARD_READERSTATE. /// </summary> [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode...
CS/NutaDev.CsLib/IO/NutaDev.CsLib.IO/Directories/Crawling/FileDetails.cs
tariel36/SnippetsRepository
1
7046449
// The MIT License (MIT) // // Copyright (c) 2022 tariel36 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy,...
Medidata.RWS.NET.Standard/Core/Responses/RwsPostErrorResponse.cs
mskcc/Medidata.RWS.NET.Standard
2
7046450
<gh_stars>1-10 using System; using System.Net.Http; using Medidata.RWS.NET.Standard.Core.Responses; namespace Medidata.RWS.NET.Standard.Core.Responses { public class RwsPostErrorResponse : RwsResponse, IRwsError { private string errorDescription; public RwsPostErrorResponse(HttpResponseMessag...
src/ShadowMathsTests/TestArithmetic.cs
AnthonyPitman/ShadowMathematics
0
7046451
<reponame>AnthonyPitman/ShadowMathematics using System; using ShadowMaths; using Xunit; namespace ShadowMathsTests { public class TestArithmetic { [Theory] [InlineData(2, 1, 1)] [InlineData(1, 1)] [InlineData(0, 0)] [InlineData(Int32.MinValue, Int32.MaxValue, 1)] ...
Tzkt.Api/Models/Operations/NonceRevelationOperation.cs
baking-bad/tezzycat
6
7046452
using System; namespace Tzkt.Api.Models { public class NonceRevelationOperation : Operation { /// <summary> /// Type of the operation, `nonce_revelation` - are used by the blockchain to create randomness /// </summary> public override string Type => OpTypes.NonceRevelation; ...
宾馆管理系统/HotelManagementBLL/Room.cs
xiaosongdeyx001/shujuku-----123
3
7046453
<filename>宾馆管理系统/HotelManagementBLL/Room.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Windows.Forms; namespace HotelManagementBLL { public class Room { private DataGridView _dgv; public Room(DataGridView dgr) ...
AzureBlobFileSystem/Extensions/CloudBlobContainerExtensions.cs
mihaicrisanbodea/azureFileSystem
2
7046454
using System; using System.Linq; using Microsoft.WindowsAzure.Storage.Blob; namespace AzureBlobFileSystem.Extensions { public static class CloudBlobContainerExtensions { private static string DuplicateExtension = "(2)"; public static string EnsureDirectoryDoesNotExist(this CloudBlobContainer ...
src/ApplePayJS/Clients/ApplePayClient.cs
OpenPath/ApplePayPoc
0
7046455
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace JustEat.ApplePayJS.Clients { public class ApplePayClient { private readonly HttpClient _httpClient; public ApplePayClient(HttpClient httpClient) { ...
Algorithms/Warmup/Staircase/Solution.cs
waldrafarnold/HackerRank
0
7046456
//https://www.hackerrank.com/challenges/staircase //Staircase using System; class Solution { // Complete the staircase function below. static void staircase(int n) { for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { Console.Write(i >= n - ...
Source/Projections.Store.MongoDB/IProjections.cs
dolittle/Runtime
12
7046457
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading; using System.Threading.Tasks; using Dolittle.Runtime.Events.Store; using MongoDB.Driver; namespace Dolittle.Runtime.Projections.Store.MongoDB { ...
Assets/Scripts/Infrastructure/Installers/GameConfig.cs
AlexandrPeshkov/ZigZag
5
7046458
<reponame>AlexandrPeshkov/ZigZag<gh_stars>1-10 using System; using UnityEngine; namespace ZigZag.Infrastructure { /// <summary> /// Настройки приложения /// </summary> [Serializable] public class GameConfig { [Header("Настройки бонусов")] [Tooltip("Вероятность бонуса очков")] [Range(0, 1)] public float ...
Assets/Scripts/GameUI/GameUI.cs
Aspekt1024/AI-Builder
1
7046460
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameUI : MonoBehaviour { // To be set in the editor/inspector public Text SelectedObjectText; public TooltipHandler TooltipHandler; public ActionButtons ActionButtons; private Select...
XYZSports.DAL/AppDbContext.cs
sseffa/XYZSports
0
7046461
<reponame>sseffa/XYZSports using XYZSports.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace XYZSports.DAL { public partial class AppDbContext : DbContext { public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { } ...
src/BlockchainService.Abstractions/Models/BitcoinTXInput.cs
touchjet/BlockchainService
0
7046462
<filename>src/BlockchainService.Abstractions/Models/BitcoinTXInput.cs /* * Copyright (C) 2018 Touchjet Limited. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright...
Snippets/Core/Core_5/Headers/Writers/HeaderWriterDefer.cs
ashlyrclark/docs.particular.net
94
7046463
namespace Core5.Headers.Writers { using System; using System.Threading; using Common; using CoreAll.Msmq.QueueDeletion; using NServiceBus; using NServiceBus.Config; using NServiceBus.Config.ConfigurationSource; using NServiceBus.MessageMutator; using NUnit.Framework; ...
ImageServer/Model/Parameters/WebQueryRestoreQueueParameters.cs
SNBnani/Xian
1
7046464
<filename>ImageServer/Model/Parameters/WebQueryRestoreQueueParameters.cs<gh_stars>1-10 #region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.cl...
ZeldaOracle/Game/Common/Audio/SoundInstance.cs
trigger-death/ZeldaOracle
16
7046465
using Microsoft.Xna.Framework.Audio; using ZeldaOracle.Common.Geometry; namespace ZeldaOracle.Common.Audio { /// <summary>A structure for storing a sound effect instance.</summary> public class SoundInstance { // Containment /// <summary>The sound effect instance class contained by this sound.</summary> priv...
TCPFurhatComm/SAPI.cs
babyrobot-eu/furhat_v2
5
7046466
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TCPFurhatComm { public static class SAPI { public enum BreakValues { none, xweak, weak, medium, strong, xstrong } public enum RateValues ...
kommunikationsapi/code/_Config.cs
helsingborg-stad/datatorget-poc
0
7046467
<gh_stars>0 using System; namespace kommunikationsapi.code { public static class _Config { public static string MessageServiceHost => System.Environment.GetEnvironmentVariable("MESSAGE_SERVICE_HOST") ?? "localhost"; public static int MessageServicePort => int.Parse(System.Environment.GetEnviron...
KinectWpfViewers/KinectSkeleton.cs
evgenyka/WpfKinectSkeleton
0
7046468
<gh_stars>0 //------------------------------------------------------------------------------ // <copyright file="KinectSkeleton.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ na...
Abc.NCrafts.Quizz/Allocation/Questions/011/Answer1.cs
Abc-Arbitrage/Abc.NCrafts.Quiz
22
7046469
using System.Collections.Generic; using System.Linq; namespace Abc.NCrafts.Quizz.Questions._011 { public class Answer1 { private static Queue<int> _values = new Queue<int>(new[] { 1, 2, 3 }); public static void Run() { // begin var sum = _values.Su...
Assets/Scripts/Items/Types/Craftable.cs
NatsXDLageg/idleGame
0
7046470
<reponame>NatsXDLageg/idleGame<filename>Assets/Scripts/Items/Types/Craftable.cs using UnityEngine; using System.Collections; public abstract class Craftable : ItemBase { protected int numberOfDifferentIngredients; protected ItemBase[] ingredients; protected int[] numbersOfIngredients; protected int numberC...
sources/metrics/Stride.Metrics.ServerApp/MetricServerExtensions.cs
hjred/stride
2,251
7046471
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Web; using System.Web.Http; using System.Web.Http.Dispatcher; using System.Web.Optimization; using Microsoft.Owin.Builder; using Newtonsoft.Json.Serialization; using Owin; using Stride.Metrics.ServerApp.Conte...
Common/Utilities/Tests/CloningTests.cs
econmed/ImageServer20
1
7046472
#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...
FerroJson/Validator.cs
rasmus-beck/FerroJson
2
7046473
<gh_stars>1-10 using System.Collections.Generic; using FerroJson.Bootstrapper; namespace FerroJson { public class Validator { public bool Validate(string jsonDocument, string jsonSchema, out dynamic errors) { var bootStrapper = BootstrapperLocator.Bootstrapper; var jsonSchem...
test/ComponentRelationsTest.cs
kkolyan/leoquery
4
7046474
<filename>test/ComponentRelationsTest.cs using Kk.LeoQuery; using NUnit.Framework; namespace leoquery.test { [TestFixture] public class ComponentRelationsTest { [Test] public void Adds() { IEntityStorage storage = new LeoLiteStorage(); Entity a = storage.NewE...
CSharp/DataStructures/DecimalToBinary/StartUp.cs
VeselinovStf/Telerik_Alpha_NET_Prep
0
7046475
<reponame>VeselinovStf/Telerik_Alpha_NET_Prep using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DecimalToBinary { public class StartUp { public static void Main() { int decimalNumber = int.Parse(Console.Rea...
MetX/MetX.Tests/Standard/Generation/CSharp/Project/ConsoleClientCsProjGeneratorTests_PackageReference.cs
willrawlsupdater/xlg
0
7046476
<gh_stars>0 using System.Xml; using MetX.Standard.Generation.CSharp.Project; using MetX.Standard.Library; using MetX.Tests2.Standard.Generation.CSharp.Project.Pieces; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MetX.Tests2.Standard.Generation.CSharp.Project { public partial class ConsoleClientCs...
src/Program.cs
joshrpg/symlinker
0
7046477
using System; using System.CommandLine; using System.CommandLine.Invocation; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; namespace link { public class symlink { [DllImport("kernel32.dll")] public static extern bool CreateSymbolicLink(string lpSymlinkFil...
Views/Warehouse/Index.cshtml
thuonghtml/Shop
0
7046478
<reponame>thuonghtml/Shop<gh_stars>0 @model Shop.Models.Warehouse @{ ViewBag.Title = "Warehouse"; Layout = "~/Views/Shared/_Layout.cshtml"; } @section Css { <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/css/select2.min.css" /> <style> .select2-container--defa...
Assets/Scripts/Bouncing.cs
reimibeta/SimpleUnityProject
0
7046479
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bouncing : MonoBehaviour { public static Bouncing instance; [SerializeField] private float speed = 20; private Rigidbody rigidBody; void Start() { if (instance == null) ...
Runtime/Data/WeaponData.cs
carreraSilvio/RPGDatabase
8
7046480
namespace BrightLib.RPGDatabase.Runtime { [System.Serializable] public class WeaponData : BaseData { public string description; public int price; public int typeId; public int strIncrease; public int intIncrease; public int dexIncrease; public int ...
test/TvDbSharper.Tests/AuthenticationDataTest.cs
MokuJinJin/TvDbSharper
0
7046481
<reponame>MokuJinJin/TvDbSharper namespace TvDbSharper.Tests { using System; using TvDbSharper.Dto; using TvDbSharper.Tests.Data; using Xunit; public class AuthenticationDataTest { [Fact] // ReSharper disable once InconsistentNaming public void AuthenticationResponse...
Cross-Cutting/OnlineServices.Shared/AttendanceServices/IASAssistantRole.cs
ambroise04/OnlineServices
0
7046482
<filename>Cross-Cutting/OnlineServices.Shared/AttendanceServices/IASAssistantRole.cs using OnlineServices.Common.AttendanceServices.TransfertObjects; using System; using System.Collections.Generic; namespace OnlineServices.Common.AttendanceServices { public interface IASAssistantRole { bool SetPresenc...
Assets/Scripts/Spawner.cs
LucaFin/GameOff2021
0
7046483
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawner : MonoBehaviour { [SerializeField] private GameObject prefab; [SerializeField] private float spawnRate; [SerializeField] private float numberOfSpawned = 1; // Start is called before the first...
C#/rabbitmq/src/model/ConsumerConfiguration.cs
g-gar/ApiApuestas
0
7046484
<gh_stars>0 using Messaging.Core.Interfaces; namespace rabbitmq.model{ public class ConsumerConfiguration{ public string exchange { get; set; } public string queue { get; set; } public string routingKey { get; set; } public bool durable { get; set; } public string type { ge...
src/Simego.DataSync.Providers.Avangate/ConnectionProperties.cs
Simego-Ltd/datasync-avangate-connector
0
7046485
using Simego.DataSync.Providers.Avangate.TypeConverters; using System.Collections.Generic; using System.ComponentModel; namespace Simego.DataSync.Providers.Avangate { class ConnectionProperties { private readonly AvangateDatasourceReader _reader; [Category("Settings")] public s...
NET Microservices/notification-service/CloudConsult.Notification.Events/Consultation/ConsultationCancelled.cs
devntofficial/CloudConsultRC
1
7046486
namespace CloudConsult.Notification.Events.Consultation { public class ConsultationCancelled : ConsultationBaseEvent { public DateTime Timestamp { get; set; } = DateTime.Now; } }
CourseInstructorTemplate/src/ExercisePlugin/Result/DoubleResult.cs
Botros/Botros
0
7046487
<reponame>Botros/Botros using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ExercisePlugin.Result { public class DoubleResult : IResult { public double Value { get; set; } public double Epsilo...
Paraiba.Core/Xml/Linq/ParaibaXml.cs
exKAZUu/Paraiba
0
7046488
#region License // Copyright (C) 2011-2016 <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 applic...
Models/PlayerViewModels/PlayerDetailsViewModel.cs
milosponj/rekreatistika
0
7046489
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Rekreatistika.Models.PlayerViewModels { public class PlayerDetailsViewModel { public int Id { get; set; } public string Name { get; set; } public string Nickname { get; set; } ...
src/Microsoft.AspNetCore.Mvc.Core/OkObjectResult.cs
davidsagang/Mvc
23
7046490
// 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 Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc { /// <summary> /// An <see cref="ObjectResult"/> that when executed perfor...
MovieAPI/Utils/Cast.cs
Patrol981/.NET-CRUD-Movie-API
0
7046491
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace MovieAPI.Utils { public static class Cast { public static T CastToAnother<T>(this Object myobj) { Type objectType = myobj.GetType(); Type target = typeof(T); var x = Activator.CreateInsta...
src/Lender.API/Migrations/20200928034750_Add-PK-Loan.cs
helderboone/Lender
1
7046492
using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Lender.API.Migrations { public partial class AddPKLoan : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropPrimaryKey( ...
SampleScenario/AlertGenerator.cs
FrancescoBonizzi/Boolli
5
7046493
using Boolli; using SampleScenario.Alerts; using SampleScenario.DataProviders; using SampleScenario.Rules; using System; using System.Collections.Generic; using System.Linq; namespace SampleScenario { public class AlertGenerator { private readonly Rule[] _alertGenerationRules; public AlertGenerator(Rule[] a...
src/Steeltoe.Management.OpenCensus/Api/Trace/Propagation/ISetter.cs
SergeyKanzhelev/opencensus-csharp
0
7046494
using System; using System.Collections.Generic; using System.Text; namespace Steeltoe.Management.Census.Trace.Propagation { public interface ISetter<C> { void Put(C carrier, string key, string value); } }
src/RSBLib/Tokenizer.cs
dmarciano/RandomStringGenerator
0
7046495
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SMC.Utilities.RSG { internal class Tokenizer : CultureHelper { private static readonly List<char> MODIFIERS = new List<char> { '^', '!', '~' }; private static readonly List<char> TOKENS ...
src/Orchard.Web/Modules/Orchard.Rules/ViewModels/AddActionViewModel.cs
jdages/AndrewsHouse
3
7046496
using System.Collections.Generic; using Orchard.Rules.Models; namespace Orchard.Rules.ViewModels { public class AddActionViewModel { public int Id { get; set; } public IEnumerable<TypeDescriptor<ActionDescriptor>> Actions { get; set; } } }
DesenvolvedorRelacional/Aplicacao/MalhaQuadriculada.cs
TsplayerT/DesenvolvedorRelacional
0
7046497
<reponame>TsplayerT/DesenvolvedorRelacional<gh_stars>0 using System.Collections.Generic; using System.Drawing; using DesenvolvedorRelacional.Apresentacao.Base; namespace DesenvolvedorRelacional.Aplicacao { public class MalhaQuadriculada { public int Espacamento { get; set; } public Li...
EnvDTE80.Interfaces/Find2.cs
isabella232/JetBrains.EnvDTE
6
7046498
<reponame>isabella232/JetBrains.EnvDTE<gh_stars>1-10 using EnvDTE; namespace EnvDTE80 { public interface Find2 : Find { new DTE DTE { get; } new DTE Parent { get; } new vsFindAction Action { get; set; } new string FindWhat { get; set; } new bool MatchCase { get; set; } ...
Src/Couchbase/N1QL/IQueryRequestWithDataMapper.cs
SchoolMasterNL/couchbase-net-client
0
7046499
<filename>Src/Couchbase/N1QL/IQueryRequestWithDataMapper.cs using Couchbase.Views; namespace Couchbase.N1QL { /// <summary> /// Extends <see cref="IQueryRequest"/> to provide a custom data mapper /// </summary> interface IQueryRequestWithDataMapper : IQueryRequest { /// <summary> /...
atestat/Form2.cs
seerj30/logoQuiz
0
7046500
<reponame>seerj30/logoQuiz 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; using System.IO; namespace atestat { public struct joc { publ...
src/Schedule.io/Interfaces/Services/IEventoService.cs
typinghard/Schedule.io
4
7046501
<gh_stars>1-10 using Schedule.io.Models.AggregatesRoots; using System; using System.Collections.Generic; namespace Schedule.io.Interfaces.Services { public interface IEventoService { void Gravar(Evento evento); Evento Obter(string eventoId); IEnumerable<Evento> Listar(string agendaId);...
src/NatCruise.Cruise/Data/Abstractions/ISampleSelectorRepository.cs
FMSC-Measurements/NatCruise
0
7046502
using FMSC.Sampling; using NatCruise.Data; namespace NatCruise.Cruise.Services { public interface ISampleSelectorDataService : IDataservice { ISampleSelector GetSamplerBySampleGroupCode(string stratumCode, string sgCode); //void SaveSampler(ISampleSelector sampler); //void SaveSample...
src/Kaponata.Kubernetes/Licensing/LicenseStore.cs
kaponata-io/kaponata
10
7046503
// <copyright file="LicenseStore.cs" company="Quamotion bv"> // Copyright (c) Quamotion bv. All rights reserved. // </copyright> using k8s.Models; using Microsoft.AspNetCore.JsonPatch; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Ta...
src/KubernetesClient/WatcherDelegatingHandler.cs
davidorbelian/csharp
0
7046504
<gh_stars>0 using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.WebUtilities; namespace k8s { /// <summary> /// This HttpDelegatingHandler is to rewrite the response and return first line to au...
GitShell.cs
MrJoy/UnityGit
1
7046505
//----------------------------------------------------------------- // GitShell v0.1 // Copyright 2012 MrJoy, Inc. // All rights reserved // //----------------------------------------------------------------- // Unity editor extension for Git integration. //-----------------------------------------------------------...
day16/Program.cs
ikolupaev/adventofcode2020
0
7046506
<reponame>ikolupaev/adventofcode2020 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace day16 { public class Field { public string Name; public int[] Ranges; public Field(string value, int[] ranges) ...
Gamegato.SpelunkIO.Connector/Kernel32.cs
Divegato/SpelunkIO
1
7046507
<reponame>Divegato/SpelunkIO using System; using System.Runtime.InteropServices; namespace Gamegato.SpelunkIO.Connector { public static class Kernel32 { // http://www.pinvoke.net/default.aspx/Structures/MEMORY_BASIC_INFORMATION.html public enum AllocationProtectEnum : uint { ...
Imgur/RequestBuilders/CustomGalleryRequestBuilder.cs
drasticactions/AwfulRedux
1
7046508
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; namespace Imgur.API.RequestBuilders { internal class CustomGalleryRequestBuilder : RequestBuilderBase { /// <exception cref="ArgumentNullException"> /// Thrown when a null reference ...
Elements.Services.Models/Forum/ViewModels/SelectCategoryViewModel.cs
Steffkn/ElementsWeb
0
7046509
namespace Elements.Services.Models.Forum.ViewModels { public class SelectCategoryViewModel { public int Id { get; set; } public string Name { get; set; } } }
Super/Runtime/LocalFilePath.cs
SuperDotNet/Super.NET
13
7046510
<reponame>SuperDotNet/Super.NET<filename>Super/Runtime/LocalFilePath.cs<gh_stars>10-100 using System; using Super.Model.Selection; namespace Super.Runtime { sealed class LocalFilePath : Select<Uri, string> { public static LocalFilePath Default { get; } = new LocalFilePath(); LocalFilePath() : base(x => x.Local...
UserInterface/Animation/Basic/BasicAnimation/Views/MultipleRotationAnimationPage.xaml.cs
davidbritch/dotnet-maui-samples
8
7046511
namespace BasicAnimation { public partial class MultipleRotationAnimationPage : ContentPage { public MultipleRotationAnimationPage () { InitializeComponent (); } void SetIsEnabledButtonState (bool startButtonState, bool cancelButtonState) { startButton.IsEnabled = startButtonState; cancelButton.I...
database/DatabaseContext.cs
PiotrBlachnio/Store-API
0
7046512
using Microsoft.EntityFrameworkCore; using Store.Database.Models; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; namespace Store.Database { public class DatabaseContext: IdentityDbContext { public DatabaseContext(DbContextOptions<DatabaseContext> opt): base(opt) {} public DbSet<Item>...
b2xtranslator/Xls/XlsFileFormat/Records/DataFormat.cs
kafkaesqu3/Macrome
484
7046513
<reponame>kafkaesqu3/Macrome  using System.Diagnostics; using b2xtranslator.StructuredStorage.Reader; namespace b2xtranslator.Spreadsheet.XlsFileFormat.Records { /// <summary> /// This record specifies the data point and series that the formatting information /// that follows applies to and specifies th...
web/studio/ASC.Web.Studio/Products/Community/Modules/Forum/UserControls/Common/TagSuggest.cs
dev-nm/CommunityServer
0
7046514
<filename>web/studio/ASC.Web.Studio/Products/Community/Modules/Forum/UserControls/Common/TagSuggest.cs /* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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 c...
src/Umizoo/Messaging/Handling/CommandConsumer.cs
imyounghan/Umizoo
5
7046515
// Copyright © 2015 ~ 2017 Sunsoft Studio, All rights reserved. // Umizoo is a framework can help you develop DDD and CQRS style applications. // // Created by young.han with Visual Studio 2017 on 2017-08-09. using System; using System.Collections.Generic; using System.Linq; using Umizoo.Configurations; using Umizoo...
Assets/Scripts/ScriptableObjects/MobStatsData.cs
inoto/td
0
7046516
using Boo.Lang; using UnityEngine; namespace TowerDefense { [CreateAssetMenu(fileName = "MobStatsData", menuName = "TowerDefense/MobStatsData", order = 0)] public class MobStatsData : ScriptableObject { public int Hp; public int DamageMin; public int DamageMax; public float...
test/Microsoft.Azure.Relay.UnitTests/TestUtility.cs
Azure/azure-relay-dotnet
34
7046517
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Relay.UnitTests { using System; using System.Diagnostics; using System.Reflection; using System.Runtime.Versioning; using...
SDK_dotnet/Models/PayLoadV2.cs
gluwa/Gluwa-dotnet
1
7046518
using System.ComponentModel.DataAnnotations; namespace Gluwa.SDK_dotnet.Models { public sealed class PayLoadV2 { /// <summary> /// The ID of the webhook. /// </summary> [Required] public string ID { get; set; } /// <summary> /// The created date and tim...
src/FluentNHibernate/Visitors/UnresolvedComponentReferenceVisitedException.cs
hype8912/fluent-nhibernate
62
7046519
<reponame>hype8912/fluent-nhibernate<filename>src/FluentNHibernate/Visitors/UnresolvedComponentReferenceVisitedException.cs using System; namespace FluentNHibernate.Visitors { [Serializable] public class UnresolvedComponentReferenceVisitedException : Exception { public UnresolvedComponentRef...
src/CQELight.Buses.RabbitMQ/Client/RabbitPublisherBusConfiguration .cs
cdie/CQELight
15
7046520
<filename>src/CQELight.Buses.RabbitMQ/Client/RabbitPublisherBusConfiguration .cs using RabbitMQ.Client; using System; using System.Collections.Generic; namespace CQELight.Buses.RabbitMQ.Client { /// <summary> /// Configuration data for RabbitMQ bus. /// </summary> [Obsolete("Use CQELight.Buses.RabbitM...
src/PrtgAPI/Tree/Model/TreeNodeType.cs
ericsp59/PrtgAPI
218
7046521
<filename>src/PrtgAPI/Tree/Model/TreeNodeType.cs namespace PrtgAPI.Tree { /// <summary> /// Specifies types of nodes that a <see cref="TreeNode"/> can represent. /// </summary> public enum TreeNodeType { /// <summary> /// A simple node; an atomic tree component. /// </summar...
src/MonoDevelop.PackageManagement.PowerShell.Cmdlets/NuGet.VisualStudio/PackageFeeds/MultiSourcePackageFeed.cs
berlamont/monodevelop-nuget-extensions
73
7046522
// 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; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; usin...
MeasurementUnitsManagement.Models/EntityConfigurations/BaseUnitModelConfigurations.cs
omidhosseini/MeasurementUnitsManagement
0
7046523
<gh_stars>0 using MeasurementUnitsManagement.Models.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace MeasurementUnitsManagement.Models.EntityConfigurations { public class BaseUnitModelConfigurations : IEntityTypeConfiguration<BaseUnitModel> { ...
Echo/src/Core/Compute/Operation.cs
GaryHuan9/EchoRenderer
1
7046524
<filename>Echo/src/Core/Compute/Operation.cs using System.Threading; namespace Echo.Core.Compute; /// <summary> /// A task with individual steps to be executed concurrently. /// </summary> public abstract class Operation { ulong currentProcedure; /// <summary> /// Prepares this <see cref="Operation"/...
HandyUtil.Text/Xsv/XsvFieldUpdatedEventArgs.cs
pierre3/HandyUtilities.Xsv
1
7046525
using System; namespace HandyUtil.Text.Xsv { public class XsvFieldUpdatedEventArgs<T> : EventArgs where T:new() { public T Fields { protected set; get; } public XsvDataRow<T> Row {protected set; get;} public XsvFieldUpdatedEventArgs(XsvDataRow<T> row, T fields) { t...
src/framework/MiCake.DDD.Domain/Freedom/IReadOnlyFreeRepository.cs
wrsxinlang/MiCake
0
7046526
<gh_stars>0 using System; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; namespace MiCake.DDD.Domain.Freedom { public interface IReadOnlyFreeRepository<TEntity, TKey> : IFreeRepository where TEntity : class, IEntity<TKey> { /// <summary>...
dsis/shared/src/Core.FormGenerator/src/ControlUtils.cs
jonnyzzz/phd-project
1
7046527
using System; using System.Collections.Generic; using System.Windows.Forms; using DSIS.Utils; namespace EugenePetrenko.Core.FormGenerator { public static class ControlUtils { public static IEnumerable<Control> ControlsEnumerable(this Control control) { foreach (var con in control.Controls)...
UnityEngine/FilterMode.cs
SinsofSloth/RF5-global-metadata
1
7046528
<reponame>SinsofSloth/RF5-global-metadata public enum FilterMode // TypeDefIndex: 2918 { // Fields public int value__; // 0x0 public const FilterMode Point = 0; public const FilterMode Bilinear = 1; public const FilterMode Trilinear = 2; }
Framework/CQRSlite.Tests/Caching/When_saving_fails.cs
aTiKhan/CQRSlite
997
7046529
<reponame>aTiKhan/CQRSlite using System; using System.Threading.Tasks; using CQRSlite.Caching; using CQRSlite.Tests.Substitutes; using Xunit; namespace CQRSlite.Tests.Caching { public class When_saving_fails { private readonly TestAggregate _aggregate; private readonly ICache _cache; ...
CommandLineProcessor/CommandLineLibrary/Constants.cs
mbparker/CommandLineProcessor
0
7046530
<gh_stars>0 namespace CommandLineLibrary { public static class Constants { public static class InternalTokens { public const string Help = "?"; public const string SelectorSeperator = "|"; } public static class Keys { public const in...
Models/BlogPost.cs
traustitj/piranhatestmodule
0
7046531
<filename>Models/BlogPost.cs using testmodule.Models.Regions; using Piranha.AttributeBuilder; using Piranha.Extend; using Piranha.Models; namespace testmodule.Models { [PostType(Title = "Blog post")] public class BlogPost : Post<BlogPost> { /// <summary> /// Gets/sets the post hero. ...
BeesApplication/Bee.cs
Jamesc554/BeeApplication
2
7046532
using System; namespace BeesApplication { public class Bee { #region Constants public static float START_HEALTH = 100; public static float WORKER_DEATH_LIMIT = 0.7f; public static float QUEEN_DEATH_LIMIT = 0.2f; public static float DRONE_DEATH_LIMIT = 0.5f; ...
Net5Template.WebAPI/Extensions/ExtensionMethods.cs
rafpadilla/Net5Template
2
7046533
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace Net5Template.WebAPI { public static class ExtensionMethods { public static Guid GetUserId(this ClaimsPrincipal claimsPrincipal) { ...
Models/Group/RegisterGroupModel.cs
ashutoshverma191192/marketdata-api-application-master
0
7046534
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace WebApi.Models.Group { public class RegisterGroupModel { [Required] public string Name { get; set; } } }
SIL.Windows.Forms/Miscellaneous/PortableClipboard.cs
ddaspit/libpalaso
1
7046535
using System; using System.Collections.Specialized; using System.ComponentModel; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using SIL.IO; using SIL.Reporting; using SIL.Windows.Forms.ImageToolbox; namespace SIL.Windows.Forms.Miscellaneous { /// <summary>Uses the GTK classes...
Highway/Highway.Data.NHibernate.Tests/FindFoo.cs
mrayburn/Highway.Data
0
7046536
<filename>Highway/Highway.Data.NHibernate.Tests/FindFoo.cs using Highway.Data; using Highway.Data.Tests.TestDomain; namespace Highway.Data.NHibernate.Tests { public class FindFoo : Query<Foo> { public FindFoo() { ContextQuery = c => c.AsQueryable<Foo>(); } } }
MonacoForBlazor/Api/Enums/CursorChangeReason.cs
Dotneteer/monacoforblazor
0
7046537
<reponame>Dotneteer/monacoforblazor namespace MonacoForBlazor.Api.Enums { /// <summary> /// Describes the reason the cursor has changed its position. /// </summary> public enum CursorChangeReason { /// <summary> /// Unknown or not set. /// </summary> NotSet = 0, ...
VHDLCodeGen/ARM/AXI/Slave/RegisterValueInfo.cs
RDunkley/VHDLCodeGen
0
7046538
//******************************************************************************************************************************** // Filename: RegisterValueInfo.cs // Owner: <NAME> //******************************************************************************************************************************...
Assets/Scripts/SoulBar.cs
leviathanslope/Hollow-Knight-Soul-Heal-Mechanic
0
7046539
<reponame>leviathanslope/Hollow-Knight-Soul-Heal-Mechanic using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SoulBar : MonoBehaviour { public Slider slider; public void SetMaxSoul(int soul) { slider.maxValue = soul; ...
Source/Desynchronized/Compatibility/Psychology/Psycho_ThoughtDefOf.cs
onein50million/Desynchronized
3
7046540
using RimWorld; using Verse; namespace Desynchronized.Compatibility.Psychology { public class Psycho_ThoughtDefOf { // Using DefDatabase instead of the DefOf annotation to allow for silent errors. public static ThoughtDef KnowColonistDiedBleedingHeart = DefDatabase<ThoughtDef>.GetNamed("KnowCo...
Program.cs
flew-software/PraySim
1
7046541
<reponame>flew-software/PraySim<gh_stars>1-10 using System; using SFML.Window; using SFML.Graphics; namespace praysim { class Program { static void Main(string[] args) { var world = new Creature[800, 800]; var i = new Instance(world, 800, 800, 50, 25); ...
EZNEW/Http/HttpContentUtil.cs
Jafic/EZNEW
15
7046542
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net.Http.Headers; using System.Text; namespace EZNEW.Http { internal class HttpContentUtil { internal const int MaxBufferSize = int.MaxValue; internal static readonly Encoding DefaultStringEncoding = Encodin...
Assets/Scripts/ClassicUO/Utility/Crypter.cs
DarkLotus/Mythik-UOSpawn-Editor
1
7046543
#region license // Copyright (c) 2021, andreakarasho // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the above copyright // notice, this ...