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
samples/snippets/csharp/VS_Snippets_CLR/math.midpointrounding/CS/mpr.cs
AlanLiu90/dotnet-api-docs
0
7044868
<reponame>AlanLiu90/dotnet-api-docs<filename>samples/snippets/csharp/VS_Snippets_CLR/math.midpointrounding/CS/mpr.cs // This example demonstrates the Math.Round() method in conjunction // with the MidpointRounding enumeration. using System; class Sample { public static void Main() { //<snippet1> ...
tests/dotnet-core/Wexflow.DotnetCore.Tests/FilesLoaderEx.cs
mohammad-matini/wexflow
2
7044869
using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Wexflow.DotnetCore.Tests { [TestClass] public class FilesLoaderEx { public static readonly string SourceFilesFolder = Path.Combine(Helper.SourceFilesFolder, "FilesLoaderEx") + Path.DirectorySeparato...
Engine/Igneel.Shared/ITransformable.cs
ansel86castro/Igneel
8
7044870
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace Igneel { public interface ITransformable : IPositionable, ITranslatable, IRotable, IScalable { } }
CodeContracts.Fody.IntegrationTests/Default/AbstractClassWithContractClassTests.cs
NickRusinov/CodeContracts.Fody
2
7044871
extern alias Default; using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; using Default::TestFoundations.IntegrationTests.Shared; using Xunit; namespace CodeContracts.Fody.IntegrationTests.Default { public class Ab...
src/Validation/UsCoreVitalSignsValidator.cs
GinoCanessa/FHIR-CS-Profiling-Basic
3
7044872
using System; using System.Collections.Generic; using System.Linq; using fhir_cs_profiling_basic.UsCore; using FluentValidation; using Hl7.Fhir.Model; namespace fhir_cs_profiling_basic.Validation { /// <summary> /// Class to validate Observation Objects against the US Core Vital Signs Profile /// http://hl7.org/...
src/Helpers/UIDispatcher.cs
clovett/VirtualCanvas
21
7044873
<gh_stars>10-100 //----------------------------------------------------------------------- // <copyright file="UIDispatcher.cs" company="Microsoft"> // (c) Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using Syste...
MAS.App.Core/ServicesBootstrapper.cs
lassevk/mas
0
7044874
using MAS.Framework.Core; using MAS.Services.Application; namespace MAS.App.Core { public class ServicesBootstrapper : IServicesBootstrapper { public void Bootstrap(IServiceRegistrar registrar) { registrar.Register<IApplicationEntryPoint, ApplicationEntryPoint>(); } } }
Class1.cs
sutble/ProjectEarthShaker
0
7044875
using UnityEngine; using System.Collections; public class RockController : MonoBehaviour { public GameObject hand; public bool isSelected; private Rigidbody rb; private bool onetime = false; private Vector3 punchMotion; private float punchMultiplier = 5; private float startTime; ...
01-FatSheepCrisis/Assets/Scripts/Weapon/WeaponBaseAttribute.cs
EmperorMoMo/FatSheepCrisis
0
7044876
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class WeaponBaseAttribute : MonoBehaviour { protected internal float Aggressivity { get; set; } protected internal float AttackInterval { get; set; } protected internal float CritChance { get; set; } protecte...
Areas/SalaryManagement/Views/Salary/Delete.cshtml
LucasTran-tq/Business-Management-AspNet
0
7044877
<filename>Areas/SalaryManagement/Views/Salary/Delete.cshtml @model App.Areas.SalaryManagement.Models.Salary <link href="/css/detail-profile.css" type="text/css" rel="stylesheet" /> <partial name="SBAdmin/_Styles" /> <h3 class="mx-5">Are you sure you want to delete this Salary?</h3> <form asp-action="Delete"> <inp...
TgmTasHelper/Simulation/Tetromino.cs
zzymyn/TgmTasHelper
4
7044878
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace TgmTasHelper.Simulation { [DataContract] public class Tetromino : ITetromino { [DataMember] public TetrominoType Ty...
src/Core/Internal/MSBuildWorkspaceFactory.cs
tiggerite/fettle
71
7044880
using System.Collections.Generic; using Microsoft.Build.Locator; using Microsoft.CodeAnalysis.MSBuild; namespace Fettle.Core { internal static class MSBuildWorkspaceFactory { static MSBuildWorkspaceFactory() { MSBuildLocator.RegisterDefaults(); } publi...
WEBCON.FormsGenerator.API/ApiModels/Workflow.cs
WEBCON-BPS/public-forms
2
7044881
namespace WEBCON.FormsGenerator.API.ApiModels { class Workflows { public Workflow[] workflows { get; set; } } class Workflow : BaseModel { } }
src/Models/ItemPurchase.cs
HighGroundVision/Orchid
0
7044882
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HGV.Orchid.Models { public class ItemPurchase { public uint item_id { get; set; } public int purchase_time { get; set; } } }
WhaleRiderPhoneGame/WhaleRiderPhoneGame/HighScore.cs
davidov541/WhaleRider
0
7044883
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WhaleRiderSim { public enum Platform { Windows, WindowsPhone, Surface } public class HighScore { int _score; String _name; Platform _pla...
KabMan Application/Kabman/Trash/sample/Server/frmServerDetail.Designer.cs
abutun/kabman
1
7044884
namespace KabMan.Client { partial class frmServerDetail { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
Milvasoft.Iyzipay/Model/InitialConsumer.cs
centrual/Milvasoft.Iyzipay
15
7044885
using Milvasoft.Iyzipay.Utils.Concrete; using System.Collections.Generic; namespace Milvasoft.Iyzipay.Model { public class InitialConsumer { public string Name { get; set; } public string Surname { get; set; } public string Email { get; set; } public string GsmNumber { get; set;...
src/Orchard.Web/Modules/Time.Epicor/Views/E10/IssueOperationConfirmed.cshtml
pmillsaps/zone.timemfg.com
0
7044886
@{ ViewBag.Title = "Issue Operation Confirmed"; } <h2>@ViewBag.Title</h2> <p> The job and operaton will be issued within a few moments<br /> @*Please click on the link and follow the instructions to Change your domain password.<br />*@ </p>
Assets/Scripts/Stubs/Generated/Assembly-CSharp/Lua_System_Collections_Generic_List_1_int.cs
tech-ticks/RTDXTools
1
7044887
<gh_stars>1-10 /* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Diagnostics; using System.Runtime.CompilerServices; using SLua; using UnityEngine.Scripting; // Image 46: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Version=0.0.0.0, Cu...
DLC.Scientific/DLC.Scientific.Core/DLC.Scientific.Core/Geocoding/Gps/Ncom/Channels/EmptyChannel.cs
slorion/multiagent-system-example
2
7044888
using System; namespace DLC.Scientific.Core.Geocoding.Gps.Ncom.Channels { internal sealed class EmptyChannel : Channel { public override int ChannelNumber { get { return -1; } } } }
rpg game/Assets/Scripts/Wander.cs
Fran-FC/first-rpg
0
7044889
<filename>rpg game/Assets/Scripts/Wander.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; [RequireComponent(typeof(Rigidbody2D))] [RequireComponent(typeof(CircleCollider2D))] [RequireComponent(typeof(Animator))] public class Wander : MonoBehaviour { ...
src/DotNetty.NetUV/Handles/FSPoll.cs
yyjdelete/SpanNetty
4
7044890
<reponame>yyjdelete/SpanNetty<gh_stars>1-10 /* * Copyright (c) <NAME>. All rights reserved. * * https://github.com/StormHub/NetUV * * Licensed under the MIT license. See LICENSE file in the project root for full license information. * * Copyright (c) 2020 The Dotnetty-Span-Fork Project (<EMAIL>) * * https...
mcs/tests/test-52.cs
lefb766/mono
469
7044891
// // Tests the foreach on strings, and tests the implicit use of foreach // to pull the enumerator from the class and identify the pattern to be called // using System; using System.Collections; class Y { int count = 0; public bool MoveNext () { count++; return count != 10; } public object Current { ge...
tests/JNet.Runtime.Test/configuration/JNetRuntimeTestBase.cs
rodrigo-speller/JNet
0
7044892
<gh_stars>0 // Copyright (c) <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. using System; using Xunit; namespace JNet.Runtime.Test { [Collection(JNetRuntimeFixture.CollectionName)] public abstract class JNet...
Monitoring-fuer-DevOps/Tracing/PaymentService/Controllers/PaymentController.cs
fpommerening/DevOpenSpace2021
0
7044893
<reponame>fpommerening/DevOpenSpace2021<gh_stars>0 using System.Threading.Tasks; using FP.Monitoring.Trace.Common.Models; using Microsoft.AspNetCore.Mvc; namespace FP.Monitoring.Trace.PaymentService.Controllers { [ApiController] [Route("[controller]")] public class PaymentController : ControllerBase {...
Source/RhythmCodex.Plugin.CSCore/Lib/Codecs/FLAC/FlacPreScanMode.cs
SaxxonPike/RhythmCodex
10
7044894
<gh_stars>1-10 namespace RhythmCodex.Plugin.CSCore.Lib.Codecs.FLAC { /// <summary> /// Defines how to scan a flac stream. /// </summary> public enum FlacPreScanMode { /// <summary> /// Don't scan the flac stream. This will cause a stream to be not seekable. /// </summary> ...
NWindowsKits/NWindowsKits/urlmon/interfaces/IHttpNegotiate.cs
sealkeen/NWindowsKits
2
7044895
<filename>NWindowsKits/NWindowsKits/urlmon/interfaces/IHttpNegotiate.cs // This source code was generated by ClangCaster using System; using System.Runtime.InteropServices; namespace NWindowsKits { // C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um/urlmon.h:2200 public class IHttpNegotiat...
MessageQueueNET/Models/Queue.cs
jugstalt/MessageQueueNET
0
7044896
<reponame>jugstalt/MessageQueueNET<filename>MessageQueueNET/Models/Queue.cs using System; using System.Collections.Concurrent; namespace MessageQueueNET.Models { public class Queue : ConcurrentQueue<QueueItem> { private QueueProperties _queueProperties; public Queue(string name) { ...
AngularTest/RIAppDemo.BLL/Models/FolderItem.cs
BBGONE/JRIAppAngular
6
7044897
namespace RIAppDemo.BLL.Models { public class FolderItem { public string Key { get; set; } public string ParentKey { get; set; } public string Name { get; set; } public int Level { get; set; } public bool HasSubDirs { get; set; } public bool IsFolder { get; set; ...
src/PInvoke/SendInputType.cs
jj-jabb/GNet
7
7044898
using System; using System.Collections.Generic; using System.Text; namespace GNet.PInvoke { public enum SendInputType : int { //Empty = -1, Mouse = 0, Keyboard, Hardware } }
Runtime/VoxellNLP/Stem/RegexStemmer.cs
studentutu/UnityNLP
21
7044899
/* * CherubNLP Library * Copyright (C) 2018 <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Thi...
src/ValidatableExtensions/ValidatableExtensions.Equalities.cs
DevJonie/throw
262
7044900
namespace Throw; /// <summary> /// Extension methods for equalities. /// </summary> public static partial class ValidatableExtensions { /// <summary> /// Throws an exception if the value is equal to the default value of type <typeparamref name="TValue"/>. /// </summary> /// <remarks> /// The defaul...
System.Data.Entity/System/Data/Metadata/Edm/FacetDescription.cs
ludovic-henry/referencesource
39
7044901
<filename>System.Data.Entity/System/Data/Metadata/Edm/FacetDescription.cs //--------------------------------------------------------------------- // <copyright file="FacetDescription.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner [....] // ...
console_user_interface/src/commands/Clear.cs
Dreamykass/backpropagation-csharp
0
7044902
<gh_stars>0 using System; using System.Collections.Generic; namespace console_user_interface.commands { public class Clear : ICommand { public string Name { get; } = "clear"; public string[] Usage { get; } = {"'clear' - clears the screen"}; public void Execute(List<string> arguments, ...
SIPSorcery.28181/SIP.Core/SIP/Channels/SIPConnection.cs
chenmuyong/Gb28181_Platform2016_Test
10
7044903
<filename>SIPSorcery.28181/SIP.Core/SIP/Channels/SIPConnection.cs<gh_stars>1-10 //----------------------------------------------------------------------------- // Filename: SIPConnection.cs // // Description: Represents an established socket connection on a connection oriented SIP // TCL or TLS. // // History: // 31 ...
C#Console/objectOriented/Reciclando/Model/LataDeRefrigeranteModel.cs
Henrique-Castro/SenaiLessons
0
7044904
using Reciclando.Interfaces; using Reciclando.Util; using Reciclando.Util.Enums; namespace Reciclando.Model { public class LataDeRefrigeranteModel : LixoModel, IMetal { public bool IrParaLixeiraAmarela() { BackgroundColor.MudarCorDeFundo($"O lixo foi jogado na lixeira amarela.",...
FaceDetection/FrmTest.Designer.cs
tyouhyou/FaceDetection
0
7044905
namespace FaceDetection { partial class FrmTest { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
src/N3O.Umbraco.Extensions/Hosting/Middleware/CookiesMiddleware.cs
Osama-Tahboub1/N3O.Umbraco
0
7044906
using Microsoft.AspNetCore.Http; using N3O.Umbraco.Context; using N3O.Umbraco.Extensions; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace N3O.Umbraco.Hosting { public class CookiesMiddleware : IMiddleware { private readonly IReadOnlyList<ICookie> _cookies; ...
Source/Coinbase.Tests/EndpointTests/ReportsTest.cs
lucaswalter/Coinbase.Pro
0
7044907
<reponame>lucaswalter/Coinbase.Pro using System; using System.Net.Http; using System.Threading.Tasks; using Coinbase.Pro.Models; using FluentAssertions; using NUnit.Framework; namespace Coinbase.Tests.EndpointTests { public class ReportsTest : TestWithAuth { [Test] public async Task create_report() ...
Plugins/TempWarnPlugin/Settings/TempSettings.cs
dahanj95/Telebot
0
7044908
<gh_stars>0 using System; namespace TempWarnPlugin.Settings { public class TempSettings : IniFileHandler { public float GetCpuLimit() { string limitStr = ReadString("Temperature", "CPU_TEMPERATURE_WARNING"); bool success = float.TryParse(limitStr, out float limit); ...
src/AuthJanitor.AspNet/ViewModels/IAuthJanitorViewModel.cs
meeteric-mob/AuthJanitor
39
7044909
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace AuthJanitor.UI.Shared.ViewModels { public interface IAuthJanitorViewModel { } }
Headless/ExportLevelCommand.cs
Figglewatts/LSDView
14
7044910
using System; using System.Collections.Generic; using System.IO; using CommandLine; using LSDView.Controllers; using LSDView.Controllers.Headless; using LSDView.Models; namespace LSDView.Headless { public class ExportLevelCommand : AbstractHeadlessCommand { public override Type OptionsType => typeof(Ex...
src/CMS/Old_App_Code/CMSModules/TranslationServices/LiveTileModelProviders/TranslationsLiveTileModelProvider.cs
JFouts-BlueModus/kentico-contrib
1
7044911
<reponame>JFouts-BlueModus/kentico-contrib<gh_stars>1-10 using System; using CMS.ApplicationDashboard.Web.UI; using CMS.Core; using CMS.Helpers; using CMS.TranslationServices; [assembly: RegisterLiveTileModelProvider(ModuleName.TRANSLATIONSERVICES, "Translations", typeof(TranslationsLiveTileModelProvider))] ...
src/wfIntesa/Activities/SendReplay.cs
amedeogautiero/corewf-1.2.1
0
7044912
<gh_stars>0 using System; using System.Activities; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace wfIntesa.Activities { public class SendReplay_todelete<TResponse> : NativeActivity { public InArgument<TResponse> Response { get; set; } protected ov...
SerieFlix.Tests.Units/Controllers/SerieControllersTests.cs
ronilsonsilva/serie-flix
0
7044913
<gh_stars>0 using Microsoft.AspNetCore.Http; using SerieFlix.Domain.Contracts.DomainServices; using SerieFlix.Domain.Contracts.RepositoryServices; using SerieFlix.Domain.DomainServices; using SerieFlix.Domain.Entities; using SerieFlix.Repositories.Repository; using SerieFlix.Repository.Context; using SerieFlix.Service...
_Backup/UiSoundMgr.cs
veliamsli/CasinosClient
3
7044914
<gh_stars>1-10 //// Copyright(c) Cragon. All rights reserved. //namespace Casinos //{ // using System.Collections.Generic; // using UnityEngine; // public class UiSoundMgr // { // //--------------------------------------------------------------------- // static UiSoundMgr mUiSoundMgr; // ...
src/coreclr/nativeaot/Runtime.Base/src/System/ParamArrayAttribute.cs
pyracanda/runtime
9,402
7044915
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System { // Attribute to indicate array of arguments for variable number of args. [AttributeUsage(AttributeTargets.Parameter, Inherited = true, AllowMultiple = fal...
System.Activities.DurableInstancing/System/Activities/DurableInstancing/InstanceLockedExceptionAction.cs
cnork/referencesource
911
7044916
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.DurableInstancing { public enum InstanceLockedExceptionAction ...
EventsReminder.Web/MappingProfile.cs
mariuszpatek/EventsReminder
0
7044917
<reponame>mariuszpatek/EventsReminder using AutoMapper; using EventsReminder.Model.DTOs; using EventsReminder.Model.Models; using EventsReminder.Model.ViewModels; using EventsReminder.Model.ViewModels.Account; using System.Linq; namespace EventsReminder.Web { public class MappingProfile : Profile { pu...
test/Motor.Extensions.Utilities_IntegrationTest/GenericHostingTestBase.cs
rageagainsthepc/motornet
0
7044918
<filename>test/Motor.Extensions.Utilities_IntegrationTest/GenericHostingTestBase.cs using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Motor.Extensions.Conversion.Abstractions; using Motor.Extensions.Hosting.RabbitMQ_IntegrationTest; using RabbitMQ.Client; using Rando...
Mariana.Common/src/URIUtil.cs
jfd16/Mariana
7
7044919
using System; using System.Diagnostics.CodeAnalysis; namespace Mariana.Common { /// <summary> /// Functions for URI encoding and decoding. /// </summary> public static class URIUtil { /// <summary> /// Encodes a string for use as a URI. Any character other than a letter, number or a ...
KnockoutTypeScriptGenerator/Metadata/IGeneratorCodeItem.cs
kasparsaleksejevs/KnockoutTypeScriptGenerator
1
7044920
namespace KnockoutTypeScriptGenerator.Metadata { public interface IGeneratorCodeItem { string Namespace { get; } string Name { get; } string FullName { get; } } }
src/ZendeskApi.Client/Resources/Interfaces/ISatisfactionRatingsResource.cs
cserkaran/ZendeskApiClient
61
7044921
<reponame>cserkaran/ZendeskApiClient using System; using System.Threading; using System.Threading.Tasks; using ZendeskApi.Client.Models; using ZendeskApi.Client.Responses; namespace ZendeskApi.Client.Resources { public interface ISatisfactionRatingsResource { [Obsolete("Use `GetAllAsync` with CursorPag...
src/Easy.Endpoints.Core/ManifestBuilder/AuthEndpointMetaDataDeclaration.cs
PjMitchell/Easy.Endpoints
1
7044922
using System.Collections.Generic; using System.Reflection; using System.Linq; using Microsoft.AspNetCore.Authorization; namespace Easy.Endpoints { /// <summary> /// Gets Auth Meta data for declared endpoint /// </summary> public class AuthEndpointMetaDataDeclaration : IEndpointMetaDataDeclaration ...
Runtime/packages/solnet/Solnet.Wallet/SeedMode.cs
zhaoxin2022/BlockchainBridgeConnect
2
7044923
<gh_stars>1-10 namespace Solnet.Wallet { /// <summary> /// Specifies the available seed modes for key generation. /// <remarks> /// Available modes: /// <para> <see cref="SeedMode.Ed25519Bip32"/> </para> /// <para> <see cref="SeedMode.Bip39"/> </para> /// </remarks> /// </summary> pu...
src/EasyAbp.FileManagement.Web/Pages/FileManagement/Files/File/ViewModels/RenameFileViewModel.cs
Frunck8206/FileManagement
61
7044924
<gh_stars>10-100 using System.ComponentModel.DataAnnotations; namespace EasyAbp.FileManagement.Web.Pages.FileManagement.Files.File.ViewModels { public class RenameFileViewModel { [Required] [Display(Name = "FileFileName")] public string FileName { get; set; } } }
Scheduling/Extensions/StationExtensions.cs
tellurianinteractive/Tellurian.Trains.TimetablePlanningApp
5
7044925
using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Tellurian.Trains.Scheduling.Model; namespace Tellurian.Trains.Scheduling.Extensions { public static class StationE...
05. Object Oriented Programming/03. Templates/01. TheBox/Box.cs
MartsTech/IT-Career
4
7044927
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; namespace TheBox { public class Box<T> { private readonly List<T> _data; public int Count => _data.Count(); public Box() { _data = new List<T>(); } public void Add(T...
src/MasterDevs.ChromeDevTools/LocalChromeProcess.cs
fred-perkins/ChromeDevTools
0
7044929
<reponame>fred-perkins/ChromeDevTools using System; using System.Diagnostics; using System.Threading; namespace MasterDevs.ChromeDevTools { public class LocalChromeProcess : RemoteChromeProcess { private readonly IUserDirectoryManager userDirectoryManager; public LocalChromeProcess(Uri remote...
Backend/Graduation.Project/Graduation.Project.Interface/IGenericService.cs
danego61/Patika-Bupa-Acibadem-FullStack-Bootcamp-Graduation-Project
0
7044930
<reponame>danego61/Patika-Bupa-Acibadem-FullStack-Bootcamp-Graduation-Project<gh_stars>0 using Graduation.Project.Entity.IBase; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Graduation.Project.Interface { ...
src/Npgsql/TypeHandlers/DateTimeHandlers/TimestampHandler.cs
KorzunAV/npgsql
0
7044931
<filename>src/Npgsql/TypeHandlers/DateTimeHandlers/TimestampHandler.cs<gh_stars>0 using System; using Npgsql.BackendMessages; using NpgsqlTypes; using System.Data; using Npgsql.TypeHandling; using Npgsql.TypeMapping; namespace Npgsql.TypeHandlers.DateTimeHandlers { [TypeMapping("timestamp", NpgsqlDbType.Timestamp...
SlothEnterprise.ProductApplication/ProductHandling/ProductHandlerStore.cs
quantc/code-test-backend
0
7044932
using SlothEnterprise.External.V1; using SlothEnterprise.ProductApplication.ProductHandling.Handlers; using System.Collections.Generic; namespace SlothEnterprise.ProductApplication.ProductHandling { /// <summary> /// Register this class in DI module with instances of ISelectInvoiceService, IConfidentialInvoic...
TankLib/STU/Types/STU_CD5A7576.cs
Mike111177/OWLib
1
7044933
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0xCD5A7576)] public class STU_CD5A7576 : STUConfigVarVecBase { [STUFieldAttribute(0x17BB822A, ReaderType = typeof(EmbeddedInstanceFieldReader))] public STUConfigVar m_17BB...
RX_Explorer/Class/SignalContext.cs
zhuxb711/USBManager
9
7044934
<gh_stars>1-10 using System; using System.Threading; using System.Threading.Tasks; namespace RX_Explorer.Class { public sealed class SignalContext { private TaskCompletionSource<bool> WaitSource; private TaskCompletionSource<bool> PauseSource; private bool IsCompleted; public ...
Challenger.Bot/Modules/CommandModule.cs
ErwanTLG/Challenger
0
7044935
<filename>Challenger.Bot/Modules/CommandModule.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Challenger.Database; using Challenger.Database.API; using Challenger.Database.Models; using Challonge.Api; using Challonge.Objects; using Discord; using Di...
Gu.Localization/Internals/Ensure/Ensure.string.cs
nevaran/Gu.Localization
0
7044936
<gh_stars>0 #pragma warning disable SA1600 // Elements must be documented, reason: internal #pragma warning disable SA1601 // Partial must be documented, reason: internal namespace Gu.Localization { using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Text.Regular...
PokeBlazor.Client/Components/RandomPokemonResult.cshtml
GaProgMan/PokeBlazor
10
7044937
@using PokeBlazor.Shared @if (!ValidSearchId) { <div class="ui grid"> <div class="row"> <div class="ui three column centered grid"> <div class="column"> <div class="ui error message"> <div class="header">The ID you supplied does not s...
SchemaValidationGenerator/SchemaResult.cs
sakataa/net-schema-validation-generator
0
7044938
<reponame>sakataa/net-schema-validation-generator using System; using System.Collections.Generic; using System.Text; namespace SchemaValidationGenerator { public class SchemaResult { public string Name { get; set; } public string Label { get; set; } public bool Editable { get; set; }...
test/OpenApi.Generator.Mvc.Tests/Fixtures/Types/CompositeType.cs
brijgogogo/Swashbuckle.AspNetCore
0
7044939
<filename>test/OpenApi.Generator.Mvc.Tests/Fixtures/Types/CompositeType.cs<gh_stars>0 using System.Collections.Generic; namespace OpenApi.Generator.Mvc.Tests { public class CompositeType { public ComplexType Property1 { get; set; } public IEnumerable<ComplexType> Property2 { get; set; } }...
EpgTimer/EpgTimer/UserCtrlView/AttendantWindow.cs
nexus7ici/tkntrec
0
7044940
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; namespace EpgTimer { //Pinの相手はメインウィンドウ限定 public class AttendantWindow : Window { protected static MainWindow mainWindow { get { return ViewUtil.MainWindow; } } protected ...
src/NuGetPackageManager/App.xaml.cs
Averus-a/NuGetPackageManager
2
7044941
<filename>src/NuGetPackageManager/App.xaml.cs namespace NuGetPackageManager { using Catel.Logging; using System.Windows; /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { protected override void OnStartup(StartupEventArgs e) ...
Assets/Scripts/Game_Recorder.cs
Chopium/ClowderBridge
1
7044942
//using System; //using System.Collections; //using System.Collections.Generic; //using System.IO; //using UnityEngine; //public class Game_Recorder : MonoBehaviour //{ // #region Singleton // private static Game_Recorder instance; // public static Game_Recorder Instance // { // get // { // ...
C# Fundamentals/C# OOP Advanced/Unit Testing/Unit Testing_Exer/Ex. 3 - List Iterator/Program.cs
jackofdiamond5/Software-University
0
7044943
using System; using System.Linq; public class Program { public static void Main() { ListIterator listIterator = null; string input; while ((input = Console.ReadLine()) != "END") { var args = input.Split(); var command = args[0]; try ...
src/Minimal/WorkingParts/FileDetail.cs
i-e-b/tinyQuickIO
1
7044944
using Native; namespace Minimal { using System; using System.IO; using System.Security.Principal; public abstract class FileDetailBase { private DateTime _creationTimeUtc; private DateTime _lastAccessTimeUtc; private DateTime _lastWriteTimeUtc; publi...
UsingXrmAppInsightsConnector/ConnectedToAppInsightsPlugin.cs
ScottColson/D365.XrmPlugin.Extensions
6
7044945
using System; using Microsoft.Xrm.Sdk; using CCLLC.Xrm.AppInsights; using CCLLC.Telemetry; using System.Net; using System.IO; using System.Text; using System.Globalization; namespace UsingXrmAppInsightsConnector { public class ConnectedToAppInsightsPlugin : IPlugin { // The XrmAppInsightsConnector is ...
TheLegendOfKawaz/Assets/Scripts/Zakky/ZakkyMinigame/WakuWakuFont.cs
tada0389/TheLegendOfKawaz
1
7044946
using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; using TMPro; using WallDefence; public class WakuWakuFont : MonoBehaviour { bool fiverCheck; //Sequence seq; TextMeshProUGUI m_text; Color prevColor; // Start is called before the first frame update ...
src/CorvusAlba.MyLittleLispy.Runtime/ModuleAttribute.cs
retran/my-little-lispy
1
7044947
<reponame>retran/my-little-lispy<filename>src/CorvusAlba.MyLittleLispy.Runtime/ModuleAttribute.cs using System; using System.Collections.Generic; using System.Linq; namespace CorvusAlba.MyLittleLispy.Runtime { [AttributeUsage(AttributeTargets.Class, Inherited = false)] public class ModuleAttribute : Attribute ...
EF_Server_Test/DTO/StudentSkillDTO.cs
iliyesku/RaschTest
0
7044948
using System.Runtime.Serialization; namespace EF_Server_Test.DTO { [DataContract] public class StudentSkillDTO { [DataMember] public int Id { get; protected set; } [DataMember] public string Username { get; set; } [DataMember] public double S...
Models/Personal.cs
EvolutionJobs/Textkernel
0
7044949
<filename>Models/Personal.cs<gh_stars>0 namespace Evolution.Textkernel.Models { using System.Xml.Serialization; public class Personal { [XmlElement("FirstName", IsNullable = true)] public string FirstName { get; set; } [XmlElement("MiddleName", IsNullable = true)] public s...
yafsrc/YAF.Core/Model/TopicStatusRepositoryExtensions.cs
ammogcoder/YAFNET
0
7044950
<filename>yafsrc/YAF.Core/Model/TopicStatusRepositoryExtensions.cs /* Yet Another Forum.NET * Copyright (C) 2003-2005 <NAME> * Copyright (C) 2006-2013 <NAME> * Copyright (C) 2014-2018 <NAME> * http://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contri...
Source/JSon/JsonDataCreatorForTest.cs
gitter-badger/Leantest
3
7044951
using System.Collections.Generic; using Newtonsoft.Json; namespace LeanTest.JSon { /// <summary> /// Utility for creating test data of type <c>T</c> from JSon. /// </summary> public class JsonDataCreatorForTest<T> { /// <summary> /// Deserialize a single instance of type <c>T</c>. ...
src/ui/Alaska.UI.Cache/Settings/CacheUIOptions.cs
alpitourworld/Alaska
0
7044952
using Alaska.Common.Web.Middleware; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; namespace Alaska.UI.Cache.Settings { public class CacheUIOptions : IWebUIOptions { public string RoutePrefix { get; set; } = "ala...
samples/Samples/CustomGenerator.cs
devlooped/stunts
79
7044953
<reponame>devlooped/stunts using System; using System.Reflection; using Avatars; using Xunit; namespace Samples { /// <summary> /// Showcases how an arbitrary method can be annotated as a "avatar generator" that /// will seamlessly extended default behaviors for new avatars. /// </summary> public...
src/PoGo.ApiClient/Logging/Logger.cs
PoGo-Devs/PoGo
64
7044954
using PoGo.ApiClient.Interfaces; using PoGo.ApiClient.Logging; namespace PoGo.ApiClient { /// <summary> /// Generic logger which can be used across the projects. /// Logger should be set to properly log. /// </summary> public static class Logger { private static ILogger _logger...
CosmosDB.Gremlin.Fluent/Functions/Is.cs
AieatAssam/CosmosDB.Gremlin.Fluent
4
7044955
<reponame>AieatAssam/CosmosDB.Gremlin.Fluent using System; namespace CosmosDB.Gremlin.Fluent.Functions { #pragma warning disable 1591 public static class IsFunction #pragma warning restore 1591 { /// <summary> /// Filter scalar values if they are not equal to the provided value /// </su...
FubarDev.FtpServer.AccountManagement/Anonymous/IAnonymousPasswordValidator.cs
liquidradio/FtpServer
0
7044956
<gh_stars>0 //----------------------------------------------------------------------- // <copyright file="IAnonymousPasswordValidator.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> // <author><NAME></author> //--------------------------------...
DbContext/DbContextFactory.cs
pvginkel/DapperContext
2
7044957
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace DbContext { public partial class DbContextFactory : IDbContextFactory { private readonly Func<...
Mindstorms.Core/Music/444/Fisz5.cs
Mortens4444/LegoMindstromsEV3
0
7044958
namespace Mindstorms.Core.Music._444 { public class Fisz5 : Note { public Fisz5(NoteType noteType = NoteType.Quarter) : base(noteType) { Name = "F#5/Gb5"; Frequency = 746.72; WaveLength = 46.20; } } }
EnergyHack/Extentions.cs
SilovYan/EnergyHack
0
7044960
<gh_stars>0 using System.Collections; using System.Collections.Generic; using System.Linq; using DevExpress.XtraEditors; namespace EnergyHack { public static class Extentions { public static bool IsNullOrEmpty<T>(this IEnumerable<T> e) { return e == null || !e.Any(); } ...
SFA.DAS.Web.Policy/SFA.DAS.Web.Policy/ResponseHeaderXOptionsPolicy.cs
uk-gov-mirror/SkillsFundingAgency.das-shared-packages
6
7044961
<reponame>uk-gov-mirror/SkillsFundingAgency.das-shared-packages<filename>SFA.DAS.Web.Policy/SFA.DAS.Web.Policy/ResponseHeaderXOptionsPolicy.cs using System.Collections.Generic; using System.Web; namespace SFA.DAS.Web.Policy { /// <summary> /// Adds X options headers to an outgoing response /// </summary> ...
MonitoringPaintingYasunli/YasunliESModel/Models/Mapping/OperatorAbsentMap.cs
dionisiusadjinugroho/Samples
0
7044962
using System.Data.Entity.ModelConfiguration; namespace YasunliESModel.Models.Mapping { public class OperatorAbsentMap : EntityTypeConfiguration<OperatorAbsent> { public OperatorAbsentMap() { // Primary Key this.HasKey(t => t.AbsentId); // Properties ...
MonitorAware/Models/DpiChecker.cs
ilosvideos/WpfMonitorAware
29
7044963
<reponame>ilosvideos/WpfMonitorAware using System; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using MonitorAware.Helper; using MonitorAware.Models.Win32; namespace MonitorAware.Models { /// <summary> /// Checks DPI. /// </summary> public static class DpiChecker ...
src/SimpleLucene.Tests/Definitions/ProductResultDefinition.cs
benfoster/SimpleLucene
10
7044964
<gh_stars>1-10 using SimpleLucene.Tests.Entities; namespace SimpleLucene.Tests.Definitions { public class ProductResultDefinition : IResultDefinition<Product> { public Product Convert(Lucene.Net.Documents.Document document) { return new Product { Id = do...
Source/RpcService/RpcService/Logic/ServerLimitLogic.cs
tc303730352/WedonekRpcFrame
1
7044965
<gh_stars>1-10 using RpcModel.Model; using RpcModel.Server; using RpcService.Collect; using RpcService.Model; namespace RpcService.Logic { internal class ServerLimitLogic { internal static bool GetServerLimit(GetServerLimit obj, out LimitConfigRes result, out string error) ...
src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/MonoDevelop.PackageManagement.PowerShell.EnvDTE/Project.cs
berlamont/monodevelop-nuget-extensions
73
7044966
<reponame>berlamont/monodevelop-nuget-extensions<filename>src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/MonoDevelop.PackageManagement.PowerShell.EnvDTE/Project.cs<gh_stars>10-100 // // Project.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2019 Microsoft // // Permission is hereby grant...
Core/Collections/ILayeredDictionary.cs
dotlogix/DotlogixCore
0
7044967
// ================================================== // Copyright 2019(C) , DotLogix // File: ILayeredDictionary.cs // Author: <NAME> <<EMAIL>>. // Created: 13.12.2018 // LastEdited: 07.02.2019 // ================================================== #region using System.Collections.Generic; #endregion namespace D...
Plugin/Providers/Stooq/DummyFileLoader.cs
tafehe/amibroker
3
7044968
using System.Collections.Generic; using System.Linq; namespace AmiBroker.Plugin.Providers.Stooq { class DummyFileLoader : FileLoader { internal DummyFileLoader(Configuration configuration) : base(configuration) { } internal override IEnumerable<string> Load() { ...
Assets/Resources/Scripts/Item_Panel_Script.cs
1st-SE-HCMUS/SpaceCrushUnity
0
7044969
<reponame>1st-SE-HCMUS/SpaceCrushUnity using UnityEngine; using System.Collections; using UnityEngine.UI; public class Item_Panel_Script : MonoBehaviour { public Image ItemImage; public Text Price; public Text Description; public Button equipButton; public Button buyButton; //public int itemI...
src/Common/FinTechCommon/Model/UpdateNavsService.cs
gyantal/SqCore
0
7044970
<filename>src/Common/FinTechCommon/Model/UpdateNavsService.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Threading; using SqCommon; using StackExchange.Redis; using Microsoft.Extensions.Primitives; using System.Threading.Tasks; using BrokerCommon; using System.Linq; using IBApi; namespace ...
test/WebSites/ViewComponentWebSite/ViewDataComponent.cs
walkeeperY/ManagementSystem
0
7044971
<filename>test/WebSites/ViewComponentWebSite/ViewDataComponent.cs // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.AspNet.Mvc; namespace...