text
stringlengths
1
932k
using SharpDX.Direct3D9; namespace VRageRender.Effects { using Vector2 = VRageMath.Vector2; using Vector3 = VRageMath.Vector3; using Vector4 = VRageMath.Vector4; using Matrix = VRageMath.Matrix; internal class MyEffectSpotShadowBase : MyEffectBase { readonly EffectHandle m_shadowBias;...
using System; using System.Collections.Generic; using System.Text; namespace Animals { public class Kitten : Cat { private const string defaultGender = "Female"; public Kitten(string name, int age) : base(name, age, defaultGender) { } public override stri...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.Azure.WebJobs.Description; namespace Microsoft.Azure.WebJobs { /// <summary> /// Setup an 'trigger' on a parameter to listen on ...
using eShoppingSimple.ServiceChassis.Events.Abstractions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace eShoppingSimple.ServiceChassis.Events.Models { public class SampleRequestEvent : IEvent { public SampleRequestEvent(st...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
//------------------------------------------------------------------------------ // <auto-generated> // 此代码是由工具生成的。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace ASPWebTest.Account { ...
// <auto-generated/> // Contents of: hl7.fhir.r4.core version: 4.0.1 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using Hl7.Fhir.Introspection; using Hl7.Fhir.Serialization; using Hl7.Fhir.Specification; using Hl7.Fhir.Utility; using Hl7.Fhir.Validation; /* ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.Linq; using Microsoft.AspNetCore.Mvc.ApiExplorer; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; using Microsoft...
using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using System.Collections.Generic; using System.Linq; namespace Meiam.System.Hostd.Authorization { public class AppendAuthorizeFilter : IOperationFilter { public void Apply(OpenApiOperation operation, OperationFilterContext contex...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using System.Text; using VRage.Utils; // This file has been generated. Do not edit it. namespace Sandbox.Game.Localization { [System.CodeDom.Compiler.GeneratedCode("Space Engineers Localization Generator Template", "1.0.0.0")] public static class MySpaceTexts { public static readonly MyStringId Bl...
using ECS.Scripts.ComponentData; namespace ECS.Scripts.ComponentSystem { public class LevelUpSystem : Unity.Entities.ComponentSystem { protected override void OnUpdate() { Entities.ForEach((ref LevelComponent levelComponent) => { levelComponent.Level += 1f * Time.DeltaTime...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
using System; namespace Serenity.WebDriver.EmbeddedDrivers { public interface IEmbeddedDriver { Version Version { get; } string ResourceName { get; } string ExtractedFileName { get; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BJUTDUHelper.Model { public class CampusCardNavigationModel { public string IconUri { get; set; } public string Name { get; set; } public Type PageType { get; s...
@model Time.Data.EntityModels.CustomManuals.LiftGroup @{ ViewBag.Title = "Details"; } <h2>Details</h2> <div> <h4>LiftGroup</h4> <hr /> <dl class="dl-horizontal"> </dl> </div> <p> @Html.ActionLink("Edit", "Edit", new { id = Model.Lift_Group }) | @Html.ActionLink("Back to List", "Index") <...
using System.Reflection; using System.Runtime.CompilerServices; 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("pj...
@model BankUserAccountManagementApplication.Models.BankAccountModels.BankAccountViewModel @{ ViewData["Title"] = "Index"; } <h2>Account Management</h2> <div> <h4>Bank Account</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.ID) </dt> ...
using GitTrends.Mobile.Common; using Xamarin.CommunityToolkit.Markup; using Xamarin.Forms; using static Xamarin.CommunityToolkit.Markup.GridRowsColumns; namespace GitTrends { class GitHubUserView : Grid { public const int TotalHeight = _imageHeight + _nameLabelHeight + _aliasLabelHeight + _topMargin +...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.RazorPages; using RadPdf.Web.UI; namespace RadPdfCoreDemo.Pages { public class RenderAtClientModel : PageModel { private IHostingEnvironm...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; // This script gets values from CSVReader script // It instantiates points and particles according to values read public class PointRenderer : MonoBehaviour { //********Public Variables******** // Bools for editor...
/* * This Project is the fifth one in a seven project series. * */ 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....
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
#pragma checksum "..\..\GameWonPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "920B54571D82AAADABD4CAE0BF0E3FBF" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes t...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using MinesweeperSolver.GameSimulator.Models; namespace MinesweeperSolver.GameSimulator.Tests { [TestClass] public class BoardGeneratorServiceTests { private const string Category = "MineGenerator"; [TestMethod] [Te...
using System; using System.IO; using System.Diagnostics; using WatcherLib; namespace NameFromGame { class Program { public static void Main(string[] args) { // default video folder string savePath = Path.Combine(Environment.GetEnvironmentVariable("USERPROFILE")!, "Video...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TwaijaComposite.Modules.ColumnsManager.Request; namespace TwaijaComposite.Modules.ColumnsManager { public class IdleState:IRequestState<ITimerBasedRequest>,IRequestState<ILoopRequest> { public void Res...
using System.Collections.ObjectModel; using System.Text.Json.Serialization; using NetBungieAPI.Models.Destiny.Definitions.Activities; namespace NetBungieAPI.Models.Destiny.Definitions.Milestones { public sealed record DestinyMilestoneChallengeActivityDefinition : IDeepEquatable<DestinyMilestoneChallengeAc...
using Hangfire; using Hangfire.Server; namespace Mellon.HangFire.Jobs; [Queue("crons")] public interface IEmailSender { Task SendEmailAsync(string clientName, string email, PerformContext context); }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq; using RVTR.Lodging.DataContext.Repositories; using RVTR.Lodging.ObjectModel.Models; using Xunit; namespace RVTR.Lodging.UnitTesting.Tests { public class HotelModelTest { ...
using UnityEngine; using UnityEngine.Events; namespace ScriptableObjectArchitecture { [System.Serializable] public class ByteEvent : UnityEvent<byte> { } [CreateAssetMenu( fileName = "ByteVariable.asset", menuName = SOArchitecture_Utility.ADVANCED_VARIABLE_SUBMENU + "byte", order...
// Copyright 2021 Cloud Native Foundation. // Licensed under the Apache 2.0 license. // See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; namespace CloudNative.CloudEvents.Extensions { public static class DistributedTracing { publi...
using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; namespace StarlingBank.Models { /// <summary> /// PaymentStatusEnum /// </summary> [JsonConverter(typeof(StringValuedEnumConverter))] public enum PaymentStatus { /// <summary> /// Accepted ...
using System; using System.Collections; using System.Collections.Generic; using System.Text; // ReSharper disable once CheckNamespace namespace Svg.ExCSS { public class StyleDeclaration : IList<Property> { private readonly List<Property> _properties; private readonly Func<string> _getter; ...
/* * Copyright 2017 Mikhail Shiryaev * * 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 a...
namespace Adobe.Models.General { using System; using System.Collections.Generic; using Enums; using Newtonsoft.Json; using Newtonsoft.Json.Converters; [Serializable] public class Column { /// <summary> /// Gets or sets possible values include: 'DIMENSION', 'METRIC' ...
using System; using System.Windows.Forms; using RentAWheel.Business; using RentAWheel.Data.Implementation; namespace RentAWheel { public partial class VehicleReception : Form { private VehicleData data = new VehicleData(); private Vehicle vehicle; public Vehicle Vehicle { ...
// 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.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Textures; using osu.Framework.Input.E...
namespace InstagramFeed { /// <summary> /// Vote record for an instagram image. /// </summary> public class ImageVote { /// <summary> /// Instagram id of image being voted for. /// </summary> public string instagramImageId { get; set; } /// <summary> ...
namespace P04.WorkForce.IO.Interfaces { public interface IWriter { void WriteLine(string line); } }
namespace Orleans.CodeGenerator { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysi...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AspectCore.DynamicProxy; using AspectCore.DynamicProxy.Parameters; namespace AspectCoreTest.Windsor.Fakes { public class CacheInterceptorAttribute : AbstractInterceptorAttribute { private readonly IDictionary<int,...
// 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; namespace Microsoft.CodeAnalysis.Debugging { internal static class PortableCustomDebugInfoKinds ...
// // AudioComponentDescription.cs: AudioComponentDescription wrapper class // // Author: // AKIHIRO Uehara (u-akihiro@reinforce-lab.com) // Miguel de Icaza (miguel@gnome.org) // // Copyright 2010 Reinforce Lab. // Copyright 2010 Novell, Inc // Copyright 2011, 2012 Xamarin Inc // // Permission is hereby granted, f...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
using Lazurite.Data; using Lazurite.IOC; using Lazurite.Shared; using Lazurite.Windows.Logging; using Lazurite.Windows.Server; using LazuriteUI.Icons; using LazuriteUI.Windows.Controls; using LazuriteUI.Windows.Main.Common; using System; using System.ComponentModel; using System.Windows.Controls; namespace LazuriteUI...
using System; using System.Collections.Generic; using System.Text; namespace HttpClientOpenData { public class Stands { public Availabilities availabilities { get; set; } public int capacity { get; set; } } }
#region BSD License /* Copyright (c) 2011, Clarius Consulting All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of c...
using System.Reflection; using System.Runtime.CompilerServices; 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("So...
// *** 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...
// Copyright 2009 Auxilium B.V. - http://www.auxilium.nl/ // // 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 ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Sequences; namespace System.Buffers.Reader { // TODO: the TryReadUntill methods are very inneficient. We need to fix that. public sta...
#nullable enable using System.IO; namespace JetBlack.MessageBus.Common.Security.Authentication { /// <summary> /// The null authenticator. /// </summary> public class NullAuthenticator : IAuthenticator { /// <summary> /// Construct the authenticator. /// </summary> ...
using System.Text; using System.Xml.Linq; using MathMLToCSharpLib.Entities; namespace MathMLToCSharpLib.Tests { public static class Utils { public static string ParseAndOutput(string mathML, BuildContextOptions options) { IBuildable b = Parser.Parse(XElement.Parse(mathML)); ...
#region License /* * Copyright © 2013-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
using System; using System.Xml.Serialization; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayEbppPdeductSignValidateModel Data Structure. /// </summary> [Serializable] public class AlipayEbppPdeductSignValidateModel : AlipayObject { ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.AppService.Models { public partial class BillingMeter : IUtf8JsonSe...
// 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.Reflection; using Mono.Linker.Tests.Cases.Expectations.Assertions; using Mono.Linker.Tes...
namespace _07.InfernoInfinity.Contracts { using _07.InfernoInfinity.Models.Enums; public interface IWeapon { string NameOfWeapon { get; } WeaponType WeaponType { get; } int MinDamageStat { get; } int MaxDamageStat { get; } IGem[] Sockets { get; } Rarity Rari...
#nullable enable using System; using System.Collections.Generic; using DevToys.Api.Tools; using DevToys.Views.Tools; namespace DevToys.ViewModels.Tools { public sealed class GroupToolViewModel : GroupToolViewModelBase, IToolViewModel { public Type View { get; } = typeof(GroupToolPage); publi...
// 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 Microsoft.Xunit.Performance; namespace Functions { public static partial class MathTests ...
// *** 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...
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- namespace Microsoft.Oryx.Build...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Newtonsoft.Json; using FamilyManagerWeb.Models.ViewModels; using FamilyManagerWeb.Models; using System.Text; namespace FamilyManagerWeb.Controllers { public class BaseDataAPIController : LycMVCControll...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cash : MonoBehaviour { public void OnTriggerEnter2D(Collider2D other) { if(other.tag == "Player") Destroy(this.gameObject, 0.2f); } }
using Chromium; using NetDimension.NanUI.Browser; using NetDimension.NanUI.Browser.Handlers; using NetDimension.WinForm; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Windows.Forms; namespace NetDimension.NanUI.Window { [ToolboxItem...
namespace RoleplayToolSet { partial class FormPlayerOverlay { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
using System.Web.Http; using System.Web.Mvc; namespace DicomConverter.Areas.HelpPage { public class HelpPageAreaRegistration : AreaRegistration { public override string AreaName { get { return "HelpPage"; } } public override v...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { p...
using System; using System.Collections.Generic; using System.Text; using Zoo.Interfaces; namespace Zoo.Classes { public class Lion : Cat, ILiving, IAttack { public override string Hide { get => Hide; set => Hide = "fur hide"; } public override string Coloring { get => Coloring; set => Coloring...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.Extensions.Hosting { /// <summary> /// Builder options for use with ConfigureWebHost. /// </summary> public class WebHostBuilderOptions { ...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
namespace Conduit.Domain { public class ArticleFavorite { public int ArticleId { get; set; } public Article Article { get; set; } public int PersonId { get; set; } public Person Person { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MOE.Common.Business.Inrix { public class TMC { protected string tmcCode; public string TMCCode { get { return tmcCode; } set ...
// 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. namespac...
using System.ComponentModel.DataAnnotations; using AlloyTemplates.Models.Blocks; using EPiServer.Core; using EPiServer.DataAbstraction; using EPiServer.DataAnnotations; namespace AlloyTemplates.Models.Pages { /// <summary> /// Used to provide on-site search /// </summary> [SiteContentType( GUI...
using System.IO; namespace yumaster.Tools { public static class StreamExtensions { /// <summary> /// 将流转换为内存流 /// </summary> /// <param name="stream"></param> /// <returns></returns> public static MemoryStream SaveAsMemoryStream(this Stream stream) { ...
using System; using System.Threading; using System.Threading.Tasks; using BTCPayServer.SSH; using Renci.SshNet; namespace BTCPayServer { public static class SSHClientExtensions { public static async Task<SshClient> ConnectAsync(this SSHSettings sshSettings, CancellationToken cancellationToken = default...
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using checkers.Infrastructure.DataBase.Models; namespace checkers.Models { public class SquareDto : BaseDto { public int Color { get; set; } public int X { get; set; } public int Y { get; s...
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// VerifiedInfo Data Structure. /// </summary> [Serializable] public class VerifiedInfo : AopObject { /// <summary> /// 用户申请订单号回传。 Unique Application No. /// </summary> ...
/* * Assembly API * * Assembly (formely PromisePay) is a powerful payments engine custom-built for platforms and marketplaces. * * The version of the OpenAPI document: 2.0 * Contact: support@assemblypayments.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using Syste...
using System.Collections.Generic; namespace Highbyte.DotNet6502.Instructions { /// <summary> /// Decrement X Register. /// Subtracts one from the X register setting the zero and negative flags as appropriate. /// </summary> public class DEX : Instruction, IInstructionUsesOnlyRegOrStatus { ...
using BehaviorDesigner.Runtime; using BehaviorDesigner.Runtime.Tasks; using DCETRuntime; using System.Collections.Generic; namespace DCET { [ObjectSystem] public class BehaviorTreeComponentAwakeSystem : AwakeSystem<BehaviorTreeComponent> { public override void Awake(BehaviorTreeComponent self) ...
using System; using System.Threading.Tasks; using Xunit; namespace Sefaz.Core.Test { public class SefazTest { [Fact(DisplayName = "Criar classe Sefaz com sucesso")] [Trait("Categoria", "Sefaz")] public void ConstruirClasse() { // Act new Sefaz("test.pfx",...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Incognito.Models.ManageViewModels { public class IndexViewModel { public string Username { get; set; } public bool IsEmailConfirmed { get; se...
using System.Collections.Generic; using System.Linq; using CScape.Models.Data; using CScape.Models.Game.Interface; using CScape.Models.Game.Item; namespace CScape.Core.Network.Packet { public sealed class UpdateInterfaceItemPacket : IPacket { private readonly IGameInterface _interf; private rea...
using System; namespace Models { public class OfferDetails { /// <summary> /// Adres do konkretnej oferty /// </summary> public string Url { get; set; } /// <summary> /// Data stworzenia oferty /// </summary> public DateTime CreationDateTime { ...
using System; using System.Globalization; namespace OrchardCore.Localization { public sealed class CultureScope : IDisposable { private readonly CultureInfo _originalCulture; private readonly CultureInfo _originalUICulture; private CultureScope(CultureInfo culture, CultureInfo uiCultur...
// <snippet0> using System; using System.EnterpriseServices; using System.Windows.Forms; [assembly: ApplicationName("ObjectInspector")] [assembly: ApplicationActivation(ActivationOption.Server)] [assembly: System.Reflection.AssemblyKeyFile("Inspector.snk")] // <snippet1> [JustInTimeActivation] [ObjectPooling(MinPool...
// Autogenerated from KST: please remove this line if doing any edits by hand! using NUnit.Framework; namespace Kaitai { [TestFixture] public class SpecValidFailRangeInt : CommonSpec { [Test] public void TestValidFailRangeInt() { Assert.Throws<ValidationGreaterThanError...
namespace DigitalLearningSolutions.Data.Migrations { using FluentMigrator; using FluentMigrator.SqlServer; [Migration(202104220853)] public class FixCustomisationUpdateSPs : Migration { public override void Up() { Execute.Sql(Properties.Resources.dlsv2_172_fixcustomisat...
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Linq.Shadow.Common; namespace PartitioningOperators { public class PartitioningOperators { public void TakeToGetTheFirst3OrdersFromCustomersInWashingtonLinq(List<Customer> customers, List<Order> orders) { ...
/* This file is part of the iText (R) project. Copyright (c) 1998-2020 iText Group NV Authors: iText Software. This program is offered under a commercial and under the AGPL license. For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below. AGPL licensing: This program is free...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; namespace Axe.Windows.Desktop.ColorContrastAnalyzer { /// <summary> /// Runs color contrast V2 analysis ...
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3...
using System; using System.Text; using System.Security.Cryptography; namespace Lib.Web.Mvc.Http { internal static class CacheDigestHashAlgorithm { #region Constants private const int _hashValueLengthUpperBound = 32; #endregion #region Methods internal static uint Compu...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using...