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
test/Microsoft.Azure.Devices.Edge.Test.Common/certs/CertificateAuthority.cs
mrohera/iotedge
1
7030466
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Test.Common.Certs { using System.Threading; using System.Threading.Tasks; using RootCaKeys = System.ValueTuple<string, string, string>; public class CertificateAuthority { readonly string scriptPath; ...
samples/msgext-link-unfurling-meeting/csharp/Source/Microsoft.Teams.Samples.LinkUnfurling.Web/Bot/BotHttpAdapter.cs
paul-cheung/Microsoft-Teams-Samples
0
7030467
// <copyright file="BotHttpAdapter.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> namespace Microsoft.Teams.Samples.LinkUnfurling.Web.Bot { using Microsoft.Bot.Builder.Integration.AspNet.Core; using Microsoft.Bot.Builder.TraceExtensions; u...
Src/NQuery/Compilation/Normalizer.cs
anaparthi-k/dotnet-nquery
67
7030468
<filename>Src/NQuery/Compilation/Normalizer.cs using System; namespace NQuery.Compilation { internal sealed class Normalizer : StandardVisitor { public override ExpressionNode VisitUnaryExpression(UnaryExpression expression) { // First visit arguments base.VisitUnaryExpression(expression); ...
J-Runner/HID/HidReport.cs
X360Tools/J-Runner-with-Extras
24
7030470
using System; namespace HidLibrary { public class HidReport { private byte _reportId; private byte[] _data = new byte[] { }; private readonly HidDeviceData.ReadStatus _status; public HidReport(int reportSize) { Array.Resize(ref _data, reportSize); ...
src/Formats/Nif/src/Game.Format.Nif2/Gen/bhkCMSDMaterial.cs
libcs/gamer.asset.net
2
7030471
/* Copyright (c) 2006, NIF File Format Library and Tools */ // THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT! // // To change this file, alter the generate_cs.py Python script. using System; using System.IO; using System.Collections.Generic; namespace Niflib { /*! Per-chunk material, used in bhkCompr...
Source/DotSpatial.Controls/MapFrameProjectionHelper.cs
sindizzy/DotSpatial
738
7030472
<reponame>sindizzy/DotSpatial // Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System; using DotSpatial.Projections; using DotSpatial.Symbology; namespace DotSpatial.Controls { /// <summ...
aliyun-net-sdk-ccc/CCC/Transform/V20170705/ListRecordingsResponseUnmarshaller.cs
AxiosCros/aliyun-openapi-net-sdk
0
7030473
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
SampleCode/IrisClustering.cs
alexhiggins732/brightwire
1
7030474
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; namespace BrightWire.SampleCode { partial class Program { static void _WriteClusters(IReadOnlyList<IReadOnlyList<IVector>> clusters, Dictionary<IVector, string> labelTable) { forea...
2P-UnityEscapeGame/Assets/Scripts/Scripts_com/Man.cs
2PUEG-VRIK/UnityEscapeGame
0
7030475
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Man : MonoBehaviour { public float speed = 30.0f; public float jumpPower; float hAxis; float vAxis; Vector3 moveVec; Vector3 preVec; Animator anim; Rigidbody rigid; ...
Squiggle.Bridge/Configuration/TargetCollection.cs
Angellomix/Squiggle
90
7030476
<reponame>Angellomix/Squiggle using System.Configuration; namespace Squiggle.Bridge.Configuration { class TargetCollection : ConfigurationElementCollection { public Target this[int index] { get { return base.BaseGet(index) as Target; ...
Photoshare/PhotoShare.Client/Core/Dtos/UserFriendsDto.cs
morskibg/CS_TrainingAtHome
0
7030477
namespace PhotoShare.Client.Core.Dtos { using System.Collections.Generic; using Commands; public class UserFriendsDto { public int Id { get; set; } public string Username { get; set; } public ICollection<FriendDto> Friends { get; set; } } }
src/MsSql.Adapter.Generator/AdapterCodeFixProvider.cs
LarnacaBeach/mssql.adapter
0
7030478
<reponame>LarnacaBeach/mssql.adapter using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnal...
cs/remote/test/FASTER.remote.test/VarLenMemoryClient.cs
dongx-psu/FASTER
7
7030479
<gh_stars>1-10 using System; using System.Buffers; using System.Threading; using FASTER.client; using FASTER.common; using NUnit.Framework; namespace FASTER.remote.test { class VarLenMemoryClient : IDisposable { readonly FasterKVClient<ReadOnlyMemory<int>, ReadOnlyMemory<int>> client; public ...
test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/AntiforgeryExtensionsTest.cs
Vengeancee/DMI
0
7030480
<reponame>Vengeancee/DMI // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Antiforgery; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Internal; using Micro...
SharpShader/Interlocker.cs
Syncaidius/SharpShader
19
7030481
<reponame>Syncaidius/SharpShader using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace SharpShader { /// <summary> /// A locking helper built on top of the <see cref="Interlocked"/> class. /// </summary> pu...
knytt/GDKnyttSettings.cs
up-left/yknytt
0
7030483
using Godot; using IniParser.Model; using IniParser.Parser; public class GDKnyttSettings : Node { //OS.set_window_maximized(true), and then OS.set_borderless_window(true) public static IniData ini { get; private set; } static SceneTree tree; public enum ScrollTypes { Smooth = 0, Or...
FVidovic/5.2.3_velikibroj_druginacin/Program.cs
andelkozoric/csharp2020
2
7030484
using System; namespace _5._2._3_velikibroj_druginacin { class Program { static void Main(string[] args) { Console.WriteLine("Upiši broj te će program provjeriti dali je broj unesenih znamenki veći od 3"); string broj = Console.ReadLine(); broj = broj.Repla...
src/OpenFTTH.GDBIntegrator.RouteNetwork/Factories/EnvelopeFactory.cs
DAXGRID/open-ftth-gdb-Integrator
0
7030485
using System.Collections.Generic; using NetTopologySuite.Geometries; namespace OpenFTTH.GDBIntegrator.RouteNetwork.Factories { public class EnvelopeFactory : IEnvelopeFactory { public Envelope Create(List<RouteNode> routeNodes, List<RouteSegment> routeSegments) { var envelope = new ...
src/BuildTools/Services/Services/DeploymentService.cs
aylosx/xrm-suite
1
7030486
namespace Aylos.Xrm.Sdk.BuildTools.Services { using Aylos.Xrm.Sdk.BuildTools.Models.Domain; using Aylos.Xrm.Sdk.Common; using Aylos.Xrm.Sdk.ConsoleApps; using Aylos.Xrm.Sdk.Exceptions; using Microsoft.Xrm.Sdk.Client; using System; using System.Globalization; using System.Reflection; ...
EverythingNBA.Web/Views/Players/_PlayerBioPartial.cshtml
antoni047/EverythingNBA
0
7030487
<filename>EverythingNBA.Web/Views/Players/_PlayerBioPartial.cshtml @using EverythingNBA.Services.Models.Player @model PlayerDetailsServiceModel @if (!String.IsNullOrWhiteSpace(Model.ImageURL)) { <div><img class="w-100" style="width: 456px" src="@Model.ImageURL" alt="" /></div> } else { <div class="player-imag...
Lib/Common/RetryPolicies/RetryContext.cs
asorrin-msft/azure-storage-net
0
7030488
// ----------------------------------------------------------------------------------------- // <copyright file="RetryContext.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complianc...
Assets/Scripts/PackCreator.cs
Arylos07/Modheim
1
7030489
<reponame>Arylos07/Modheim using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System.IO; public class PackCreator : MonoBehaviour { public static ModheimModpack template = null; public FileManager fileManager; public InputField nameInput; public...
Scripts/Extensions/AnimationCollectionExtensionsMisc.cs
XRGames/duck-tween
23
7030490
<reponame>XRGames/duck-tween using System; using UnityEngine; namespace DUCK.Tween.Extensions { /// <summary> /// Animation Collection Extensions and Helpers /// </summary> public static partial class AnimationCollectionExtensions { /// <summary> /// Adds a WaitAnimation to the collection that will wait for ...
Assets/Scripts/MeshExtensions.cs
demonixis/UnityJSONSceneExporter
14
7030491
<gh_stars>10-100 using System.Collections.Generic; using UnityEngine; namespace Demonixis.UnityJSONSceneExporter { // https://answers.unity.com/questions/1213025/separating-submeshes-into-unique-meshes.html?sort=votes public static class MeshExtension { private class Vertices { ...
TCC/Model/Aula.cs
sudeduardo/TCC_INFORMATICA
1
7030492
<reponame>sudeduardo/TCC_INFORMATICA using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TCC.Model { public class Aula { public int Id { get; set; } public virtual DateTime Data { get; set; } public string Resumo...
src/Microsoft.Language.Xml/Syntax/SyntaxNodeRemover.cs
lordmilko/XmlParser
276
7030493
using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.Language.Xml { public class SyntaxNodeRemover { internal static TRoot RemoveNodes<TRoot>(TRoot root, IEnumerable<SyntaxNode> nodes, SyntaxRemoveOptions options) where TRoot : SyntaxNode { SyntaxN...
QuanLyNhaSach/Bus/AppHandler.cs
LTUDQL1-1660401-1660426/QuanLyNhaSach
1
7030494
<reponame>LTUDQL1-1660401-1660426/QuanLyNhaSach using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using WPF.MDI; namespace QuanLyNhaSach.Bus { public class AppHandler ...
ImageServer/Services/WorkQueue/TierMigrate/TierMigrationStatistics.cs
SNBnani/Xian
1
7030495
<filename>ImageServer/Services/WorkQueue/TierMigrate/TierMigrationStatistics.cs<gh_stars>1-10 #region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http:/...
EFCoreSecurityDemos/EFCoreSecurityXamarinDemo/EFCoreSecurityXamarinDemo/EFCoreSecurityXamarinDemo/ListViewMasterDetailPage.cs
DevExpress/OBSOLETE_EF-Core-Security
0
7030496
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; using EFCoreSecurityXamarinDemo.ListViewPages; using Xamarin.Forms; namespace EFCoreSecurityXamarinDemo { public class ListViewMasterDetailPage : MasterDetailPage { string userName; ...
src/Clients/DesktopClient/View/ListEventsView.xaml.cs
catarina/SC2LiquipediaStatistics
3
7030497
<reponame>catarina/SC2LiquipediaStatistics using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows...
Source/Humanoid_Project/HumanUpgraded/DamageWorker_GreenFire.cs
emipa606/HumanoidProject
0
7030498
using System.Collections.Generic; using RimWorld; using Verse; namespace HumanUpgraded { // Token: 0x0200000A RID: 10 public class DamageWorker_GreenFire : DamageWorker_AddInjury { // Token: 0x0600001F RID: 31 RVA: 0x00002AE8 File Offset: 0x00000CE8 public override DamageResult Apply(Damag...
src/Client/NetDaemon.HassClient.Tests/Integration/HomeAssistantServerMock.cs
skotl/netdaemon_v2
0
7030499
<reponame>skotl/netdaemon_v2 namespace NetDaemon.HassClient.Tests.Integration; /// <summary> /// The Home Assistant Mock class implements a fake Home Assistant server by /// exposing the websocket api and fakes responses to requests. /// </summary> public class HomeAssistantMock : IAsyncDisposable { public ...
src/Spectre.Console/Rendering/RenderContext.cs
gep13/spectre.console
0
7030500
using System.Text; namespace Spectre.Console.Rendering { /// <summary> /// Represents a render context. /// </summary> public sealed class RenderContext { /// <summary> /// Gets the console's output encoding. /// </summary> public Encoding Encoding { get; } ...
Services/JustMeet.Services.Data/Contracts/IUsersService.cs
Team-Iris/JustMeet
0
7030501
<gh_stars>0 namespace JustMeet.Services.Data.Contracts { using System; using System.Linq; using Common.Constants; using Models; public interface IUsersService { IQueryable<User> All(); IQueryable<User> All(int page = UsersConstants.Page, int pageSize = UsersConstants.PageSize)...
Source/DigitalRune.Graphics.Content.Pipeline/Textures/DRTextureFormat.cs
Drul1337/DigitalRune
234
7030502
// DigitalRune Engine - Copyright (C) DigitalRune GmbH // This file is subject to the terms and conditions defined in // file 'LICENSE.TXT', which is part of this source code package. namespace DigitalRune.Graphics.Content.Pipeline { /// <summary> /// Defines the texture format. /// </summary> public enum DRT...
imageClipPaste/Views/Commands/CommandExtension.cs
mizutuu/imageClipPaste
6
7030503
<reponame>mizutuu/imageClipPaste<gh_stars>1-10 using System; using System.Windows.Input; namespace imageClipPaste.Views.Commands { /// <summary> /// XAMLから直接実行するコマンドの基盤クラスです。 /// </summary> public abstract class CommandExtension : ICommand { /// <summary> /// 現在の状態で、このコマンドが実行できるかを判...
StormLib/Interfaces/IStream.cs
Kingloo/Storm
4
7030504
using System; namespace StormLib.Interfaces { public interface IStream : IEquatable<IStream>, IComparable<IStream> { Uri Link { get; } Status Status { get; set; } string Name { get; } string DisplayName { get; set; } int ViewersCount { get; set; } Uri Icon { get; } bool HasStreamlinkSupport { get; } ...
Wisper/mNodeCore/mNode/Views/NestAuth.cshtml
yodiwo/plegma
6
7030505
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Nest Authorization</title> </head> <body> <form action="/nest/auth/results" method="post"> AccessToken:<br /> <input type="text" name="accesstoken"><br /> <button type="submit">Submit</button> </form> </body...
AspNetCoreSecureWebApiJwt/AspNetCoreWebApiJwtHmac/Controllers/AccountController.cs
amgdy/aspnetcore-webapi-secure-jwt
1
7030506
<gh_stars>1-10 using AspNetCoreWebApiJwtHmac.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Net; using System.Security.Claims; using System.Text; ...
source/GoLava.ApplePie/GoLava.ApplePie/Contracts/Attributes/CsrfClassAttribute.cs
Fucktheworld666/golava-applepie
15
7030507
using System; namespace GoLava.ApplePie.Contracts.Attributes { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class CsrfClassAttribute : Attribute { public CsrfClassAttribute(CsrfClass csrfClass) { this.CsrfClass = csrfClass; } public Cs...
external/aspnetwebstack/test/System.Web.Http.Integration.Test/Authentication/CustomUsernamePasswordValidator.cs
Distrotech/mono
10
7030508
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.IdentityModel.Selectors; namespace System.Web.Http { public class CustomUsernamePasswordValidator : UserNamePasswordValidator { public override void Validate(string u...
Fast Food/FastFood.Data/Configurations/PositionConfig.cs
Shtereva/CSharp-DB-Fundamentals---Entity-Framework
0
7030510
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace FastFood.Data.Configurations { public class PositionConfig : IEntityTypeConfiguration<Models.Position> { public void Configure(EntityTypeBuilder<Models.Position> builder) { builder...
Megadotnet.MessageMQ.Adapter.NetCore/ActiveMQListenAdapter.cs
megadotnet/MQAdapter
2
7030511
<reponame>megadotnet/MQAdapter<filename>Megadotnet.MessageMQ.Adapter.NetCore/ActiveMQListenAdapter.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ActiveMQListenAdapter.cs" company="Megadotnet"> // Copyright (c) 2010-2018 <N...
TestHelpers.Tests/MockDriveInfoFactoryTests.cs
AlexanderPruss/System.IO.Abstractions.ImprovedMocks
0
7030512
using System.Linq; using NUnit.Framework; namespace System.IO.Abstractions.TestingHelpers.Tests { using XFS = MockUnixSupport; [TestFixture] public class MockDriveInfoFactoryTests { [Test] public void MockDriveInfoFactory_GetDrives_ShouldReturnDrives() { // Arrange...
Test_Project_Hotel/ViewModels/Workers/WorkerSortViewModel.cs
Nikan888/CWorkASPNet
0
7030513
<reponame>Nikan888/CWorkASPNet<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Test_Project_Hotel.ViewModels.Workers { public enum WorkerSortState { FIOAsc, FIODesc, PostAsc, PostDesc } public class ...
BlogEngine/BlogEngine.Core/Web/Controls/RelatedPostsBase.cs
Solotzy/Analysis-of-BlogEngine.NET
0
7030514
using System; using System.Collections.Generic; using System.Web.Caching; using System.Web.UI; namespace BlogEngine.Core.Web.Controls { /// <summary> /// Base class for related posts control /// </summary> public class RelatedPostsBase : UserControl { readonly string _cacheKey = "RELATED_P...
code/dotnet/FactSetPrices/v1/src/FactSet.SDK.FactSetPrices/Client/RequestOptions.cs
factset/enterprise-sdk
6
7030515
<gh_stars>1-10 /* * FactSet Prices API * * Gain access to comprehensive global coverage for Equities & Fixed Income. Perform quick analytics by controlling the date ranges, currencies, and rolling periods, or simply request Open, High, Low, and Close prices. Easily connect pricing data with other core company data o...
DnDGen.TreasureGen.Tests.Integration.IoC/Modules/SelectorsModuleTests.cs
cidthecoatrack/TreasureGen
6
7030516
<gh_stars>1-10 using DnDGen.TreasureGen.Selectors.Collections; using DnDGen.TreasureGen.Selectors.Percentiles; using NUnit.Framework; namespace DnDGen.TreasureGen.Tests.Integration.IoC.Modules { [TestFixture] public class SelectorsModuleTests : IoCTests { [Test] public void TypeAndAmountPe...
Rendering2D/Shapes/Tests/EllipseTests.cs
HLSW/DeltaEngine
81
7030517
using System.Collections.Generic; using DeltaEngine.Core; using DeltaEngine.Datatypes; using DeltaEngine.Platforms; using NUnit.Framework; namespace DeltaEngine.Rendering2D.Shapes.Tests { public class EllipseTests : TestWithMocksOrVisually { [Test, ApproveFirstFrameScreenshot] public void RenderRedEl...
CS108MvxApp/BLE.Client/PagesViewModelsSet/SpecialFuction/UCODE8/PageUCODE8Inventory.xaml.cs
cslrfid/CS108-Mobile-CSharp-DotNetStd-App-v4
0
7030518
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BLE.Client.ViewModels; using MvvmCross.Forms.Views; using Xamarin.Forms; namespace BLE.Client.Pages { public partial class PageUCODE8Inventory : MvxContentPage<ViewModelUCODE8Inventory> { ...
JavApi_Core/java/util/StringTokenizer.cs
bastie/JavApi
2
7030519
/* * 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 to in writing, software * d...
src/Lykke.AlgoStore.CSharp.AlgoTemplate.API/Modules/ServiceModule.cs
LykkeCity/Lykke.AlgoStore.CSharp.AlgoTemplate
0
7030520
<gh_stars>0 using Autofac; using Autofac.Extensions.DependencyInjection; using Common.Log; using Lykke.AlgoStore.CSharp.AlgoTemplate.Core.Services; using Lykke.AlgoStore.CSharp.AlgoTemplate.Core.Settings; using Lykke.AlgoStore.CSharp.AlgoTemplate.Models; using Lykke.AlgoStore.CSharp.AlgoTemplate.Models.Enumerators; us...
Ddr.Ssq/PlayDifficulty.cs
juner/Ddr.Ssq
0
7030521
using System.Runtime.Serialization; using Ddr.Ssq.Internal; namespace Ddr.Ssq { /// <summary> /// Play Difficulty /// </summary> public enum PlayDifficulty : byte { /// <summary> /// Basic /// </summary> [EnumMember(Value = "Basic")] Basic = 0x...
Source/Stencil.Server/Stencil.Primary.UnitTests/Daemons/DaemonTestBase.cs
watfordsuzy/stencil
0
7030522
using Codeable.Foundation.Common; using Codeable.Foundation.Common.Daemons; using Codeable.Foundation.Common.System; using Codeable.Foundation.Core; using Microsoft.Practices.Unity; using Moq; using Stencil.Common.Configuration; using Stencil.Primary.UnitTests; namespace Stencil.Primary.Daemons { public class Dae...
src/CaptainHook.Common/Configuration/EventHandlerConfig.cs
eShopWorld/captain-hook
1
7030523
<filename>src/CaptainHook.Common/Configuration/EventHandlerConfig.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http; using System.Runtime.Serialization; using CaptainHook.Common.Authentication; using Newtonsoft.Json; namespace CaptainHook.Common.Configuration { ...
MAD3_Project/Assets/Scripts/UIPlayerUpdate.cs
IvanMcGann/MobileAppDev3
0
7030524
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; // <- this is required each time we use a TextMeshPro element public class UIPlayerUpdate : MonoBehaviour { public TextMeshProUGUI magazineDisplay; public TextMeshProUGUI reloadingDisplay; public Player player; ...
LifeBank.Application/DependencyInjection.cs
marlonajgayle/LifeBank
2
7030525
<gh_stars>1-10 using AutoMapper; using LifeBank.Application.Common.Behaviours; using LifeBank.Infrastructure.HealthChecks; using MediatR; using Microsoft.Extensions.DependencyInjection; using System.Reflection; namespace LifeBank.Infrastructure { public static class DependencyInjection { public static...
Sleipnir/Editor/GraphEditor/GraphEditorVisuals.cs
michalpogodakotwica/Sleipnir
5
7030526
<reponame>michalpogodakotwica/Sleipnir<gh_stars>1-10 using UnityEngine; namespace Sleipnir.Editor { public partial class GraphEditor { private static readonly Color GridLineColor = new Color(0.28f, 0.28f, 0.28f); private static readonly Color CrossColor = new Color(0.36f, 0.36f, 0.36f); ...
DotNetCoreArchitecture.Persistence/Repositories/WithSaveRepositoryDecorator.cs
AleksandreJavakhishvili/DotNetCoreArchitecture
15
7030527
using DotNetCoreArchitecture.Application.Interfaces; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace DotNetCoreArchitecture.Persistence.Repositories { public class WithSaveRepositoryDecorator<T> : IRepository<T> where T : class { p...
Vulkan/Framework/Converted/DeviceQueues.cs
trmcnealy/Vulkan
0
7030528
using System; namespace Vulkan.Framework; public sealed class DeviceQueues { public static readonly DeviceQueues Null = new(); public uint queue_family_count { get; set; } public Array<bool> support_transfer { get; set; } public Array<bool> support_graphics { ge...
MiniObfuscator/MiniObfuscator.Core/Enums/NamespacesRestructuring.cs
msynk/obfuscator
4
7030529
using System.ComponentModel; namespace MiniObfuscator.Core.Enums { public enum NamespacesRestructuring { [Description("Namespaces not restructured")] AsIs, [Description("Each obfuscated type in one namespace")] EachTypeOneNamespace, [Description("All obfuscated types in one namespace")] Al...
01.DefiningClasses/13.FamilyTree/StartUp.cs
Gandjurov/OOP-Basic-CSharp
1
7030530
using System; using System.Collections.Generic; using System.Linq; namespace FamilyTree { public class StartUp { static List<Person> persons; static List<string> relationShips; public static void Main(string[] args) { persons = new List<Person>(); rela...
src/GRINTSYS.SAPMiddleware.Application/Carts/Dto/AddCartInput.cs
Grintsys/GRINTSYS.SAPMiddleware
0
7030531
<gh_stars>0 using GRINTSYS.SAPMiddleware.M2; using System; namespace GRINTSYS.SAPMiddleware.Carts.Dto { public class AddCartInput { public int TenantId { get; set; } } }
AdventOfCodeSolvings/Day04.cs
Konry/AdventOfCode2018
0
7030532
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdventOfCodeSolvings { public class Entry { public DateTime date; public string extension; public Entry(DateTime dt, string ext) { date ...
src/backend/4.Business/Orangotango.Business/ViewModels/BaseViewModel.cs
wesleycosta/orangotango
8
7030533
using System; namespace Orangotango.Business.ViewModels { public abstract class BaseViewModel { public Guid Id { get; set; } public DateTime Created { get; set; } public DateTime LastUpdated { get; set; } public bool Active { get; set; } } }
src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DisplayNameAttributeTests.cs
belav/runtime
0
7030534
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Xunit; namespace System.ComponentModel.Tests { public class DisplayNameAttributeTests { [Fact] public void Ctor_Defau...
api/Startup.cs
ben-voss/cequel-space
0
7030535
using System; using System.Collections.Generic; using Autofac; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting...
tilegenx/Assets/tilegenx/StructureExample/DynamicTile.cs
Papishushi/procedural-tile-generation
4
7030536
<reponame>Papishushi/procedural-tile-generation using System; using System.Collections.Generic; #if UNITY_EDITOR using UnityEditor; #endif namespace UnityEngine.Tilemaps.tilegenX { [Serializable] public struct DynamicTileSprites { [HideInInspector] public string name; [Space(5)] ...
src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/MiscellaneousDesign/RaiseEventFromProtectedVirtualMethodSpecs.cs
safescan/CSharpGuidelinesAnalyzer
89
7030537
<filename>src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/MiscellaneousDesign/RaiseEventFromProtectedVirtualMethodSpecs.cs using CSharpGuidelinesAnalyzer.Rules.MiscellaneousDesign; using CSharpGuidelinesAnalyzer.Test.TestDataBuilders; using Microsoft.CodeAnalysis.Diagnostics; using Xunit; namespace CS...
ProtoType/CM/CM/Library/Events/Picture/SavePictureCommandValidator.cs
omarwasfi/CM
0
7030538
using System; using FluentValidation; namespace CM.Library.Events.Picture { public class SavePictureCommandValidator : AbstractValidator<SavePictureCommand> { public SavePictureCommandValidator() { RuleFor(x => x.FormFile).NotNull().WithMessage("The FormFile is null !"); RuleFor(x => x.FormFile).NotEmpty(...
Rando/PrngSHA256.cs
mdepaul/Rando-Calrissian
1
7030539
/* Attribution * <NAME> * https://github.com/mdepaul/XRng.git * */ using System.Security.Cryptography; namespace MD.RandoCalrissian { /// <summary> /// A class for generating pseudo-random numbers using RNGCryptoServiceProvider. /// Key stretching is used by leveraging and HMACSHA256 intern...
Manage-Report-Exporting/Controllers/HomeController.cs
stimulsoft/Samples-NET.Core-JS-CSharp
5
7030540
<gh_stars>1-10 using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Hosting; using Stimulsoft.Report.NetCore; using Stimulsoft.Report.NetCore.Export; namespace Manage_Report_Exporting.Controllers { public class HomeController : Controller { private readonly IHostingEnvironment _hostEnvironment; ...
Ivony.TableGame.Core/GameHostBase.cs
Ivony/TableGames
18
7030541
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ivony.TableGame { /// <summary> /// 提供 IGameHost 的基础实现 /// </summary> public abstract class GameHostBase : IGameHost { /// <summary> /// 创建 GameHostBase 对象 /// </summa...
src/ProjetoEntityVO.Infrastructure/Mappings/ProdutoMap.cs
robsonalves87/ProjetoEntityVO
0
7030542
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using ProjetoEntityVO.Domain.Entities; namespace ProjetoEntityVO.Infrastructure.Mappings { public class ProdutoMap : IEntityTypeConfiguration<Produto> { public void Configure(EntityTypeBuilder<Produto> builder)...
Phoenix.Core.Api.Infrastructure.Provision/Brokers/Clouds/CloudBroker.WebApps.cs
arafat-pro/Phoenix.Core
0
7030543
using System.Threading.Tasks; using Microsoft.Azure.Management.AppService.Fluent; using Microsoft.Azure.Management.AppService.Fluent.Models; using Microsoft.Azure.Management.ResourceManager.Fluent; namespace Phoenix.Core.Api.Infrastructure.Provision.Brokers.Clouds { public partial class CloudBroker { ...
BluConsole/Assets/Plugins/BluConsole/Scripts/Core/UnityLoggerApi/ConsoleWindow.cs
gilbertoalexsantos/bluconsole
8
7030545
<reponame>gilbertoalexsantos/bluconsole<filename>BluConsole/Assets/Plugins/BluConsole/Scripts/Core/UnityLoggerApi/ConsoleWindow.cs using System.Reflection; namespace BluConsole.Core.UnityLoggerApi { public enum ConsoleWindowFlag { Collapse = 1, ClearOnPlay = 2, ErrorPause ...
Shared/Comment.cs
rbrands/MeetUpRoutes
0
7030546
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace BlazorApp.Shared { public class Comment : CosmosDBEntity { [JsonProperty(PropertyName = "referenceId")] public string ReferenceId { get; ...
BattleRoyale/ServerLogic/GameObject/BaseMapObject.cs
Team-on/Battle-Royale
3
7030547
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ServerLogic.Components; namespace ServerLogic.GameObject { class BaseMapObject : BaseGameObject{ public BaseMapObject(Common.GameObjectType type) : base(type, null) { } } }
pocketpc/PubNub-Messaging/ConcurrentHashtable/WeakSegment.cs
redarrowlabs/pubnub-c-sharp
0
7030548
/* Copyright 2008 The 'A Concurrent Hashtable' development team (http://www.codeplex.com/CH/People/ProjectPeople.aspx) This library is licensed under the GNU Library General Public License (LGPL). You should have received a copy of the license along with the source code. If not, an online copy of the lice...
Trionic5Controls/frmPartNumberList.Designer.cs
roffe/TuningSuites
29
7030549
<gh_stars>10-100 namespace Trionic5Controls { partial class frmPartNumberList { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /...
Private/Wdg/ExecutionLogSdk/ExecutionLogLoadOptions.cs
miniksa/BuildXL
448
7030550
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.CodeAnalysis; namespace Tool.ExecutionLogSdk { /// <summary> /// Enumeration used to specify what to load from execution logs. /// Multiple of these enum values can be OR-ed into a s...
sdk/dotnet/AppService/Outputs/AppServiceSiteConfig.cs
adnang/pulumi-azure
0
7030551
// *** 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...
RomVaultX/DB/RvGameGridRow.cs
mnadareski/RVWorld
1
7030554
<filename>RomVaultX/DB/RvGameGridRow.cs using System; using System.Collections.Generic; using System.Data.Common; using System.Data.SQLite; namespace RomVaultX.DB { public class rvGameGridRow { private static SQLiteCommand _commandRvGameGridRowRead; public int GameId; public...
Project/Project/AppFucntions.cs
p3p4r/Data-Sources-Converter
0
7030555
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Text.Json; using System.Data; using System.Xml.Linq; namespace Project { c...
Morro.Content.Pipeline/BMFonts/Data/BMFontKerning.cs
thismarvin/morro
0
7030556
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace Morro.Content.Pipeline.BMFonts.Data { [Serializable] public class BMFontKerning { [XmlAttribute("first")] public int First { get; se...
Assets/IVI/Scripts/File Explorer/IVIFile.cs
JulienBazire/IVI
1
7030557
<filename>Assets/IVI/Scripts/File Explorer/IVIFile.cs<gh_stars>1-10 using System; using System.IO; using System.Collections; using System.Collections.Generic; using UnityEngine; public class IVIFile : IVIEntry { public string FullPath { get { return Systemfile.FullName; } } public IVIFileType Type; public FileInf...
ODS.Core/Interfaces/IFile.cs
aurigma/PhotoKiosk
5
7030558
<gh_stars>1-10 // Copyright (c) 2018 Aurigma Inc. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System.Collections.Generic; namespace ODS.Core { public interface IFile { string Path { get; } IDictionary<strin...
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/ReflectableMethodNode.cs
pyracanda/runtime
9,402
7030559
<reponame>pyracanda/runtime // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using ILCompiler.DependencyAnalysisFramework; using Internal.TypeSystem; using Debug = System.Diagnosti...
linear/QRDecomposition.cs
Fylax/Apache-Commons-Math3-C-
10
7030560
<filename>linear/QRDecomposition.cs // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Versio...
minotaur/Minotaur.Pipeline/Writers/UInt16Writer.cs
mlunnay/minotaur
1
7030561
<filename>minotaur/Minotaur.Pipeline/Writers/UInt16Writer.cs using System; namespace Minotaur.Pipeline.Writers { public class UInt16Writer : ContentTypeWriter<UInt16> { public UInt16Writer() : base(new Guid("03d355ea-8e06-428d-b3f7-c1641a32371f")) { isPrimitiveType = true; } public ove...
code/src/Plexdata.LogWriter.Console.Tests/Settings/ConsoleLoggerSettingsTests.cs
akesseler/Plexdata.LogWriter
3
7030562
<gh_stars>1-10 /* * MIT License * * Copyright (c) 2021 <EMAIL> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
Hospital/IntegrationAPI/Controller/FeedbacksController.cs
pswFirma6/integrationsPart
0
7030563
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using IntegrationLibrary.Pharmacy.Model; using IntegrationLibrary.Pharmacy.Service; using RestSharp; using System.Text.J...
Assets/NewtonVR/NVRHand.cs
401asfg/rover-vr
0
7030564
<filename>Assets/NewtonVR/NVRHand.cs using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Valve.VR; namespace NewtonVR { public class NVRHand : MonoBehaviour { private Valve.VR.EVRButtonId HoldButton = EVRButtonId.k_EButton_SteamVR_Trig...
USBManager/USBManager.Utils/USBUtils/USBDictionary.cs
yuzhengyang/USBManager
15
7030565
<gh_stars>10-100 using Azylee.Core.DataUtils.CollectionUtils; using Azylee.Core.DataUtils.StringUtils; using Azylee.Core.IOUtils.TxtUtils; using Azylee.Jsons; using Azylee.YeahWeb.HttpUtils; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using USBManager.Models.USBIDModels; using US...
Comment/Guandian/Areas/Webhooks/Models/Common/DeploymentStatus.cs
niltor/21DCC.Web
1
7030566
using System; using Newtonsoft.Json; namespace GithubWebhook.Common { public partial class DeploymentStatus { [JsonProperty("url")] public string Url { get; set; } [JsonProperty("id")] public long? Id { get; set; } [JsonProperty("state")] public string State {...
src/Messaging/NBB.Messaging.Host/Builder/TypeSelector/IServiceCollectionProvider.cs
osstotalsoft/nbb
76
7030567
<reponame>osstotalsoft/nbb // Copyright (c) TotalSoft. // This source code is licensed under the MIT license. using Microsoft.Extensions.DependencyInjection; // ReSharper disable once CheckNamespace namespace NBB.Messaging.Host { public interface IServiceCollectionProvider { IServiceCollect...
FSL.eBook.RWP.DesignPatterns/FacadeChapter/Logger.cs
fabiosilvalima/FSL.EbookRealWorldProgramming
1
7030568
 using System; namespace FSL.eBook.RWP.DesignPatterns.FacadeChapter { public class Logger : IDisposable { public void Dispose() { } public void Log(string message) { } } }
RealEstateInspector.Shared.Entities/BaseEntityData.cs
nickrandolph/realestateinspector
7
7030570
<filename>RealEstateInspector.Shared.Entities/BaseEntityData.cs #if SERVICE using Microsoft.WindowsAzure.Mobile.Service; #else using Microsoft.WindowsAzure.MobileServices; #endif using System; namespace RealEstateInspector.Shared.Entities { public class BaseEntityData #if SERVICE : EntityData{} #else {...
src/Sotsera.Blazor.Toaster/ToastContainer.razor.cs
SeppPenner/sotsera.blazor.toaster
1
7030571
// Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Components; using Sotsera.Blazor.Toaster.Core; namespace Sotsera.Blazor.Toaster { ...
Engines/FlatRedBallXNA/FlatRedBall/Instructions/InstructionBlueprint.cs
patridge/FlatRedBall
110
7030572
<reponame>patridge/FlatRedBall<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace FlatRedBall.Instructions { #region XML Comments /// <summary> /// A class that can be used to quickly create create identical Instructions for individual ta...