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
FrameNodeServices/Frame.ServiceNodeLibs/FrameManagerNodeServiceRest.cs
winwink/CFCFrame
38
7043927
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ServiceModel; using System.Data; using Frame.ServiceNodeInterfaces; using WebServiceManager; using Entitys.ComonEnti; using Common; namespace Frame.ServiceNodeLibs { public class Frame...
Assets/HoloToolkit/Input/Scripts/InputEvents/INavigationHandler.cs
Mandur/HoloOffice
204
7043928
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine.EventSystems; namespace HoloToolkit.Unity.InputModule { /// <summary> /// Interface to implement to react to navigation gestures. /// ...
src/Dynatrace.OpenKit/Core/Configuration/PrivacyConfiguration.cs
stefaneberl/openkit-dotnet
0
7043929
// // Copyright 2018-2020 Dynatrace LLC // // 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 applicable law or agr...
CountryValidator/ICountryValidator.cs
ledgerscope/CountryValidator
9
7043930
namespace CountryValidation { public interface ICountryValidator { ValidationResult ValidateEntity(string vat, Country country); ValidationResult ValidateIndividualTaxCode(string id, Country country); ValidationResult ValidateNationalIdentityCode(string ssn, Country country); Va...
CoreConstructs/Decisions.cs
luigiberrettini/c-sharp-basics
1
7043931
<reponame>luigiberrettini/c-sharp-basics using System; namespace Examples.CoreConstructs { public static class Decisions { public static void Go() { /* A < B Returns true if expression A is less than expression B A <= B Returns true if expr...
VMwareShim/VMwareSDK/OptionSpec.cs
cmu-sei/virtualization-abstraction-layer
3
7043932
<filename>VMwareShim/VMwareSDK/OptionSpec.cs<gh_stars>1-10 using System; namespace AppUtil { public class OptionSpec { private string optionName; private int optionRequired; private string optionDesc; private string optionType; private string optionDefault; pub...
src/Roadkill.Tests.Unit/Text/Parsers/Links/Converters/AttachmentLinkConverterTests.cs
roadkillwiki/roadkill_new
24
7043933
<filename>src/Roadkill.Tests.Unit/Text/Parsers/Links/Converters/AttachmentLinkConverterTests.cs using Microsoft.AspNetCore.Mvc; using NSubstitute; using Roadkill.Text; using Roadkill.Text.Parsers.Links; using Roadkill.Text.Parsers.Links.Converters; using Shouldly; using Xunit; namespace Roadkill.Tests.Unit.Text.Parser...
src/Dodo/Resources/Framework/Interfaces/ITimeBoundResource.cs
cowtrix/dodo
4
7043934
<filename>src/Dodo/Resources/Framework/Interfaces/ITimeBoundResource.cs using Resources; using System; namespace Dodo { public interface ITimeBoundResource : IPublicResource { DateTime StartDate { get; } DateTime EndDate { get; } } }
src/EFCore.Relational/Metadata/ICheckConstraint.cs
mgroves/dotnet-couchbase-ef3
3
7043935
<filename>src/EFCore.Relational/Metadata/ICheckConstraint.cs // 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. namespace Microsoft.EntityFrameworkCore.Metadata { /// <summary> /// Represents...
src/ArangoDbclient.Net/ArangoDb.Client.Tests/Collections/GetCollectionsTests.cs
Chrishayes94/ArangoDb.Client
0
7043936
using System.Net.Http; using System.Threading.Tasks; using ArangoDb.Client.Collections; using Xunit; namespace ArangoDb.Client.Tests.Collections { public class GetCollectionsTests : IntegrationTestsBase { private static volatile string _authenticationToken; [Fact] public async Task Whe...
src/PolarConverter.JSWeb/Helpers/PaypalHelper.cs
goldnarms/PolarConverter
0
7043938
<filename>src/PolarConverter.JSWeb/Helpers/PaypalHelper.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PayPal; namespace PolarConverter.JSWeb.Helpers { public static class PayPalHelper { public readonly static string ClientI...
src/CacheCow.Server.EntityTagStore.SqlServer/StoredProcedureNames.cs
UbuntuEvangelist/CacheCow
0
7043939
<filename>src/CacheCow.Server.EntityTagStore.SqlServer/StoredProcedureNames.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CacheCow.Server.EntityTagStore.SqlServer { internal static class StoredProcedureNames { public static string GetCache = "Server_Ge...
tests/gfoidl.Base64.Tests/Internal/Base64EncoderTests/Decode/DestinationLength.cs
gfoidl/Base64
36
7043940
<filename>tests/gfoidl.Base64.Tests/Internal/Base64EncoderTests/Decode/DestinationLength.cs using System; using System.Buffers; using System.Linq; using gfoidl.Base64.Internal; using NUnit.Framework; namespace gfoidl.Base64.Tests.Internal.Base64EncoderTests.Decode { [TestFixture(typeof(byte))] [TestFixture(ty...
v3.1/Models/DB/TcrossSection.cs
LightosLimited/RailML
0
7043941
<gh_stars>0 using System; using System.Collections.Generic; namespace Models.DB { public partial class TcrossSection { public TcrossSection() { EcrossSections = new HashSet<EcrossSections>(); } public short TcrossSectionId { get; set; } public string Type {...
CraftLogs/CraftLogs/CraftLogs.Views/Converters/ItemTypeEnumToStringConverter.cs
martongyiran/CraftLogs
0
7043942
using CraftLogs.BLL.Enums; using System; using System.Globalization; using Xamarin.Forms; namespace CraftLogs.Views.Converters { public class ItemTypeEnumToStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { ...
CSharp4/CSharp4.Tests/Variance/2ContravarianceTest.cs
iAvinashVarma/CSharpFeatures
0
7043943
using CSharp4.Variance; using CSharp4.Variance.Comparator; using CSharp4.Variance.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace CSharp4.Tests.Variance { [TestClass] public class _2ContravarianceTest { [TestMethod] public void TestMethod001() { // Ar...
src/CameraBot/Configuration/Options/CameraBotOptions.cs
andead/camera-bot
0
7043944
namespace CameraBot { public class CameraBotOptions { public NodeOptions Root { get; set; } = new NodeOptions(); public int RetryCount { get; set; } = 3; public int TimeoutMilliseconds { get; set; } = 1000; } }
BungieNetApi/Models/TagMetadataItem.cs
joshhunt/bungie-api-cs
1
7043945
<gh_stars>1-10 using System.Runtime.Serialization; using System.Collections.Generic; using System.Linq; namespace GhostSharper.Models { [DataContract] public class TagMetadataItem { [DataMember(Name = "description", EmitDefaultValue = false)] public string Description { get; set; } ...
MiscUtil.UnitTests/CachingBufferManagerTest.cs
Celarix/PersonalMiscUtils
4
7043946
using System; using NUnit.Framework; namespace MiscUtil.UnitTests { [TestFixture] public class CachingBufferManagerTest { CachingBufferManager.Options options; CachingBufferManager subject; [SetUp] public void SetUp() { options = new CachingBufferManager...
src/RememBeer.MvcClient/Views/Home/Index.cshtml
J0hnyBG/RememBeerMeMvc
2
7043947
@{ ViewBag.Title = "Home Page"; } <div class="card"> <div class="card-content text-center blue-grey-text text-darken-2"> <h1> Remem<i class="fa fa-beer fa-lg"></i>Me </h1> <div class="row"> <div class="col s10 offset-s1"> <p class="flow-text"> ...
4charm/ViewModels/Pages/PostsPageViewModel.cs
pantaloons/4charm
25
7043948
using _4charm.Models; using _4charm.Resources; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Media; using System.Windows.Nav...
ColorHelper.cs
Zumorica/Monochrome.GUI
0
7043950
// // The Open Toolkit Library License // // Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. // // 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,...
src/OrchardCore.Modules/OrchardCore.Markdown/RemotePublishing/Startup.cs
vanbungkring/patra
1
7043951
<reponame>vanbungkring/patra using OrchardCore.Modules; using Microsoft.Extensions.DependencyInjection; using OrchardCore.MetaWeblog; namespace OrchardCore.Markdown.RemotePublishing { [RequireFeatures("OrchardCore.RemotePublishing")] public class Startup : StartupBase { public override void Config...
src/SwedbankPay.Sdk.Infrastructure/PaymentInstruments/PricesDto.cs
zunkas/swedbank-pay-sdk-dotnet
9
7043952
using SwedbankPay.Sdk.Extensions; using System; using System.Collections.Generic; namespace SwedbankPay.Sdk.PaymentInstruments { internal class PricesDto { public string Id { get; set; } public List<PriceListDto> PriceList { get; set; } = new List<PriceListDto>(); interna...
src/Wally.Lib.DDD.Abstractions/DomainEvents/DomainEvent.cs
bwalocha/Wally.Lib.DDD
0
7043953
using System; namespace Wally.Lib.DDD.Abstractions.DomainEvents { public abstract class DomainEvent { public DateTime OccuredOnUtc { get; } = DateTime.UtcNow; } }
src/SoftwarePioniere/Domain/EventDescriptor.cs
JTOne123/SoftwarePioniere.Fx
0
7043954
using SoftwarePioniere.Messaging; namespace SoftwarePioniere.Domain { public struct EventDescriptor { public readonly IDomainEvent EventData; public readonly int Version; public EventDescriptor(IDomainEvent eventData, int version) { EventData = eventData; ...
src/ToggleSystem.Infra.Data/Context/ToggleContext.cs
rafaelbarrelo/toggle-system
0
7043955
<filename>src/ToggleSystem.Infra.Data/Context/ToggleContext.cs using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using ToggleSystem.Domain.Entities; using ToggleSystem.Infra.Data.Mappings; namespace ToggleSystem.Infra.Data.Context { public class ToggleContext : Identity...
MVC_CRUD/Models/EntityTypeConfiguration/Abstract/BaseEntityTypeConfiguration.cs
serhatyamann/ASP.NET_MVC_CRUD
7
7043956
using MVC_CRUD.Models.Entities.Abstract; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Web; namespace MVC_CRUD.Models.EntityTypeConfiguration.Abstract { public abstract class BaseEnti...
src/SpirVGraph/InstructionRegistry.cs
gleblebedev/SpirVisualEditor
3
7043957
using System; using System.Collections.Generic; using SpirVGraph.Instructions; namespace SpirVGraph { public class InstructionRegistry { Dictionary<uint, InstructionWithId> _instructions = new Dictionary<uint, InstructionWithId>(); public InstructionWithId this[uint id] { ...
Module1/CSharp-Fundamentals/Loops/Loops/Binary-Decimal.cs
darindragomirow/TelerikAcademy
0
7043958
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Numerics; namespace Loops { class Binary_Decimal { static void Main(string[] args) { string binary = Console.ReadLine(); ulong result = 0; ...
Helpers/SheetsViews.cs
NiWeiNi/BIMiconToolbar
11
7043959
<gh_stars>10-100 using Autodesk.Revit.DB; using System.Linq; using System.Text.RegularExpressions; namespace BIMiconToolbar.Helpers { class SheetsViews { /// <summary> /// Method to check if sheet number is in use in the project as sheet numbers must be unique /// </summary> //...
src/Core/Validation/ValueValidation.cs
Bungalow64/DBConfirm
1
7043960
<reponame>Bungalow64/DBConfirm<gh_stars>1-10 using DBConfirm.Core.Comparisons.Abstract; using DBConfirm.Core.TestFrameworks.Abstract; using System; namespace DBConfirm.Core.Validation { /// <summary> /// Static class to handle all assertions and validations /// </summary> public static class ValueVali...
operators/group-sync-operator/dotnet/Kubernetes/Crds/Operators/GroupSyncOperator/Redhatcop/V1Alpha1/Outputs/GroupSyncSpecProvidersAzure.cs
pulumi/pulumi-kubernetes-crds
0
7043961
// *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.O...
ProgressiveSinglePageWebApp/ProgressiveSinglePageWebApp/Controllers/SampleItemController.cs
ripinx/hackday_1_pwa
0
7043962
namespace ProgressiveSinglePageWebApp.Controllers { using Microsoft.AspNetCore.Mvc; using ProgressiveSinglePageWebApp.DataAccess.Models; using ProgressiveSinglePageWebApp.Services; [Route("api/[controller]")] public class SampleItemController : Controller { SampleItemService service = n...
Assets/Scripts/World/WorldVariables.cs
thevinter/Ludum44
3
7043963
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class WorldVariables { public static int currentDay = 0; public static bool dayChange = false; public static bool caveEvent = false; public static int GetCurrentDay() { return currentDay; ...
UnitTests/Videos/VideosTests.cs
jgreywolf/gettyimages-api_dotnet
0
7043964
<filename>UnitTests/Videos/VideosTests.cs using System.Collections.Generic; using FluentAssertions; using GettyImages.Api; using Xunit; namespace UnitTests.Videos { public class VideosTests { [Fact] public void MultipleVideosBasic() { var testHandler = TestUtil.CreateTestHa...
src/Cosmos.Bridges.AbpBridge.I18N/Cosmos/Bridges/AbpBridge/I18N/AbpFormatResource.cs
cosmos-loops/cosmos-i18n
1
7043965
using System.Collections.Generic; namespace Cosmos.Bridges.AbpBridge.I18N { /// <summary> /// AbpFx format resource /// </summary> public class AbpFormatResource { /// <summary> /// Gets or sets Culture name; eg : en , en-us, zh-CN /// </summary> public string Culture { ...
source/Energinet.DataHub.PostOffice.Tests/Common/ServiceBusRegistrationTests.cs
Energinet-DataHub/geh-post-office
2
7043966
<filename>source/Energinet.DataHub.PostOffice.Tests/Common/ServiceBusRegistrationTests.cs // Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
src/SwedbankPay.Sdk.Infrastructure/Consumers/ConsumersResponse.cs
zunkas/swedbank-pay-sdk-dotnet
9
7043967
<gh_stars>1-10 namespace SwedbankPay.Sdk.Consumers { internal class ConsumersResponse : IConsumersResponse { public ConsumersResponse(ConsumersResponseDto consumerResponse) { Operations = new ConsumerOperations(consumerResponse.Operations.Map()); Token = consumerR...
DataLayer/ActionDBExplorer.cs
MaxDovere/FileExplorerMultiTask
0
7043969
<reponame>MaxDovere/FileExplorerMultiTask<filename>DataLayer/ActionDBExplorer.cs using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Threading.Tasks; using FileExplorerMultiTask.Models; using Microsoft.Data.SqlClient; using System.Configuration; using FileExplorerMultiTas...
W-ORM/W-ORM.Test/MSSQL/Entities/Course.cs
bhdryrdm/W-ORM
1
7043970
 using W_ORM.Layout.Attributes; using W_ORM.MSSQL.Attributes; namespace W_ORM.Test.MSSQL.Entities { [Table(SchemaName = "dbo", TableName = "Course", OrdinalPosition = 3)] public class Course { [PRIMARY_KEY] [AUTO_INCREMENT(1, 1)] [INT] [NOTNULL] public int CourseID { get; set; } [NVARCHAR(...
SimpleCiphers/Models/Data.cs
slavitnas/SimpleCiphers
0
7043971
<filename>SimpleCiphers/Models/Data.cs using System.Collections.Generic; namespace SimpleCiphers.Models { public static class Data { private const string Symbols = "0123456789"; public static Dictionary<string, string> Words = new Dictionary<string, string> { ["ENG"] = "ab...
Desafio1/src/Exercicio7/model/Gerente.cs
LucasCancio/desafios-tdd-gft
0
7043972
namespace Exercicio7.model { public class Gerente : Funcionario { public Gerente(string nome, int idade, double salario) : base(nome, idade, salario) { } public const double ACRESCIMO_BONIFICACAO= 10_000.00; public override double Bonificacao(){ return base.B...
internals/src/EflSharp/EflSharp/efl/efl_ui_widget_scrollable_content.eo.cs
yoowonyoung/TizenFX
1
7043973
<reponame>yoowonyoung/TizenFX<filename>internals/src/EflSharp/EflSharp/efl/efl_ui_widget_scrollable_content.eo.cs #define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; ...
src/Machete/Translators/IEntityTranslatorFactoryProvider.cs
amccool/Machete
47
7043974
namespace Machete.Translators { using TranslateConfiguration; public interface IEntityTranslatorFactoryProvider<TSchema> where TSchema : Entity { IEntityTranslatorFactory<TInput, TSchema> GetTranslateFactory<TResult, TInput>(IEntityTranslatorSpecification<TResult, TInput, TSchema> specifi...
aspnet-core/src/InventoryManagementSystem.Core/Expense/Expense.cs
farazahmed879/Inventory-Management-System
0
7043975
using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace InventoryManagementSystem.Expenses { public class Expense : FullAuditedEntity<long>, IMayHaveTenant { [Required] ...
PrismSharp/Highlighters/Rtf/RtfHighlighter.cs
tkubec/PrismSharp
0
7043976
// This file is a part of PrismSharp Library by <NAME> // based on PrismJS, https://prismjs.com/ // Distributed under MIT license - see license.txt // using Orionsoft.PrismSharp.Highlighters.Abstract; using Orionsoft.PrismSharp.Themes; using Orionsoft.PrismSharp.Tokenizing; using System; using System.Collections.Gene...
Projekt_UDT/Projekt_UDT/Kolo.cs
karmazynow-a/UDT_project
0
7043977
using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; [Serializable] [Microsoft.SqlServer.Server.SqlUserDefinedType(Format.Native)] public struct Kolo : INullable { private double m_r; //promien private double m_x, m_y; //współrzedne srodka...
MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Interfaces/Data/CameraFacingDirection.cs
bsides44/MARSGeofencing
0
7043978
using UnityEngine.Scripting.APIUpdating; namespace Unity.MARS.Data { /// <summary> /// Represents the camera used when supplying the video feed. /// </summary> [MovedFrom("Unity.MARS")] public enum CameraFacingDirection { /// <summary> /// No video feed should be provided. ...
tests/KGP.Tests/Fakes/FakeImageData.cs
mrvux/kgp
10
7043979
using KGP.Frames; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace KGP.Tests.Fakes { public unsafe static class FakeImageData { [DllImport("msvcrt.dll", SetLastError = false)] pri...
src/Blazor/Abstractions/ISumService.cs
Tom002/Stl.Fusion.Samples
0
7043981
namespace Samples.Blazor.Abstractions; public interface ISumService { Task Reset(CancellationToken cancellationToken = default); Task Accumulate(double value, CancellationToken cancellationToken = default); [ComputeMethod] Task<double> GetAccumulator(CancellationToken cancellationToken = default); ...
src/ASPNETCoreIdentitySample.DataLayer/Configurations/IdentityMappings.cs
majidbigdeli/DNTIdentity
2
7043982
using ASPNETCoreIdentitySample.ViewModels.Identity.Settings; using Microsoft.EntityFrameworkCore; namespace ASPNETCoreIdentitySample.DataLayer.Mappings { public static class IdentityMappings { /// <summary> /// Adds all of the ASP.NET Core Identity related mappings at once. /// More in...
SongFeedReaders/Logging/ILogFactory.cs
Zingabopp/SongFeedReaders
0
7043984
namespace SongFeedReaders.Logging { /// <summary> /// A factory to create <see cref="ILogger"/>. /// </summary> public interface ILogFactory { /// <summary> /// Gets an <see cref="ILogger"/>, optionally with a module name. /// </summary> /// <param name="moduleName">...
Options/ImportOptions.cs
AndrewSav/mktool
0
7043985
<gh_stars>0 using System.IO; namespace mktool { class ImportOptions : RootOptions { public FileInfo? File { get; set; } public string? Format { get; set; } public bool Execute { get; set; } public bool ContinueOnErrors { get; set; } public bool SkipExisting { ...
src/Soloplan.WhatsON.CruiseControl.GUI/CruiseControlProjectViewModel.cs
krzysztof-lorenc/whatsONUpdaterNew
0
7043986
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CruiseControlProjectViewModel.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the proj...
src/CloudFoundry.CloudController.V2.Client.Test/Fake/Test_service_plans.cs
cloudfoundry/cf-dotnet-sdk
12
7043987
//------------------------------------------------------------------------------ // <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> //--------------------------------...
j4jayant.HL7.Parser/j4jayant.HL7.Parser/HL7Exception.cs
stoneson/hl7-cSharp-parser
17
7043988
using System; namespace j4jayant.HL7.Parser { [Serializable] public class HL7Exception : Exception { public String ErrorCode { get; set; } public HL7Exception(string message) : base(message) { } public HL7Exception(string message, String Code) ...
Chroma/HarmonyPatches/LightPairRotationEventEffect.cs
TheAnnoDog/Chroma
2
7043989
namespace Chroma.HarmonyPatches { using System; using CustomJSONData; using CustomJSONData.CustomBeatmap; using IPA.Utilities; using UnityEngine; using static Plugin; [ChromaPatch(typeof(LightPairRotationEventEffect))] [ChromaPatch("HandleBeatmapObjectCallbackControllerBeatmapEventDidT...
Tests/OrderService.Tests/BaseInit.cs
Sebastian-Gruchacz/MeetUp4
0
7043990
namespace OrderService.Tests { using StructureMap; using TestingHelpers; public abstract class BaseInit { protected BaseInit() { var container = new Container(); Resolver = new Resolver(container); RegisterTypes(container); } priva...
src/TodoAppSpecification/GlobalUsings.cs
grzesiek-galezowski/asp-net-core-extensions
0
7043991
<reponame>grzesiek-galezowski/asp-net-core-extensions global using System; global using TddXt.AnyRoot.Strings; global using TddXt.AnyRoot.Numbers; global using TddXt.AnyRoot.Collections; global using TddXt.AnyRoot.Time; global using NUnit.Framework; global using static TddXt.AnyRoot.Root; global using System.Linq; glo...
HADotNet.Core/Clients/InfoClient.cs
Devqon/HADotNet
1
7043992
<reponame>Devqon/HADotNet using System; using System.Threading.Tasks; using HADotNet.Core.Domain; using HADotNet.Core.Models; namespace HADotNet.Core.Clients { /// <summary> /// Provides access to the info API for retrieving information about Supervisor, Core and Host. /// </summary> public class Inf...
src/PhotoFolder.Wpf/Utilities/ImageUtils.cs
Anapher/PhotoFolder
0
7043993
<reponame>Anapher/PhotoFolder using System; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace PhotoFolder.Wpf.Utilities { public static class ImageUtils { public static Task<BitmapImage> LoadImageAsync(string filename) { return Task.Run(() => {...
LiveCoin.Net/Objects/SocketObjects/OrderBidAskType.cs
EricGarnier/LiveCoin.Net
0
7043994
using System; using System.Collections.Generic; using System.Text; namespace LiveCoin.Net.Objects.SocketObjects { /// <summary> /// Order type /// </summary> public enum OrderBidAskType { /// <summary> /// Bid /// </summary> Bid = 1, /// <summary> //...
core/leetcode/993.cs
tarunbatta/ipg
1
7043995
// Url:https://leetcode.com/problems/cousins-in-binary-tree /* 993. Cousins in Binary Tree Easy In a binary tree, the root node is at depth 0, and children of each depth k node are at depth k+1. Two nodes of a binary tree are cousins if they have the same depth, but have different parents. We are given the root of ...
Test_ForEach/Program.cs
Sejoslaw/KD.Linq
2
7043996
<reponame>Sejoslaw/KD.Linq using KD.Linq; using System; using System.Collections.Generic; using System.Linq; namespace Test_ForEach { class Program { static void Main(string[] args) { List<int> list = new List<int>() { 1, 2, 1, 3, 1, 4 }; // Standard ForEach which is in...
docs/nakama/examples/unity/nakama-showreel/Assets/Nakama/Plugins/Nakama/NFriendAddMessage.cs
LucasGaspar/nakama-docs
49
7043997
/** * Copyright 2017 The Nakama Authors * * 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 applicable law or agreed...
Blazorify/Foxy.Blazor.Transition/TransitionBase.cs
faddiv/Misc
0
7043998
<reponame>faddiv/Misc<gh_stars>0 using Microsoft.AspNetCore.Components; using Microsoft.Extensions.Logging; using Microsoft.JSInterop; using System; using System.Threading.Tasks; namespace Foxy.Blazor.Transition { public abstract class TransitionBase<TContext> : ComponentBase, ITransitionBase, IDisposable ...
Projects/Server/Common/SF.Common.UnitTest/TestAppBuilder.cs
etechi/ServiceFramework
2
7043999
using System; using System.Threading.Tasks; using SF.Sys.Services; using SF.Sys.Auth; using Microsoft.VisualStudio.TestTools.UnitTesting; using SF.Sys.Hosting; using SF.Sys.Logging; using SF.Sys.NetworkService; using SF.Sys.BackEndConsole; using SF.Sys; namespace SF.Common.UnitTest { public static class TestAppBuilde...
flucto/Bindables/BindableMarginPadding.cs
flucto/flucto
0
7044000
<filename>flucto/Bindables/BindableMarginPadding.cs // Copyright (c) 2020 Flucto Team and others. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Globalization; usin...
Repositories/Repositories/BuildConfigRepository.cs
Elevator-CI/elevator-api
2
7044001
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Repositories.Database; using Repositories.Database.Models; namespace Repositories.Repositories { public class BuildConfigRepository : AbstractRepository<BuildConfig> { ...
Sdl.Web.Common/DxaNoCacheAttribute.cs
ronnqvistandreas/dxa-web-application-dotnet
24
7044002
<filename>Sdl.Web.Common/DxaNoCacheAttribute.cs using System; namespace Sdl.Web.Common { /// <summary> /// Attribute used to turn off caching for particular models during the model building pipeline. /// </summary> public class DxaNoCacheAttribute : Attribute { } }
Cloud/RWPMHostedSystem/RoadSegmentMappingLib/OsmMapModel.cs
OSADP/Road-Weather-Performance-Management-
0
7044003
<reponame>OSADP/Road-Weather-Performance-Management-<gh_stars>0 namespace RoadSegmentMapping { using System; using System.Data.Entity; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; public partial class OsmMapModel : DbContext { public OsmMapModel(string connect...
JobTrackerX.Grains/AggregateCounterGrain.cs
GeorGeWzw/JobTrackerX.Orleans
1
7044004
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using JobTrackerX.Entities; using JobTrackerX.GrainInterfaces; using Orleans; namespace JobTrackerX.Grains { public class AggregateCounterGrain : Grain, IAggregateCounterGrain ...
Editor/Config/PackageConfig.cs
UniPM/UniPM
0
7044005
/**************************************************************************** * Copyright (c) 2017 liangxieq * * https://github.com/UniPM/UniPM * * 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 ...
CyberCAT.Core/Enums/Dumped Enums/vehicleExitDirection.cs
RakhithJK/CyberCAT
127
7044006
namespace CyberCAT.Core.DumpedEnums { public enum vehicleExitDirection { Left = 0, Right = 1, Front = 2, Back = 3, Top = 4, NoDirection = -1 } }
RutheniumReader/Converters/BoolToVisibilityHidden.cs
benrr101/RutheniumReader
0
7044007
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace RutheniumReader.Converters { public class BoolToVisibilityHidden : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if...
data/diagram_models/st/interpreters/boolean/Constant.cs
Kersoph/open-sfc-sandbox
18
7044008
<reponame>Kersoph/open-sfc-sandbox using System.Collections.Generic; namespace Osls.St.Boolean { /// <summary> /// Represents an boolean constant /// </summary> public class Constant : BooleanExpression { #region ==================== Fields / Properties ==================== public ...
test/OpenQA.Selenite.Tests/Implementation/CheckboxTests.cs
novikov-school/NSpectator.Selenium
11
7044009
<reponame>novikov-school/NSpectator.Selenium using FluentAssertions; using NUnit.Framework; using OpenQA.Selenite.Tests.Shared.Hosting; using OpenQA.Selenite.Tests.Shared.Pages.Implementation; using OpenQA.Selenite.Extensions; using OpenQA.Selenite.Setup; using OpenQA.Selenite.Setup.Environments; namespace OpenQA.Sel...
MoonBurst.Core/Serializer/SerializerBase.cs
Manu404/moonburst
2
7044010
<filename>MoonBurst.Core/Serializer/SerializerBase.cs using MoonBurst.Api.Serializer; namespace MoonBurst.Core.Serializer { public class SerializerBase<T, TY> : ISerializer<T, TY> where T : IFileSerializableType where TY : new() { public SerializerBase(string defaultPath) { Default...
Source/Routing/MqttBaseController.cs
SignalIO-Team/MQTTnet.AspNetCore.AttributeRouting
21
7044011
// Copyright (c) Atlas Lift Tech Inc. All rights reserved. using Microsoft.AspNetCore.Mvc; using MQTTnet.AspNetCore.AttributeRouting.Attributes; using MQTTnet.AspNetCore.AttributeRouting.Routing; using MQTTnet.Server; using System.Threading.Tasks; namespace MQTTnet.AspNetCore.AttributeRouting { [MqttController] ...
AppEngine/AppEngine/DataModels/Logger/LogLevel.cs
itskhawarizmi/AppEngine
0
7044012
<filename>AppEngine/AppEngine/DataModels/Logger/LogLevel.cs namespace AppEngine { /// <summary> /// Defines logging severity levels. /// </summary> public enum LogLevel { /// <summary> /// Logs that contain the most detailed messages. These messages may /// contain sensitiv...
Source/ManagementService/Data/Repositories/Base/RepositoryAsync.cs
AlexeyBuryanov/MicroservicesSimpleTask
1
7044013
<filename>Source/ManagementService/Data/Repositories/Base/RepositoryAsync.cs<gh_stars>1-10 using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace ManagementService.Data.Repositories.Base { publi...
XPlat/Gigya/Android/source/GigyaSDK.Android/Additions.cs
weitzhandler/XamarinComponents
1
7044014
<reponame>weitzhandler/XamarinComponents using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using GigyaSDK.Socialize; using GigyaSDK.Socialize.Android; using GigyaSDK.Socialize.Andr...
HospitalManagementSystem/Form1.Designer.cs
sshihabb007/Hospital-Management-System-by-Oracle-10G-and-PLSQL
0
7044015
namespace HospitalManagementSystem { partial class HospitalManagementForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
src/prod/src/managed/Microsoft.ServiceFabric.Data.Interfaces/Notifications/NotifyStateManagerRebuildEventArgs.cs
vishnuk007/service-fabric
2,542
7044016
<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Micr...
common.cs
Gimalaev/ASU-KV-001
0
7044017
<gh_stars>0 using System.IO; using System.Threading.Tasks; using Windows.Storage; using System; using System.Text.RegularExpressions; using SQLite; // https://code.msdn.microsoft.com/windowsapps/Reading-data-from-multiple-ceb58872#content // https://msdn.microsoft.com/ru-ru/windows/uwp/files/quickstart-reading-and-w...
src/Demo2/Goal.Demo2.Infra.Data.Query/RavenQueryRepository.cs
ritter-ti/goal.samples
0
7044018
<gh_stars>0 using Goal.Seedwork.Infra.Crosscutting.Collections; using Goal.Seedwork.Infra.Crosscutting.Extensions; using Goal.Seedwork.Infra.Data.Query; using Raven.Client.Documents; using Raven.Client.Documents.Session; namespace Goal.Demo2.Infra.Data.Query { public abstract class RavenQueryRepository<TEntity> : ...
Solution/Chiro.Gap.Maintenance/Program.cs
Chirojeugd-Vlaanderen/gap
0
7044019
/* * Copyright 2015 Chirojeugd-Vlaanderen vzw. See the NOTICE file at the * top-level directory of this distribution, and at * https://gapwiki.chiro.be/copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
TemporalWars 3D Engine/Dev/XNA_RTS2008/Interfaces/IOcean.cs
TemporalWars/TWEngine
0
7044020
#region File Description //----------------------------------------------------------------------------- // IOcean.cs // // <NAME> - XNA Community Game Platform // Copyright (C) Image-Nexus, LLC. All rights reserved. //----------------------------------------------------------------------------- #endregion us...
Assets/Scripts/MetadataOnGUI.cs
pedroam14/RTBIM
0
7044021
<reponame>pedroam14/RTBIM<filename>Assets/Scripts/MetadataOnGUI.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine.UI; public class MetadataOnGUI : MonoBehaviour { private string buffer = ""; private bool displayHit = false; pu...
Core/JustAssembly.DiffAlgorithm/DiffHelper.cs
JarLob/JustAssembly
322
7044023
using System; using System.Collections.Generic; using System.Linq; using JustAssembly.DiffAlgorithm.Algorithm; using JustAssembly.DiffAlgorithm.Models; namespace JustAssembly.DiffAlgorithm { public static class DiffHelper { private static readonly string[] lineSeparators = new string[] { "\r\n", "\n",...
Scripts/AbilitiesScripts/ColliderManager.cs
Volkidia/ChampionsBrawl
0
7044024
<gh_stars>0 using UnityEngine; using System.Collections; public class ColliderManager : MonoBehaviour { public Vector3 ModifScale; // Use this for initialization void Start () { transform.localScale = new Vector3(ModifScale.x,ModifScale.y, ModifScale.z); } }
PowerShellTools/LanguageService/PowerShellLanguageInfo.cs
vijayraavi/poshtools
135
7044025
<reponame>vijayraavi/poshtools<gh_stars>100-1000 using System; using System.ComponentModel.Design; using System.Management.Automation.Language; using System.Runtime.InteropServices; using EnvDTE80; using Microsoft.VisualStudio; using Microsoft.VisualStudio.ComponentModelHost; using Microsoft.VisualStudio.Editor...
SmartStoreNET-3.x/src/Libraries/SmartStore.Core/Domain/DataExchange/ExportEnums.cs
jonmcquade/csharp-snippets
2
7044026
<reponame>jonmcquade/csharp-snippets using System; namespace SmartStore.Core.Domain.DataExchange { /// <summary> /// Supported entity types /// </summary> public enum ExportEntityType { Product = 0, Category, Manufacturer, Customer, Order, NewsLetterSubscription } /// <summary> /// Supported depl...
src/Lykke.Frontend.WampHost.Core/Services/IHealthService.cs
LykkeCity/Lykke.Frontend.WampHost
2
7044027
using System; using System.Collections.Generic; using Lykke.Frontend.WampHost.Core.Domain.Health; namespace Lykke.Frontend.WampHost.Core.Services { // NOTE: See https://lykkex.atlassian.net/wiki/spaces/LKEWALLET/pages/35755585/Add+your+app+to+Monitoring public interface IHealthService { int Sessio...
src/Umbraco.Web/ModelStateExtensions.cs
wtct/Umbraco-CMS
0
7044028
<reponame>wtct/Umbraco-CMS using System.Linq; using System.Web.Mvc; namespace Umbraco.Web { internal static class ModelStateExtensions { /// <summary> /// Merges ModelState that has names matching the prefix /// </summary> /// <param name="state"></param> /// <param name="dictionary"></param> ...
Assets/ProceduralWorlds/Scripts/Core/GUI/GUIManagerStorage.cs
alelievr/Procedural-Worlds-Editor
249
7044029
<filename>Assets/ProceduralWorlds/Scripts/Core/GUI/GUIManagerStorage.cs<gh_stars>100-1000 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ProceduralWorlds.Core { [System.Serializable] public class ProceduralWorldsGUIStorage { [SerializeField] public List< PWGUISetting...
src/VahterBot/Bot/BotConfiguration.cs
Liminiens/vahter-bot
1
7044030
namespace VahterBot.Bot { public class BotConfiguration { public string Token { get; set; } public long? ChatId { get; set; } public long? ChannelId { get; set; } public BotProxy Proxy { get; set; } } }
src/Microsoft.OData.Core/Json/ODataStringEscapeOption.cs
Sreejithpin/odata.net
629
7044031
<gh_stars>100-1000 //--------------------------------------------------------------------- // <copyright file="ODataStringEscapeOption.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-----------...
Tech Module/Extended-Programming-Fundamentals/ExtendedExercisesArrayAndListAlgorithms/p01ShootListElements/ShootListElements.cs
vesy53/SoftUni
0
7044032
<reponame>vesy53/SoftUni<gh_stars>0 using System; using System.Collections.Generic; class ShootListElements { static void Main(string[] args) { string command = Console.ReadLine(); List<int> numbers = new List<int>(); int lastRemoved = 0; while (command != "stop") { ...