content
stringlengths
23
1.05M
using System; using System.Collections.Generic; using System.Linq; using Abacus.Geometry; using Abacus.Helper; using Abacus.Interface; using A = Abacus.Helper.AngleHelper; namespace Abacus { public class Matrix4 : SquareMatrix<Matrix4>, IMatrix { #region CONSTRUCTORS public Matrix4() ...
using System; using System.Collections.Generic; namespace Chess.Model.Pieces { public class King : Piece { public King(Color color) : base(color) { } public override char Symbol { get { return Color == Color.White ? '♚' : '♔'; } ...
using System; namespace Abp.Extension.Orm.Dapper.Context { /// <summary> /// default implementation of transaction handle /// </summary> class TransactionHandle : IDapperDbTransactionHandle { /// <summary> /// Triggered after Dispose is called /// </summary> public...
// Copyright (c) 2010-2016, Rafael Leonel Pontani. All rights reserved. // For licensing, see LICENSE.md or http://www.araframework.com.br/license // This file is part of AraFramework project details visit http://www.arafrework.com.br // AraFramework - Rafael Leonel Pontani, 2016-4-14 using System; using System.Collec...
using System; using CouchDB.Driver; using CouchDB.Driver.Options; using Flurl.Http.Configuration; using M5x.DEC.Infra.CouchDb; using Robby.Schema; using Serilog; namespace Robby.Infra { internal class RoboSimStore: CouchStore<RoboSim>, IRoboSimStore { public RoboSimStore(ICouchClient client, ILogg...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Autofac; using TourDeFrance.Core.Interfaces; using TourDeFrance.Core.Repositories; using TourDeFrance.Core.Tools; using TourDeFrance.Core.Tools.Cache; using ServiceStack.Redis; using System.IO; using SimpleStack.Orm; usin...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Gooios.GoodsService.Applications.Services; using Gooios.GoodsService.Applications.DTOs; namespace Gooios.GoodsService.Controllers { [Produces("app...
using System; using System.IO; using Microsoft.Build.Utilities; using Microsoft.Build.Framework; using Microsoft.Build.Tasks; using Microsoft.SPOT.WiX; using System.Xml; using System.Text.RegularExpressions; using Task = Microsoft.Build.Utilities.Task; namespace Microsoft.SPOT.Tasks.Internal { public...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { [SerializeField] private float speed = 1f; [SerializeField] private Animator playerAnimator; [SerializeField] private Transform dodo; [SerializeFie...
/* * Copyright 2018 JDCLOUD.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/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; namespace SharpCifs.Util.Sharpen { // Token: 0x0200001B RID: 27 public static class Collections { // Token: 0x060000D9 RID: 217 RVA: 0x00006924 File Offset: 0x00004B24 public static bool A...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReadFile { class Program { static void Main(string[] args) { //Reading Tect from a File //exchange the adress of the file with the one you want ...
#pragma warning disable 0649 using System.Collections; using System.Collections.Generic; using UnityEngine; using NagaUnityUtilities; public class BasicHealth : Health { [Header("CUSTOMISATIONS")] [SerializeField] private float maxHealth; [SerializeField] private float health; public override void F...
namespace Lab5 { public class Task3 { public IQueue<int> CreateQueue() { return new LinkedQueue<int>(); } } public class LinkedQueue<T> : IQueue<T> { public int Count => throw new System.NotImplementedException(); public bool IsEmpty => throw ne...
using System.Threading.Tasks; namespace GameSpace.Services.Appearances.Contracts { public interface IAppearanceService { Task<int> Create(byte[] image, byte[] banner = null); } }
using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Query; using Microsoft.EntityFrameworkCore.TestModels.Northwind; using Microsoft.EntityFrameworkCore.TestUtilities; using Xunit; namespace Npgsql.EntityFrameworkCore.PostgreSQL.Query { publi...
using System.Collections.Generic; namespace LetPortal.Portal.Models.Pages { public class PageSubmittedButtonModel { public string ButtonName { get; set; } public List<PageParameterModel> Parameters { get; set; } public List<LoopDataModel> LoopDatas { get; set; } } public cla...
using Amuse.Extends; using Prolliance.Membership.Common; using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace Prolliance.Membership.DataPersistence.Utils { /// <summary> /// 此类的意义在于帮助表模型生成唯一的 _id /// _id 数据驱动可以自行选择是否存储 _id /// 如果表模型存在添加 ModelIdKey 特性的的属...
using MongoDbGenericRepository.Models; namespace Service.Models.Data { public interface IScore : IDocument { string Debit { get; set; } string Credit { get; set; } string Symbol { get; set; } string Distance { get; set; } string Position { get; set; } string Expiration { get; set...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Aiplugs.Functions.Core { public interface IJobRegistory { IJob FindJob(long id); void AddJob(long id, IJob job); void RemoveJob(long id); bool ExistJob(long id); Action Find...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace Xamarin.PropertyEditing.Tests { [TestFixture] internal class AsyncValueTests { [Test] public void ValueOnCompletion () { var tcs = new TaskCompletionSource<s...
using System; namespace DesignPatterns.Decorator { class Program { static void Main(string[] args) { IShape circle = new Circle(); IShape redCircle = new RedShapleDecorator(new Circle()); IShape redRectangle = new RedShapleDecorator(new Rectangle()); ...
using System; using System.Collections.Generic; using WarO_CSharp_v2.Strategy; namespace WarO_CSharp_v2.Actor { public class Player { private readonly string name; private readonly IStrategy strategy; private PlayerStats playerStats; private readonly int maxCard; ...
using MSCorp.FirstResponse.Client.Data; using MSCorp.FirstResponse.Client.Models; using System.Collections.ObjectModel; using System.Threading.Tasks; using MSCorp.FirstResponse.Client.Extensions; namespace MSCorp.FirstResponse.Client.Services.Heatmap { public class MockHeatmapService : IHeatmapService { ...
namespace EFCodeFirstWithDatabase { using System; using System.Data.Entity; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; public partial class BikeStoresModel : DbContext { public BikeStoresModel() : base("name=BikeStoresContext") { } public...
using Microsoft.ServiceFabric.Actors; namespace Cogito.ServiceFabric.Test.TestActorService.Net47 { public interface INet47TestActor : IActor { } }
using AutoMapper; using EPlast.BLL.DTO.City; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DataAccessCity = EPlast.DataAccess.Entities; namespace EPlast.BLL.Mapping.City { public class CityForAdministrationProfile : Profile { public CityForAdmin...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Assets.Scripts.OmaWatch.Ai.Commands; using Assets.Scripts.OmaWatch.Ai.Tasks.PatrolAction; using UnityEngine; namespace Assets.Scripts.OmaWatch.Ai.Tasks { public class PatrolTask : Abstrac...
namespace Stub._MSXML2 { public interface ServerXMLHTTP60 : Stub._MSXML2.IServerXMLHTTPRequest2 { } }
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using WCMS.Framework; namespace WCMS.WebSystem.WebParts.Central.Controls { public partial clas...
using System.Collections.Generic; using System.Linq; using Revo.Core.Events; namespace Revo.Infrastructure.Events.Async { public abstract class AsyncEventSequencer<TEvent> : IAsyncEventSequencer<TEvent> where TEvent : IEvent { public IEnumerable<EventSequencing> GetEventSequencing(IEventMessag...
using IVisio = Microsoft.Office.Interop.Visio; using System; using VA=VisioAutomation; using System.Linq; namespace VisioAutomation.Text.Markup { public class CustomField: FieldBase { public string Formula { get; set; } public CustomField(string formula, IVisio.VisFieldFormats fmt) : ...
using BarberShop.Models; using BarberShop.Repository.Interfaces.Database; using BarberShop.Tools.Interfaces; using BarberShop.Services; using Moq; using System; using Xunit; namespace BarberShop.Tests.Services { public class OrderInfoTests { private Mock<IOrderInfoRepository> _orderInfoRepository; ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Standprof.QA.Common; using TechTalk.SpecFlow; namespace Standprof.OpenWeather.Tests.API.Tests.Steps { [Binding] public class BaseStepsApi { public ScenarioContext TheScenarioContext; public BaseStepsApi(ScenarioConte...
using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.Linq; using System.Waf; using System.Waf.Applications; using System.Windows; namespace XefFileExtractor { public partial class App : Application { private AggregateCatal...
//____________________________________________________________________________ // // Copyright (C) 2020, Mariusz Postol LODZ POLAND. // // To be in touch join the community at GITTER: https://gitter.im/mpostol/TP //____________________________________________________________________________ using Microsoft.VisualSt...
using MyDHLAPI_REST_Library.Objects.Common; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; namespace MyDHLAPI_REST_Library.Objects.Pickup { public class Billing { [StringLength(9)] public string ShipperAccountNumber { get; set; } ...
/** * FromBytes.cs * * Copyright (c) 2019 Pradoxzon Dev * * Author: Shawn Peerenboom (Pradoxzon) * * This class implements extensions to byte arrays that * convert the arrays to other types. */ namespace Pradoxzon.CommOps.Arrays { using System; using System.Collections.Generic; using System.Li...
using System.Net; namespace UsersApi.Models { public class Result { public HttpStatusCode StatusCode { get; set; } public string Message { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TakingCare_04 { class Program { static void Main(string[] args) { var boughtFood = int.Parse(Console.ReadLine()); boughtFood *= 1000; ...
using AudiioScraper.Common.Extensions; using AudiioScraper.Entities; using AudiioScraper.Entities.Enums; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Microsoft.Extensions.Configuration; namespace AudiioScraper.DataAccess { public class AudiioScraperDbCont...
namespace BDInSelfLove.Data.Seeding { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BDInSelfLove.Common; using BDInSelfLove.Data.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; ...
using NUnit.Framework; namespace DryIoc.IssuesTests { [TestFixture] public class Issue435_ReuseSingleton_prevents_the_correct_container_injection_within_explicit_resolve { [Test] public void ScopesResolution() { var container = new Container(); ...
using System.Collections.Generic; using UniLife.Shared.DataInterfaces; namespace UniLife.Shared.DataModels { public class Kampus : Entity<int>, IAuditable, ISoftDelete { public string Ad { get; set; } public string Il { get; set; } public string Ilce { get; set; } public string...
using System.Diagnostics; namespace MCServerManager.Utils; public static class CpuMemoryMetrics4LinuxUtils { private static long totalMemoryInKb; /// <summary> /// Get the system overall CPU usage percentage. /// </summary> /// <returns>The percentange value with the '%' sign. e.g. if the usage ...
using NUnit.Framework; using Regex.Application.Patterns.Commands.CreatePattern; using Regex.Application.Patterns.Commands.CreatePattern.Models; using Regex.Specification.Common; using System.Linq; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Assist; namespace Regex.Specification.CreateAPatter { [Binding] ...
using YouFoos.DataAccess.Entities.Account; namespace YouFoos.Api.Services.Authentication { /// <summary> /// This class is responsible for signing and minting authentication tokens used for user authentication. /// </summary> public interface IJwtMinter { /// <summary> /// ...
namespace WebMoney.Services.Contracts.BusinessObjects { public interface ISession { long CurrentIdentifier { get; set; } IAuthenticationService AuthenticationService { get; } ISettingsService SettingsService { get; } } }
namespace CarRentalSystem.Application.Features.CarAds.Queries.Search { using System.Threading; using System.Threading.Tasks; using Domain.Specifications.CarAds; using MediatR; public class SearchCarAdsQuery : IRequest<SearchCarAdsOutputModel> { public string? Manufacturer { get; set; }...
/* Copyright (C) 2014-2016 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
namespace Luna.Data.Entities { /// <summary> /// Entity class that maps to the armTemplateArmTemplateParameters table in the database. /// </summary> public partial class ArmTemplateArmTemplateParameter { public long ArmTemplateId { get; set; } public ArmTemplate ArmTemplate { get; ...
namespace Zaggoware.Prism.Forms.Navigation { using System; using System.Threading.Tasks; using global::Prism.Navigation; public interface INavigationStateService { INavigationParameters? LastNavigationParams { get; } string? LastNavigationRoute { get; } Uri? LastNavi...
using System.Diagnostics.CodeAnalysis; using Essence.Ioc.FluentRegistration; using NUnit.Framework; namespace Essence.Ioc.Resolution { [TestFixture] [SuppressMessage("ReSharper", "ClassNeverInstantiated.Local")] public class InvalidResolutionTests { [Test] public void NotRegisteredServ...
//Write an expression that extracts from given integer n the value of given bit at index p using System; class ExtractBitFromInteger { static void Main() { Console.Write("Enter integer number n="); int number = int.Parse(Console.ReadLine()); Console.Write("Enter bit index p="); ...
using StorageMaster.Constants; using StorageMaster.Entities.Storages; using System; using System.Collections.Generic; using System.Text; namespace StorageMaster.Entities.Factories { public class StorageFactory { public Storage CreateStorage(string type, string name) { switch(type) { case nameof(...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Linq; namespace Microsoft.DotNet.Interactive.Rendering { internal static class Destructurer { public...
using System; using System.Diagnostics; using System.Threading.Tasks; using Modix.Data.Models.Core; using Modix.Services.Utilities; using Serilog; using Serilog.Events; namespace Modix { class Program { static async Task Main(string[] args) { var config = LoadConfig(); ...
using Gandalan.IDAS.WebApi.DTO; using System; using System.Collections.Generic; using System.Text; namespace Gandalan.IDAS.Client.Contracts.Vorgaenge { public interface IBelegAuswahlItem { BelegDTO Beleg { get; } VorgangDTO Vorgang { get; } string Titel { get; } DateTime Erste...
namespace NHSD.BuyingCatalogue.Identity.Common.IntegrationTests.Support { internal static class ScenarioContextKeys { internal const string AccessToken = nameof(AccessToken); internal const string OrganisationMapDictionary = nameof(OrganisationMapDictionary); internal const string Email...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Lpp.Dns.DataMart.Model.QueryComposer.Adapters { public class EncounterPeriodValues { public DateTimeOffset? AdmissionDate { get; set; } public DateTimeOffset? DischargeDate { get; set; } } }
using UnityEditor; using UnityEngine; namespace Ludiq.PeekCore { public sealed class GeneratePropertyProvidersWindow : SinglePageWindow<GeneratePropertyProvidersPage> { protected override GeneratePropertyProvidersPage CreatePage() { return new GeneratePropertyProvidersPage(this); } protected override vo...
using System.Collections.Generic; using SmartHome.DomainCore.Data.Models; namespace SmartHome.Web.Models.Permission { public class PermissionListViewModel { public PermissionListViewModel(IEnumerable<PermissionModel> items) { Items = items; } public bool CanCreate {...
using System.Collections.Generic; using System.Threading.Tasks; namespace EventCore.StatefulSubscriber { public interface IHandlingManagerTaskCollection { void Add(string key, Task task); IList<string> Keys { get; } void PurgeFinishedTasks(); } }
namespace FileManipulator { /// <summary> /// Using for generating values /// </summary> public interface IGenerator<T> { T Generate(); } }
using Microsoft.AspNetCore.Components.Authorization; using System.Security.Claims; namespace DragonSpark.Application.Security.Identity.Authentication; public sealed class AuthenticationState<T> : AuthenticationState where T : class { public static AuthenticationState<T> Default { get; } = new(); AuthenticationSta...
namespace Butler.Registration { using Butler.Lifetime; using Butler.Resolver; /// <summary> /// Interface for basic service registrations. /// </summary> public interface IServiceRegistration { /// <summary> /// Creates the instance. /// </summary> /...
using ModSettings; namespace CraftingRevisions { internal class Settings : JsonModSettings { internal static Settings instance = new Settings(); [Name("Crafting Menu Scroll Steps")] [Description("Number of steps moved in the crafting menu for one scroll. Default = 7")] [Slider(1, 7)] public int numCrafti...
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum ProgramMode { biopsy, dissection } public class Program : MonoBehaviour { public static Program instance; public ProgramMode currentMode; public ImportManager importManager; public InteractionMana...
namespace fft_2 { partial class frmPreferences { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
using Demonstrator.Models.ViewModels.Flows; using System.Collections.Generic; using System.Threading.Tasks; namespace Demonstrator.Core.Interfaces.Services.Flows { public interface IGenericSystemService { Task<GenericSystemViewModel> GetById(string systemId); Task<IEnumerable<GenericSystemVie...
using System.Net.Http; namespace EzrealClient.Attributes { /// <summary> /// 表示Post请求 /// </summary> public class HttpPostAttribute : HttpMethodAttribute { /// <summary> /// Post请求 /// </summary> public HttpPostAttribute() : this(path: null) { ...
using System; using System.Collections.Generic; namespace TddEbook.TddToolkitSpecification.Fixtures { public interface ISimple { int GetInt(); string GetString(); ISimple GetInterface(); string GetStringProperty { get; } Type GetTypeProperty { get; } IEnumerable<ISimple> Simples { get; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Lightbug.Utilities { /// <summary> /// This component represents a capsule collider in a 2D world. /// </summary> public class BoxColliderComponent2D : ColliderComponent2D { BoxCollider2D boxCollider = null; public over...
using UnityEngine; namespace SoftBody { /// <summary> /// Depending on the implementation of spring node, we can't directly give an instance because it might /// be a value type, which would void all changes. /// This provides a generic interface to manage the position of the spring node. /// </sum...
using System.Linq; using System.Threading.Tasks; namespace CSharp.Day { public class Day05 : IDayPuzzle { public async Task<long> SolvePartOne() { var boardingPasses = await FileInputHelper.GetInput("Input/day-05.txt"); long highestSeatId = 0; foreach(var bo...
using FluentAssertions; using Moq; using SpecificationPattern.Core.Specifications; using System.Collections.Generic; using System.Text; using Xunit; namespace SpecificationPattern.Core.Tests.Specifications { public class AndSpecificationTests { [Theory] [InlineData(false, false, false)] ...
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using Microsoft.Toolkit.Mvvm.ComponentModel; namespace SS14.Launcher.Views.MainWindowTabs; public partial class ServerEntryView : UserControl { public ServerEntryView() { InitializeComponent(); } protected override void OnAt...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassLibraryProjectWeek3 { //class Teacher //{ //} class Teacher : Person { public string Name { get; set; } public string Faculty { get; set; } pu...
using System; class AutoPropertyInitializers { public static string Name { get; set; } = "길벗"; static void Main() { Console.WriteLine(Name); } }
using Newtonsoft.Json; using System; namespace ICA_SVP.Misc { public class SummaryItem { [JsonProperty(PropertyName = "ica")] public int[][] Ica { get; set; } [JsonProperty(PropertyName = "error_samples")] public int[] ErrorSamples ...
// // // Copyright (c) Jesse Freeman, Pixel Vision 8. All rights reserved. // // Licensed under the Microsoft Public License (MS-PL) except for a few // portions of the code. See LICENSE file in the project root for full // license information. Third-party libraries used by Pixel Vision 8 are // under their...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BolaoNet.MVC.ViewModels.Bolao { public class ApostaJogoUsuarioEntryViewModel : Domain.Entities.ValueObjects.JogoUsuarioVO { #region Constants private const string Form...
using Newtonsoft.Json; namespace Light.Abp.JPush { public class PushResult { [JsonProperty("sendno")] public string SendNo { get; set; } [JsonProperty("msg_id")] public string MsgId { get; set; } [JsonProperty("error")] public PushError Error { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Emgu.CV.Structure; namespace Hand_Virtual_Mouse { public class Val { //public ushort Val{get;set;} public ushort Freq{get;set;} public Val() ...
using ReactiveUI; namespace UGCS.TelemetryViewer.ViewModels { public class HostWindowViewModel : ViewModelBase, IHostWindowViewModel { private string _host; public string Host { get => _host; set => this.RaiseAndSetIfChanged(ref _host, value); } ...
// Copyright (c) SAS Institute Inc. // // 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...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Options; using Newtonsoft.Json.Linq; using Vulnerability.Scanner.Api.Data; namespace Vulnerability.Scanner.Api.Controllers.Models { public class GroupScanResponse { public GroupScanResponse() {} publi...
using System.Collections; using System.Collections.Generic; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using UnityEngine.UI; namespace Tests { [TestFixture] public class PlayerStateTest { private UiController _uiController; private GameManager _gameManagerCompon...
using System; using System.IO; using System.Collections; using System.Data; namespace TestFu.Data.Generators { public class LoremIpsumStringGenerator : StringGeneratorBase { public LoremIpsumStringGenerator(DataColumn column) :base(column) {} public override v...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UISystem { [System.Serializable] public class PanelMenu { [SerializeField] public GameObject menuPanelTabItem; [SerializeField] public GameObject panelContentObj; [SerializeField] public GameSet...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Business.Services; using Common; using Common.Model; using Common.Services; namespace UserInterfac...
using System; using System.Diagnostics; using System.Diagnostics.Contracts; namespace ReClassNET.MemoryScanner.Comparer { public class ArrayOfBytesMemoryComparer : ISimpleScanComparer { public ScanCompareType CompareType => ScanCompareType.Equal; public int ValueSize => bytePattern?.Length ?? byteArray.Length; ...
using Jal.HttpClient; using Jal.HttpClient.LightInject.Installer; using LightInject; using System; namespace Jal.RestClient.LightInject.Installer { public static class ServiceContainerExtension { public static void AddRestClient(this IServiceContainer container, Action<IHttpClientBuilder> action = nul...
namespace Developer.Net.DesignPatterns.StructuralPatterns.Facade { // Alt Sistem, cepheden (facade) veya istemciden (client) gelen istekleri doğrudan kabul edebilir. // Her durumda, alt sistem için cephe yine başka bir istemcidir ve alt sistemin bir parçası değildir. public class SubSystem1 { ...
/***********************************************************************************************\ * (C) KAL ATM Software GmbH, 2021 * KAL ATM Software GmbH licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. * * This file was created automatically as pa...
using System; using JetBrains.Annotations; namespace CodeContractNullability.Test.TestDataBuilders { internal sealed class ConversionDiagnosticMessageBuilder : ITestDataBuilder<string> { [CanBeNull] private SymbolType? symbolType; [CanBeNull] private string symbolName; ...
using System.ComponentModel; using System.Collections.Generic; using HarmonyLib; using MonoMod.Cil; using Mono.Cecil.Cil; using Hacknet; namespace Pathfinder.Event.Gameplay { [HarmonyPatch] public class ExecutableExecuteEvent : PathfinderEvent { public Computer Computer { get; private set; } ...
using Xunit; using FluentAssertions; using MyTested.AspNetCore.Mvc; using ChiprovciCarpetsShop.Controllers; using System; using ChiprovciCarpetsShop.Services.Products; using System.Collections.Generic; using static ChiprovciCarpetsShop.Test.Data.Products; using static ChiprovciCarpetsShop.WebConstants.Cache; namespa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Sketch.Helper { /// <summary> /// Provides helper functions such as RoundToGrid /// </summary> public static class PlacementHelper { internal ...