text
stringlengths
1
932k
// *** 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; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WinFormsApp1.Forms.Frente { public partial class QuantidadeForm : Form { public int quantidade { get; set; } public Qua...
using System.Threading.Tasks; using WoodGroveGroceriesWebApplication.ViewModels; namespace WoodGroveGroceriesWebApplication.ViewServices { public interface ITrolleyViewService { Task<TrolleyViewModel> GetOrCreateTrolleyForOwnerAsync(string ownerId); } }
using System; using System.Collections.Generic; using Microsoft.Data.Entity.Migrations; namespace DrinkCounter.Migrations { public partial class AddPwdInUser : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( ...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Common.Droid")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assemb...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Path { class Program { static char[,] lab = { {' ', ' ', ' ', '*', ' ', ' ', ' '}, {'*', '*', ' ', '*', ' ', '*', ' '}, {' ', 'S', ' ', ' ', ' ', ' ', ' '}, {' ', '*', '*', '...
using Sitecore.Configuration; using Sitecore.Data.Serialization.Presets; using Sitecore.Diagnostics; namespace Spe.Core.Serialization { public class SingleEntry : IncludeEntry { public new void Process(ItemCallback callback) { Assert.IsNotNull(Database, "database"); Ass...
using System; using System.Collections.Generic; using System.Linq; using Light.GuardClauses; namespace Light.Serialization.Json.ComplexTypeConstruction { /// <summary> /// Represents an object that describes how a type can be instantiated with constructor injection and further populated through /// ...
using System; using System.Linq; using System.Collections.Generic; namespace b { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var a = Console.ReadLine().Split().Select(i => int.Parse(i)).ToArray(); var flag = true...
using System.Collections.Generic; namespace Joonasw.AspNetCore.SecurityHeaders.Csp.Options { public class CspRequireSriOptions { /// <summary> /// If <c>true</c> subresource integrity attributes will be required for scripts loaded from this page /// </summary> public bool ForSc...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.Compiler.MSIL.Utils; using Neo.VM; using System; namespace Neo.Compiler.MSIL { [TestClass] public class UnitTest_ABI_Event { [TestMethod] public void Test_ABI_Event() { var testengine = new TestEngine(); ...
using FluentValidation; using SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort; namespace SFA.DAS.EmployerCommitmentsV2.Web.Validators { public class IndexRequestValidator : AbstractValidator<IndexRequest> { public IndexRequestValidator() { RuleFor(x => x.AccountHashedId).NotEmpty()...
// 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.Collections.Generic; using BenchmarkDotNet.Attributes; using Contoso.GameNetCore.Proto; using Microsoft.Extensions.DependencyInjection; n...
// // JsonFLValueReader.cs // // Copyright (c) 2015 Couchbase, 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 obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 /...
using System.ComponentModel.DataAnnotations; namespace JobSite.Models { public class City { [Key] public int Id { get; set; } [Required] [StringLength(50)] public string CityName { get; set; } public override string ToString() { return thi...
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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 without limitation the rights to use, copy, modify, ...
using System; public class StartUp { public static void Main() { var carInfo = Console.ReadLine().Split(); var fuelQuantity = double.Parse(carInfo[1]); var fuelConsumptionPerKm = double.Parse(carInfo[2]); var tankCapacity = double.Parse(carInfo[3]); Vehicle car = car = ...
using DJS.Core.Common.Extend; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace DJS.Core.Common { public static class TreeQuery { public static List<T> TreeWhere<T>(this List<T> entityList, Predicate<T> condition, string keyValue = "Id", string...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace WebApi.Migrations { public partial class AddStuff5 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_RefreshTokens_Users_Us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Module.SocketServer { struct SendBufferPacket { public int Offset; public int Count; } //由于是异步发送,有可能接收到两个命令,写入了两次返回,发送需要等待上一次回调才发下一次的响应 public class AsyncSendBufferManager { ...
using WebSocketSharp; namespace Kairos { public class WebSocketController { private WebSocket Socket; public Remote Remote; public WebSocketController(string url) { Socket = new WebSocket(url); Remote = new Remote(Socket); Socket.OnOpen += (sender, e)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.Scripts.Animation.Interfaces { public interface IAnimationImporter { List<AnimationDNABlock> ImportAnimations(string spritesheetKey, string direction); } }
// ***************************************************************************** // // © Component Factory Pty Ltd 2017. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 13 Swallows Close, // Mornington, Vic 3931...
using Resader.Common.Api.Response; using Resader.Common.Entities; using System; using System.Collections.Generic; using System.Text; namespace Resader.Common { public static class Converter { public static ArticleResponse ToResponseModel(this Article article) { if (article == null)...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CandleStickAndVolumeSeriesExamples.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // ---------------------------------------------------------...
@{ Layout = null; } <!doctype html> <html> <head> <meta charset="utf-8" /> <title>Galaxy</title> <link rel="stylesheet" type="text/css" href="http://play.jok.io/css" /> @Styles.Render("~/Styles/css") @Scripts.Render("~/Scripts/js") @Scripts.Render("~/Scripts/Game/js") <script> ...
using CharacterGen.Abilities; using CharacterGen.CharacterClasses; using CharacterGen.Domain.Tables; using CharacterGen.Feats; using CharacterGen.Magics; using CharacterGen.Races; using CharacterGen.Skills; using NUnit.Framework; using TreasureGen.Items; namespace CharacterGen.Tests.Integration.Tables.Feats.Data.Raci...
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class ScoreScript : MonoBehaviour { public static int scoreValue = 0; TextMeshProUGUI score; private void Start() { score = GetComponent<TextMeshProUGUI>(); } private void Update() ...
//----------------------------------------------------------------------- // <copyright file="CloudFileClient.Common.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Abp.Application.Services; using Abp.Application.Services.Dto; using Abp.Authorization; using Abp.Domain.Repositories; using Abp.IdentityFramework; using Abp...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #if UNITY_IOS && !UNITY_EDITOR using System; using System.Linq; using System.Collections.Generic; using System.Runtime.InteropServices; namespace Microsoft.AppCenter.Unity.Analytics.Internal { class AnalyticsInternal ...
// Copyright (c) 2015 SharpYaml - Alexandre Mutel // // 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 without limitation the rights // to use, copy, modify, ...
using Marten.Schema; using Marten.Testing.Harness; using Shouldly; using Xunit; namespace Marten.Testing.Bugs { public class Bug_113_same_named_class_different_namespaces: BugIntegrationContext { #region sample_can_select_from_the_same_table [Fact] public void can_select_from_the_same_t...
using EnvDTE; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.TextManager.Interop; using System; using System.IO; namespace StructLayout { public class EditorProcessor { public enum ParserTool { Clang, PDB }; private static readonly Laz...
namespace MassTransit.GrpcTransport { using System; using Topology.Configurators; public interface IGrpcBusFactoryConfigurator : IBusFactoryConfigurator<IGrpcReceiveEndpointConfigurator> { /// <summary> /// Sets the maximum number of threads used by an in-memory transport, for ...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Lightning.Core.Lifetime { // public interface IApplicationFlagHandler<TFlag> // { // event EventHandler<ApplicationFlagChangeEventArgs<TFlag>> ApplicationFlagChanging; // event EventHandler<Application...
/* * MIT License * * Copyright (c) Microsoft Corporation. * * 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 without limitation the rights * to use, copy...
using System.Threading.Tasks; using TestContainers.Container.Abstractions; using TestContainers.Container.Abstractions.Hosting; using Xunit; namespace Motor.Extensions.Hosting.NATS_IntegrationTest; public class NATSFixture : IAsyncLifetime { private readonly GenericContainer _container; public NATSFixture() ...
// To add offline sync support: add the NuGet package WindowsAzure.MobileServices.SQLiteStore // to all projects in the solution and uncomment the symbol definition OFFLINE_SYNC_ENABLED // For Xamarin.iOS, also edit AppDelegate.cs and uncomment the call to SQLitePCL.CurrentPlatform.Init() // For more information, see: ...
//------------------------------------------------------------------------------ // <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; using System.Threading.Tasks; using Moq; using NUnit.Framework; using SFA.DAS.EmployerUsers.Application.Queries.GetUserById; using SFA.DAS.EmployerUsers.Domain; using SFA.DAS.EmployerUsers.Domain.Data; namespace SFA.DAS.EmployerUsers.Application.UnitTests.QueriesTests.GetUserByIdTests.GetUserByIdQueryHa...
// <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 UiPath.Web.Client20204.Models { using Newtonsoft.Json; using System.Linq; public partial class ODataQueryOp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; using System.Windows.Media.Imaging; namespace RootNav.Viewer { public class RenderedImageSet { public ImageSource Background { get; } public ImageSource Segmentation { get; } ...
using Com.Zoho.Crm.API.Util; using System.Collections.Generic; namespace Com.Zoho.Crm.API.Fields { public class Private : Model { private bool? restricted; private bool? export; private string type; private Dictionary<string, int?> keyModified=new Dictionary<string, int?>(); public bool? Restricted { ...
namespace TextSplitter { public interface ITextPosition { bool IsAtEnd { get; } (ITextChunk text, ITextPosition rest) GetText(int maxLength); } }
namespace Fixie { using System; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; public static class ReflectionExtensions { public static string TypeName(this object o) { return o?.GetType().FullName; } public stati...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. namespace Microsoft.Azure.Search.Models { using System; using System.Linq; using System.Reflection; /// <summary> /// Indicates that the ...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace LatinSquares { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API routes ...
namespace _02.StudentsAndWorkers { public class Worker : Human { public Worker(string fname, string lname, int weekSalary, int workHoursDay) : base(fname, lname) { this.WeekSalary = weekSalary; this.WorkHoursDay = workHoursDay; } public int We...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; namespace IdentityServer4.Events { /// <summary> /// Contextual information included with every event. /// </summar...
using System; using System.Collections.Generic; using System.Linq; using HotChocolate.Language; using HotChocolate.Types; using HotChocolate.Types.Descriptors; using HotChocolate.Types.Helpers; namespace HotChocolate.Data.Sorting { public class SortEnumTypeDescriptor : DescriptorBase<SortEnumTypeDefinition...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
//====================================== // Copyright EntitySpaces, LLC 2005 - 2006 //====================================== using System; using System.Data; using System.Linq; using NUnit.Framework; using EntitySpaces.Interfaces; using BusinessObjects; namespace Tests.Base { [TestFixture] public class Perf...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogAnalysis.MongoDB.Contract.Common { public interface IDependency { } }
using Groundforce.Services.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Groundforce.Services.Data.Services { public class PasswordVerificationRepository : IPasswordVerificationRepository { privat...
// *** WARNING: this file was generated by pulumigen. *** // *** 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.Kubernetes.Events.V...
using System; using System.Collections.Generic; using System.Text; using OpenTK.Graphics.OpenGL; namespace F3DZEX.Render { public class TextureHandler { int _texId; public TextureHandler() { GL.GenTextures(1, out _texId); Use(); GL.TexParameter(Text...
/* * Copyright 2016 Open University of the Netherlands * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * This project has received funding from the European Union’s Horizon * 2020 research and innovation programme under grant ...
namespace Suls.Data { using System; using System.ComponentModel.DataAnnotations; public class Submission { public Submission() { this.Id = Guid.NewGuid().ToString(); } public string Id { get; set; } [Required] [MaxLength(800)] publi...
// <copyright> // Copyright 2013 by the Spark Development Network // // 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 b...
/* * 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...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using Omise.Models; namespace Omise.Tests { [TestFixture, Ignore("for documentation purposes only")] public class SiteExamples : OmiseTest { Client Client { get { return new Client(Dum...
using System; namespace Mono.Linker { public class ConsoleLogger : ILogger { public void LogMessage (MessageImportance importance, string message, params object[] values) { Console.WriteLine (message, values); } } }
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // applic...
namespace Stardust.Interstellar.Rest { public enum InclutionTypes { Path, Body, Header } }
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
// Copyright © 2010 Microsoft Corporation, All Rights Reserved. // This code released under the terms of the Microsoft Research License Agreement (MSR-LA, http://sds.codeplex.com/License) using System; using System.Collections.Generic; using System.Diagnostics; namespace Microsoft.Research.Science.Data { internal cla...
using System.Collections.Generic; using Nop.Web.Framework.Models; using Nop.Web.Framework.Mvc.ModelBinding; namespace Nop.Web.Areas.Admin.Models.Customers { /// <summary> /// Represents a customer attribute model /// </summary> public partial class CustomerAttributeModel : BaseNopEntityModel, ILocaliz...
using System; using System.Linq; using DynamicData.Binding; using DynamicData.Tests.Domain; using FluentAssertions; using Xunit; namespace DynamicData.Tests.Binding { public class IObservableListBindCacheFixture: IDisposable { private readonly IObservableList<Person> _list; private readonly C...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using Axiom.Graphics; using ResourceHandle = System.UInt64; namespace Axiom.Core { public class Resource { protected virtual void load() { } protected virtual void ...
#region License // Copyright (c) 2015, Matt Holmes // 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, t...
using System; using Akavache.Sqlite3; // Note: This class file is *required* for iOS to work correctly, and is // also a good idea for Android if you enable "Link All Assemblies". namespace Seemon.Todo { [Preserve] public static class LinkerPreserve { static LinkerPreserve() { ...
using System; using System.Linq; using AutoFixture.Kernel; using TestTypeFoundation; using Xunit; namespace AutoFixture.Xunit.UnitTest { public class FavorListsAttributeTest { [Fact] public void SutIsAttribute() { // Arrange // Act var sut = new Favo...
@using TestNetCore @using TestNetCore.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request to get a system voice portal instance. /// The response is either Sys...
using System; namespace Vapula.Runtime { public class Error { private IntPtr _Handle = IntPtr.Zero; public Error(IntPtr handle) { _Handle = handle; } /// <summary> /// get handle /// </summary> public IntPtr Handle { ...
// 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.Collections.Generic; using Xunit; namespace System.Linq.Parallel.Tests { public static class Defau...
using OpenTK.Graphics.OpenGL; using Ryujinx.Graphics.GAL; namespace Ryujinx.Graphics.OpenGL.Image { class Sampler : ISampler { public int Handle { get; private set; } public Sampler(SamplerCreateInfo info) { Handle = GL.GenSampler(); GL.SamplerParameter(Handle,...
namespace Mozlite.Data.Query { /// <summary> /// 查询的SQL接口。 /// </summary> public interface IQuerySql { /// <summary> /// FROM语句。 /// </summary> string FromSql { get; } /// <summary> /// 选择列。 /// </summary> string FieldSql { get; } ...
using JsonApiDotNetCore.Resources; using JsonApiDotNetCore.Resources.Annotations; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace JsonApiDotNetCore.MongoDb.Resources { /// <summary> /// A convenient basic implementation of <see cref="IIdentifiable"/> for use with MongoDB models. ...
/* * 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...
#region License // Copyright (c) 2009, ClearCanvas Inc. // 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, //...
using System.Xml.Serialization; using Essensoft.AspNetCore.Payment.Alipay.Domain; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// KoubeiMarketingCampaignIntelligentPromoQueryResponse. /// </summary> public class KoubeiMarketingCampaignIntelligentPromoQu...
//Copyright 2018 Samsung Electronics Co., Ltd // //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 ag...
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("Ur...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03_restDisc { class Program { static void Main(string[] args) { int size = int.Parse(Console.ReadLine()); string package = Console.ReadLine()....
namespace ImGuiNET { [System.Flags] public enum ImGuiDockNodeFlags { None = 0, KeepAliveOnly = 1, NoDockingInCentralNode = 4, PassthruCentralNode = 8, NoSplit = 16, NoResize = 32, AutoHideTabBar = 64, } }
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Mars")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProdu...
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using HttpReports.Dashboard.Docker.Models; namespace HttpReports.Dashboard.Docker.Controllers { public class HomeController...
using UnityEngine; using System.Collections.Generic; // Wave class holds types of enemies to spawn public class Wave { // List of enemies to be spawned public List<GameObject> enemies; public Wave() { enemies = new List<GameObject>(); ClearWave(); } // Clear ...
using System; using FluentAssertions; using NUnit.Framework; namespace IsabelDb.Test { [TestFixture] public sealed class IntervalTest { [Test] public void TestCreate() { var interval = Interval.Create(10, 20); interval.Minimum.Should().Be(10); interval.Maximum.Should().Be(20); } [Test] public...
using System; using System.Collections.Generic; namespace eProjects.DBModels { public partial class Top3 { public int Id { get; set; } public string ProjectLeader { get; set; } public string Option1 { get; set; } public string Option2 { get; set; } public string Option3...
using System.Collections; using System.Collections.Generic; using System.Reflection; using System; using UnityEngine; using UnityEditor;//.EditorGUI; namespace IMMATERIA { public class Life : Cycle { // automatically turns itself off public bool selfStop; [HideInInspector] public string primaryName; [Hide...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using SixLabors.ImageSharp.Processing; namespace SixLabors.ImageSharp.Drawing.Processing { /// <summary> /// Adds extensions that allow the filling of polygons with various brushes to the <see cref="Image{TPixel}"/> ...
// 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.Diagnostics; using System.Threading.Tasks; using FluentAssertions; using Microsoft.Azure.Devices.Client; u...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // // This file is a C# translation of the SharedHelpers.cpp file from WinUI controls. // using System; using System.Collections.Generic; using System.Text; using Wi...
using System.ComponentModel.DataAnnotations; namespace Discussion.Web.ViewModels { public class ForgotPasswordModel { [Required(ErrorMessage = "必须填写用户名或邮箱")] public string UsernameOrEmail { get; set; } } }