text
stringlengths
1
932k
using UnityEngine; using WBase.Unity.Extensions; namespace AI.Tasks { public class FleeTask : IAITask { float LastDestTime = 0; public void Initialize() { } public void OnAdd(AIBase AI) { AI.Animator.SetBool("IsIdle", false); AI.Animat...
//------------------------------------------------------------------------------ // <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> //--...
namespace UCloudSDK.Models { /// <summary> /// 列表udb实例备份信息 /// <para> /// http://docs.ucloud.cn/api/udb/describe_udb_backup.html /// </para> /// </summary> public partial class DescribeUDBBackupDataSet { /// <summary> /// 备份id /// </sum...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class SearchFilter : IDigiFilter { private string[] _tags { get; set; } private static readonly Color _FOUND_COLOR = new Color(0.36f, 0.98f, 0.24f, 0.8f); private static readonly Color _...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d10_1shader.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using...
namespace Rivet.Operations { [ObjectRemovedByOperation(typeof(RemoveViewOperation))] public sealed class UpdateViewOperation : ObjectOperation { public UpdateViewOperation(string schemaName, string name, string definition) : base(schemaName, name) { Definition = definition; } public string Definition...
/* * 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...
// <auto-generated> // 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 // re...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /*============================================================ ** ** ** ** Purpose: A representation of an IEEE double precision ** floating point number. ** ** ============...
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.security.risk.authentication.query /// </summary> public class AlipaySecurityRiskAuthenticationQueryRequest : IAlipayRequest<AlipaySecu...
using System; using System.Data.Common; namespace DbKeeperNet.Engine { public interface IDatabaseService : IDisposable { bool CanHandle(string databaseType); DbConnection GetOpenConnection(); DbConnection CreateOpenConnection(); } public interface IDatabaseService<out T> whe...
// This file is generated from IPolyline.cs. Update the source file to change its contents. using Microsoft.StandardUI.Media; using Microsoft.StandardUI.Shapes; using DependencyProperty = System.Windows.DependencyProperty; namespace Microsoft.StandardUI.Wpf.Shapes { public class Polyline : Shape, IPolyline { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Media.Imaging; namespace spectra.camera.Converters { public sealed class BoolToImageConverter : DependencyObject, IValueConv...
/* * 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 NUnit.Framework; namespace SFA.DAS.Recruit.Vacancies.Client.UnitTests { [TestFixture] public class VacancyVersionHelperTests { [Test] public void IsRecruitVacancy_ShouldReturnTrueForRecruitVacancies() { long vacancyReference = 1000000000; Assert.IsTru...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie los valores de estos atributos para modificar la información // asociada a un ensamblado. [assembly: A...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Nanosoft { public class Label: MonoBehaviour { protected Transform label = null; void Start() { Debug.Log("Label start"); if ( label == null ) { label = CanvasScript.CreateLabel(); label....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LIS { class Program { static void Main(string[] args) { var seq = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int[] len = new int...
//===================================================================================== // Developed by Kallebe Lins (kallebe.santos@outlook.com) // Teacher, Architect, Consultant and Project Leader // Virtual Card: https://www.linkedin.com/in/kallebelins //==============================================================...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Protsyk.DataStructures { // Suffix Tree construction using Ukkonen's Algortihm implementation, ported from // https://www.geeksforgeeks.org/ukkonens-suffix-tree-construction-part-1 public class SuffixTreeUkkone...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
@model LaunchKey.Web.Models.RegisterViewModel @{ ViewBag.Title = "Register"; } <h2>@ViewBag.Title.</h2> @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() <h4>Create a new account.</h4> <hr /> @Html.Validat...
/* * MindTouch λ# * Copyright (C) 2018 MindTouch, Inc. * www.mindtouch.com oss@mindtouch.com * * For community documentation and downloads visit mindtouch.com; * please review the licensing section. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
using CoWorker.Models.Blog; using System; using Microsoft.EntityFrameworkCore.Internal; using System.Threading.Tasks; namespace CoWorker.Models.Blogs.Migrations { public class BlogSeed { private readonly IBlogFactory _factory; public BlogSeed(IBlogFactory factory) { this._...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TwainCloudServer.Models { public interface IScannersRepository { IEnumerable<DbScanner> Get(); bool TryGet(int id, out DbScanner comment); DbScanner Add(DbScanner comment); bool Delete(int id); bool Update(DbSca...
using AspNetCore.UnitTest.Api.Filters; using System; using System.Collections.Generic; using System.Text; using System.Threading; using Xunit; namespace AspNetCore.xUnit { #region Test Filter /* * xunit 提供了 BeforeAfterTestAttribute 来让我们实现一些自定义的逻辑来在测试运行前和运行后执行,和 mvc 里的 action filter 很像,所以这里我把他称为 test fil...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; internal partial class Interop { internal partial class mincore { [DllImport(...
namespace Api; using Microsoft.OpenApi.Models; public class Startup { public Startup(IConfiguration configuration) { Configuration = configuration; } public IConfiguration Configuration { get; } public void ConfigureServices(IServiceCollection services) { services.AddControllers(); services.AddSwaggerGe...
/* * 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 CodeWars; using NUnit.Framework; namespace CodeWarsTests { [TestFixture] public class CrackPINTests { [Test] public void SimpleTest() { Assert.AreEqual("12345", CrackPIN.crack("827ccb0eea8a706c4c34a16891f84e7b")); } [Test] public void Hard...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Biz.Morsink.Identity; using Biz.Morsink.Rest.Utils; namespace Biz.Morsink.Rest.Jobs { /// <summary> /// Repository for finishing jobs. /// </summary> [RestDocumentation("Repos...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Utilities.Editor; using UnityEditor; namespace Microsoft.MixedReality.Toolkit.Examples.Demos.Utilities.InspectorFields.Inspectors { [CustomEditor(typeof(InspectorFieldsExample))] public class Inspe...
using System; using System.Collections.Generic; namespace Task10.Bash { public class Exit : ICommand { public string Name { get; } public List<string> Input { get; set; } public List<string> Output { get; } public Exit(List<string> input) { Name = "exit"; ...
namespace MassTransit.HangfireIntegration.Tests { namespace ScheduleTimeout_Specs { using System; using System.Threading.Tasks; using Automatonymous; using NUnit.Framework; using Saga; using Testing; [TestFixture] public class Scheduling_a_messa...
/* Copyright (c) 2014, Lars Brubaker All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
// ------------------------------------------------------------------------------ // <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 UnityEditor; using UnityEngine; namespace UnitySampleAssets.ImageEffects { [CustomEditor (typeof(DepthOfField))] class DepthOfFieldEditor : Editor { SerializedObject serObj; SerializedProperty visualizeFocus; SerializedProperty focalLength; SerializedPro...
// Copyright 2017-2021 Elringus (Artyom Sovetnikov). All rights reserved. using UnityEditor; using UnityEngine; namespace Naninovel { [CustomPropertyDrawer(typeof(ResourcePopupAttribute))] [CustomPropertyDrawer(typeof(ActorPopupAttribute))] public class ResourcesPopupPropertyDrawer : PropertyDrawer { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace GraphProcessor { [System.Serializable] public class CommentBlock { public string title; public Color color = Color.black; public Rect position; public Vector2 size; public List< string > innerN...
using System; using CoreGraphics; using Foundation; using ObjCRuntime; using UIKit; namespace ARSPopover.iOS { // @protocol ARSPopoverDelegate <NSObject> [Protocol, Model] [BaseType(typeof(NSObject))] interface ARSPopoverDelegate { // @optional -(void)popoverPresentationController:(UIPopo...
namespace ClassLib079 { public class Class039 { public static string Property => "ClassLib079"; } }
using System; using System.Threading; using Meadow; using Meadow.Devices; using Meadow.Foundation.Sensors.Distance; namespace Sensors.Distance.SFSR02_Sample { /* Driver in development */ public class MeadowApp : App<F7Micro, MeadowApp> { Sfsr02 sFSR02; public MeadowApp() { ...
using System; namespace UltimaOnline.Items { public class DecoDeckOfTarot2 : Item { [Constructable] public DecoDeckOfTarot2() : base(0x12Ac) { Movable = true; Stackable = false; } public DecoDeckOfTarot2(Serial serial) : base(serial) { ...
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. using System; using System.Net.Http; using Newtonsoft.Json; namespace Microsoft.Bot.Builder.AI.LuisV3 { /// <summary> /// Optional parameters for a LUIS recognizer. /// </summary> [Obsolete("This class has been depre...
// Copyright 2021 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 TowerDefence { public enum TowerFitStatus { Fits, Overlaps, OutOfBounds } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Project20190819 { public partial class Frm_Main : Form { public Frm_Main ( ) ...
// <copyright file="AssemblyInfo.cs" company="ArchersRally"> // Copyright (c) ArchersRally. All rights reserved. // </copyright> using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of...
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; namespace MonoGame.OpenGL { internal interface IGraphicsContext : IDisposable { int SwapInterval { get; set; } ...
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 SJournalEntryStatus : CVariable { [Ordinal(1)] [R...
@using Microsoft.AspNetCore.Identity @using Time_Sheet_Buddy.Areas.Identity @using Time_Sheet_Buddy.Areas.Identity.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
// *** 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.Goog...
using Atlas.Components.Mvc; using Atlas.Resources.Form; using Atlas.Tests.Objects; using System; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using Xunit; namespace Atlas.Tests.Unit.Components.Mvc { public class RequiredAdapterTests { #region RequiredAdapter(ModelMetadata metadat...
using System.Collections.Generic; using GitHub.Models.Commits; using GitHub.Models.Repositories; using GitHub.Models.Users; namespace GitHub.Services.Contacts { public interface IValidator { ICollection<string> ValidateRegistration(UserRegistrationViewModel model); ICollection<string> Validat...
using System; using System.Collections.Generic; using Hl7.Fhir.Model; using Hl7.Fhir.Rest; using Spark.Engine.Core; namespace Spark.Service { public interface IFhirService { FhirResponse AddMeta(IKey key, Parameters parameters); FhirResponse ConditionalCreate(IKey key, Resource resource, IEnum...
using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.I18N.Countries; namespace Cosmos.Business.Extensions.Holiday.Definitions.Africa.SaintHelena.Religion { /// <summary> /// Good Friday /// </summary> public class GoodFriday : CatholicVariableHolidayFunc { /// <inheritdoc /> ...
using System; using SharpRepository.Repository.Caching; using Raven.Client.Document; using Raven.Client; namespace SharpRepository.RavenDbRepository { /// <summary> /// RavenDb repository layer /// </summary> /// <typeparam name="T">The type of object the repository acts on.</typeparam> /// <typep...
using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; using System; using System.Collections; namespace Cauldron.Necro { public class BloodRiteCardController : NecroCardController { public BloodRiteCardController(Card card, TurnTakerController turnTakerController) : ba...
namespace SFA.DAS.AssessorService.ExternalApi.Core.Messages.Response.Epa { using System.Collections.Generic; public class UpdateEpaResponse { public string RequestId { get; set; } public string EpaReference { get; set; } public IEnumerable<string> ValidationErrors { get; set; } =...
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Infrastructure.Transport { using EtAlii.Ubigia.Api.Transport; using EtAlii.Ubigia.Infrastructure.Functional; internal partial class SystemContentDataClient : SystemSpac...
//--------------------------------------------------------------------- // <copyright file="ExpandToken.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //---------------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XGEF; namespace XGEF { public interface IModEntity<T> : INameInfo, IOwningModInfo where T : INameInfo, IOwningModInfo { ModRegistry<T> ExtraValues { get; } } public interface IModEntity ...
using ThemeMixer.Themes.Enums; using ThemeMixer.UI.Abstraction; namespace ThemeMixer.UI.Parts.TexturePanels { public class WaterFoamPanel : TexturePanel { public override void Awake() { Category = ThemeCategory.Water; TextureID = TextureID.WaterFoam; base.Awake(); ...
@model PagingViewModel <nav aria-label="..."> <ul class="pagination justify-content-center"> <li class="page-item @if (!Model.HasPreviousPage) { <text>disabled</text> }"> <a class="page-link" asp-action="All" asp-route-id="@Model.PreviousPageNumber">Previous</a> </li> @for (int ...
namespace Stomp4Net.Model.Frames { /// <summary> /// Headers for <see cref="AbortFrame"/>. /// </summary> public class SendFrameHeaders : BaseStompHeaders { /// <summary> /// Gets or sets the destination header of the frame. /// </summary> public string Destination ...
@model FamilyTree.ViewModels.MarriageViewModel <div class="marriage @(Model.Children.Any() ? "has-children" : "") @(Model.Children.Length == 1 ? "single-child" : "")"> @Html.Partial("_PersonDetail", Model.From) <div class="marriage-popup"> <div class="photos"> <img data-original="@Model.From.GetPhotoUri(Url, h...
//------------------------------------------------------------------------------ // <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 GLTF.Math; using GLTF.Schema; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace GLTF.Schema { /// <summary> /// glTF extension that defines the specular-glossiness /// material model from Physically-Based Rendering (PBR) methodology. /// /// Spec can be found here: /// https://github.com/Khro...
namespace YololAssembler.Grammar.AST { internal abstract class BaseStatement { } }
// Copyright 2022 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 ...
using drewCo.Tools; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; #if !NETFX_CORE using Microsoft.VisualStudio.TestTools.UnitTesting; #else using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; #endif namespace ReflectionToolsTesters { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace MagicCube { static class Program { /// <summary> /// 應用程式的主要進入點。 /// </summary> [STAThread] static void Main() { Ap...
using System; using System.Collections.Generic; using System.Net.Http; using System.Security.Claims; using System.Security.Cryptography; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.ModelBinding; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFram...
using BankSystem.Data; using BankSystem.Web.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Owin; using System; using BankSystem.Models; namespace BankSystem.Web { public partial class Startup { // For mo...
using Ardalis.Specification; using TwistedTri.ExtraLifeDashboard.Core.ProjectAggregate; namespace TwistedTri.ExtraLifeDashboard.Core.ProjectAggregate.Specifications { public class ProjectByIdWithItemsSpec : Specification<Project>, ISingleResultSpecification { public ProjectByIdWithItemsSpec(int projec...
#region Copyright // // DotNetNuke® - http://www.dnnsoftware.com // Copyright (c) 2002-2015 // by DNN Corp. // // 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, includi...
using Feli.Instagram.Downloader.Commanding.Exceptions; using Feli.Instagram.Downloader.Posts; using System; using System.Net.Http; using System.Threading.Tasks; namespace Feli.Instagram.Downloader.Commands { public class PostCommand : Command { public override string Name => "post"; public ov...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
using UnityEngine; using System.Collections; public class StairsOut : StateMachineBehaviour { // OnStateEnter is called when a transition starts and the state machine starts to evaluate this state //override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { // //} // O...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entities.Models.Events { public class CountryEventModel : EventModel { public int CountryID { get; set; } public string CountryName { get; set; } } }
using System; using System.IO; using System.Text; using System.Threading; using LibCommon; using LibCommon.Enums; using LibCommon.Structs; using LibCommon.Structs.GB28181; using LibSystemInfo; namespace LibGB28181SipClient { public static class Common { private static SipClientConfig _sipClientConfig =...
// ============================================================================================================== // Microsoft patterns & practices // CQRS Journey project // ============================================================================================================== // ©2012 Microsoft. All rights re...
using System; namespace Core.Application.Services { public interface ILoggingService { } }
// *** 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...
//-------------------------------------------------------- // This code is generated by AutoFastGenerator. // You should not modify the code. //-------------------------------------------------------- namespace FlowScriptEngineSlimDX.FlowSourceObjects.Vector3 { public partial class MultiplyFlowSourceObject { ...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayTradePagePayModel Data Structure. /// </summary> public class AlipayTradePagePayModel : AlipayObject { /// <summary> /// 签约参数,支付后签约...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cloud.DokanNet.IntegrationTests { class Program { static void Main(string[] args) { } } }
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class AICTreeNodeFSMDefinition : AICTreeNodeCompositeDefinition { [Ordinal(0)] [RED("defaultState")] public CUInt16 DefaultState { get; set; } [Ordinal(1)] [RED("onEv...
using System.Collections.Generic; namespace Library.Useful { class Useful { public void LoadBalance(List<string> original, List<string> modification) { lock (original) { int count = original.Count; for (int index = 0; index < count; ++ind...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; public class Gen<U> { public void Meth<T>(T t) where T : struct, U {} } public class Test { public static int Main() { try { Gen<System.ValueType> g1 = new ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace IdentityServerIntegrationIdentity.Pages { public class PrivacyModel : PageModel { public void OnGet() { ...
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(1273)] [Attributes(9)] public class GsmPaTempCompIndex0 { [ElementsCount(16)] [ElementType("int8")] [Desc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _09.Vowels_Sum { class Program { static void Main(string[] args) { var InputText = Console.ReadLine(); var sum = 0; for (int i = 0;...
using Autofac; using MediatR; using MediatR.Pipeline; using System; using System.Reflection; using Module = Autofac.Module; namespace MoneyFox.Application { public class ApplicationModule : Module { protected override void Load(ContainerBuilder builder) { RegisterMediatr(builder); ...
using System; using EnemyLogic; using UnityEngine; namespace PlayerLogic { [RequireComponent(typeof(Animator))] [RequireComponent(typeof(PlayerMovement))] public class PlayerAnimationChanger : MonoBehaviour { private Animator _animator; private PlayerMovement _playerMovement; 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 Xam.TextFieldEffects { using System; using CoreGraphics; using Foundation; using ObjCRuntime; using UIKit; // @interface TextFieldEffects : UITextField [BaseType(typeof(UITextField), Name = "_TtC16TextFieldEffects16TextFieldEffects")] interface TextFieldEffects { // @property (readonly, nonatomi...
// 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 Microsoft.Build.Framework; using Microsoft.Build.Tasks.Deployment.ManifestUtilities; #nullable disable namespace Microsoft.Build.Tasks { /// ...
using TreniniDotNet.TestHelpers.InMemory.OutputPorts; namespace TreniniDotNet.Application.Collecting.Shops.GetFavouriteShops { public sealed class GetFavouriteShopsOutputPort : OutputPortTestHelper<GetFavouriteShopsOutput>, IGetFavouriteShopsOutputPort { } }