text
stringlengths
1
932k
using FluentValidation; using System; using System.Collections.Generic; using System.Text; namespace Core.CrossCuttingConcerns.Validation { public static class ValidationTool { public static void Validate(IValidator validator,object entity) { var context = new ValidationContext<obj...
using System; using Content.Server.GameObjects.Components.Nutrition; using Content.Shared.GameObjects.Components.Nutrition; using JetBrains.Annotations; namespace Content.Server.AI.WorldState.States.Nutrition { [UsedImplicitly] public class ThirstyState : StateData<bool> { public override string Na...
namespace Microsoft.Teams.Apps.CompanyCommunicator.Bot { using Microsoft.Extensions.DependencyInjection; using Microsoft.Teams.Apps.CompanyCommunicator.Helpers; using Microsoft.Teams.Apps.CompanyCommunicator.Interfaces; /// <summary> /// Extension class for registering helper services in DI contai...
using Service.General.Mappers; using Vstack.Services.Mapper.General; using Dmn = Domain.Users; namespace Service.Users.Mappers { public class DepartmentMapper : BaseCompanyMapper<Dmn.Department> { public DepartmentMapper(DbSettings dbSettings) : base(dbSettings.ConnectionString) ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azur...
//----------------------------------------------------------------------- // <copyright company="Microsoft"> // (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All oth...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Mana...
namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// A GitHub App. /// </summary> public class App : QueryableValue<App> { publi...
using System; using System.Collections.Generic; using System.Linq; using EnsureThat; namespace R2 { public abstract class PagedList<TItem> : IPagedList<TItem> { private const string _PAGE_NUMBER_BELOW_1 = "Page number cannot be below 1."; private const string _PAGE_SIZE_LESS_THAN_1 = "Page siz...
using System; using System.Collections.Generic; namespace CommentTranslator.Parsers { public class PythonCommentParser : CommentParser { public PythonCommentParser() { Tags = new List<ParseTag> { //Singleline comment new ParseTag() ...
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
//----------------------------------------------------------------------------- // FILE: ArchivalStatus.cs // CONTRIBUTOR: Jeff Lill // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Input; using System; using UnityEngine; using UnityEngine.Events; namespace Microsoft.MixedReality.Toolkit.UI { /// <summar...
// ======================================================================================= // UIPopup // by Weaver (Fhiz) // MIT licensed // // The base class all popup windows are derived from. It features a UIWindowBackground // that hides all other UI elements underneath it (so the user can only interact with // th...
using System.Reflection.Emit; using System.Text; using Simulation_CSharp.Serialization.Data.Types; namespace Simulation_CSharp.Serialization.Data; public static class StoredDataTypes { public static readonly Dictionary<string, KeyValuePair<Type, Func<object>>> Types; static StoredDataTypes() { T...
// <Snippet1> using System; using System.IO; using System.Text; class Test { public static void Main() { // Create a temporary file, and put some data into it. string path = Path.GetTempFileName(); using (FileStream fs = File.Open(path, FileMode.Open, FileAccess.Write, FileShare.None...
// <auto-generated /> namespace Vidly.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class AddGenr...
using System; using Xunit; namespace ZMM.App.Tests { public class ZMKUnitTests { [Fact] public void Test() { Assert.Equal("expected", "expected"); } } }
namespace EA.Iws.Web.Areas.NotificationApplication.ViewModels.NotificationApplication { using System; using Core.IntendedShipments; using Core.Notification; using Core.Notification.Overview; using Core.NotificationAssessment; using Core.Shared; public class AmountsAndDatesViewModel { ...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Constellation.Feature.Redirects")] [assemb...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace ConsoleClient { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UnityEngine; namespace com.adjust.sdk { #if UNITY_IOS public class AdjustiOS { private const string sdkPrefix = "unity4.22.1"; [DllImport("__Internal")] private static extern void _AdjustLaunchA...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SlimeBody : MonoBehaviour, IControllable { public Animator AnimationController; public float JumpChargeTime; public float JumpCooldownTime; public float JumpInvokeDelay; public Vector3 JumpVel...
using DSUtil; using System; using System.Collections.Generic; using System.Text; namespace FDModels.StaticData { public class TreatmentType : IFDStaticData { public string Key { get; set; } public string Name { get; set; } public static TreatmentType GetFromKey(string key) { ...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using JetBrains.Annotations; using Microsoft.Data.Entity.Internal; using Microsoft.Data...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Microso...
using System; using System.Runtime.Serialization; namespace Optsol.Components.Shared.Exceptions { [Serializable] public class ResponseFactoryNullException: Exception { public ResponseFactoryNullException() : base("O parametro IResponseFactory não foi resolvido pela injeção de dependên...
using System; using Inforigami.Regalo.Interfaces; namespace Inforigami.Regalo.EventSourcing { public interface IMessageHandlerContext<TEntity> where TEntity : AggregateRoot, new() { IMessageHandlerContextSession<TEntity> OpenSession(IMessage currentMessage); } }
// Copyright (c) MASA Stack All rights reserved. // Licensed under the Apache License. See LICENSE.txt in the project root for license information. namespace Masa.Auth.Service.Admin.Domain.Sso.Aggregates; public class RegisterField : Entity<int> { public RegisterFieldTypes RegisterFieldType { get; private set; }...
namespace FingerMath.Easing { /// <summary> /// helper with a single method that takes in an EaseType and applies that ease equation with the given /// duration and time parameters. We do this to avoid passing around Functions which create bogs of trash for /// the garbage collector (functi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Boxing.Contracts.Requests.Matches { public class DeleteMatchRequest : IRequest { public int Id { get; set; } } }
using System; using System.Collections.Generic; namespace SPAWithBlazor.Shared.Models { public partial class Employee { public int EmployeeId { get; set; } public string EmployeeName { get; set; } public string CityName { get; set; } public string Designation { get; set; } ...
using MasterDetail.Models; namespace MasterDetail.ViewModels { public class ItemDetailViewModel : BaseViewModel { public Item Item { get; set; } public ItemDetailViewModel(Item item = null) { Title = item.Text; Item = item; } int quantity = 1; public int Quantity { get { return quantity; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SysExLibrarian.Models { public class SysExFile { public string Id { get; set; } public string FileName { get; set; } public string DiskLocation { get; set; } ...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
using System.Linq; using Force.Linq; using Force.Reflection; using Force.Tests.Infrastructure; using Force.Tests.Infrastructure.Context; using Microsoft.EntityFrameworkCore.Internal; using Xunit; namespace Force.Tests.Cqrs { public class FilterQueryTests: DbContextFixtureTestsBase { public FilterQueryT...
namespace LessonsSamples.Lesson6.CoreContainerLifetime { public class MyController { private readonly IService service1; private readonly IService service2; public MyController(IService service1, IService service2) { this.service1 = service1; this.servic...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Vibrant.Tsdb { public class MultiTaggedReadResult<TEntry, TMeasureType> : IEnumerable<TaggedReadResult<TEntry, TMeasureType>> where TEntry : IEntry where TMeasureType : I...
using Esquio.UI.Infrastructure.Security.ApiKey; using Microsoft.AspNetCore.Authentication; using System; namespace Microsoft.Extensions.DependencyInjection { public static class AuthenticationBuilderExtensions { public static AuthenticationBuilder AddApiKey(this AuthenticationBuilder authenticationBu...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Piranha; using Piranha.AttributeBuilder; using Piranha.AspNetCore.Identity.SQLi...
using System; using NTumbleBit.BouncyCastle.Crypto.Parameters; using NTumbleBit.BouncyCastle.Crypto.Utilities; using NTumbleBit.BouncyCastle.Utilities; namespace NTumbleBit.BouncyCastle.Crypto.Engines { /** * an implementation of the AES (Rijndael)), from FIPS-197. * <p> * For further details see: <a hre...
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <owner name="Mike Krüger" email="mike@icsharpcode.net"/> // <version>$Revision: 2436 $</version> // </file> using System; using System.Text; namespace ICSharpCode.TextEditor.Document { public class...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lbl.RequestModel { using System.Data.Entity; using System.Linq.Expressions; using Lbl.Model; public class ContentRequestModel : BaseRequestModel<Content> { public ...
using System.Timers; using System.Collections.Generic; using System; namespace RTC { class Program { static void Main(string[] args) { Ray r = new Ray(new Point(2, 3, 4), new Vector(1, 0, 0)); Console.WriteLine(r); //Console.WriteLine(r.Position(0)); ...
// *** 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...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace order_management.Services.Data.Import { public class CustomerImportJson : ICustomerImportService { public List<Customer> Import(string path) { var customers = new List<Customer>(); try ...
using UnityEngine; using UnityEngine.Video; /** * inspired from couroutine array loop example posted by 'Programmer' at Stackoverflow November 2017 * https://stackoverflow.com/questions/47401759/play-different-videos-back-to-back-seamlessly-using-unity-video-player */ public class VideoSequenceRenderTexture : Mon...
using System; using Igtampe.BasicFonts; using System.Collections.Generic; namespace Igtampe.BasicWindows.Utils { /// <summary>Utilities for rendering windows</summary> public class BasicFontFormattedText { /// <summary>The text, but formatted</summary> public string Text { get; } ///...
using System; using System.Collections.Generic; using System.Text; namespace HttpSecurePayload.Common.Utils { internal class CRC16 { private static readonly IReadOnlyList<ushort> Table = new ushort[] { 0x0000,0x1021, 0x2042,0x3063,0x4084,0x50A5,0x60C6,0x70E7, 0x8108,0x9129,0xA1...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentContextApiGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-ge...
using System; using Microsoft.Bot.Builder.Calling.ObjectModel.Contracts; namespace Microsoft.Bot.Builder.Calling.Events { public class IncomingCallEvent { public IncomingCallEvent(Conversation conversation, Workflow resultingWorkflow) { if (conversation == null) th...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HousingBuilding : Building { public List<GameObject> workers; List<GameObject> possibleWorkers; public GameObject worker_female; public GameObject worker_male; public int start_position; private floa...
// 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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // ForAllQueryOperator....
using Autofac; using Util.Datas.Tests.Samples.Datas.SqlServer.Repositories; using Util.Datas.Tests.Samples.Datas.SqlServer.Stores; using Util.Datas.Tests.Samples.Datas.SqlServer.UnitOfWorks; using Util.Datas.Tests.Samples.Domains.Repositories; using Util.Datas.UnitOfWorks; using Util.Dependency; using Util.Domains.Ses...
using System; using System.Collections.ObjectModel; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Media; // The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 namespace Locana.Controls { public sealed partial cl...
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
namespace java.lang { public class ArrayStoreException : RuntimeException { public ArrayStoreException() : base() { } public ArrayStoreException(string message) : base(message) { } } }
// Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 // // THIS CODE IS PROVIDED ON AN ...
using System; using System.Collections.Generic; namespace TinaX.VFSKitInternal { [Serializable] public class PatchRecords { public string[] Add; public string[] Modify; public string[] Delete; private List<string> _add_list; private List<string> _modify_list; ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects.Drawables; using osu.Game.Tests.V...
using Cake.Core; using Cake.Core.Annotations; using System; namespace Cake.MobileCenter { partial class MobileCenterAliases { /// <summary> /// Queue a new build /// </summary> /// <param name="context">The context.</param> /// <param name="settings">The settings.</param> [CakeMethodAlias] public ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using System.Xml.Serialization; using ZorkBork; using ZorkBorkTestProject.Comparers; namespace ZorkBorkTestProject { [Microsoft.VisualStudio.TestTools.UnitTest...
using System; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, ...
using AutoFixture.Xunit2; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using System; using System.Threading.Tasks; using Xunit; namespace Decor.UnitTests { public class DynamicTypeTests { [Fact] public async Task SomeMethod_WithDynamicSut_ShouldCallDecorator() ...
using UnityEngine; using UnityEditor; [InitializeOnLoad] public class SimpleCCDEditor { static SimpleCCDEditor() { SceneView.onSceneGUIDelegate += OnScene; } // Scales scene view gizmo, feel free to change ;) const float gizmoSize = 0.5f; static void OnScene(SceneView sceneview) { ...
using Autofac; using Middlink.Core.CQRS.Dispatchers; using Middlink.CQRS.Dispatchers; namespace Middlink.CQRS.Autofac.Extensions { public static class DispacherExtensions { public static void AddDispachers(this ContainerBuilder builder) { builder.RegisterType<CommandDispatcher>().A...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apac...
#region Header /* Copyright (C) 2013 => Creator: Peter Gu, Australia Developer: Wolfgang Stamm, Germany 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, in...
/* Copyright (C) 2010-2014 Jeroen Frijters This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commerc...
// 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; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; us...
using System; using System.Collections.Generic; using System.Reflection; using dotnow.Runtime.CIL; namespace dotnow.Runtime { internal sealed class VTable { // Private private Dictionary<MethodBase, MethodBase> virtualMethods = null; // Methods public MethodBase GetVirtualMeth...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("GRaB Candles Long")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("GRaB Candles Long")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisib...
using System; using DotNetKit.ErrorHandling; using Xunit; using AsterSql.SqlSyntax; namespace AsterSql.Test { public class SelectBuilderTest { static SqlBuilder Sql => FakeDb.Sql; [Fact] public void MinimumTest() { var employee = FakeDb.Employee; var c ...
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; namespace NumberGenerator { public class DecalGenerator { private const int _decalSize = 256; public Image Create( string text ) { var bitmap = (Bitmap) Image.FromFile( "Stone08Small.png" )...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Game.Beatmaps.Formats; using osuTK.Graphics; namespace osu.Game.Skinning { /// <summary> /// An empty skin configura...
// <auto-generated /> using System; using BoardMan.Web.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable dis...
using System.Collections.Generic; namespace Figlotech.Core.BusinessModel { public interface IValidationRule { IEnumerable<ValidationError> Validate(IBusinessObject ObjectToValidate); } public interface IValidationRule<T> : IValidationRule where T : IBusinessObject, new() { IEnumerable<V...
private void dataRepeater1_ItemsRemoved(object sender, Microsoft.VisualBasic.PowerPacks.DataRepeaterAddRemoveItemsEventArgs e) { Employees.RemoveAt(e.ItemIndex); }
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace ITCompCatalogueApp.Validation { public class RangeValidation : ValidationRule { #region Properties public int...
// <copyright file="ThrottlingOptions.cs" company="Microsoft Open Technologies, Inc."> // Copyright 2011-2013 Microsoft Open Technologies, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obta...
using System; namespace NHibernate.Events.DateAuditing { public interface IDateModifiedAuditable { DateTime LastModified { get; set; } } }
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.18444 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace AddressService.Repo.Migrations { public partial class GetPostcodeCoords : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateIndex( name: "IXF_Pos...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Micronetes.Hosting { internal static class ProcessUtil { public static ProcessResult Run( ...
using System.Threading.Tasks; using System.Net.Mqtt.Sdk.Packets; namespace System.Net.Mqtt.Sdk { internal interface IPacketManager { Task<IPacket> GetPacketAsync (byte[] bytes); Task<byte[]> GetBytesAsync (IPacket packet); } }
using System.Collections.Generic; namespace ViewModels { public class ChatViewModel { public string Image { get; set; } public string Name { get; set; } public ICollection<ChatMessageViewModel> Messages { get; set; } = new List<ChatMessageViewModel>(); } }
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com //All rights reserved. using System; using System.Collections.Generic; using Kooboo.Data.Interface; namespace Kooboo.Data.Models { [Kooboo.Attributes.Diskable] public class DataMethodSetting : ICoreObject, IDataMethodSetting, ISiteObject ...
// Copyright (c) 2014-2017 Wolfgang Borgsmüller // All rights reserved. // // This software may be modified and distributed under the terms // of the BSD license. See the License.txt file for details. using System; namespace Chromium { /// <summary> /// Class representing window information. /// </summar...
namespace Panda.Data.Enums { public enum PackageStatus { Pending = 1, Delivered = 2, } }
using System; using System.Collections.Generic; public class AbsurdInt{ private List<UInt64> digits; public AbsurdInt(){ digits = new List<UInt64>(); } public AbsurdInt(UInt64 num){ digits = new List<UInt64> (); digits.Add (num); } public AbsurdInt(IEnumerable<UInt64> digits){ this.digits = new List<U...
using HateoasNet.Abstractions; using HateoasNet.Core.Sample.Models; namespace HateoasNet.Core.Sample.HateoasBuilders { public class MemberHateoasBuilder : IHateoasSourceBuilder<Member> { public void Build(IHateoasSource<Member> source) { source.AddLink("get-member").HasRouteData(e ...
using DotNetBungieAPI.Clients; using DotNetBungieAPI.Services; using DotNetBungieAPI.Services.ApiAccess; using DotNetBungieAPI.Services.ApiAccess.Interfaces; using DotNetBungieAPI.Services.Interfaces; using Microsoft.Extensions.DependencyInjection; namespace DotNetBungieAPI; /// <summary> /// Static class helper...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
namespace BookStore.Application.Token.Models { public class Token { public string Secret { get; set; } public string Issuer { get; set; } public string Audience { get; set; } public int Expiry { get; set; } public int RefreshExpiry { get; set; } } }
using System; using System.Reflection; using System.Runtime.InteropServices; namespace Python.Runtime { /// <summary> /// Provides the implementation for reflected interface types. Managed /// interfaces are represented in Python by actual Python type objects. /// Each of those type objects is associat...
using System.Runtime.Serialization; namespace Stanford.NLP.Ling { /// <summary> /// An item carrying <see cref="char"/> offset references to an original text <see cref="string"/>. /// </summary> public interface IHasOffset : ISerializable { /// <summary> /// The beginning <see cref...
/////////////////////////////////////////////////////////////////////////////////////////////// // // This File is Part of the CallButler Open Source PBX (http://www.codeplex.com/callbutler // // Copyright (c) 2005-2008, Jim Heising // All rights reserved. // // Redistribution and use in source and binary f...
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Cen { #pragma warning disable CS8618 /// <summary>Properties for defining a `ALIYUN::CEN::TransitRouterRouteTablePropagation`.</summary> [JsiiByValue(fqn: "@alicloud/ros-cdk-cen.RosTransitRou...