text
stringlengths
1
932k
using System; using System.Xml; using System.Configuration; namespace Platform.Xml.Serialization { public abstract class AbstractXmlConfigurationSectionHandler<T> : IConfigurationSectionHandler where T : new() { private readonly XmlSerializer<T> serializer; protected AbstractXmlConfigurationSectionHandler(T...
@{ ViewData["Title"] = "二维码"; Layout = "~/Views/Shared/BaseView.cshtml"; } @section script{ <script> //配置 var options = { Init: function () { this.InitDom(); this.InitEvents(); }, //元素 InitDom: function () { ...
// Copyright (c) Pavel Bakshy, Valeriy Ogiy. All rights reserved. See License.txt in the project root for license information. using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using OpenQA.Selenium; using Selenol.Controls; using Selenol.Elements; using Selenol.Selecto...
using System.Data.Common; using Npgsql; namespace KashirinDBApi.Controllers.Extensions { public static class Extensions { public static T GetValueOrDefault<T>(this DbDataReader reader, int ordinal, T defValue) { return !reader.IsDBNull(ordinal) ? (T)reader.GetVal...
namespace SharpParser.Model { internal class ListLiteral : SourceValue { public object[] values; public ListLiteral(object[] values, SourceLocation location) : base(location) { this.values = values; } public override ValueInterface Evaluate(FormatReader read...
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BLOCKCHAIN.Models { public class UpdateDidAgentSidekeyRequest : TeaModel { // OAuth模式下的授权token [NameInMap("auth_token")] [Validation(Re...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TestFlask.Models.Entity; namespace TestFlask.Aspects.Context { public class InvocationStack : Stack<Invocation> { public InvocationStack() { } public Invoc...
// *** 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...
using System; namespace Protobuild { public class DownloadProgressRenderer : BaseProgressRenderer { public void Update(int percentage, long kbReceived) { if (this.OutputAllowed) { Console.Write("\rDownloading package; " + percentage + "% complete (" + kb...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Elit.Model; using Elite.Data; using Elit.Services.Cliente; namespace Elit.Web.Controllers { public c...
// <auto-generated /> using Abp.Authorization; using Abp.BackgroundJobs; using Abp.Notifications; using fruitShop.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; u...
using System; using Microsoft.SPOT; using System.Threading; using System.Net.Sockets; using Microsoft.SPOT.Hardware; using System.Net; using SecretLabs.NETMF.Hardware.Netduino; namespace IOT.Device { class Mqtt2Lib { static Thread listenerThread; static Socket mySocket = null; public ...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using WebApi.Helpers; using WebApi.Services; using Microsoft.IdentityModel.Tokens; using System.Text; using Microsoft.AspNetCore.Authentication.JwtBearer; us...
@model Betabit.Lora.Nuget.Example.ViewModels.CustomerViewModel @{ ViewData["Title"] = "Customers"; } <div class="row"> <div class="col-md-3"> @Html.Partial("_LoRaSubMenu") </div> <div class="col-md-9"> <h2>Customers</h2> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.FirstN...
using System; using BansheeGz.BGSpline.Components; using BansheeGz.BGSpline.Curve; using UnityEditor; using UnityEngine; namespace BansheeGz.BGSpline.Editor { [CustomEditor(typeof(BGCcMath))] public class BGCcMathEditor : BGCcEditor { private BGCcMath Math { get { return ((BGCc...
// Copyright (c) Jerry Lee. All rights reserved. Licensed under the MIT License. // See LICENSE in the project root for license information. using UnityEngine; namespace UniSharper.Effect { /// <summary> /// Interface for controlling particle effect. /// </summary> public interface IParticleEffectCon...
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace Microsoft.Maui.Resizetizer { public class CreatePartialI...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; using System.Diagnostics; using...
namespace C4Sharp.Models.Containers; public record ServerlessFunction(string Alias, string Label, string Technology, string? Description = null) : Container(Alias, Label, ContainerType.ServerlessFunction, Technology, Description); public record ServerlessFunction<T>(string Technology, string? Description = null) ...
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.Embc.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.G...
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("My...
using System; using System.Diagnostics.CodeAnalysis; namespace DFC.App.Account.Services.DSS.Models { [ExcludeFromCodeCoverage] public class ActionPlan { public string ActionPlanId { get; set; } public string CustomerId { get; set; } public string InteractionId { get; s...
using System; namespace RBS.Messages.sensor_msgs { [System.Serializable] public class CompressedImage : ExtendMessage { public RBS.Messages.std_msgs.Header header; public string format; public uint[] data; public override string Type() { return "sensor_msgs/CompressedImage";...
//<Snippet1> using System; using System.IO; using System.Security.Cryptography; namespace Aes_Example { class AesExample { public static void Main() { try { string original = "Here is some data to encrypt!"; // Create a new instance of t...
using Basket.API.Entities; using Basket.API.Repositories; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; namespace Basket.API.Controllers { [ApiController] [Route("api/v1/[controller]")] public class Basket...
using System.Threading.Tasks; namespace ValkyrEngine.MessageSystem { /// <summary> /// Represents an object, that is capable of handling a specified message. /// </summary> public interface IMessageHandler { /// <summary> /// Handles the specified message as an asynchronous operation. /// </sum...
using System; using System.Text; namespace PlanetWars.Contracts.AlienContracts.Serialization { public static class EncodingExtensions { public static string AlienEncode(this Data? data) { var result = new StringBuilder(); Encode(result, data); return result....
using System.Threading.Tasks; using Contracts.Entity; namespace Contracts.Interfaces { public interface IProjectService { Task SetProject(Project p); Task<Project> CreateProject(string projectName, string projectDirectory, string sourceDirectory); Task<Project> OpenProject(stri...
#region MIT License /*Copyright (c) 2012-2015 Robert Rouhani <robert.rouhani@gmail.com> SharpFont based on Tao.FreeType, Copyright (c) 2003-2007 Tao Framework Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to dea...
using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace UiPath.CoreIpc.Tests { public interface ISystemService { Task DoNothing(CancellationToken cancellationToken = defau...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using TensorShader; using TensorShader.Updaters.OptimizeMethod; using TensorShader.Updaters.WeightDecay; namespace TensorShaderTest.Updaters.WeightDecay { [TestClass] public class LassoTest { [TestMethod] publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Git.ViewModels { public class LoginUserViewModel { public string Username { get; set; } public string Password { get; set; } } }
namespace HunterSim.GearSets { public interface IGearSet { public void Apply(SimulationState state); } }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; using System.Runtime.InteropServices.Tests.Common; using Xunit; namespace System.Runtime.Int...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; [CreateAssetMenu(fileName = "RobotDrivingParameters", menuName = "ScriptableObjects/RobotDrivingParameters", order = 1)] class RobotDrivingParameters : ScriptableObject { public f...
//------------------------------------------------------------------------------ // <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 Microsoft.AspNetCore.Identity; using Milvasoft.Helpers.Identity.Concrete; using System.Collections.Generic; namespace MilvaTemplate.API.DTOs.AccountDTOs; /// <summary> /// Login result information. /// </summary> public class LoginResultDTO : ILoginResultDTO<MilvaToken> { /// <summary> /// If login not...
// 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...
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Controls { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class SplitButtonAutomationPe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotneterWhj.DataTransferObject { public class AppInfoDto { public string AppId { get; set; } public string AppSecret { get; set; } public bool IsEnable { get;...
// 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.Threading; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure { ...
using System; using UnityEditor.Experimental.VisualElements; using UnityEngine; namespace UnityEditor.Experimental.DelightingInternal { partial class DelightingToolCanvasToolbarContainer : IMGUIVisualContainer { static class Content { public static GUIContent fitToWindowLabel { get ...
//Author Maxim Kuzmin//makc// using Makc2020.Core.Base.Resources.Errors; using Makc2020.Core.Caching; using Makc2020.Core.Caching.Clients; using Makc2020.Core.Caching.Common.Client.Config; using Makc2020.Core.Caching.Resources.Errors; using Makc2020.Data.Base; using Makc2020.Mods.DummyMain.Base.Jobs.Item.Delete; usin...
using System.Threading; using System.Threading.Tasks; using UnityEngine; namespace SQT.Plugins { public class PerlinDisplacementCPU : SQT.Core.Plugin, SQT.Core.Plugin.VerticesPlugin { public int seed = 0; public float strength = 0.1f; public float frequency = 1f; public float la...
/* * Copyright 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 "license" fi...
// *********************************************************************** // Assembly : MusicPickerDeviceApp // Author : Pierre // Created : 06-15-2015 // // Last Modified By : Pierre // Last Modified On : 06-21-2015 // ***********************************************************************...
using MediatR; using Reactivities.Application.Helpers; using Reactivities.Domain.Entities; namespace Reactivities.Application.Features.Activities.Commands { public class CreateActivityCommand : IRequest<Result<Unit>> { public Activity Activity { get; set; } } }
namespace Brimborium.Extensions.RequestPipe.Sample_WebAPI { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.As...
// ---------------------------------------------------------------------------------- // // 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.apa...
// <auto-generated/> #pragma warning disable 1591 namespace Test { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase ...
// 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 System.Linq; using Microsoft.AspNet.Mvc.Rendering; using Microsoft.AspNet.Razor....
using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace SmartMarket.Web.Models { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; set; }...
// 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.Diagnostics.CodeAnalysis; using Microsoft.AspNet.OData.Common; using Microsoft.OData.Edm; namespa...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MicrosoftGraphBot.Tests { [TestClass] public class WorkingWithTests { [TestMethod] public void TestMethod1() { } } }
using SharpPcap; using SharpPcap.Containers; using System; using System.Collections.Generic; using System.Globalization; using System.Net; using System.Net.NetworkInformation; using System.Text; using System.Windows.Forms; namespace WifiSniffer.UI { internal partial class ChooseDeviceForm : BaseForm { ...
namespace _03Calculadora { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
using System.Collections.Generic; namespace Lsquared.SmartHome.Zigbee.ZDO { // 0x0006 public sealed record GetMatchDescriptorRequestPayload(NWK.Address NwkAddr, ushort ProfileID, Array<ushort> InputClusters, Array<ushort> OutputClusters) : ICommandPayload { } }
using NUnit.Framework; namespace CorruptusConscribo.Tests { [TestFixture] public class When_Calling_With_Arg : CompilerTest { public When_Calling_With_Arg(): base(6,"./stage_9/valid/single_arg.c","./stage_9/valid/") {} } }
using System; using System.IO; using System.Linq; using Cassette.IO; using Cassette.Utilities; using Moq; using Should; using Xunit; namespace Cassette { public class BundleDescriptorReader_Tests : IDisposable { readonly TempDirectory tempDirectory; public BundleDescriptorReader_Tests() ...
/* This file is part of the iText (R) project. Copyright (c) 1998-2021 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...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Exporter.Extensions; namespace Exporter.Services { public interface IDocumentService : IService { void ArchiveFiles(); void ClearDirectories(); void CopyFiles(); ...
namespace Pets.Web.Areas.Identity.Pages.Account { using System.ComponentModel.DataAnnotations; public class LoginWith2faInputModel { [Required] [StringLength(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)] [DataType(DataType.Tex...
using System; using System.Collections.Generic; using System.Text; namespace AviationEdge.Models.FlightTracking { public enum FlightTrackingStatus { EnRoute, Landed, Started, Unknown } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace JsonSettingsManager.Tests { [TestClass] public class FsHandlerTests { [TestMethod] public void Te...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
@using IdentityServer.Quickstart @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using System; using System.Collections.Generic; using System.Security; using NBitcoin; using NBitcoin.BuilderExtensions; namespace Stratis.Bitcoin.Features.Wallet.Interfaces { /// <summary> /// Interface for a manager providing operations on wallets. /// </summary> public interface IWalletManager ...
#nullable enable namespace HotChocolate.Types { public interface IHasDescription { string? Description { get; } } }
using System; using ExchangeSecureTexts.Data; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; [assembly: HostingStartup(typeof...
using System; using Xunit; namespace infrastructure.Tests { public class GeneralTests { [Fact] public void AlwaysTrue() { Assert.True(true); } } }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Net.NetworkInformation; namespace Microsoft.EntityFrameworkCore.Storage.ValueConversion { /// <summary> /// Converts a <see cref="PhysicalAddress" /> to and...
using System; namespace R5T.S0030.T003.N002 { /// <summary> /// Namespace context without compilation unit context. /// </summary> public static class Documentation { } }
namespace GalconServer.Model { public class PlanetUpdate { public int ID { get; set; } public int Population { get; set; } public int Owner { get; set; } public PlanetUpdate(int id, int population, int owner) { ID = id; Population = population; ...
using System.Collections.Generic; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Cosmos; namespace Atc.Cosmos { /// <summary> /// Represents a reader that can read Cosmos resources. /// </summary> /// <typeparam name="T"> /// The type of <see cref="IC...
// Copyright (c) Microsoft. 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.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
using AutoMapper; using MediatR; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using X.Api.Entities; using X.Api.Source.Domain.BusinessRules; namespace X.Api.Source.Domain.UsesCases.Queries { public class GetAllTaskB...
// *** 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.AwsN...
// *** 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.AwsN...
/* * Copyright 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 "license" fi...
// <auto-generated /> using System; using Masny.QRAnimal.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueCo...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------...
//----------------------------------------------------------------------- // <copyright file="jet_columnlist.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Interop...
using System; using System.Collections.ObjectModel; using System.Threading.Tasks; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; using Windows.UI.Xaml.Navigation; using Flantter.MilkyWay.Setting; using Flantter.MilkyWay.Views.Contents.Authori...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public struct Address { public static readonly Address INVALID_ADDRESS = new Address(-1, -1); public int X { get; private set; } public int Y { get; private set; } public Address(int x, int y) { X = x; Y = y; } ...
/* * Copyright 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 "license" fi...
// Description: Async extension methods for LINQ (Language Integrated Query). // Website & Documentation: https://github.com/zzzprojects/LINQ-Async // Forum: https://github.com/zzzprojects/LINQ-Async/issues // License: http://www.zzzprojects.com/license-agreement/ // More projects: http://www.zzzprojects.com/ // Copyr...
using Org.BouncyCastle.Crypto.Digests; using System; using System.IO; namespace Hashificator.Common; public class Crypto { public static HashCollection CalculateHashes(string path, HashSelection hashes, int maxThreads, int bufferSize) { var hashCalc = new HashCalculation(); var results = new ...
using System.IO; using ICSharpCode.SharpZipLib.Lzw; using ICSharpCode.SharpZipLib.Tests.TestSupport; using NUnit.Framework; namespace ICSharpCode.SharpZipLib.Tests.Lzw { [TestFixture] public class LzwTestSuite { //[Test] //[Category("LZW")] //public void TestLzw() { // LzwInputStream str = new LzwInput...
using BitCodeGenerator.Implementations; using BitCodeGenerator.Implementations.HtmlClientProxyGenerator; using BitTools.Core.Contracts; using BitTools.Core.Model; using BitVSEditorUtils.HTML.Schema; using EnvDTE; using EnvDTE80; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.MSBuild; using Microsoft.Visual...
using HarmonyLib; namespace MCM.Abstractions.Settings.Definitions.Wrapper { public sealed class PropertyDefinitionDropdownWrapper : BasePropertyDefinitionWrapper, IPropertyDefinitionDropdown { public int SelectedIndex { get; } public PropertyDefinitionDropdownWrapper(object @object) : base(@o...
@model ActivityViewModel<AddModelValidationErrorTask> <header> <h4><i class="fa fa-exclamation-triangle"></i>@Model.Activity.GetTitleOrDefault(() => T["Add Form Validation Error"])</h4> </header> <span>@T["<em>{0}</em>: <em>{1}</em>", Model.Activity.Key, Model.Activity.ErrorMessage]</span>
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class WaterZone : MonoBehaviour { private void OnTriggerEnter2D(Collider2D collision) { if (collision.CompareTag("PlayerHead")) { SceneManager.LoadScene(SceneMan...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framewor...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Microsoft.EntityFrameworkCore.Internal { /// <summary> /// This is an internal API that su...
using Unity.Entities; [GenerateAuthoringComponent] public struct AstroidComponenet : IComponentData { }
using AutoMapper; using log4net; using PagedList; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using System.Web.Mvc; using TTCMS.Areas.TT_Admin.Filters; using TTCMS.Core; using TTCMS.Data.Infrastructure; using TTCMS.Domain; using TTCMS.Service; using TTC...
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WalletWasabi.Helpers { public static class NBitcoinHelpers { public static string HashOutpoints(IEnumerable<OutPoint> outPoints) { var sb = new StringBuilder(); foreach (OutPoint input in outPoi...
using DeftPack.TestAutomation.Selenium.PageObjects.Elements; using DeftPack.TestAutomation.Selenium.PageObjects.UnitTests.Factories; using NUnit.Framework; using System; namespace DeftPack.TestAutomation.Selenium.PageObjects.UnitTests { [TestFixture] public class ElementTypeFinderTests { private r...
// <copyright file="GetRecipientsActivity.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func.PreparingToSend { using System; using System.Collections.Generic; using System.Linq; using System.Threading.T...
using System; using Xunit; namespace GradeBook.Tests { public class BookTests { [Fact] public void BookCalculatesAnAverageGrade() { // arrange var book = new Book(""); book.AddGrade(89.1); book.AddGrade(90.5); book.AddGrade(77....