content
stringlengths
23
1.05M
namespace MessageBoard.Backend.Services.Sorting { using System; using System.Collections.Generic; using System.Linq; public static class PropertySorter<TSource> { public static IPropertySorter<TSource> For<TKey> ( Func<TSource, TKey> propertySelector ) ...
using AppDynamics.Dexter.ReportObjects; using CsvHelper.Configuration; namespace AppDynamics.Dexter.ReportObjectMaps { public class MethodCallLineReportMap : ClassMap<MethodCallLine> { public MethodCallLineReportMap() { int i = 0; Map(m => m.Controller).Index(i); i++; ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using GovUk.Education.ExploreEducationStatistics.Admin.Services; using GovUk.Education.ExploreEducationStatistics.Admin.Services.Interfaces; using GovUk.Education.ExploreEducationStatistics.Common.Extension...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Shapes; //|5|1|a|s|p|x namespace WpfPagesApp { /// <summary> /// PageBar.xaml 的交互逻辑 /// </summary> public partial class PageBar : UserControl ...
using System; using Microsoft.Xna.Framework; namespace BananaTheGame.Terrain.Generators { public class TestTerrainGenerator : IChunkGenerator { public void Generate(Chunk chunk) { //generate(chunk); testGroundGen(chunk); } private void testGroundGen(Chu...
using System.Threading.Tasks; using UnitTests.GrainInterfaces; namespace UnitTests.Grains { public class DerivedServiceType : ServiceType, IDerivedServiceType { public Task<string> DerivedServiceTypeMethod1() { return Task.FromResult("DerivedServiceTypeMethod1"); } ...
using System; namespace MIP.SharePoint.API.Model.Attributes { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class SPFieldAttribute : Attribute { public string Name { get; } public Type Type { get; } public SPFieldAttribute(strin...
using System; using System.Collections.Generic; using System.Linq; using Funcky.Extensions; using Funcky.Test.TestUtils; using Xunit; using Xunit.Sdk; namespace Funcky.Test.Extensions.EnumerableExtensions { public class ForEachTest { [Fact] public void ForEachIsEvaluatedEagerly() { ...
using Microsoft.AspNetCore.Http; namespace SIL.XForge.Services { public class HttpRequestAccessor : IHttpRequestAccessor { private readonly IHttpContextAccessor _httpContextAccessor; public HttpRequestAccessor(IHttpContextAccessor httpContextAccessor) { _httpContextAccessor...
using UnityEngine; // ReSharper disable once CheckNamespace namespace STRV.Variables.Persistance { public abstract class ValueSerializer: ScriptableObject { /// Loads data from local storage into the given target public abstract bool Load(ISerializable target); /// Saves the ...
using Exchange.Rates.Ecb.Polling.Api.Options; using GreenPipes; using MassTransit; using MassTransit.ConsumeConfigurators; using MassTransit.Definition; using Microsoft.Extensions.Options; namespace Exchange.Rates.Ecb.Polling.Api.Consumers.Definitions { // Consumer definitions can be explicitely registered or dis...
namespace LibClang.Intertop { /// <summary> /// Defines the <see cref="CXPlatformAvailability" /> /// </summary> public struct CXPlatformAvailability { /// <summary> /// Defines the Platform /// </summary> public CXString Platform; /// <summary> /// ...
using DiffWit.Utils; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using System; namespace DiffWit { public partial class App : Application { private Window _currentWindow; /// <summary> /// Initializes the singleton application object. This is the first line of authored...
using BL.Rentas; 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; namespace Win.Rentas { public partial class RegistrarVuelo : Form { Regis...
using System; namespace UnrealEngine { public partial class UPlatformEventsComponent:UActorComponent { /// <summary> /// Check whether the platform supports convertible laptops. /// Note: This does not necessarily mean that the platform is a convertible laptop. /// For example, convertible laptops running Win...
using System; using System.Globalization; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using SpeedTest; namespace SpeedTestLogger { public class Startup { public Startup(IConfiguration configuration) { ...
using System.Threading.Tasks; namespace PlantHunter.Mobile.Core.Services.Chart { public interface IChartService { Task<Microcharts.Chart> GetTemperatureChartAsync(); Task<Microcharts.Chart> GetGreenChartAsync(); } }
using Orchard.Data.Migration; using Orchard.ContentManagement.MetaData; using Orchard.Core.Contents.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Laser.Orchard.PaymentGateway.Models; namespace Laser.Orchard.PaymentGateway { public class PaymentMigrations : ...
using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace Certes { public partial class AcmeContextIntegration { public class CertificateWithES256Tests : AcmeContextIntegration { public CertificateWithES256Tests(ITestOutputHelper output) : base(...
using System; using System.Net.Http; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using OpenRasta.Hosting.AspNetCore; using Tests.Infrastructure; using Xunit; namespace Tests.Hosting.Owin { public class hosting_on_asp_net_core_in_map : IDisposable { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Tobii.G2OM; using Tobii.XR; using UnityEngine.Events; [System.Serializable] public class GazeEvent : UnityEvent<float, string> { } public class GazeFocus : MonoBehaviour, IGazeFocusable { [SerializeField] UnityEvent m_GazeActiv...
using FluentAssertions; using PhotoBlogger.Constants; using Xunit; namespace PhotoBlogger.Tests.Constants { public class ViewKeyTests { [Fact] public void Title_ShouldBeTitle() { ViewKey.Title.Should().Be("Title"); } } }
using AutoMapper; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Moq; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Test.Core; using Test.Domain; using Test.Domain.Entity; using Test.Domain.Extend; using Test.Service.D...
using Microsoft.VisualStudio.TestTools.UnitTesting; using NISOCountries.Core; namespace NISOCountries.Tests { [TestClass] public class ISOCountryLookupTests { [TestMethod] public void ISOCountryLookup_AutoDetectCode_WorksForAllCombinations() { var target = new ISOCountr...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using IdOps.IdentityServer.Model; namespace IdOps.IdentityServer.Storage { public interface IUserClaimRuleRepository { Task<IEnumerable<UserClaimRule>> GetAllAsync(CancellationToken cancellationToken); Task<...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using MikuMikuLibrary.IO.Common; namespace MikuMikuLibrary.IO.Sections.Enrs { public class EnrsBinaryWriter : EndianBinaryWriter { private readonly long mBeginPosition; private readonly List<byte> mBitArra...
using System.Collections.Generic; namespace SST.Application.Users.Queries.GetUsers { public class UsersListVm { public IList<UserDto> Users { get; set; } } }
using System.Text; namespace TestStack.BDDfy.Reporters.Serializers { // http://www.limilabs.com/blog/json-net-formatter public class JsonFormatter { StringWalker _walker; IndentWriter _writer = new IndentWriter(); StringBuilder _currentLine = new StringBuilder(); bool _quote...
using System.Collections.Generic; using Newtonsoft.Json; namespace apiClientDotNet.Models { public class UserInfoList { [JsonProperty("users")] public List<UserInfo> Users { get; set; } } }
namespace Griffin.Net.Authentication.Messages { /// <summary> /// Finaly step of the authentication process. /// </summary> public interface IAuthenticateReply { /// <summary> /// Returns wether the user may login or not /// </summary> AuthenticateR...
using System; using System.Collections.Generic; using OpenDMS.Storage.Security; namespace OpenDMS.Storage.SearchProviders { public interface IResourceResult { DateTime? CheckedOutAt { get; set; } string CheckedOutTo { get; set; } DateTime LastCommit { get; set; } str...
using System; using Xunit; namespace WmcSoft { public class SemVerTests { [Fact] public void CanCreateSemVerFromVersion() { var version = new Version(1, 2, 3, 4); var semver = (SemVer)version; Assert.Equal(version.Major, semver.Major); A...
using UnityEngine; namespace LevelGeneration { [System.Serializable] public class Area { public bool generated; public GameObject parent; public GridGeneration.GridTile tileInfo; public DoorWay entrance; public DoorWay exit; public Area(GameObject g, GridGene...
 namespace CreatorSpace.IntegrationTests.Tiers.Commands { using System.Threading.Tasks; using CreatorSpace.Application.Common.Exceptions; using CreatorSpace.Application.Tiers.Commands.DeleteTier; using CreatorSpace.Domain.Models; using FluentAssertions; using NUnit.Framework; using static T...
using System; using Godot; namespace StateMachine { public class State : Node { public Action<float> OnProcess { get; set; } public Action<float> OnPhysicsProcess { get; set; } public Action OnEnter { get; set; } public Action OnExit { get; set; } public Action<InputEvent> OnInput { get; set; }...
namespace EnvironmentAssessment.Common.VimApi { public class VirtualControllerOption : VirtualDeviceOption { protected IntOption _devices; protected string[] _supportedDevice; public IntOption Devices { get { return this._devices; } set { this._devices = value; } } public string[...
using System; using System.Collections.Generic; using System.Text; namespace Nomad.DotNet.Model { public class Resources: ApiObject<Resources> { public int Cpu { get; set; } public int MemoryMb { get; set; } public int DiskMb { get; set; } public int Iops { get; set; } ...
using System; namespace MSR.CVE.BackMaker { public class HeapBool { private bool b; public bool value { get { return this.b; } set { this.b = value; } } public HeapBool(bool initialValue) { this.b = initialValue; } } }
using System; using System.Collections.Generic; using System.IO; using System.Text; using LightBlue.Standalone; namespace LightBlue.Tests.Standalone { public enum DirectoryType { Account = 0, BlobStorage = 1, Container = 2, QueueStorage = 3, Queue = 4 } public...
using System; using System.Globalization; namespace Microsoft.VisualStudio.TextTemplating { /// <summary> /// Utility class to produce culture-oriented representation of an object as a string. /// </summary> public static class ToStringHelper { private static IFormatProvider formatProviderField = Culture...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RightLEDView : MonoBehaviour { public GameObject panelUEexecuted; public GameObject panelBrandfallControlAb; public GameObject panelBMZReset; private Image imageUEExecuted; private Im...
using System; using System.Text; using System.Globalization; namespace LinqToDB.DataProvider.Access { using Mapping; using SqlQuery; using System.Data.Linq; public class AccessMappingSchema : MappingSchema { public AccessMappingSchema() : this(ProviderName.Access) { } protected AccessMa...
namespace FairlayDotNetClient.Private.Datatypes { public class UserOrder { public int BidOrAsk; public long MarketID; public int RunnerID; public long OrderID; public string MatchedSubUser; public override string ToString() => BidOrAsk + " "+ MarketID + " "+ RunnerID + "-"; } }
namespace Bloggable.Services.Common.Cache { using System; using System.Collections.Generic; using System.Linq; using Bloggable.Common.Constants; using Bloggable.Data.Contracts.Repositories; using Bloggable.Data.Models; using Bloggable.Services.Common.Cache.Contracts; public class Cach...
public enum SearchResultType { //Latest tweets recent, //Most popular tweets popular, //A mix of both popular and recent tweets mixed }
using cv19ResSupportV3.V3.Gateways; using cv19ResSupportV3.V3.UseCase; using cv19ResSupportV3.V4.Factories; using cv19ResSupportV3.V4.UseCase.Interface; namespace cv19ResSupportV3.V4.UseCase { public class CreateResidentsUseCase : ICreateResidentsUseCase { private readonly IResidentGateway _gateway; ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace Makaretu.Dns { [TestClass] public class DnsObjectTest { [TestMethod] public void Length_EmptyMessage() { var message = new...
using Data.Base; using Data.Enums; namespace Data { public class Pineapple : ProductOfNature { public Pineapple() : base("Pineapple", Kinds.Fruit, Measurings.PerItem, null) { } } }
@model BaristaBuddyMVC.Models.EditItemViewModel @{ ViewData["Title"] = "Add Item"; } <h1>Add Item</h1> <h4>Item</h4> <hr /> <div class="row"> <div class="col-md-4"> <form asp-action="Create"> <div asp-validation-summary="ModelOnly" class="text-danger"></div> <div class="form-...
public class OptionsData { public float generalVolume; public float musicVolume; public float effectsVolume; }
// <auto-generated> // Auto-generated by StoneAPI, do not modify. // </auto-generated> namespace Dropbox.Api.TeamLog { using sys = System; using col = System.Collections.Generic; using re = System.Text.RegularExpressions; using enc = Dropbox.Api.Stone; /// <summary> /// <para>Received files f...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace FabricObserver.Utili...
using System; using System.Collections.Generic; namespace GOAP.Helper { public static class OperatorHelper { static string[] op_array_name = { "OperatorSet",//0 "OperatorEqual",//1 "OperatorUnequal",//2 "OperatorEqualHight",//3 "Oper...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace Prime.Models { [Table("BusinessDay")] public class BusinessDay : BaseAuditable, IValidatableObject { [Key] [JsonI...
using SocialNetwork.Kata.Model; namespace SocialNetwork.Kata.Repo { interface IRepo { public User GetOrAdd(string name); public User GetOrNull(string name); } }
using System; using UCLouvain.KAOSTools.Propagators.BDD; using UCLouvain.KAOSTools.Propagators.Tests; using UCLouvain.KAOSTools.Core; using System.Linq; using UCLouvain.KAOSTools.Core.SatisfactionRates; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Attributes.Jobs; using BenchmarkDotNet.Configs; using Benchm...
using System; namespace LateBindingApi.Excel.Enums { public enum MsoAlertIconType { msoAlertIconNoIcon = 0, msoAlertIconCritical = 1, msoAlertIconQuery = 2, msoAlertIconWarning = 3, msoAlertIconInfo = 4 } }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace CoreWCF.Security { internal class WSSecurityPolicy11 : WSSecurityPolicy { public const string WsspNamespace = @"http://schemas.xmlsoap.org/ws/2005/07/securi...
using FluentAssertions; using HomeCloud.Maps.Application.Database; using HomeCloud.Maps.Application.Database.Collections; using HomeCloud.Maps.Domain.Tours; using HomeCloud.Maps.Infrastructure.Database.Collection; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thread...
using Substrate.Nbt; using System; using System.Collections.Generic; namespace NBTModel.Interop { public static class FormRegistry { public delegate bool CreateNodeAction(CreateTagFormData data); public delegate bool EditByteArrayAction(ByteArrayFormData data); public delegate bool E...
using Exiled.Events.EventArgs; using System.Linq; namespace TabletTesla.Handlers { class Player { public void OnTeslaGate(TriggeringTeslaEventArgs ev) { if (ev.Player.Inventory.items.Any(item => item.id == ItemType.WeaponManagerTablet)) { ev.IsTriggerable...
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class MonsterController : MonoBehaviour { [HideInInspector] public static MonsterController instance; public List<GameObject> Monsters; public Transform parentTransform; public GameObject mo...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; using Microsoft.Health.Fhir.Anonymizer.Core; namespace Microsoft.Health.Fhir.Anonymizer.AzureDataFactoryPipeline.src { public c...
using System; using Xamarin.Forms; namespace SimpleMasterDetailTabbed { public class AboutView : BaseView { public AboutView () { this.Content = new StackLayout() { Orientation = StackOrientation.Vertical, Children = { new Label { Text = "About View!", VerticalOptions = LayoutOpti...
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Prolliance.Membership.ServicePoint.Mgr.Views { ...
namespace DaoGen_Tool { partial class Form1 { /// <summary> /// 必要なデザイナ変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リソース...
// Copyright (c) 2020 Sergio Aquilini // This code is licensed under MIT license (see LICENSE file for details) using System; using Confluent.Kafka; using Microsoft.Extensions.Logging; namespace Silverback.Messaging.KafkaEvents { internal static class ConfluentSysLogLevelExtensions { public static Lo...
using Microsoft.EntityFrameworkCore; using MosqueManagement.Core.Models; using System; using System.Collections.Generic; using System.Text; namespace MosqueManagement.Infrastructure.Data { public class ApplicationDbContext : DbContext { public ApplicationDbContext(DbContextOptions<ApplicationDbContext...
using System.Collections.Generic; namespace WordStat.Core { public interface IWordBreaker { int MinWordLength { get; set; } IEnumerable<string> GetWords(string phrase); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; //WOC using Woc.Book.Setting; using Woc.Book.Setting.BusinessEntity; using Woc.Book.Base.Presenter; using Woc.Book.Base.BusinessEntity; namespace Woc.Book.Setting.Presenter { public class SettingPresenter: IA...
using A5Soft.CARMA.Domain; using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace A5Soft.CARMA.Application.DataPortal { /// <summary> /// Null implementation of IRemoteClientPortal for use by DI whn no remote server is required. /// </summary> [DefaultServiceImp...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DailyTimeScheduler.Model { public class TimeBlock { /// <summary> /// PK Unique TimeBlock Number in DB /// </summary> [Key] public int No { get; set...
using Assets.Scripts.Game.FishGame.Fishs; using UnityEngine; namespace Assets.Scripts.Game.FishGame.Common.core { public class RandomOddsNum : MonoBehaviour { public int MinOdds = 2; public int MaxOdds = 101; // Use this for initialization void Start () { Fish f = GetCom...
using System; using System.ComponentModel; namespace SuperMap.WinRT.Core { /// <summary> /// <para>${core_CRS_Title}</para> /// <para>${core_CRS_Description}</para> /// </summary> public class CoordinateReferenceSystem : IEquatable<CoordinateReferenceSystem> { /// <overloads>${core_C...
using AutoMapper; namespace app.Profiles { public class PayProfile : Profile { public PayProfile() { SourceMemberNamingConvention = new PascalCaseNamingConvention(); DestinationMemberNamingConvention = new PascalCaseNamingConvention(); CreateMap<Entities.Pay...
using System.Collections.Generic; using ResourceServer.Model; using Microsoft.AspNetCore.Mvc; namespace ResourceServer.Repositories; public interface IDataEventRecordRepository { void Delete(long id); DataEventRecord Get(long id); List<DataEventRecord> GetAll(); void Post(DataEventRecord d...
using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using GitMind.Utils.UI.VirtualCanvas; using UserControl = System.Windows.Controls.UserControl; namespace GitMind.RepositoryViews { /// <summary> /// Interaction logic for RepositoryView.xaml /// </summary> public ...
//----------------------------------------------------------------------- // <copyright file="IXmlSerializationTag.cs" company="Sphere 10 Software"> // // Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com) // // Distributed under the MIT software license, see the accompanying file // LICEN...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmailTemplate.Wrapping { public enum WordTokenType { None, Text, Space, } public class WordToken { public string Text { ge...
using BusLog; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using StoreModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebUI.Models; namespace WebUI.Controllers { public class CustomerController : Controller { ...
using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace ImmutableGeometry.Test { public static class TestHelpers { public static Point[] Points(params (int, int)[] points) => points.AsPoints().ToArray(); public static void Debug(Shape shape) ...
/* Copyright (c) Microsoft Corporation. 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 System.Text.RegularExpressions; namespace Adxstudio.Xrm.Web.UI.CrmEntityListView { ...
[CompilerGeneratedAttribute] // RVA: 0x1574D0 Offset: 0x1575D1 VA: 0x1574D0 private sealed class NPCActionBehaviorController.<>c__DisplayClass19_2 // TypeDefIndex: 6151 { // Fields public Func<int, int, bool> func; // 0x10 public NPCActionBehaviorController.<>c__DisplayClass19_0 CS$<>8__locals2; // 0x18 // Methods...
using InsuranceAdminPanel.Dal.Abstract; using InsuranceAdminPanel.Entity.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InsuranceAdminPanel.Dal.Concentre.Repository { public class GenericRepository<T> : IGenericRepository<T> wher...
namespace Saritasa.BoringWarehouse.Domain.Products.Entities { using System; using System.ComponentModel.DataAnnotations; using Users.Entities; /// <summary> /// Company that made product. /// </summary> public class Company { [Key] public int Id { get; set; } ...
namespace Spinner.Aspects.Internal { public abstract class MethodBinding : IMethodBinding { object IMethodBinding.Invoke(ref object instance, Arguments args) { Invoke(ref instance, args); return null; } public abstract void Invoke(ref object instance, Ar...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; namespace MMi_BIS_PA.Models { [Table("db_mmi_bis_pa.table_data")] public partial ...
using System; using System.Linq.Expressions; namespace FluentKusto { public class AppServiceIPSecAuditLogs : TableBase<AppServiceIPSecAuditLogs> { /// public string TenantId {get; set;} /// Time of the Http Request public DateTime TimeGenerated {g...
namespace clipr { /// <summary> /// Multiple arguments with the same name have been defined. /// </summary> public class DuplicateArgumentException : ArgumentIntegrityException { /// <summary> /// Multiple arguments with the same name have been defined. /// </summary> ...
using System.Net; using Newtonsoft.Json; using System.Net.Http; using System.Text; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { log.Info("ACR WebHook Posted"); // Get request body dynamic data = await req.Content.ReadAsAsync<object>(); Uri _uri = new U...
using System; namespace UtilityDisposables { /// <summary> /// A decorator class that only calls Dispose on the inner <see cref="T"/> value once all the references are gone. /// </summary> public class ReferenceCounter<T> : IDisposable where T : class, IDisposable { private readonly...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Localization; namespace Microsoft.AspNetCore.Mvc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PDB_Generator { public class Attribute { public object attribute_name { get; set; } public object attribute_value { get; set; } } public class Workflow { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class CameraRenderEvents : MonoBehaviour { // UnityEvent onPreRender; // UnityEvent onPostRender; // UnityEvent onPreCull; // UnityEvent onRenderImage; // UnityEvent onRenderObject; /...
@model SecureXWebApp.Models.Bank @{ ViewData["Title"] = "Details"; } <li><a asp-area="" asp-controller="Customer" asp-action="Index">Customers</a></li> <li><a asp-area="" asp-controller="Employee" asp-action="Index">Employees</a></li> <h2>Details</h2> <div> <h4>Bank</h4> <hr /> <dl class="dl-horizo...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using M...
using System.Threading; using System.Threading.Tasks; using Domain.Orders.Contracts.Events; using MediatR; namespace Domain.Customers.EventHandlers { public class OnOrderCreated : INotificationHandler<OrderCreated> { public Task Handle(OrderCreated notification, CancellationToken cancellationToken) ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class color_util { public static void set_alpha(SpriteRenderer sr, float a) { Color col = sr.color; sr.color = new Color(col.r, col.g, col.b, a); } }
using System; using System.Collections.Generic; using System.Text; using ZigBeeNet.Hardware.TI.CC2531.Util; namespace ZigBeeNet.Hardware.TI.CC2531.Packet.ZDO { public class ZDO_END_DEVICE_ANNCE : ZToolPacket //// implements IREQUEST,IZDO /// </summary> { /// <name>TI.ZPI1.ZDO_END_DEVICE_ANNCE.Capabili...
using BenTurkia.NumbersConverter.Business.Contracts; using BenTurkia.NumbersConverter.Business.Implementations; using SimpleInjector; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BenTurkia.NumbersConverter.Business { /// <summary> ...