text
stringlengths
1
932k
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.IO; public class DebugType { public int type; public string message; } /// <summary> /// 未完成任务在390 /// </summary> public class DebugLoger { static bool draw; static bool IsLog = true; public ...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Backup...
using System; using System.Collections.Generic; using System.Text; namespace RobotService.Models.Robots { public class PetRobot : Robot { public PetRobot(string name, int energy, int happiness, int procedureTime) : base(name, energy, happiness, procedureTime) { } } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web.Mvc; using DontForgetTheEggs.Web.Infrastructure.MetadataResouceKeysConvention.Extensions; namespace DontForgetTheEggs.Web.Infrastructure.MetadataResouceKeysConvention { /// <summary> /// ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; using Dbg = System.Management.Automation; namespace Microsoft.PowerShell.Command...
// Copyright 2020 The Tilt Brush 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 // // Unless required by applicable law or ...
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Auth { /// <summary> /// Function prototype definition for callbacks passed to <see cref="AuthInterface.LinkAccount" /> /// </summary> /// <param name="...
//------------------------------------------------------------------------------ // <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.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("mer...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/WinUser.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syste...
using Dapper.Contrib.Extensions; namespace Ronners.Bot.Models { [Table("achievements")] public class Achievement { [Key] public ulong AchievementId{get;set;} public string Name{get;set;} public string Description{get;set;} public int Score{get;set;} public ...
// <Snippet1> using System; using System.Reflection; using System.Security; public class MyFilterAttributeSample { public static void Main() { try { MemberFilter myFilter = Type.FilterAttribute; Type myType = typeof(System.String); MemberInfo[] myMemberInfoA...
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace Jp.Infra.Migrations.Sql.Migrations.Identity { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBu...
using System.Collections; using System.Collections.Generic; using UnityEngine; // scale gameObject to fit ortho camera width // assume localScale is correct for a square aspect ratio public class OrthoScaleToWidth : MonoBehaviour { //float scale = 0.008f; // Use this for initialization void Start () { Camera c...
using System; using System.Threading.Tasks; namespace RegionOrebroLan.Web.Security.Captcha.Extensions { public static class RecaptchaValidationClientExtension { #region Methods public static IRecaptchaValidationResult GetValidationResult(this IRecaptchaValidationClient recaptchaValidationClient, string token) ...
using System; class FrequentNumber { static void Main() { int n = int.Parse(Console.ReadLine()); int[] array = new int[n]; for (int i = 0; i < n; i++) { array[i] = int.Parse(Console.ReadLine()); } int maxCount = int.MinValue; int currentCoun...
@using MichaelBrandonMorris.Extensions.Web.HtmlHelper.Bootstrap @using MichaelBrandonMorris.Extensions.Web.HtmlHelper.Bootstrap.Display @model MichaelBrandonMorris.KingsportMillSafetyTraining.Models.CompanyViewModel @{ ViewBag.Title = "Details"; ViewBag.Subtitle = "Company"; Layout = "~/Views/Shared/_Layo...
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CEnvSunAndMoonParameters : CVariable { [Ordinal(1...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.T...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ u...
// Copyright (c) Converter Systems LLC. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using System.Windows.Data; namespace Workstation.Windows.Data { [ValueConversion(typeof(int?), typeof(int))]...
// 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. namespace BasicApi.Models { public class Category { public int Id { get; set; } public string Name { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Bam.Net.Services.Validation; using Bam.Net.Services.Validation.Data; using Bam.Net.Testing; using Bam.Net.Testing.Unit; namespace Bam.Net.Services.Tests { public class TestValidationEvaluator ...
using System.Data; namespace GenericSqlProvider.Oracle { public class GenericOracleParameter : IDbDataParameter { public IDbDataParameter parameter; public GenericOracleParameter(ref IDbDataParameter oracleParameter) { parameter = oracleParameter; } public...
///@file ExcelRepoter.cs ///@brief Классы, реализующие минимальную функциональность, необходимую для ///экспорта описания проекта в Excel. /// /// @author Иванюк Дмитрий Сергеевич. /// /// @par Текущая версия: /// @$Rev: --- $.\n /// @$Author: sedr $.\n /// @$Date:: 2019-10-21#$. using Excel = Microsoft.Office.Inte...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
// Copyright (c) Richasy. All rights reserved. using System; using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Text.RegularExpressions; using System.Threading.Tasks; using Richasy.Bili.Models.App.Constants; using Richasy.Bili.Models.BiliBili; using Richasy.Bili.Models.Enums; usin...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class movement : MonoBehaviour { private int State;// private int oldState = 0;// private int UP = 0;// private int RIGHT = 1;// private int DOWN = 2;// private int LEFT = 3;// public float speed = 2; ...
// 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.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL.Messages { [TLObject(189033187)] public class TLMessagesSlice : TLAbsMessages { public override int Constructor { ...
using System; using System.IO; using System.Linq; using System.Reflection; using System.Text; using UnityEngine; using UnityEditor; public static class _MenuItems_ { /// <summary> /// Dumps info for all public methods of all public classes from UnityEngineInternal and UnityEditorInternal namespaces /// </...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace TranslationDemo { public partial class TranslationDemoPage : ContentPage { public TranslationDemoPage() { InitializeComponent(); ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.AppCenter.Utils { public class DefaultScreenSizeProviderFactory : IScreenSizeProviderFactory { public IScreenSizeProvider CreateScreenSizeProvider() { return new Defau...
using System; namespace Microsoft.Cognitive.DataStructures.Face { [Serializable] public struct IdentifyResult { public string faceId; public Candidate[] candidates; } }
// Copyright 2019 Google LLC. 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 // // Unless required by applicable...
using System; namespace Oqtane.Shared { public class Constants { public static readonly string Version = "3.1.0"; public const string ReleaseVersions = "1.0.0,1.0.1,1.0.2,1.0.3,1.0.4,2.0.0,2.0.1,2.0.2,2.1.0,2.2.0,2.3.0,2.3.1,3.0.0,3.0.1,3.0.2,3.0.3,3.1.0"; public const string PackageId ...
using Sandbox; using System; namespace Frostrial { partial class Player : Sandbox.Player { [Net] public float Warmth { get; set; } = 1f; [Net] public float ColdMultiplier { get; set; } = 1f; // Negative will recover warmth [Net] public float BaseColdSpeed { get; set; } = 60f; // Total seconds to perish in n...
using ConstellationMind.Infrastructure.Services.Commands.Players; using ConstellationMind.Shared.Exceptions; using FluentValidation; namespace ConstellationMind.Infrastructure.Services.Validators { public class UpdatePlayerPointsValidator : AbstractValidator<UpdatePlayerPoints> { public UpdatePlayerPoi...
using UnityEngine; namespace Kore.Events { [AddComponentMenu("Kore/Events/Listeners/StringGameEventListener")] public class StringGameEventListener : GameEventListener<string, StringGameEvent, StringUnityEvent> { } }
using RIAPP.DataService.Core.Metadata; namespace RIAPP.DataService.Core.CodeGen { public interface ICodeGenProvider { string GenerateScript(string comment, bool isDraft); string Lang { get; } } public interface ICodeGenProvider<TService> : ICodeGenProvider...
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. ////////////////////////////////////////////////////////////////////// // // Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved // ///////////////...
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; namespace saloon.Authentication.JwtBearer { public static class JwtTokenMiddleware { public static IApplicationBuilder UseJwtTokenMiddleware(this IApplicationBuilder app,...
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Security.Cryptography; using Microsoft.IdentityModel.Tokens; namespace Strive.IntegrationTests._Helpers { public class MockJwtTokens { private readonly JwtSecurityTokenHandl...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
using System.Threading.Tasks; namespace WinterComingGame.Game { interface IPlayer { Task NotifyOnVictoryAsync(); Task NotifyOnGameOverAsync(); Task NotifyOnLossAsync(); Task NotifyOnZombieLocationAsync(Coordinate coordinate); Task NotifyOnShotResultAsync(string name, in...
using System; using System.Collections.Generic; using Assets.Scripts.Game.Mahjong2D.CommonFile.Tools; using Assets.Scripts.Game.Mahjong2D.CommonFile.Tools.Singleton; using UnityEngine; namespace Assets.Scripts.Game.Mahjong2D.Game.GameCtrl { /// <summary> /// 计时器,感觉这个功能很常用。于是,它就诞生了。喜欢写N多个协程 /// </summary> ...
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
namespace ESchool.Web.ViewModels.Home { using System.Collections.Generic; using ESchool.Data.Models; using ESchool.Services.Mapping; using ESchool.Web.ViewModels.Subject; public class TeacherIndexViewModel : IMapFrom<ApplicationUser> { public string Id { get; set; } public st...
@using SignalRChatDemo @namespace SignalRChatDemo.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
//------------------------------------------------------------------------------ // <copyright file="PageThemeBuildProvider.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespa...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using Lsw.Abp.AntDesignUI; using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.PageToolbars; using Microsoft.AspNetCore.Components; namespace Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Lay...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
/* * ARXivar Workflow API * * ARXivar Workflow API * * OpenAPI spec version: v1 * Contact: info@abletech.it * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using System.Text.Encodings.Web; using Mic...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UniRx; using Zenject; using Manager; namespace Player { public class ResultStateJudger : MonoBehaviour { private PlayerHP playerHP; private RobotAgent robotAgent; private PlayerHP enemyHP; p...
using Moq; using StackExchange.Redis.KeyspaceIsolation; using System.Text; using Xunit; namespace StackExchange.Redis.Tests { public sealed class BatchWrapperTests { private readonly Mock<IBatch> mock; private readonly BatchWrapper wrapper; public BatchWrapperTests() { ...
/* * 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...
using System.Windows; using System.Windows.Input; using Microsoft.Toolkit.Mvvm.DependencyInjection; using Microsoft.Toolkit.Mvvm.Messaging; using OnlyM.Core.Services.Options; using OnlyM.CoreSys.Services.Snackbar; using OnlyM.CoreSys.WindowsPositioning; using OnlyM.PubSubMessages; using OnlyM.Services.DragAndDrop; usi...
/* * 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...
#nullable enable using System; using System.Threading; using System.Threading.Tasks; using Android.Content; using Android.Graphics.Drawables; using Microsoft.Extensions.Logging; namespace Microsoft.Maui { public partial class FileImageSourceService { public override Task<IImageSourceServiceResult?> LoadDrawableAs...
/* * Exchange Web Services Managed API * * 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 restr...
namespace MediaShare.Web.Models { public class FilterViewModel { public string SearchString { get; set; } public string Type { get; set; } public string OrderBy { get; set; } public string SortType { get; set; } } }
// 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.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.CSharp.CodeRefactorings.AddMissi...
using System.Collections.Generic; using wmsShared.Interfaces; using wmsShared.Model; namespace mapfileManager.mapfile { public class LeaderObj : AbsMapfileBlock, IMapfileBlock { #region public properties public override string name => "LEADER"; public override string endName => "END";...
using System; using System.Collections.Generic; namespace _03.Immune_System { public class Program { public static void Main() { var immuneSystemInitialHealth = double.Parse(Console.ReadLine()); var healthStore = new List<double>(); healthStore.Add(immuneSys...
using System; using System.Collections; using System.Collections.Generic; enum EInt8 : sbyte { A = -1, B, C, D } enum EUInt8 : byte { A, B, C, D } enum EInt16 : short { A = -1, B, C, D } enum EUInt16 : ushort { A, B, C, D } enum EInt32 : int { A = -1, B, C, D } enum EUInt32 : uint { A, B, C, D } enum EInt64 : long { A...
using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace ebnf.Nodes { [DebuggerDisplay("Term: {ToString()}")] public class Term : Node { public ICollection<Factor> Factors { get; private set; } public Term() { Factors = new List<...
using Ardalis.GuardClauses; using BuildingBlocks.Domain; using BuildingBlocks.Exception; using MapsterMapper; using MediatR; using Microsoft.EntityFrameworkCore; using Passenger.Data; using Passenger.Passenger.Dtos; using Passenger.Passenger.Exceptions; namespace Passenger.Passenger.Features.GetPassengerById; public ...
using BaleLib; using BaleLib.Models; using FluentAssertions; using Xunit; namespace BaleLibTest { public class GetMeTest : BaseTest { [Fact] public void GetMe() { BaleClient client = new BaleClient(Token); Response<From> response = client.GetMe(); r...
using System; using System.Collections.Generic; using System.Linq; namespace SplitCasing { public class Casing { public static void Main() { List<string> input = Console.ReadLine().Split(new char[] { ' ', ',', ';', ':', '.', '!', '(', ')', '"', '\'', '/', '\\', '[', ']' }, StringSp...
@using BCCDataCustodianSelection @using BCCDataCustodianSelection.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using System.Collections.Generic; using System.IO; using System.Net; using System.Xml.Serialization; namespace SupportTool.AppVersion { class VersionChecker { private Config config; public VersionChecker(Config config) { this.config = config; } public Vers...
using System.Diagnostics; using UnityEngine; namespace Normal { public class TerrainNoise : MonoBehaviour { [SerializeField] private float m_Frequency = 0.8f; [SerializeField] private float m_Amplitude = 2f; private MeshFilter m_Filter; private MeshColl...
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dkmdt.h(1385,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _D3DKMDT_GDISURFACEDATA { public uint Width; public uint Height; ...
namespace BinarySerialization.Graph.TypeGraph; internal sealed class ListTypeNode : CollectionTypeNode { public ListTypeNode(TypeNode parent, Type type) : base(parent, type) { } public ListTypeNode(TypeNode parent, Type parentType, MemberInfo memberInfo) : base(parent, parentType, memberInfo)...
using System.Collections.Generic; using System.Linq; namespace BeFaster.App.Solutions.CHK { public class Product { public char Sku { get; } public int Price { get; } public List<SpecialPriceOffer> Offer { get; } public List<FreeProductOffer> FreeOffer { get; } public P...
// *** 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 BrightChain.API.Interfaces { using System; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Internal; #pragma warning disable EF1001 // Internal EF Core API usage. public interface IBrightChainDbContext : IDisposable, IAsyncDisposable, IInfrastr...
namespace ACTransit.Framework.Infrastructure.FileSystem { public class SearchReplace { public string SearchFor { get; set; } public string ReplaceWith { get; set; } public string FullReplaceWith { 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; using System.Collections.Generic; using System.Linq; namespace CarsSalesman { public class Runner { public void Run() { List<Car> cars = new List<Car>(); List<Engine> engines = new List<Engine>(); int engineCount = int.Parse(Console.ReadLine())...
// Copyright (c) SDV Code Project. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace SdvCode.Data { using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using SdvCode.Areas.Administr...
// *** 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.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace acidserver.Models.AccountViewModels { public class LoginViewModel { [Required] [EmailAddress] public string Email { get; set; } ...
// <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 Pssg.Interfaces.Icbc.Models { using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Jso...
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
namespace PickerDemo { public class PickerItemsSourcePageCode : ContentPage { public PickerItemsSourcePageCode() { Title = "Picker ItemsSource"; IconImageSource = "csharp.png"; var monkeyList = new List<string>(); monkeyList.Add("Baboon"); monkeyList.Add("Capuchin Monkey"); monkeyList.Add("Blu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MikuMikuFlex3 { public interface ISkinning : IDisposable { /// <summary> /// スキニングを実行する。 /// </summary> /// <param name="d3ddc"> /// 実行対...
using Shouldly; using Simpsons; using Xunit; using Xunit.Abstractions; namespace DocumentationExamples { public class ShouldBeAssignableToExamples { private readonly ITestOutputHelper _testOutputHelper; public ShouldBeAssignableToExamples(ITestOutputHelper testOutputHelper) { ...
// ----------------------------------------------------------------------------------------- // <copyright file="BlobReadStream.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 complia...
// 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.Linq; using Microsoft.AspNetCore.Components.E2ETest.Infrastructure; using Microsoft.AspNetCore.Components.E2ETest.Infrastruct...
// Copyright (c) Craftwork Games. All rights reserved. // Licensed under the MS-PL license. See LICENSE file in the Git repository root directory for full license information. namespace Ankura { public enum SurfaceFormat { Color, Bgr565, Bgra5551, Bgra4444, Dxt1, ...
using DownKyi.Core.BiliApi.Models; using Newtonsoft.Json; namespace DownKyi.Core.BiliApi.VideoStream.Models { public class PlayUrlSupportFormat : BaseModel { [JsonProperty("quality")] public int Quality { get; set; } [JsonProperty("format")] public string Format { get; set; } ...
using System.Linq; using DnsZone.Records; using NUnit.Framework; namespace DnsZone.Tests.Records { [TestFixture] public class CaaResourceRecordTests { [Test] public void ParseTest() { const string str = @" ; zone fragment example.com ; mail servers in the same zone ; will support ...
namespace Labo.TwitterMiner.Services { public interface ITwitterTweetStorageService { long GetMaxTweetID(string query); } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.Bot.Connector.Authentication; using Xunit; namespace Microsoft.Bot.Connector.Tests.Authentication { public class MicrosoftGovernmentAppCredentialsTests { [Fact] public void Microsof...
using System; namespace OnTimeForTheExam { class Program { static void Main(string[] args) { var hourOfExam = int.Parse(Console.ReadLine()); var minOfExam = int.Parse(Console.ReadLine()); var hourOfArrival = int.Parse(Console.ReadLine()); var m...
/* Copyright (c) Citrix Systems 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, this li...