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
APITCC2021/Models/Sintoma.cs
GuilhermeZalla/diagnosticoplus-api
0
7038231
using System.Collections.Generic; namespace APITCC2021.Models { public class Sintoma { public Sintoma(string nome) { Nome = nome; } public int Id { get; set; } public string Nome { get; set; } public ICollection<AssociacaoDoencaSintoma> Associacao...
src/SimpleHoneypot.Tests/HoneypotAttributeTests.cs
TechSmith/Honeypot-MVC
0
7038232
using System; using System.Web.Mvc; using Moq; using SimpleHoneypot.ActionFilters; using Xunit; using System.Collections.Specialized; using SimpleHoneypot.Core; namespace SimpleHoneypot.Tests { using System.Web; public class HoneypotAttributeTests { private NameValueCollection _from = n...
SOLID/SOLID_/4.Interface Segregation Principle/GoodExample/Duck.cs
CeyhunAslan/SOLID
2
7038233
<gh_stars>1-10 using SOLID_._4.ISP.GoodExample.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SOLID_._4.ISP.GoodExample { public class Duck : IWalk, IFly, ISwim { public string Fly() { ...
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraResourcesOperationsTests.cs
shmartel/azure-sdk-for-net
1
7038234
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core.TestFramework; using Azure.ResourceManager.CosmosDB.Models; using NUnit.Framework; using System.Collections.Generic; using System.Threading.Tasks; namespace Azure.ResourceManager.CosmosDB.Tests { [Tes...
Shoko.Server/Mappings/AniDB_SeiyuuMap.cs
Hitsounds/ShokoServer
183
7038235
<filename>Shoko.Server/Mappings/AniDB_SeiyuuMap.cs using FluentNHibernate.Mapping; using Shoko.Models.Server; namespace Shoko.Server.Mappings { public class AniDB_SeiyuuMap : ClassMap<AniDB_Seiyuu> { public AniDB_SeiyuuMap() { Table("AniDB_Seiyuu"); Not.LazyLoad(); ...
src/Razor/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.codegen.cs
belav/aspnetcore
0
7038237
<gh_stars>0 // <auto-generated/> #pragma warning disable 1591 namespace Test { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; #nullable restore #line 1 "x:\dir\subdir\Test\TestComponent.cshtml" ...
src/FeatureDemo/FeatureDemo/ChartsDemo/DashboardModule.xaml.cs
DevExpress/winui-demos
9
7038238
using DevExpress.WinUI.Charts; using FeatureDemo.Common; using Microsoft.UI.Xaml.Media; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using Windows.UI; namespace ChartsDemo { public sealed partial class DashboardModule : DemoModuleView { public ...
MusicCenter.App/Views/Shared/_SongsPanel.cshtml
lkosciuk/MusicCenter
0
7038239
@model List<MusicCenter.Common.ViewModels.Band.SongsPanelViewModel> <ul class="nav nav-tabs" style="margin-bottom:10px"> <li role="presentation" class="active"><a href="#">@MusicCenter.Common.Resources.Global.NewSingles</a></li> </ul> @if (Model != null) { <div class="list-group"> @foreach (var song i...
QifApi/Parsers/ClassListParser.cs
jeffjl74/qif
0
7038240
using QifDoc.Qif.Transactions; using QifDoc.Qif.Transactions.Fields; namespace QifDoc.Qif.Parsers { class ClassListParser : IParser { private ClassListTransaction item = new ClassListTransaction(); public void Yield(QifDocument document) { document.AddTransaction(GetType()....
src/Tinkoff.ISA.Scheduler/Schedule/Scheduler.cs
TinkoffCreditSystems/ISA
15
7038241
using System; using System.Threading; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Tinkoff.ISA.Infrastructure.Settings; using Tinkoff.ISA.Scheduler.Activators; namespace Tinkoff.ISA.Scheduler.Schedule { internal class Scheduler : IScheduler { private readonly Timer _ti...
ImapToHttp/HttpProtocol/Extensions.cs
nntarasov/imap2http
0
7038242
using System.Security.Cryptography; using System.Text; using HttpProtocol.Responses; using ServiceStack; namespace HttpProtocol { public static class Extensions { public static bool IsOperationSuccessful(this string response) { if (string.IsNullOrWhiteSpace(response)) { ...
MonitoringDay/ProductImagesApi/Controllers/InMemoryImagesRepository.cs
hbiarge/MonitoringDay
0
7038243
<filename>MonitoringDay/ProductImagesApi/Controllers/InMemoryImagesRepository.cs using System.Threading.Tasks; namespace ProductImagesApi.Controllers { public class InMemoryImagesRepository : IImagesRepository { public Task<string[]> GetImagesFor(string productCode) { var images = ...
EZDiscuss/Interfaces/IMember.cs
arnoldgh/ezdiscuss
0
7038244
<reponame>arnoldgh/ezdiscuss using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; namespace EZDiscuss.Interfaces { interface IMember { EZDiscuss.Classes.Member MemberLogin(string email, string password); ...
Rendering.Mvc/Routing/C1RenderingReasonConstraint.cs
burningice2866/CompositeC1Contrib
5
7038245
<reponame>burningice2866/CompositeC1Contrib using System.Web; using System.Web.Routing; using Composite.Core.Routing; using Composite.Core.WebClient.Renderings.Page; namespace CompositeC1Contrib.Rendering.Mvc.Routing { public class C1RenderingReasonConstraint : IRouteConstraint { private re...
Org.BouncyCastle.Crypto.Tls/ProtocolVersion.cs
smdx24/CPI-Source-Code
8
7038246
// ProtocolVersion using Org.BouncyCastle.Crypto.Tls; using Org.BouncyCastle.Utilities; using System; public sealed class ProtocolVersion { public static readonly ProtocolVersion SSLv3 = new ProtocolVersion(768, "SSL 3.0"); public static readonly ProtocolVersion TLSv10 = new ProtocolVersion(769, "TLS 1.0"); publi...
demo/PS3API-Demo/PS3API-Demo/Main.cs
seb5594/PS3Lib
39
7038247
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 PS3Lib; namespace PS3API_Demo { public partial class Main : Form { private PS3API ...
src/Greentube.Monitoring.Apache.NMS.ActiveMq/ActiveMqMonitoringOptionsExtensions.cs
balcko/monitoring
19
7038248
<filename>src/Greentube.Monitoring.Apache.NMS.ActiveMq/ActiveMqMonitoringOptionsExtensions.cs using System; using Apache.NMS.ActiveMQ; using Microsoft.Extensions.Logging; using Microsoft.Extensions.DependencyInjection; namespace Greentube.Monitoring.Apache.NMS.ActiveMq { /// <summary> /// ActiveMQ extensions ...
Controller/Environments/StSimeonsCatacombs/Cards/StSimeonsCatacombsCardController.cs
catwhowalksbyhimself/CauldronMods
0
7038249
<reponame>catwhowalksbyhimself/CauldronMods using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; namespace Cauldron.StSimeonsCatacombs { public class StSimeonsCatacombsCardController : St...
Game/Tools/State.cs
far-off-wanderer/classic
1
7038250
<gh_stars>1-10 namespace Far_Off_Wanderer.Tools; static class State { public struct TrackedState<T> { private T previousValue; private T currentValue; public TrackedState(T value) { previousValue = value; currentValue = value; } public ...
Assets/Scripts/LineRendererTrackerBehaviour.cs
DanielYang432/SDD-Task-2-Assessment
0
7038252
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class LineRendererTrackerBehaviour : MonoBehaviour { [SerializeField] private LineRenderer LineRenderer = null; [SerializeField] private Transform fromTransform = null; [SerializeField] private Transform toTra...
src/UI/ToggleText.cs
leudaimon/Kerbal-Konstructs
31
7038253
<gh_stars>10-100 using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; using UnityEngine.EventSystems; using TMPro; using KodeUI; namespace KerbalKonstructs.UI { public class ToggleText : Layout, IPointerClickHandler { MiniToggle toggle; UIText label; public bool interactable { get { retur...
Services/Identity/Identity.API/Common/Constants/IdentityConstants.cs
aslamovyura/icare-on-microservices
4
7038254
<reponame>aslamovyura/icare-on-microservices namespace Identity.API.Common.Constants { /// <summary> /// Define class, containing identity constants. /// </summary> public class IdentityConstants { /// <summary> /// None Role. /// </summary> public static readonly st...
tests/Stickerzzz.IntegrationTests/Features/User/CreateTests.cs
MattViper/Stickerzzz-Backend
0
7038255
using Microsoft.EntityFrameworkCore; using Stickerzzz.Infrastructure.Security; using Stickerzzz.Web.Users; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Stickerzzz.IntegrationTests.Features.User { public class CreateTests...
Scripts/EmbeddedWavLookup.cs
OSU-slatelab/vp-unity-client-src
0
7038256
<reponame>OSU-slatelab/vp-unity-client-src using System; using System.Collections; using UnityEngine; using UnityEngine.Networking; using UnityEngine.Events; public class EmbeddedWavLookup : SpeechProducer { AudioClip scream1; AudioClip scream2; System.Random rng; private bool _done_loading = false; public ov...
System.Maui.Platform.GTK/Extensions/PageExtensions.cs
Skyprx/maui
3
7038257
using System; namespace System.Maui.Platform.GTK.Extensions { public static class PageExtensions { public static GtkFormsContainer CreateContainer(this Page view) { if (!System.Maui.Maui.IsInitialized) throw new InvalidOperationException("call System.Maui.Maui.Init() before this"); if (!(view.RealPare...
Spec/WindowsFormsMvc.Spec/Mvc/ContentViewTypeFinderSpec.cs
averrunci/WindowsFormsMvc
0
7038258
// Copyright (C) 2018-2019 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Collections; using Carna; namespace Charites.Windows.Mvc { [Specification("ContentViewTypeFinder Spec")] class ContentViewT...
ASP Final Project/Views/Shared/EditorPartials/_EditUserPartial.cshtml
Dayton-Wilks/CST465TermProject
0
7038259
<reponame>Dayton-Wilks/CST465TermProject @model UpdateModel <div class="row"> <div class="col-md-4"> <form action="MyProfile" method="post"> @Html.AntiForgeryToken() <div asp-validation-summary="All" class="text-danger"></div> <div> <span>Email: @Model.Em...
examples/electron-blazor/LocalService/Program.cs
sanosdole/nodeclrhost
9
7038260
<filename>examples/electron-blazor/LocalService/Program.cs<gh_stars>1-10 namespace LocalService { using System; using System.IO; using System.Threading.Tasks; using NodeHostEnvironment; class Program { static dynamic browserWindow; static Task<int> Main(string[] args) ...
src/Servers/Kestrel/Core/src/Http3Limits.cs
adaml984/aspnetcore
10
7038261
// 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 { /// <summary> /// Limits only applicable to HTTP/3 connections. /// </su...
TestApp/Program.cs
kiranjagz/My-Problem-Solving-Stuff
0
7038262
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TestApp.Algos; using TestApp.StringManipulation; namespace TestApp { class Program { public static void Main(string[] args) { #region frogtest //var...
src/MinimalAPI.Pokedex/Program.cs
kasuken/MinimalAPI.Pokedex
6
7038263
using Microsoft.OpenApi.Models; using MinimalAPI.Pokedex; var builder = WebApplication.CreateBuilder(args); builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(options => options.SwaggerDoc("v1", new OpenApiInfo() { Description = "Pokedex API with .NET 6 Minimal API", Title = "Pokedex A...
src/Cohesity.Powershell.Models/EditHostsParameters.cs
bseltz-cohesity/cohesity-powershell-module
37
7038264
// Copyright 2019 Cohesity Inc. using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.C...
Source Server/SourceQuest4.5/log4net/log4net.Filter/FilterSkeleton.cs
itspaiva/DDTank4.1
4
7038265
using log4net.Core; namespace log4net.Filter { /// <summary> /// Subclass this type to implement customized logging event filtering /// </summary> /// <remarks> /// <para> /// Users should extend this class to implement customized logging /// event filtering. Note that <see cref="T:log4net.Repository.Hierarchy....
GewinnspielWizard/EmailEntry.cs
tgassner/GewinnspielWizard
0
7038266
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GewinnspielWizard { class EmailEntry { public string EmailAdress { get; set; } public string Name { get; set; } public string ContactInfo { get; set; } } }
EDEngineer.Models/Operations/LeaveSettlementOperation.cs
jmbox/EDEngineer
431
7038267
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EDEngineer.Models.Operations { public class LeaveSettlementOperation : JournalOperation { public override void Mutate(State.State state) { ...
src/Machete.X12Schema/V5010/Layouts/Maps/LoopPO4_304Map.cs
ahives/Machete
3
7038268
<filename>src/Machete.X12Schema/V5010/Layouts/Maps/LoopPO4_304Map.cs<gh_stars>1-10 namespace Machete.X12Schema.V5010.Maps { using X12; using X12.Configuration; public class LoopPO4_304Map : X12LayoutMap<LoopPO4_304, X12Entity> { public LoopPO4_304Map() { Id = "Loop_...
src/PTV.Database.DataAccess.Interfaces/Repositories/IRepositoryPartial.cs
MikkoVirenius/ptv-1.7
0
7038269
 // Generated helper templates // Generated items // PTV.Database.DataAccess.Interfaces\Repositories\IWebPageTypeNameRepository.cs // PTV.Database.DataAccess.Interfaces\Repositories\IWebPageTypeRepository.cs // PTV.Database.DataAccess.Interfaces\Repositories\IWebpageChannelUrlRepository.cs // PTV.Database.DataAccess...
Editor/AbstractPrefabEditor.cs
crassSandwich/glib_sub
0
7038270
using UnityEditor; namespace crass { [CustomEditor(typeof(AbstractPrefab))] public class AbstractPrefabEditor : Editor { public override void OnInspectorGUI() { EditorGUILayout.HelpBox("This prefab is abstract. Do not instantiate it.", MessageType.Warning); } } }
SDL2-CS-Bridge/SpriteFactory.cs
trsoluti/SDL2-CS-COP
1
7038271
using System; namespace SDL2_CS_Bridge { /* * class SpriteFactory(object): * """A factory class for creating Sprite objects.""" */ /// <summary> /// Sprite type /// </summary> public enum SpriteType { /// <summary> /// Textures rendered by SDL2 renderer /// </summary> ...
test/ManagedFusion.Rewriter.Tests/Rules/Flags/ChainFlagTest.cs
dcs619/URLRewriter
0
7038272
<filename>test/ManagedFusion.Rewriter.Tests/Rules/Flags/ChainFlagTest.cs using System; using NUnit.Framework; namespace ManagedFusion.Rewriter.Tests.Rules.Flags { /// <summary> /// Summary description for ChainFlagTest /// </summary> [TestFixture] public class ChainFlagTest : BaseTest { [Test] public void C...
src/MxNet.Keras/Callbacks/ProgbarLogger.cs
tk4218/MxNet.Sharp
121
7038273
using MxNet.Keras.Utils; using System; using System.Collections.Generic; using System.Text; namespace MxNet.Keras.Callbacks { public class ProgbarLogger : Callback { public int epochs; public Dictionary<string, float> log_values; public Progbar progbar; public int seen; ...
Lib/SqlDatabase/Parameter.cs
gilgame/frost
0
7038274
/* ----------------------------------------------------------------------------- * Parameter.cs * * Copyright (c) 2020 TD Fellows, TD Frost. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the "Software...
common/src/Microsoft.Azure.IIoT.Core/tests/Module/HttpTunnelTests.cs
garolion/Industrial-IoT
1
7038275
<gh_stars>1-10 // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Mi...
src/LightningQueues/IQueueContext.cs
LightningQueues/LightningQueues
175
7038278
<gh_stars>100-1000 using System; namespace LightningQueues { public interface IQueueContext { void CommitChanges(); void Send(OutgoingMessage message); void ReceiveLater(TimeSpan timeSpan); void ReceiveLater(DateTimeOffset time); void SuccessfullyReceived(); voi...
DNN Platform/Library/ComponentModel/InstanceComponentBuilder.cs
Mariusz11711/DNN
0
7038279
<filename>DNN Platform/Library/ComponentModel/InstanceComponentBuilder.cs // 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 information namespace DotNetNuke.ComponentModel { ...
AnticaptchaNet.Core/ApiMethodUrl.cs
Shifu462/AnticaptchaNet
3
7038280
namespace AnticaptchaNet { struct ApiMethodUrl { private const string ApiLink = "https://api.anti-captcha.com/"; public const string CreateTask = ApiLink + "createTask"; public const string GetTaskResult = ApiLink + "getTaskResult"; public const string GetBalance = ApiLi...
sdk/src/Services/IoTSiteWise/Generated/Model/AssetRelationshipSummary.cs
philasmar/aws-sdk-net
1
7038281
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
scripts/BouncingEnemy.cs
ellisdobson20061/GameOff2020-ellisjames20061
0
7038282
<reponame>ellisdobson20061/GameOff2020-ellisjames20061<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class BouncingEnemy : MonoBehaviour { Rigidbody2D rb; private float jumpForce; public GameObject Player; // Start is called befor...
Recursivefactiorial/Program.cs
minkikim19/start3
0
7038283
<reponame>minkikim19/start3<filename>Recursivefactiorial/Program.cs<gh_stars>0 using System; namespace Recursivefactiorial { class Program { static void Main(string[] args) { const ulong FACTORIAL = 10; Console.WriteLine(NonRecursiverFactorial(FACTORIAL)); ...
Ramda.NET.Tests/Flatten.cs
sagifogel/Ramda.NET
25
7038284
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Dynamic; using System.Collections.Generic; using System.Linq; namespace Ramda.NET.Tests { [TestClass] public class Flatten { private readonly object[] nest = new object[] { 1, new[] { 2 }, new object[] { 3, new[] { 4, 5...
AgileMapper.PerformanceTesting/TestClasses/Deep.cs
WeiiWang/AgileMapper
440
7038285
namespace AgileObjects.AgileMapper.PerformanceTesting.TestClasses { using System.Collections.Generic; public static class Deep { public class Customer { public int Id { get; set; } public string Name { get; set; } public decimal? Credit { get; set; } ...
src/soa/SessionLauncher/Impls/SchedulerDelegations/AzureBatch/AzureBatchSchedulerDelegation.cs
dubrie/Telepathy
1
7038286
<reponame>dubrie/Telepathy<gh_stars>1-10 // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace Microsoft.Telepathy.Internal.SessionLauncher.Impls.SchedulerDelegations.AzureBatch { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq...
Assets/dotnow/Tools/BindingGenerator/Scripts/BindingsGeneratorService.cs
scottyboy805/dotnow-interpreter
23
7038287
#if !UNITY_DISABLE #if UNITY_EDITOR && NET_4_6 using System; using System.Reflection; using dotnow.BindingGenerator.Emit; namespace dotnow.BindingGenerator { public sealed class BindingsGeneratorService { // Public public bool generateProxyBindings = true; // Methods public Bi...
Assets/Code/Repositories/Models/UpgradesSaveModel.cs
DSvinka/2DMobileGame
0
7038288
<gh_stars>0 using UnityEngine; namespace Code.Repositories.Models { public sealed class UpgradesSaveModel { public static string GunUpgradeIDKey = nameof(GunUpgradeIDKey); public static string ArmorUpgradeIDKey = nameof(ArmorUpgradeIDKey); public static string BulletUpgradeIDKey = name...
csharp-oop/06.InterfacesAbstractionExercise/E08.CollectionHierarchy/Core/Engine.cs
vassdeniss/software-university-courses
7
7038289
using E08.CollectionHierarchy.Contracts; using E08.CollectionHierarchy.Models; using System; using System.Collections.Generic; using System.Linq; namespace E08.CollectionHierarchy.Core { public class Engine : IRunnable { private readonly AddCollection addCollection; private readonly AddRemoveC...
src/OpenVASP.CSharpClient/Internals/Cryptography/ECDH_Key.cs
toxeus/ov-client
1
7038290
using System; using System.Security.Cryptography; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.RLP; using OpenVASP.CSharpClient.Internals.Utils; using Org.BouncyCastle.Asn1.Sec; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Agreement; using Org.BouncyCast...
WindowsPcl/ResponseData.cs
tatihoffman/windows_sdk
0
7038291
using System; using System.Collections.Generic; namespace AdjustSdk.Pcl { public abstract class ResponseData { internal ActivityKind ActivityKind { get; set; } internal bool WillRetry { get; set; } internal Dictionary<string, string> JsonResponse { get; set; } internal string M...
RazorPDF.Legacy/Text/Document.cs
DesignLiquido/RazorPDF2
11
7038292
using System; using System.Collections; /* * $Id: Document.cs,v 1.45 2008/05/25 13:08:44 psoares33 Exp $ * * * Copyright 1999, 2000, 2001, 2002 by <NAME>. * * The contents of this file are subject to the Mozilla Public License Version 1.1 * (the "License"); you may not use this file except in compliance with t...
Source/Algorithm.cs
GridProtectionAlliance/HistorianDataCompletenessReporter
1
7038293
<reponame>GridProtectionAlliance/HistorianDataCompletenessReporter<filename>Source/Algorithm.cs using System; using System.Collections.Generic; using System.Linq; using GSF.Diagnostics; using HistorianDataCompletenessReporter.HistorianAPI; using HistorianDataCompletenessReporter.HistorianAPI.Metadata; using System.Dia...
src/Worker/Worker.cs
marciojustino/netcore-robot
0
7038294
namespace Worker { using System.Threading.Tasks; using System.Threading; using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Abstraction.Configuratio...
SV.Builder.WorkoutManagement.Tests/RoundTests/RoundExercisesTests.cs
peterfournier/SoftwareVets.WorkoutBuilder
0
7038295
using NUnit.Framework; using SV.Builder.WorkoutManagement; using System; using System.Linq; namespace SV.Builder.WorkoutManagement.Tests.RoundTests { public class RoundExercisesTests { private Workout workout; [SetUp] public void Setup() { workout = new Workout("Wo...
src/CachingManager/Abstraction/ICacheEntry.cs
almez/CachingManager
0
7038296
<reponame>almez/CachingManager using System; namespace CachingManager.Abstraction { public interface ICacheEntry<TValue, TKey> where TValue : IMesurable { TKey Key { get; } TValue Value { get; } DateTime CreatedUtc { get; } DateTime LastAccessedUtc { get; } int HitC...
RoboSharp/Results/RoboCopyResultsStatus.cs
glienard/RoboSharp
177
7038297
namespace RoboSharp.Results { public class RoboCopyExitStatus { /// <summary> /// Initializes a new instance of the <see cref="T:System.Object"/> class. /// </summary> public RoboCopyExitStatus(int exitCodeValue) { ExitCodeValue = exitCodeValue; } ...
beta-private/api/NHSD.GPITF.BuyingCatalog/NHSD.GPITF.BuyingCatalog.Datastore.CRM/LongTermCachedDatastore.cs
TrevorDArcyEvans/NHSBuyingCatalogue
0
7038298
<gh_stars>0 using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using NHSD.GPITF.BuyingCatalog.Interfaces; namespace NHSD.GPITF.BuyingCatalog.Datastore.CRM { public abstract class LongTermCachedDatastore<T> : CachedDatastoreBase<T> { protected LongTermCachedDatastore( ILogger<C...
src/Rocksmith2014.XML/Vocal.cs
iminashi/Rocksmith2014.NET
16
7038299
using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace Rocksmith2014.XML { /// <summary> /// Represents a vocal in a vocals arrangement. /// </summary> public sealed class Vocal : IHasTimeCode, IXmlSerializable { /// <summary> ...
data/train/csharp/8b8dcc36647f821ffe1a51efe191ba8a4f0f900cCodeVisitor.cs
aliostad/deep-learning-lang-detection
84
7038300
<gh_stars>10-100 // 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. namespace Microsoft.AspNet.Razor.Generator.Compiler { public class CodeVisitor<T> : ChunkVisitor<T> where T : Code...
.NET Standard/Sucker/SuckerInterpreter/Cons.cs
LiangJianyi/SundryUtilty
0
7038301
<filename>.NET Standard/Sucker/SuckerInterpreter/Cons.cs using System.Collections; using System.Collections.Generic; namespace JymlAST { public class Cons : IEnumerable<object> { public object car; public object cdr; Cons() : this(null) { } public Cons(object car) : this(car, nul...
tests/DqtApi.Tests/DataverseIntegration/FindTeachersTests.cs
DFE-Digital/qualified-teachers-api
2
7038302
<filename>tests/DqtApi.Tests/DataverseIntegration/FindTeachersTests.cs using System; using System.Collections.Generic; using System.Linq; using DqtApi.DataStore.Crm; using DqtApi.DataStore.Crm.Models; using Xunit; namespace DqtApi.Tests.DataverseIntegration { public class FindTeachersTests : IClassFixture<FindTea...
CSharp/GetReferencedCommand.cs
JamesTryand/ShowUI
156
7038303
namespace ShowUI { using System; using System.Collections.Generic; using System.Management.Automation; using System.Collections.ObjectModel; public class GetReferencedCommand { public static IEnumerable<CommandInfo> GetReferencedCommands(ScriptBlock scriptBlock, EngineIntrinsics e...
Framework/PressPlay.FFWD.Test/Core framework/WhenSettingActiveOnAGameObject.cs
fehaar/FFWD
20
7038304
<reponame>fehaar/FFWD using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace PressPlay.FFWD.Test.Core_framework { [TestFixture] public class WhenSettingActiveOnAGameObject { [Test] public void TheChildrenWillNotBeA...
src/P2P/Messages/AddrPayload.cs
ngdseattle/neo-fx
6
7038305
<reponame>ngdseattle/neo-fx using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using DevHawk.Buffers; using NeoFx.Storage; namespace NeoFx.P2P.Messages { public readonly struct AddrPayload : IWritable<AddrPayload> { public readonly ImmutableArray<NodeAddress> Addresses; ...
wk-cognitive/Cognitive.Core/Models/TTSRequest.cs
wkabbani/microservices
4
7038306
<reponame>wkabbani/microservices using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace Cognitive.Core.Models { public class TTSRequest { [Required] public string Text { get; set; } privat...
Abp.Genisys/Logging/ILoggerGenisys.cs
YannTru/TicTacToeWeb
0
7038307
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Castle.Core.Logging; namespace Abp.Logging { /// <summary> /// Extend ILogger to be able to log extra properties /// </summary> public interface ILoggerGenisys : ILogger { ...
ExampleShaderEditorApp/ViewModels/Nodes/MathNodeViewModel.cs
xorza/NodeNetwork
493
7038308
<filename>ExampleShaderEditorApp/ViewModels/Nodes/MathNodeViewModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using DynamicData; using ExampleShaderEditorApp.Model; using ExampleShaderEditorApp.ViewModels.Editors; ...
src/unit-tests/ActorsTest.cs
negupt/bluebell
0
7038309
using Helium; using Helium.Controllers; using Helium.Model; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Moq; using System.Linq; using Xunit; namespace UnitTests { public class ActorsTest { private readonly Mock<ILogger<ActorsController>> logger = new Mock<ILogger<ActorsCon...
OneTimeUseCache/OneTimeUseObject.cs
m-etehadi/OneTimeUseCache
0
7038310
<reponame>m-etehadi/OneTimeUseCache using System; using System.Collections.Generic; using System.Text; namespace OneTimeUseCache { public abstract class OneTimeUseObject { public abstract string Key { get; set; } public DateTime Created { get; private set; } public OneTimeUseObject() ...
HW15StructuralDesignPatterns/Pattern6.Adapter/RichCompound.cs
MarinMarinov/High-Quality-Code
0
7038311
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pattern6.Adapter { internal class RichCompound : ICompound { private readonly string chemical; private readonly float boilingPoint; private readonly float melti...
generated/src/TeamCity/Model/ProblemScopeDto.cs
NikolayPianikov/teamcity.client
0
7038312
/* * TeamCity REST API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2018.1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using ...
src/ApiGenerator/CodeTemplatePage.cs
JTOne123/elasticsearch-net
2,851
7038313
<reponame>JTOne123/elasticsearch-net // Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Threading.Tasks; using RazorLight; namespace ApiG...
src/ActivityStreams.Tests/Feeds/When_closing_a_feed_which_is_already_closed.cs
Elders/ActivityStreams
5
7038314
<reponame>Elders/ActivityStreams<filename>src/ActivityStreams.Tests/Feeds/When_closing_a_feed_which_is_already_closed.cs //using System; //using System.Text; //using Machine.Specifications; //namespace ActivityStreams.Tests.Feeds //{ // [Subject("Feeds")] // public class When_closing_a_feed_which_is_already_clo...
tools/JavaToCSharp/Rules/skiplineRule.cs
Cy-Team/npoi
1,012
7038315
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace JavaToCSharp.Rules { public class skiplineRule:Rule { public override bool Execute(string strOrigin, out string strOutput, int iRowNumber) { Regex regex = new Regex(@"...
src/SoftPosit.Net/Posits/Internal/p8_floor.cs
fgretief/SoftPosit.Net
0
7038316
<filename>src/SoftPosit.Net/Posits/Internal/p8_floor.cs<gh_stars>0 // SPDX-License-Identifier: MIT namespace System.Numerics.Posits.Internal { using posit8_t = Posit8; internal static partial class Native { public static posit8_t p8_floor(posit8_t a) { var (sign, uiA) = a; ...
src/Nest/DSL/Query/FuzzyDateQueryDescriptor.cs
Bloomerang/elasticsearch-net
0
7038317
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using Nest.DSL.Query.Behaviour; using Newtonsoft.Json; using System.Linq.Expressions; using System.Globalization; namespace Nest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public interface IFuzzyDateQuery : IFuzzyQue...
PrimeServer/PrimeServer/PrimeGenerator.cs
Seter17/Distributed-Prime-Search
1
7038318
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace PrimeServer { public class PrimeGenerator { private object lockObj = new object(); public PrimeGenerator(BigInteger start, TimeSpan timeout, int ...
Source/PoshSSH/PoshSSH/NewSshOpenSSHStore.cs
alexander7567/Posh-SSH
815
7038319
using System.IO; using System.Linq; using Renci.SshNet.Common; using System; using System.Collections.Generic; using System.Management.Automation; namespace SSH { [Cmdlet(VerbsCommon.Get, "SSHOpenSSHKnownHost")] public class SshOpenSSHStore : PSCmdlet { /// <summary> /// The local file to...
CloudRoboticsApi/ServerCode_Api/RbAppConversationApi/RbAppConversationApi/ReqBody.cs
seijim/cloud-robotics-azure-platform-v1-sdk
8
7038320
<reponame>seijim/cloud-robotics-azure-platform-v1-sdk using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RbAppConversationApi { public class ReqBody { public string visitor { set; get; } public string visitor_id { set; ...
GBX.NET/Engines/GameData/CGameBlockItem.cs
ThaumicTom/gbx-net
0
7038321
<reponame>ThaumicTom/gbx-net using System.Collections.Generic; using GBX.NET.Engines.Plug; using GBX.NET.Engines.MwFoundations; namespace GBX.NET.Engines.GameData { [Node(0x2E025000)] public class CGameBlockItem : CMwNod { #region Fields private string archetypeBlockInfoId; priva...
Assets/Scripts/Button.cs
eXish/ktanemod-semaphore
0
7038322
<filename>Assets/Scripts/Button.cs using System; using UnityEngine; public class Button : MonoBehaviour { public KMSelectable Selectable; public KMAudio Audio; public Animator Animator; private void Start() { Selectable.OnInteract += OnInteract; } private bool OnInteract() { ...
RestSharp/Authenticators/OAuth/OAuthSignatureMethod.cs
NickHeap/RestSharp-Advanced
2
7038323
<gh_stars>1-10 using System; using System.Runtime.Serialization; namespace RestSharp.Authenticators.OAuth { #if !SILVERLIGHT && !WINDOWS_PHONE && !WINDOWS_UWP [Serializable] #endif #if WINDOWS_UWP [DataContract] #endif public enum OAuthSignatureMethod { HmacSha1, HmacSha256, Pla...
TrueCraft.Core/Networking/Packets/BlockChangePacket.cs
woodvale/TrueCraft
10
7038324
using System; namespace TrueCraft.Core.Networking.Packets { public struct BlockChangePacket : IPacket { public byte ID { get { return 0x35; } } public BlockChangePacket(int x, sbyte y, int z, sbyte blockID, sbyte metadata) { X = x; Y = y; Z = z; ...
Kujikatsu070/Kujikatsu070/Kujikatsu070/Questions/QuestionE.cs
terry-u16/AtCoder
0
7038325
<reponame>terry-u16/AtCoder using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Kujikatsu070.Algorithms; using Kujikatsu070.Collections; using Kujikatsu070.Extensions; using Kujikatsu07...
samples/Pictogram.Samples.WinForms/Custom/Untitled.cs
ennerperez/pictograms
11
7038326
using System; using System.Collections.Generic; using System.Drawing.Pictograms.Attributes; using System.Linq; using System.Text; namespace Pictogram.Samples.WinForms { [Pictogram("Untitled", "Untitled")] public class Untitled : System.Drawing.Pictogram { #region Singleton /// <summary> ...
Assets/Plugins/CodeStage/AdvancedFPSCounter/Scripts/Editor/EditorUIUtils.cs
Plimsky/Stress-Test
1
7038327
#if UNITY_EDITOR using UnityEditor; using UnityEngine; namespace CodeStage.AdvancedFPSCounter.Editor.UI { internal struct EditorUIUtils : System.IDisposable { public static GUIStyle richBoldFoldout; public static GUIStyle richMiniLabel; public static GUIStyle line; public static GUIStyle panelWithBackground...
Rebus.SimpleInjector/SimpleInjectorConfigurationExtensions.cs
GrzegorzBlok/Rebus.SimpleInjector
0
7038328
<filename>Rebus.SimpleInjector/SimpleInjectorConfigurationExtensions.cs using System; using System.Collections.Generic; using System.Linq; using Rebus.Bus; using Rebus.Bus.Advanced; using Rebus.Config; using Rebus.Messages; using Rebus.Pipeline; using Rebus.Transport; using SimpleInjector; namespace Rebus.SimpleInjec...
CefNet/Generated/Managed/Enums/CefJsonWriterOptions.cs
bakingam1983/CefNet
2
7038329
// -------------------------------------------------------------------------------------------- // Copyright (c) 2019 The CefNet Authors. All rights reserved. // Licensed under the MIT license. // See the licence file in the project root for full license information. // ------------------------------------------------...
SharpCrokite.DataAccess/Migrations/20211025022507_AddMaterialNavigationProperty.cs
scott-downey/sharp-crokite
0
7038330
using Microsoft.EntityFrameworkCore.Migrations; namespace SharpCrokite.DataAccess.Migrations { public partial class AddMaterialNavigationProperty : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<int>( name: "...
trunk/DefaultCombat/Routines/Advanced/Commando/Gunnery.cs
aevitas/BuddyWing.DefaultCombat
7
7038331
// Copyright (C) 2011-2018 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using Buddy.CommonBot; using DefaultCombat.Core; using DefaultCombat.Helpers; using Targeting = DefaultCombat.Core.Targeting; namespace DefaultCombat.Routines { public clas...
src/EFTools/EntityDesign/UI/ViewModels/PropertyWindow/Converters/EnumUnderlyingTypeConverter.cs
sharwell/ef6tools
9
7038332
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace Microsoft.Data.Entity.Design.UI.ViewModels.PropertyWindow.Converters { using System.Linq; using Microsoft.Data.Entity.Design.Core.Controls; using Micro...
sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/Models/KnowledgeBaseAnswerPrompt.cs
gansvv/azure-sdk-for-net
0
7038333
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.AI.Language.Conversations.Models { /// <summary> Prompt for an answer. </summary> public partial class KnowledgeBaseAnswerPrompt { /// <summary> I...
src/Microsoft.Maui.Graphics.Win2D.WinUI.Desktop/W2DCanvasStateService.cs
junior-ts/Microsoft.Maui.Graphics
0
7038334
<reponame>junior-ts/Microsoft.Maui.Graphics namespace Microsoft.Maui.Graphics.Win2D { public class W2DCanvasStateService : ICanvasStateService<W2DCanvasState> { public W2DCanvasState CreateNew(object context) { return new W2DCanvasState((W2DCanvas)context); } public W2DCanvasState CreateCopy(W2DCanvasSta...