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/sdk/PnP.Core/Model/Teams/Public/ITeam.cs
MathijsVerbeeck/pnpcore
0
7042024
<reponame>MathijsVerbeeck/pnpcore using PnP.Core.Model.Security; using System; using System.Linq; using System.Threading.Tasks; namespace PnP.Core.Model.Teams { /// <summary> /// Public interface to define a Team object of Microsoft Teams /// </summary> [ConcreteType(typeof(Team))] public interfac...
ADHApi/Helpers/UserClaims.cs
AhmedDuraid/ADH-Medical-System
0
7042025
<filename>ADHApi/Helpers/UserClaims.cs using System.Collections.Generic; using System.Security.Claims; namespace ADHApi.Helpers { public class UserClaims : IUserClaims { public List<string> GetUserRole(IEnumerable<Claim> claims) { List<string> UserRoles = new List<string>(); ...
Assets/Scripts/EnemyScript.cs
Unisep/space-shooter
1
7042026
<filename>Assets/Scripts/EnemyScript.cs using UnityEngine; using System.Collections; public class EnemyScript : MonoBehaviour { public GameObject prefExplosaoEnemy; public GameObject prefabLaser; // private Blink turbinaEsq; // private Blink turbinaDir; // private Blink ship; private ControleVidaScript vida; ...
src/Open.Journaling.Azure.Tests/JournalPerformanceTests.cs
kaleho/open-journaling-azure
0
7042027
<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using Microsoft.Extensions.Logging.Abstractions; using Open.Journaling.Azure.Journals; using Open.Journaling.Model; using Open.Monikers; using Xunit; using Xunit.Abstractions; namespace Open...
src/SJP.Schematic.Reporting/Html/ReportingRazorProject.cs
sjp/Schematic
4
7042028
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using RazorLight.Razor; namespace SJP.Schematic.Reporting.Html { internal sealed class ReportingRazorProject : RazorLightProject { public ReportingRazorProject(ITemplateProvider templateProvider)...
WpfKb/LogicalKeys/MultiCharacterKey.cs
pptik/photobooth-pptik
1
7042029
using System; using System.Collections.Generic; using WindowsInput; namespace WpfKb.LogicalKeys { public class MultiCharacterKey : VirtualKey { private int _selectedIndex; public IList<string> KeyDisplays { get; protected set; } public string SelectedKeyDisplay { get; protected set; } ...
Samples/googlelocation/MyDataSource.cs
Workerbee/MLPAutoComplete-Xamarin-iOS
0
7042030
<reponame>Workerbee/MLPAutoComplete-Xamarin-iOS using Foundation; using MLPAutoComplete; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System; namespace googlelocation { public class MyDataSource : IMLPAutoCompleteTextFieldDataSource { private M...
src/Playwright.Tests/BrowserContextCSPTests.cs
interiv/playwright-sharp
0
7042031
using System.Threading.Tasks; using Microsoft.Playwright.NUnitTest; using NUnit.Framework; namespace Microsoft.Playwright.Tests { [Parallelizable(ParallelScope.Self)] public class BrowserContextCSPTests : BrowserTestEx { [PlaywrightTest("browsercontext-csp.spec.ts", "should bypass CSP meta tag")] ...
test/EntityFramework.Core.FunctionalTests/ChangeTrackingTestBase.cs
craiggwilson/EntityFramework
0
7042032
// 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.Linq; using Microsoft.Data.Entity.FunctionalTests.TestModels.Northwind; using Xunit; namespace Microsoft.Data.Entity.Fun...
src/ProSuite.QA.Tests/Network/QaGroupNetworkBase.cs
ProSuite/ProSuite
5
7042033
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using ESRI.ArcGIS.Geodatabase; using ProSuite.QA.Container; using ProSuite.QA.Container.PolygonGrower; using ProSuite.QA.Tests.IssueCodes; using ProSuite.Commons.Collections; using ProSuite.Commons.Essentials.Assert...
src/Core/TypeTag.cs
Stephanvs/Mingle
0
7042034
<filename>src/Core/TypeTag.cs using System; using LanguageExt; namespace Mingle { public interface TypeTag : IComparable { Key Key { get; } } public interface BranchTag : TypeTag { } public sealed class MapT : Record<MapT>, BranchTag { public MapT(Key key) { ...
HepsiBurada_Week2/Ecommerce.Application/Categories/CategoryProfile.cs
Hepsiburada-Backend-Bootcamp/Homework2_MehmetAliAydogan
0
7042035
<reponame>Hepsiburada-Backend-Bootcamp/Homework2_MehmetAliAydogan using AutoMapper; using ECommerce.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ecommerce.Application.Categories { public class CategoryProfile : Profi...
ADProject_Team10/Dept/RequisitionApprovalDetailPage.aspx.designer.cs
kylerlee/Stationery-Store-Inventory-System-Web-App
0
7042036
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
src/Commands/AdvSave.cs
blipson89/AdvancedImager
0
7042037
<gh_stars>0 using System; using System.Collections.Specialized; using System.Drawing; using System.IO; using AdvancedImager.Utility; using Sitecore; using Sitecore.Data.Items; using Sitecore.Data.Managers; using Sitecore.Data.Templates; using Sitecore.Diagnostics; using Sitecore.Resources.Media; using Sitec...
Open-Lab-04.06/Numbers.cs
janosheen/Open-Lab-04.06
0
7042038
<filename>Open-Lab-04.06/Numbers.cs using System; using System.Collections.Generic; namespace Open_Lab_04._06 { public class Numbers { public int[] NoOdds(int[] numbers) { List<int> arrList = new List<int>(); foreach (int number in numbers) { ...
Performance/Monitoring/CpuMonitor.cs
SIGAN/Performance
0
7042039
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; namespace Performance.Monitoring { public class CpuMonitor : IMonitor { private CpuTemp[] Min { get; set; } private CpuTemp[] Max { get; set; } public Cpu...
FilmViewer.Business/Services/MetadataService.cs
dkleczko/FilmViewer
0
7042040
using FilmViewer.Business.Abstract.Services; using FilmViewer.Business.Dto.Domain; using FilmViewer.Business.Enums; using FilmViewer.Business.Mappings; using FilmViewer.DAL.Abstract.Uow; using FilmViewer.DAL.Model; namespace FilmViewer.Business.Services { public class MetadataService : IMetadataService { ...
src/MailCheck.Mx.Contracts/SharedDomain/SignatureHashAlgorithm.cs
ukncsc/MailCheck.Public.Mx
0
7042041
namespace MailCheck.Mx.Contracts.SharedDomain { public enum SignatureHashAlgorithm : ushort { SHA512_RSA = 0x0601, SHA512_DSA = 0x0602, SHA512_ECDSA = 0x0603, SHA384_RSA = 0x0501, SHA384_DSA = 0x0502, SHA384_ECDSA = 0x0503, SHA256_RSA = 0x0401, SH...
src/Profiler.Demo.Stopwatch/ProfilerConfigurationSettingsExtensions.cs
r-alekseev/Profiler.Net
2
7042042
using static Profiler.Demo.Stopwatch.Program; namespace Profiler.Demo.Stopwatch { public static class ProfilerConfigurationSettingsExtensions { public static IProfilerConfiguration UseConsoleTraceWriter(this IProfilerConfiguration settings) => settings .UseTraceWriter(create: () => ...
BlazorWasmJSInteropExamples/BlazorWasm.Toastr/Services/ServiceCollectionExtension.cs
domingoladron/LearnBlazor.JavascriptInterop
0
7042044
using Microsoft.Extensions.DependencyInjection; namespace BlazorWasm.Toastr.Services { public static class ServiceCollectionExtension { public static IServiceCollection AddBlazorToastr(this IServiceCollection services) => services.AddScoped<ToastrService>(); } }
TubumuMeeting.Mediasoup/DataProducer/DataProducerOptions.cs
694296033/TubumuMeeting
1
7042046
using System.Collections.Generic; namespace TubumuMeeting.Mediasoup { public class DataProducerOptions { /// <summary> /// DataProducer id (just for Router.pipeToRouter() method). /// </summary> public string? Id { get; set; } /// <summary> /// SCTP parameters ...
src/KendoGridFASMS/KendoGridFASMS/Models/Filters.cs
tayyabnasir22/Kendo-JQuery-Grid-Server-Filtering-Sorting-Aggregate-Mapping
5
7042047
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KendoGridParameterParser.Models { /// <summary> /// Represents the Kendo Source Request Filters /// </summary> public class Filters { /// <summary> ...
src/Annotation.cs
Lannata/Sber.SmartApp.Models
1
7042048
using Newtonsoft.Json; namespace Sber.SmartApp.Models { public class Annotation { [JsonProperty(PropertyName = "classes")] public string[] Classes { get; set; } [JsonProperty(PropertyName = "probas")] public float[] Probas { get; set; } } }
src/tests/SoloX.BlazorJsonLocalization.UTests/Core/StringLocalizerProxyTest.cs
xaviersolau/BlazorJsonLocalizer
5
7042049
// ---------------------------------------------------------------------- // <copyright file="StringLocalizerProxyTest.cs" company="<NAME>"> // Copyright © 2021 <NAME>. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. // </copyright> // --------------------------...
Snowflake.Data/Core/SFResultChunk.cs
jshelby-stratus/snowflake-connector-net
0
7042050
/* * Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved. */ namespace Snowflake.Data.Core { internal class SFResultChunk : IResultChunk { public string[,] rowSet { get; set; } public int rowCount { get; set; } public int colCount { get; set; } ...
Mqb.Data/Descriptors/IHasDataType.cs
mattbragaw/mqb
0
7042051
using Mqb.Descriptors.Models; using System; using System.Collections.Generic; using System.Text; namespace Mqb.Descriptors { public interface IHasDataType_R { IDataType DataType { get; } } public interface IHasDataType_RW { IDataTypeMutable DataType { get; set; } } }
src/DynamoCoreWpf/Views/Debug/DebugModesWindow.xaml.cs
filipeotero/Dynamo
1,202
7042052
using System; using System.Collections.Generic; using System.Windows; using Dynamo.Utilities; namespace Dynamo.Wpf.Views.Debug { /// <summary> /// Interaction logic for DebugModesWindow.xaml /// </summary> public partial class DebugModesWindow : Window { /// <summary> /// Construct...
src/Umbra/ViewModels/Explorer/FileBrowserViewModel.cs
akuseru/Lumina
1
7042053
<filename>src/Umbra/ViewModels/Explorer/FileBrowserViewModel.cs using System; using System.Collections.ObjectModel; using System.Linq; using System.Reactive; using MahApps.Metro.IconPacks; using ReactiveUI; using Umbra.Models; namespace Umbra.ViewModels.Explorer { using FsNodeCollection = ObservableCollection< Fil...
Unity/Assets/UVMBinding/Runtime/Log/Log.Generated.cs
yazawa-ichio/UVMBinding
1
7042054
// Generate [UVMBinding/Generate/LoggerGenerate] namespace UVMBinding.Logger { public static partial class Log { [System.Diagnostics.Conditional("UVMB_LOG_ALL")] [System.Diagnostics.Conditional("UVMB_LOG_TRACE_OR_HIGHER")] public static void Trace(string message) { if (Level < LogLevel.Trace) return; H...
sdk/dotnet/GetStorageClassV2.cs
pulumi/pulumi-rancher2
3
7042055
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
StormFN ConsoleApp/Storm.cs
StormzyGlitches/StormFN-ConsoleApp
17
7042056
<filename>StormFN ConsoleApp/Storm.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Storm { class Storm { public static void Log(string message) { Console.Foreg...
Orders/Services/CustomerService.cs
TechGeeky/example-orders
29
7042057
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Orders.Models; namespace Orders.Services { public class CustomerService : ICustomerService { private IList<Customer> _customers; public CustomerService() ...
FashionGo/Models/ShoppingCart.cs
tuandq2711/WebApplicationFashion
0
7042059
namespace FashionGo.Models { using FashionGo.Models.Entities; using System.Collections.Generic; using System.Linq; using System.Web; public class ShoppingCart { // Chứa các mặt hàng đã chọn public List<Product> Items = new List<Product>(); public int Count { ...
src/Din.Domain.Queries/Movies/GetMovieCalendarQueryHandler.cs
D4N3-777/din-api
1
7042061
<reponame>D4N3-777/din-api using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Din.Domain.Clients.Radarr.Interfaces; using Din.Domain.Clients.Radarr.Responses; using MediatR; namespace Din.Domain.Queries.Movies { public class GetMovieCalendarQueryHandler : IRequestHandler...
BolaoNet.Application/Campeonatos/CampeonatoGrupoApp.cs
Thoris/BolaoNet
0
7042062
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BolaoNet.Application.Campeonatos { public class CampeonatoGrupoApp : Base.GenericApp<Domain.Entities.Campeonatos.CampeonatoGrupo>, Application.Interfaces.Campeonatos.ICampe...
Controllers/AnswerController.cs
zacpwhite/Jeopardy
1
7042063
<gh_stars>1-10 using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; using AutoMapper; using Jeopardy.Data; using Jeopardy.Models.ViewModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; names...
AdventOfCode2019/AdventOfCode2019.Puzzles.Intcode/IntcodeProgram.cs
tibitoth/AdventOfCode2019
1
7042064
<filename>AdventOfCode2019/AdventOfCode2019.Puzzles.Intcode/IntcodeProgram.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Channels; using System.Threading.Tasks; using AdventOfCode2019.Puzzles.Intcode.Instructions; using AdventOfCode2019.Puzzles.Intcode.In...
ModernUIDoneRight/Objects/Colors/DefaultColors.cs
SammyEnigma/ModernUIDoneRight
27
7042066
<filename>ModernUIDoneRight/Objects/Colors/DefaultColors.cs using System.Drawing; namespace NickAc.ModernUIDoneRight.Objects { public static class DefaultColors { public static Color Red => Color.FromArgb(213, 0, 0); public static Color Blue => Color.FromArgb(2, 119, 189); public stati...
bam.net.schema.org/Schema.Org/Things/UnitPriceSpecification.cs
BryanApellanes/bamsdo
0
7042067
using Bam.Net.Schema.Org.DataTypes; namespace Bam.Net.Schema.Org.Things { ///<summary>The price asked for a given offer by the respective organization or person.</summary> public class UnitPriceSpecification: PriceSpecification { ///<summary>This property specifies the minimal quantity and rounding increment that...
opcua-to-prometheus/Models/Configuration.cs
Dynamics-BE/opcua-to-prometheus
2
7042068
<filename>opcua-to-prometheus/Models/Configuration.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace opcua_to_prometheus.Models { public class Configuration { public int SubscriptionInterval { get; set; } public string O...
tests/Benchmark/FormatterBenchmark.cs
NuKeeperBot/JustEat.StatsD
0
7042070
<reponame>NuKeeperBot/JustEat.StatsD<gh_stars>0 using BenchmarkDotNet.Attributes; using JustEat.StatsD; namespace Benchmark { [MemoryDiagnoser] public class FormatterBenchmark { private readonly StatsDMessageFormatter _formatter = new StatsDMessageFormatter("test.prefix"); [Benchmark] ...
telegram-payments/src/TelegramPay/Messages/InputInvoiceMessageContent.cs
bcc-code/bcc-search
0
7042071
using System.Collections.Generic; using Telegram.Bot.Types.Payments; namespace TelegramPay.Messages { public class InputInvoiceMessageContent { public string Title { get; } public string Description { get; } public string Payload { get; } public string ProviderToken { get; } ...
CobaltStrikeScan/GetInjectedThreads/Structs/THREAD_ACCESS.cs
RakhithJK/CobaltStrikeScan
678
7042072
namespace GetInjectedThreads { public enum ThreadAccess : int { Terminate = 0x0001, SuspendResume = 0x0002, GetContext = 0x0008, SetContext = 0x0010, SetInformation = 0x0020, QueryInformation = 0x0040, SetThreadToken = 0x0080, Impersonate = 0x0100...
src/asm.data/src/sources/xed/literals/LookupKind.cs
0xCM/z0
0
7042073
<gh_stars>0 //----------------------------------------------------------------------------- // Copyright : Intel Corporation, 2020 // License : Apache // Source : xed-iclass-enum.h //----------------------------------------------------------------------------- namespace Z0 { partial struct XedModels ...
CryptoCalculator/ReversePolishNotation.cs
Kucheryavsky/CryptoCalculator
1
7042074
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CryptoCalculator { class ReversePolishNotation { //Метод Calculate принимает выражение в виде строки и возвращает результат, в своей работе использу...
DncAdmin.Api/Auth/JwtBearerAuthenticationExtension.cs
UncleSprite/DncAdmin-
0
7042075
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.IdentityModel.Tokens; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; namespace DncAdmin.Api.Auth { public static class JwtBearerAuthenticationExtension { ...
CoreCms.Net.Web.Admin/Controllers/Agent/CoreCmsAgentGoodsController.cs
toolgood/CoreShop
0
7042076
/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * ...
Assets/Scripts/HandManager.cs
zyouyowa/ShapeExpression
0
7042077
<reponame>zyouyowa/ShapeExpression using UnityEngine; using Kinect = Windows.Kinect; public class HandManager : MonoBehaviour { [SerializeField] private BodySourceView _view; private GameObject _handObj_R; private GameObject _handObj_L; public Transform hand_R { get; private set; } public Transfo...
src/SFA.DAS.OnBoardingTool.Infrastructure/Api/Atlassian/ApiClient.cs
SkillsFundingAgency/das-onboarding
0
7042078
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using SFA.DAS.OnBoardingTool.Domain; using SFA.DAS.OnBoardingTool.Infrastructure.Configuration; u...
src/Microsoft.Graph/Generated/model/EducationRubric.cs
Aliases/msgraph-sdk-dotnet
474
7042079
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
HProject/Domain/MenuItem.cs
airfoot/HProject
1
7042081
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HProject.Domain { public class MenuItem { public Guid Id { get; set; } public string Area { get; set; } public string Controller { get; set; } public string Action { get; set; } ...
Assets/RTS Effects/Demo/Scripts/RTSClickSpawn.cs
REFIRSER2/Rts
0
7042082
using UnityEngine; using UnityEngine.EventSystems; using System.Collections; namespace RTSFX { public class RTSClickSpawn : MonoBehaviour { Ray myRay; RaycastHit hit; public GameObject clickEffect1; public GameObject clickEffect2; public GameObject clickEffect3; public GameObject clickEffect4; public GameObject clic...
JourneyCore.Server/Net/SignalR/Services/IGameService.cs
avirule/JourneyCore
0
7042083
<gh_stars>0 using System.Collections.Generic; using System.Threading.Tasks; using JourneyCore.Lib.Game.Context.Entities; using JourneyCore.Lib.Game.Environment.Mapping; using JourneyCore.Lib.Game.Environment.Metadata; using JourneyCore.Lib.System; using Microsoft.Extensions.Hosting; using SFML.System; namespace Journ...
Wbs.Everdigm.Web/Wbs.Everdigm.Web/main/equipment_security.aspx.designer.cs
wanbangsoftware/Everdigm
1
7042084
<filename>Wbs.Everdigm.Web/Wbs.Everdigm.Web/main/equipment_security.aspx.designer.cs<gh_stars>1-10 //------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </自动生成> //--------------------------------------------...
WDE.Solutions/SolutionFolderItemProvider.cs
jackpoz/WoWDatabaseEditor
0
7042085
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using System.Windows.Media.Imaging; using WDE.Common; using WDE.Module.Attributes; namespace WDE.Solutions { [AutoRegister] public class SolutionFolderItemProvider : ...
Twining/Commands/Window/MinimizeCommand.cs
garafu/Twining
7
7042086
namespace Twining.Commands.Window { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; public class MinimizeCommand : CommandBase { public override void Execut...
Second semester/Completed homeworks/Homework 4/Task8.UI/Task8.CurveMath/Parabola.cs
kznts9v-1lya/computer-practice
0
7042087
<filename>Second semester/Completed homeworks/Homework 4/Task8.UI/Task8.CurveMath/Parabola.cs<gh_stars>0 using System; using System.Collections.Generic; namespace Task8.CurveMath { public class Parabola : Curve { public Parabola(float p, float defenitionArea) : base("Parabola", "y^...
src/Spark.Engine/Service/FhirServiceExtensions/PatchService.cs
dreamofsnail/spark
0
7042088
<filename>src/Spark.Engine/Service/FhirServiceExtensions/PatchService.cs /* * Copyright (c) 2022, Incendi (<EMAIL>) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/FirelyTeam/spark/stu3/master/LICEN...
src/Photosphere.DependencyInjection/LifetimeManagement/Scopes/IPerContainerScope.cs
sunloving/photosphere.di
2
7042089
using System; using System.Collections.Concurrent; namespace Photosphere.DependencyInjection.LifetimeManagement.Scopes { internal interface IPerContainerScope : IScope { object[] AvailableInstances { get; } ConcurrentDictionary<Type, int> AvailableInstancesIndexes { get; } } }
DemoEvolution/SimulatedData.cs
paysonwelch/Insilico
1
7042090
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using Insilico; using Nucleo; namespace InsilicoDemo { public class DataSource : BaseThread { public Nucleo.EvolutionarySimulation simulation;...
src/performance/ExistsForAll.SimpleSettings.Benchmark/SimpleSettingsBenchmark.cs
existall/SimpleConf
25
7042092
using System.Linq; using BenchmarkDotNet.Attributes; using ExistForAll.SimpleSettings; namespace ExistsForAll.SimpleSettings.Benchmark { public class SimpleSettingsBenchmark { [Benchmark] public void Run() { var settingsBuilder = SettingsBuilder.CreateBuilder(); var se...
Main/Source/SharpVectorDom/Events/UiEvent.cs
GuillaumeSmartLiberty/SharpVectors
0
7042093
using System; using SharpVectors.Dom.Views; namespace SharpVectors.Dom.Events { /// <summary> /// Summary description for UiEvent. /// </summary> public class UiEvent: Event, IUiEvent { #region Private Fields private IAbstractView view; private long detail; #endregion #region...
Open-Lab-01.01/Exercise.cs
andrej0123/Open-Lab-01.01
0
7042094
using System; namespace Open_Lab_01._01 { public class Exercise { public bool IsLessThan10(string input) { int x; bool result = int.TryParse(input, out x); if (x < 10) { return true; } else { ...
iRLeagueManager/Controls/HeaderedBorder.cs
SSchulze1989/iRLeagueManager
7
7042096
<reponame>SSchulze1989/iRLeagueManager // MIT License // Copyright (c) 2020 <NAME> // 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 ...
src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs
JohnMorman/orleans
7
7042097
using System; using System.Buffers; namespace Orleans.Networking.Shared { public class SocketConnectionOptions { /// <summary> /// The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool. /// </summary> /// <remarks> /// Def...
Assets/Scripts/ECSPhysics/Components/CollisionLayerComponent.cs
Natches/NeuralNetworkUnityECS
1
7042098
<reponame>Natches/NeuralNetworkUnityECS using System; using UnityEngine; using Unity.Entities; namespace ECS { namespace Physics { [Serializable] public struct CollisionLayerComponentData : ISharedComponentData { //WorkAround until boxcast, spherecast and capsulecast ECS support multihit [Tooltip(...
src/IX.StandardExtensions/StandardExtensions/Contracts/Requires.NumericTypesRangeValidation.cs
adimosh/IX.StandardExtensions
0
7042099
<filename>src/IX.StandardExtensions/StandardExtensions/Contracts/Requires.NumericTypesRangeValidation.cs // <copyright file="Requires.NumericTypesRangeValidation.cs" company="<NAME>"> // Copyright (c) <NAME> with all rights reserved. Part of the IX Framework. // </copyright> using System.Runtime.CompilerServices; nam...
dotnet/src/Carbonfrost.Commons.Spec/Src/Carbonfrost/SelfTest/Spec/AssertTests.cs
Carbonfrost/f-spec
0
7042100
#if SELF_TEST // // Copyright 2016, 2019 Carbonfrost Systems, Inc. (http://carbonfrost.com) // // 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/LICEN...
Flamingo/Condiments/HotCondiments/InlineQueryCondiment.cs
immmdreza/FlamingoFramework
3
7042101
<reponame>immmdreza/FlamingoFramework<gh_stars>1-10 using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; namespace Flamingo.Condiments.HotCondiments { /// <inheritdoc/> public class InlineQueryCondiment : CondimentBase<InlineQuery> { /// <inheritdoc/> public InlineQueryCondiment(Inlin...
Source/ITQJ.WebClient/Models/ClientCredentialsM.cs
volatile-programming/ITQJ
2
7042102
<gh_stars>1-10 namespace ITQJ.WebClient.Models { public class ClientCredentialsM { public string Authority { get; set; } public string ClientId { get; set; } public string ClientSecret { get; set; } public string APIName { get; set; } } }
Heranca/Heranca/Program.cs
rafael-calixto1/C-Sharp-Systems-Development
0
7042103
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Heranca { class Program { static void Main(string[] args) { Pai pai = new Pai(); pai.Nome = "Garrafao"; pai.Idade = 3;...
XamarinStripe/StripeDateTimeInfo.cs
xamarin/XamarinStripe
62
7042104
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; namespace Xamarin.Payments.Stripe { public class StripeDateTimeInfo : IUrlEncoderInfo { public DateTime gt { set { values["gt"] = value; } } public DateTime gte { set { values["gte"] = value; } ...
platforms/unity/UnityIntegration/Assets/ResonanceAudio/Demos/Scripts/ResonanceAudioDemo/ResonanceAudioDemoManager.cs
seba10000/resonance-audio
396
7042105
// Copyright 2017 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
Assets/Common/Code/Scripts/SpriteSheetAnimator.cs
TAPeri/WordsMatter
0
7042106
/* * Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details. */// DOWNLOADED FROM UNIFY COMMUNITY WIKI "Animating Tiled texture - Extended". Renamed to "SpriteSheetAnimator". using UnityEngine; public class SpriteSheetAnimator : MonoBehaviour { //vars for the w...
NRepository/Abstractions/ICountRepository.cs
mczoff/NRepository
7
7042107
using NRepository.Attributes; namespace NRepository.Abstractions { /// <summary> /// Interface return count rows in container. /// </summary> [RepositoryContract("IsCount")] public interface ICountRepository { int Count(); } }
Web/MyWebtoonWebProject.Web/Controllers/EpisodesController.cs
Smashcake/MyWebtoonWebProject
0
7042108
<reponame>Smashcake/MyWebtoonWebProject namespace MyWebtoonWebProject.Web.Controllers { using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using MyWebtoonWebProject.Services....
StreamActions/GlobalSuppressions.cs
StreamActions/StreamActions
2
7042110
<reponame>StreamActions/StreamActions /* * Copyright © 2019-2021 StreamActions Team * * 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 * ...
src/EncompassRest/Loans/Enums/PaidBy.cs
Oxymoron290/EncompassRest
87
7042111
<reponame>Oxymoron290/EncompassRest using System.ComponentModel; namespace EncompassRest.Loans.Enums { /// <summary> /// PaidBy /// </summary> public enum PaidBy { /// <summary> /// B /// </summary> [Description("B")] Broker = 0, /// <summary> ...
src/LibreLancer/Infocards/Infocard.cs
lyzardiar/Librelancer
0
7042112
// MIT License - Copyright (c) <NAME> // This file is subject to the terms and conditions defined in // LICENSE, which is part of this source code package using System; using System.Text; using System.Collections.Generic; namespace LibreLancer.Infocards { public class Infocard { public List<InfocardNode> Nodes; ...
Assets/Scripts/GameOver.cs
JulienTromas/ChrysalisTowerDefense
0
7042113
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class GameOver : MonoBehaviour { public Text roundsText; public string menuToLoad = "MainMenu"; private void OnEnable() { roundsText.tex...
dotnet/MSc-Workflows/StorageAdapters/Adapters/Definitions/IPeerDataNodeServiceClient.cs
alin-corodescu/Workflows
0
7042114
using System; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using Google.Protobuf; using Grpc.Core; using Grpc.Net.Client; using Microsoft.Extensions.Logging; using Workflows.Models.DataEvents; ...
src/Sushi.MailTemplate/Data/MailTemplate.cs
Supershift/Sushi.MailTemplate
0
7042115
using Sushi.MicroORM; using Sushi.MicroORM.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Sushi.MailTemplate.Data { /// <summary> /// MailTemplate data entity /// </summary> [DataMap(typeof(MailTemplateMap))] public class MailTem...
src/QForum.Web/Startup.cs
uniQodeAB/qforum-web
0
7042116
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.JsonPatch.Operations; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Micro...
SignalRWithXamarin/SignalRWithXamarin/SignalRWithXamarin/SignalR/SignalRXamarinTest.cs
HolguinTech/issues-30909
0
7042117
using Microsoft.AspNetCore.SignalR.Client; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace SignalRWithXamarin.SignalR { public class SignalRXamarinTest { HubConnection connection; public Task<bool> InitializeAsync() { try { ...
Xrpl.C/Xrpl/Client/Model/Transaction/Interfaces/ISignerListSetTransaction.cs
CASL-AE/xrpl-c
3
7042118
using System.Collections.Generic; using Xrpl.Client.Model.Ledger.Objects; namespace Xrpl.Client.Model.Transaction.Interfaces { public interface ISignerListSetTransaction : ITransactionCommon { List<SignerEntry> SignerEntries { get; set; } uint SignerQuorum { get; set; } } }
aracyonetim.services/Repositories/MusteriRepository.cs
NecmettinCimen/alpataaracyonetim
1
7042119
<gh_stars>1-10 using aracyonetim.database; using aracyonetim.entities.Tables; using aracyonetim.services.Interfaces; namespace aracyonetim.services.Repositories { public class MusteriRepository : GenericRepository<Musteri>, IMusteriRepository { public MusteriRepository(AracYonetimContext dbContext) : b...
iot-hub/Quickstarts/ReadD2cMessages/Parameters.cs
pulcher/azure-iot-stuff
0
7042120
<gh_stars>0 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using CommandLine; namespace ReadD2cMessages { /// <summary> /// Parameters for the application /// </summary> internal class Pa...
NCop.IoC/Fluent/IArgumentsFluentRegistry.cs
sagifogel/NCop
34
7042121
<reponame>sagifogel/NCop using System; namespace NCop.IoC.Fluent { public interface IArgumentsFluentRegistry : IFluentRegistry { IFactoryRegistration Register<TService, TArg1>(Func<INCopDependencyResolver, TArg1, TService> factory); IFactoryRegistration Register<TService, TArg1, TArg2>(Func<IN...
Runtime/Util/Hjson/HjsonWriter.cs
JuDelCo/Core
13
7042122
// SPDX-License-Identifier: MIT // Copyright (c) 2014-2016 <NAME> // Copyright (c) 2001-2003 Ximian, Inc // Based on System.Json from https://github.com/mono/mono (MIT X11) using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace Ju.Hjson { using JsonPair ...
gView.Desktop.MapServer.Admin/Form1.cs
chandusekhar/gViewGisOS
0
7042123
<reponame>chandusekhar/gViewGisOS using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.ServiceProcess; using System.Reflection; using System.Xml; using gView.Framework.system; namespace gView.De...
src/Here/Signing/PublicKey.cs
KeRNeLith/Maybe
8
7042124
namespace Here { internal static class PublicKey { public const string Key = #if DEPLOY_BUILD ", PublicKey=00240000048000009400000006020000002400005253413100040000010001001595a6650a7ec5c1502179663c04962d59b9b27b597a1d25a57ef96008edcfd77f84087505bd3e688e466d2a0c41876319768e632211c7305410351e4...
OkonkwoOandaV20/OkonkwoOandaV20/TradeLibrary/Instrument/REST/GetInstrumentCandles.cs
traburi/OandaV20.3
3
7042125
<filename>OkonkwoOandaV20/OkonkwoOandaV20/TradeLibrary/Instrument/REST/GetInstrumentCandles.cs using OkonkwoOandaV20.Framework; using OkonkwoOandaV20.TradeLibrary.Instrument; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace OkonkwoOandaV20.TradeLibrary.REST { /// <summary> ...
src/core/srcbc/openpgp/PgpPublicKeyRing.cs
yangli1128/itextsharp.NetCore
1
7042126
/* This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the add...
Empired.Web/Models/RentalViewModel.cs
ashutosh37/EmpiredWeb
0
7042127
<reponame>ashutosh37/EmpiredWeb using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Empired.Web.Models { public class RentalViewModel { public int ID { get; set; } public int CustomerId { get; set; } public int StockId { get; set; } pu...
Telerik.Sitefinity.Frontend/Mvc/Infrastructure/Controllers/IRouteMapper.cs
jonathanread/feather
89
7042128
<reponame>jonathanread/feather using System.Web.Routing; namespace Telerik.Sitefinity.Frontend.Mvc.Infrastructure.Controllers { /// <summary> /// Classes that implement this interface can provide custom routing logic. /// </summary> public interface IRouteMapper { /// <summary> ///...
src/Microsoft.Graph/Generated/model/DeviceManagementReportSchedule.cs
larslynch/msgraph-beta-sdk-dotnet
0
7042129
<reponame>larslynch/msgraph-beta-sdk-dotnet // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------...
cs/cs/VowpalWabbitSingleLineExampleCollection.cs
smartkiwi/vowpal_wabbit
0
7042130
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="VowpalWabbitSingleLineExampleCollection.cs"> // Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released ...
StackAndQueues/12.CupsAndBottles/Program.cs
MirelaMileva/Advanced-Homework
0
7042131
<reponame>MirelaMileva/Advanced-Homework using System; using System.Collections.Generic; using System.Linq; namespace _12.CupsAndBottles { class Program { static void Main(string[] args) { int[] cupCapacity = Console.ReadLine(). Split(). Select(int.P...
src/Grpc/Validation/GrpcServiceOptionsHelper.cs
RocketSurgeonsGuild/LaunchPad
0
7042133
using Grpc.AspNetCore.Server; namespace Rocket.Surgery.LaunchPad.Grpc.Validation { /// <summary> /// Helper for configuration validation with Grpc /// </summary> public static class GrpcServiceOptionsHelper { /// <summary> /// Enable message validation /// </summary> ...
src/FubuCore/Util/DictionaryKeyValues.cs
RyanHauert/fubucore
15
7042134
using System; using System.Collections.Generic; namespace FubuCore.Util { public class DictionaryKeyValues<T> : IKeyValues<T> { private readonly IDictionary<string, T> _dictionary; public DictionaryKeyValues() : this(new Dictionary<string, T>()) { } ...