text
stringlengths
1
932k
using System.IO; using Microsoft.Playwright.NUnitTest; using NUnit.Framework; namespace Microsoft.Playwright.Tests { [Parallelizable(ParallelScope.Self)] public class BrowserTypeBasicTests : PlaywrightTestEx { [PlaywrightTest("browsertype-basic.spec.ts", "browserType.executablePath should work")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensio...
namespace App.EFCore.DynamicLinq { public class Query { public int PageIndex { get; set; } = 1; public int PageSize { get; set; } = 10; public IEnumerable<Sort> Sort { get; set; } = new List<Sort>(); public IEnumerable<Filter> Filter { get; set; } = new List<Filter>(); } }
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace GnuCash.TransactionImportGenerator.Parsers.PkoBpXmlCardOperationsFile.DataContract { [ExcludeFromCodeCoverage] pu...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace EFDataAccessLibrary.Models { public class Email { public int Id { get; set; } [Required] [MaxLength(200)] public string EmailAddress { get; set; } } }
using System.Resources; 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. [ass...
class WriteTextFile { static void Main() { // These examples assume a "C:\Users\Public\TestFolder" folder on your machine. // You can modify the path if necessary. // Example #1: Write an array of strings to a file. // Create a string array that consists of three lines...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyBlog_API.Entities { public class AppUser { public int Id { get; set; } public string UserName { get; set; } public byte[] PasswordHash { get; set; } public byte[] Passwo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Configuration.Logging; using Stratis.Bitcoin.Features.Consensus.CoinViews; using Stratis.Bitcoin.Interfaces; using Stratis.Bitcoi...
using Poof.Core.Entity.Quest; using Poof.Core.Future; using Poof.Core.Model; using Poof.Core.Model.Data; using Poof.Core.Model.Future; using Poof.Snaps; using Poof.Talk.Snaps.Quest; using System; using System.Collections.Generic; using System.Text; using Yaapii.Atoms; namespace Poof.Core.Snaps.Quest { /// <summar...
using CloudConsult.Common.DependencyInjection; using CloudConsult.Common.Middlewares; using Microsoft.AspNetCore.Mvc.ApiExplorer; using Prometheus; using Prometheus.SystemMetrics; using Serilog; using Serilog.Events; using Serilog.Sinks.Elasticsearch; Log.Logger = new LoggerConfiguration() .MinimumLevel.Override("...
// 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.Linq; using System.Net.Sockets; using System.Net.Test.Common; using System.Text; using System.Threading.Tasks; using Microsoft.DotNet....
namespace Masya.Telegram.Commands.Metadata { public class ModuleInfo { public Type ModuleType { get; } public IReadOnlyDictionary<string, CommandInfo> Commands { get; } public ModuleInfo(Type moduleType, IReadOnlyDictionary<string, CommandInfo> commands) { ModuleType...
using Ninject; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Settings.Web { public class NinjectDependencyResolver : IDependencyResolver { public IKernel Kernel { get; set; } public object GetService(Type serviceType) ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace reentry_web_serve...
/* * 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...
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
 namespace NGame.SqlServer { public interface ITable { int id { get; set; } } }
using Microsoft.AspNet.Identity; using pweb_eCarSharing.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace pweb_eCarSharing.Controllers { [Authorize] public class CarStationController : Controller { ApplicationDbContext db ...
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 08.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Scorables; using Microsoft.Bot.Connector; using Microsoft.Teams.TemplateBotCSharp.Properties; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Microsoft.Teams.TemplateBotCSharp.Dialogs { /// <summary> /// T...
@model Shop.Core.Models.ProductCategory @{ ViewBag.Title = "Create"; } <h2>Create</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>ProductCategory</h4> <hr /> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) ...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Validation; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Framework.Domain; using Framework.Domain.Events; using Framework.Domain.Infrastructure.Extensions; usin...
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 System; using System.Collections.Generic; using System.Linq; using Demo.LearnByDoing.Core; using Xunit; using Xunit.Abstractions; namespace Demo.LearnByDoing.Tests.CodeWars.Beta { /// <summary> /// https://www.codewars.com/kata/com-gov-org-first /// </summary> public class ComGovOrgFirstTest : BaseTest { ...
using System.Collections.Generic; using System.Threading.Tasks; using EllAid.Adapters.DataObjects; using EllAid.Details.Web.DataSource.DataAccess.Context; using EllAid.UseCases.DataSource; using Microsoft.Extensions.Logging; namespace EllAid.Details.Main.DataAccess { public class FacultyRepository<T> : IFacultyRep...
namespace SimpleGraphQL.GraphQLParser.AST { public class GraphQLScalarValue : GraphQLValue { private readonly ASTNodeKind _kind; public GraphQLScalarValue(ASTNodeKind kind) { _kind = kind; } public override ASTNodeKind Kind => _kind; public string V...
using SysColab.Dominio.RH.Entities; using SysColab.Dominio.RH.ValueObjects; using System.Data; namespace SysColab.DAO.RH.FuncionarioDAO.Interfaces { interface IFuncionarioDAO { DataTable ObterTodosFuncionarios(); Funcionario ObterFuncionario(string cpf); void CriarFuncionario(Funcionar...
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x77C3657D)] public class STU_77C3657D : STUStatescriptState { [STUFieldAttribute(0xE8951580, ReaderType = typeof(EmbeddedInstanceFieldReader))] public STUConfigVar m_E895...
// <auto-generated> // Generated by the FSharp WriteCodeFragment class. // </auto-generated> using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft Corporation")] [assembly: System.Reflection.AssemblyCopyrightAttribute("© Microsoft Corporation. All rights reserved....
using Orchard.Localization; using Orchard.Security; using Orchard.UI.Navigation; namespace Orchard.OutputCache { public class AdminMenu : INavigationProvider { public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder b...
/* * 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 ...
using Lamp.Core; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Linq; namespace Lamp.Client.ApiGateway { [Authorize] public class IdentityController : ControllerBase { [Route(Config.ClientAuthorizationUrl)] [HttpGet] public IActionResult Get(...
using System; using System.Linq; using Microsoft.ML; using CreditCardFraudDetection.Common.DataModels; namespace CreditCardFraudDetection.Predictor { public class Predictor { private readonly string _modelfile; private readonly string _dasetFile; public Predictor(string modelfile, s...
namespace KeeDiceware.Forms { partial class SettingsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
 using Shouldly; using Xunit; namespace Scorpio.Authorization.Permissions { public class PermissionDefinitionContext_Tests { [Fact] public void AddGroup() { var context = new PermissionDefinitionContext(); Should.NotThrow(() => context.AddGroup("Group1")).Name....
using Functional.Maybe; namespace Tauron.Application.Localizer.DataModel.Processing { public sealed record ForceSave(bool AndSeal, ProjectFile File) { public static Maybe<ForceSave> Force(Maybe<ProjectFile> file) => from f in file select new ForceSave(false, f); pub...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.ResourceManager; namespace Azure.ResourceManager.DynaTrace {...
namespace ncburn.TwitterStroller.Service.Extractors { public class CoreStatistics { /// <summary> /// Total posts processed by an extractor. /// </summary> public int TotalPosts { get; set; } /// <summary> /// The number of posts containing the text being searched for by the extractor. /// </summary...
using Avalonia; using Avalonia.Markup.Xaml; using Medium.Core.ViewModels; using ReactiveUI; namespace Medium.Views { public class ErrorAuthPage : ReactiveUserControl<ErrorAuthViewModel> { public ErrorAuthPage() { this.WhenActivated(disposables => { }); AvaloniaXamlLo...
using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using cabzcommerce.web; var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.RootComponents.Add<App>("#app"); builder.RootComponents.Add<HeadOutlet>("head::after"); builder.Services.AddScoped(sp => new H...
using UIKit; using System; using Foundation; using ObjCRuntime; using CoreFoundation; namespace Okta.Oidc { // typedef void (^OIDAuthStateAction)(NSString * _Nullable, NSString * _Nullable, NSError * _Nullable); delegate void OIDAuthStateAction([NullAllowed] string arg0, [NullAllowed] string arg1, [NullAllowe...
// <auto-generated> #nullable enable using System.Linq; using System.Collections.Generic; namespace devhl.CoinMarketCap.Client { /// <summary> /// A container for a collection of tokens. /// </summary> /// <typeparam name="TTokenBase"></typeparam> public sealed class TokenContainer<TTokenBase> wh...
//<Snippet1> // Example of the decimal( int[ ] ) constructor. using System; class DecimalCtorIArrDemo { // Get the exception type name; remove the namespace prefix. public static string GetExceptionType( Exception ex ) { string exceptionType = ex.GetType( ).ToString( ); return exceptionTyp...
// 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.Runtime.Compile...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Threading.Tasks; using MagicLockScreen_Helper; using MagicLockScreen_Service_ImageSearchService.Models; using MagicLockScreen_Service_ImageSearchService.Resources; using NoteOne_Core; using NoteOne_Core.Common; using Not...
namespace ClearHl7.Codes.V260 { /// <summary> /// HL7 Version 2 Table 0157 - Which Date/Time Status Qualifier. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0157</remarks> public enum CodeWhichDateTimeStatusQualifier { /// <summary> /// ANY - Any status. /// </...
using System; using ProtoBuf; namespace Cosmos.Dynamic.DynamicEnums { [ProtoContract] public class DynamicFlagEnumNameSurrogate<TEnum, TValue> where TEnum : DynamicFlagEnum<TEnum, TValue>, IDynamicEnum where TValue : struct, IEquatable<TValue>, IComparable<TValue> { [ProtoMember(1,...
using System; using System.Runtime.CompilerServices; namespace Modern.WindowKit { /// <summary> /// Provides extension methods for enums. /// </summary> public static class EnumExtensions { [MethodImpl(MethodImplOptions.AggressiveInlining)] [Obsolete("This method is obsolete. Use H...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using CtfPlayback.Metadata.Types; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CtfUnitTest { [TestClass] public class FloatingPointTest : CtfBaseTest { ...
using System; using R5T.Magyar; using R5T.T0062; using R5T.T0063; namespace R5T.D0093.I001 { public static class IServiceActionExtensions { /// <summary> /// Adds the <see cref="ConstructorBasedLoggerSynchronicityProvider"/> implementation of <see cref="ILoggerSynchronicityProvider"/>. ...
using Microsoft.eShopWeb.Web.Extensions; using Xunit; namespace Microsoft.eShopWeb.UnitTests.Web.Extensions.CacheHelpersTests { public class GenerateTypesCacheKey_Should { [Fact] public void ReturnTypesCacheKey() { var result = CacheHelpers.GenerateTypesCacheKey(); ...
namespace Square.Models { using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Square; using Square.Util...
using System.Reflection; namespace Amido.NAuto.Builders.Services { public interface IPropertyPopulationService { object PopulateProperties(object objectToPopulate, int depth); object[] BuildConstructorParameters(ConstructorInfo[] constructors, int depth); void AddConfiguration(AutoBu...
using Demo.Countries.Models; using GenericRepository.Core; namespace Demo.Countries.Repository { public interface ICountryRepository : IGenericRepository<Country> { } }
using System; using OregoFramework.App; using UnityEngine; namespace OregoFramework.Module { public abstract class LocalizationInteractor : Interactor, LocalizationModule.IController { #region Event public event Action OnInitializedEvent; public event LocalizationModule.LanguageChang...
/* * [The "BSD license"] * Copyright (c) 2011 Terence Parr * All rights reserved. * * Grammar conversion to ANTLR v3 and C#: * Copyright (c) 2011 Sam Harwell, Pixel Mine, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Versioning; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Ho...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AppUI.Models; using AppUI.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions....
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
// Copyright (c) 2018, Rene Lergner - wpinternals.net - @Heathcliff74xda // // 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...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; namespace EasyData.Export { /// <summary> /// An implementation of <see cref="IDataExporter"/> interface, that performs exporting of the data st...
#if NET6_0_OR_GREATER // <auto-generated/> #pragma warning disable using Marten; using Marten.Events.Aggregation; using Marten.Internal.Storage; using Marten.Storage; using System; using System.Linq; namespace Marten.Generated.EventStore { // START: AggregateProjectionLiveAggregation973344970 public class Aggr...
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using static NSelene.Selene; namespace NSeleneExamples.TodoMVC.IntegratedToSeleniumBasedFramework.After { [TestFixture] public class TestTodoMVC { static IWebDriver driver = new FirefoxDriver(); [TestFixtureTear...
using System; namespace LaYumba.Functional { public record Coyo<V, T>(V Value, Func<object, T> Func); public static class Coyo { public static Coyo<V, T> Of<V, T>(V value) => new(value, x => (T)x); public static Coyo<V, R> Map<V, T, R>(this Coyo<V, T> @this , Func<T, R> func) ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Testing; using Azure.Storage.Files.DataLake.Models; using Azure.Storage.Sas; using Azure.Storage.Test; using ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using AutoMapper; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using Prime.Configuration.Auth; using Prime.Models; using Prime.Services; using Prime.ViewModels.Parties; using Prim...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("NGAtextEditor")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [asse...
using System; namespace ThinkingHome.Plugins.Scripts.Data { public class UserScript { public virtual Guid Id { get; set; } public virtual string Name { get; set; } public virtual string Body { get; set; } } public class ScriptEventHandler { public virtual Guid Id { get; set; } public virtual string...
// 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. #nullable enable using Microsoft.CodeAnalysis.CommandLine; using System; using System.Collections.Generic; using S...
// Copyright (c) 2021 Alachisoft // // 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 o...
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.CampusEngagement { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = false)]...
// <copyright file="ElementNotInteractableException.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licens...
using System; using System.Collections.Generic; using Alipay.AopSdk.Core.Response; namespace Alipay.AopSdk.Core.Request { /// <summary> /// AOP API: alipay.open.app.message.subscription.modify /// </summary> public class AlipayOpenAppMessageSubscriptionModifyRequest : IAopRequest<AlipayOpenAppMessageSu...
// <auto-generated /> using System; using Data.MigrationContext; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Data.Migrations.Sqlite { [DbContext(typeo...
#if FEATURE_NTS /* * 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 "Li...
/********************************************************************* * * Copyright (C) 2002 Andrew Khan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of th...
using Entity.Entities.Enuns; using Entity.Entities.Users; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Entity.Entities.Sistema { [Table("LogSistema")] public class LogSistema : Base { [Column("logInformacaoJson")] [Display(Name ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class EndGameUI : MonoBehaviour { public Text scoreText; public Image entityImage; public Text entityName; public Text entityCount; public Text entityPrice; void resta...
using System; using System.Collections.Generic; using System.Text; using Realms; namespace eventizr.Models { public class RealmPage : RealmObject { public string Id { get; set; } public string Url { get; set; } public string Name { get; set; } public string Description { get; s...
using System; using System.Threading; using System.Threading.Tasks; using Stl.Async; using Stl.Testing; using Xunit; using Xunit.Abstractions; namespace Stl.Tests.Async { [Collection(nameof(TimeSensitiveTests)), Trait("Category", nameof(TimeSensitiveTests))] public class AsyncDisposableTest : TestBase { ...
//---------------------------------------------- // Sprite Importer // Copyright © 2015 Marco Secchi // http://thebitcave.com //---------------------------------------------- using UnityEngine; using UnityEditor; /// <summary> /// Scriptable Object used to store texture import settings insi...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Aw...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.IO; using System; using BetterHandles; [CustomEditor(typeof(CurveScriptableObject))] public class CurveScriptableObjectEditor : Editor { CurveHandle curveHandle; [MenuItem("Assets/Create/Curve scriptable...
using UnityEngine; using System.Collections; public class EnemySpawner : MonoBehaviour { public Transform Player; public GameObject Compass; public GameObject Enemy; public GameObject NeedleConatiner; public float InitEnemyDelay = 5; public float EnemySpawnDistance = 60; public float Enem...
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: AssemblyConfigurat...
using System; namespace BeProductive.Core.Domain { public class Event { public Guid Id { get; protected set; } public Guid OwnerId { get; protected set; } public string Name { get; protected set; } public DateTime StartAt { get; protected set; } public DateTime EndAt { ...
// 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. #nullable disable using System.Drawing; namespace System.Windows.Forms.ButtonInternal { internal class RadioB...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Gamekit2D { public class AirborneSMB : SceneLinkedSMB<PlayerCharacter> { public override void OnSLStateNoTransitionUpdate (Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { m_Mo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace ProblemsTests.Amazon { public class Problem1Tests { [Fact] public void ShouldFindSolution() { // Given var jeans = new List...
using System; using System.Collections.Generic; using ModestTree; #if !NOT_UNITY3D using UnityEngine; #endif namespace Zenject { [NoReflectionBaking] public class FactoryFromBinderBase : ScopeConcreteIdArgConditionCopyNonLazyBinder { public FactoryFromBinderBase( DiContainer bindContai...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Memory; using BuildXL.Executio...
// 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.Collections.Generic; using System.Collections.Immutable; using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Diagnostics; usin...
using System.Collections.Generic; namespace YAPA.Shared.Contracts { public interface IPluginManager { IEnumerable<IPluginMeta> Plugins { get; } IEnumerable<IPluginMeta> BuiltInPlugins { get; } IEnumerable<IPluginMeta> CustomPlugins { get; } IEnumerable<IPluginMeta> ActivePlugin...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections; using System.Collections.Specialized; using Microsoft.Toolkit.Uwp.Helpers; u...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Menu : MonoBehaviour { // Create public method for start public void StartGame () { Debug.Log("START!"); // Use SceneManager to load the next scene // base...
namespace Sve.Blazor.DataTable.Models { public enum SortDirection { Ascending, Descending, } }
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace VRM { public static class VRMFirstPersonValidator { public static Transform[] Hierarchy; public static bool IsValid(this VRMFirstPerson.RendererFirstPersonFlags r, string name, out Validation validation) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BizHawk.Emulation.DiscSystem { /// <summary> /// Helper class to convert big and little endian numbers from a byte /// array to a value. /// /// This code was modified from the endian bit converter presented by /// ...
using System; #pragma warning disable 1591 // ReSharper disable UnusedMember.Global // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable IntroduceOptionalParameters.Global // ReSharper disable MemberCanBeProtected.Global // ReSharper disable Incons...