text
stringlengths
1
932k
using System; namespace Better.RandomDataGenerator { public static partial class RandomDataGenerator { public static class IntGenerator { private static readonly Random _random = new Random(); public static int GetRandomNumberInRange(int min, int max) { ...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc.Rendering; namespace MusicStoreUI.Models { public class IndexViewModel { public bool HasPassword { get; set;...
namespace HelloClaptrap.Repository { public class DbOptions { public const string DefaultDbFilename = "d:/orderdb.db"; public string OrderDbConnectionString { get; set; } = $"Data Source={DefaultDbFilename};Cache Size=5000;Journal Mode=WAL;Pooling=True;Default IsolationLevel=ReadCom...
using System; using System.Collections.Generic; using System.Data.Common; namespace Ola.Extensions { /// <summary> /// 实体类型接口。 /// </summary> public interface IEntityType { /// <summary> /// 表格名称。 /// </summary> string Table { get; } /// <summary> /...
using advent._2019._3; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace advent._2019.tests { public class Day3Tests { [Fact] public void ParseWire() { const string input = "R8,U5,L5,D3...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace HotChocolate.Resolvers.Expressions { internal static class ExpressionHelper { public static async ValueTask<object> AwaitTaskHelper<T>(Task<T> task) { if (task == null) { ...
@model ProjetFinalEval.tache @{ ViewBag.Title = ""; Layout = "~/Views/Shared/_LayoutStablePage1.cshtml"; } <ul class="page-breadcrumb breadcrumb"> <li> <a href="~/Home/Accueil">Accueil</a> <i class="fa fa-circle"></i> <a href="~/Tache/Index">Liste des Tache</a> <i class="f...
namespace AcuteLink.Backend.Core.Entity { public class CapacityEntry { public float Distance { get; set; } public string EntityId { get; set; } public string EntityName { get; set; } public int FreeBeds { get; set; } public int Order { get; set; } public string Type { get; set; } } }
/* * 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.Collections.Generic; namespace HL7Data.Models.Tables.Standard { public sealed class NatureOfAbnormalTesting : ITableInfo { private static ITableInfo InstanceData => new NatureOfAbnormalTesting(); public static ITableInfo Instance => InstanceData; private NatureOfAbnormalTe...
namespace Contract { public class HardSubtitlesJobRequest : JobRequestBase { public string VideoSourceFilename { get; set; } public string SubtitlesFilename { get; set; } } }
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...
// Copyright (c) Aspose 2002-2016. All Rights Reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace GroupDocsSearchVisualStudioPlugin.Core { public class GlobalData { public static bool isComponentFormAborted = false; ...
using System; using System.Windows.Forms; namespace CKAN { public class MainTabControl : TabControl { public MainTabControl() : base() { } protected override void OnSelectedIndexChanged(EventArgs e) { base.OnSelectedIndexChanged(e); switch (this.SelectedTab?.Na...
namespace LittleIdea.Radac.Policies { public static class Claims { public const string Employee = "https://littleidea.com/claims/user/employee"; public const string Consultant = "https://littleidea.com/claims/user/consultant"; public static class Certificates { publ...
using System; namespace _09 { class Program { static void Main(string[] args) { long pokePower = long.Parse(Console.ReadLine()); decimal pokePowerOriginal = pokePower; long distance = long.Parse(Console.ReadLine()); byte exhaustionFactor = byte.P...
/* * 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 Nustache.Core; using System; using System.Collections.Generic; using System.IO; using System.Linq; using Mono.Cecil; using System.Text; using System.Threading.Tasks; namespace EventBuilder { class Program { static void Main(string[] args) { var targetAssemblyNames = args.Take...
using System; using log4net.ElasticSearch.Tests.UnitTests.Stubs; namespace log4net.ElasticSearch.Tests.UnitTests { public class UnitTestContext : IDisposable { const string ConnectionString = "Server=localhost;Index=log_test;Port=9200;rolling=true"; const int BufferSize = 100; public ...
using System.Threading.Tasks; namespace Domo.Settings.ProviderBasedSettings.Storage { public interface ISettingsUsernameProvider { Task<string> GetUserName(); } }
/* * 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...
// 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 Microsoft.CodeAnalysis.Host; namespace ShaderTools.CodeAnalysis.Host { /// <summary> /// A factory that creates either sequential or parallel ...
@model MakeUpBakery.Web.ViewModels.Administration.Dashboard.IndexViewModel @{ this.ViewData["Title"] = "Admin dashboard"; } <h1>@this.ViewData["Title"]</h1> Settings: @this.Model.SettingsCount
/* * 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 System.Configuration; using Seif.Rpc.Registry; using Seif.Rpc.Utils; namespace Seif.Rpc.Configuration { public class RegistryConfiguration : ConfigurationElement { private IRegistryDataStore _dataStore; private IRegistryNotify _notify; private IRegistryFactory _factory; ...
namespace ARKBreedingStats { partial class TamingControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Text; using ScottPlot.Config; namespace ScottPlot { public class PlottableVSpan : Plottable, IDraggable { public double position1; public double position2; public Brush brush; ...
namespace GameBarBrowser.Shortcuts { public class NormalShortcuts : BaseShortcuts { public override string Prefix => "@"; } }
// Crest Ocean System // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE) using UnityEditor; using UnityEngine; namespace Crest { public interface IValidated { bool Validate(OceanRenderer ocean); } #if UNITY_EDITOR [CustomEditor(typeof(OceanRend...
// 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 agreed to in writing, software distributed under the ...
// *** 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.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json; u...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using ...
using UnityEngine; namespace Fps.Visibility { [RequireComponent(typeof(Camera))] public class SkyboxCamera : MonoBehaviour { private Camera myCamera; private void Awake() { myCamera = GetComponent<Camera>(); } // Update is called once per frame ...
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "myCreate/EnemyHealth Set")] public class EnemyHealthRunTimeSet : RuntimeSet<EnemyHealth> { }
using System; using System.Collections.Generic; class Append_Lists { static void Main() // 100/100 { List<string[]> sequences = new List<string[]>(); string[] seqs = Console.ReadLine().Split(new char[] { '|' }, StringSplitOptions.RemoveEmptyEntries); for (int i = seqs.Length - 1; i >= ...
using System; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Description; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using VirtoCommerce.Platform.Core.Security; using VirtoCommerce.Platform.Data.Security.Identi...
namespace WatchDocker.Constants { internal class Separators { public const string EqualSign = "="; public const string Space = " "; public const string Comma = ","; } }
////////////////////////////////////////////////////////////////////////////// // -------------------------------------------------------------------------- // Project rROTOR // -------------------------------------------------------------------------- // F...
using System; using System.Globalization; class URI { static void Main(string[] args) { double num1 = double.Parse(Console.ReadLine(), CultureInfo.InvariantCulture); double num2 = double.Parse(Console.ReadLine(), CultureInfo.InvariantCulture); double num3 = double.Parse(Console.ReadLine...
using Database; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Server { //класс для view главной страницы public class UnsubscribeViewModel { public UnsubscribeViewModel(string userEmail, IWeatherDiaryRepository repository, string success...
using Cardinal.AspNetCore.Ocelot; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Swashbuckle.AspNetCore.SwaggerUI; using System; using System.Collections.Generic; namespace Cardinal.Extensions { /// <summary> /// Extensions for adding <see cref="OcelotSwaggerMiddleware"/> ...
@{ Layout = "_Layout"; } @model Registrar.Models.Course <div class="container card"> <h2>Add a student</h2> <h4>Add a student to this course: @Html.DisplayFor(model => model.CourseName)</h4> @using(Html.BeginForm()) { @Html.HiddenFor(model => model.CourseId) @Html.Label("Select student") @Html.DropDownList("...
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace SimplCommerce.Infrastructure.Data { public interface ISpecification<T> { Expression<Func<T, bool>> Criteria { get; } List<Expression<Func<T, object>>> Includes { get; } Expression<Func<T, object>> O...
namespace InfluencerWannaBeUnitTest.Controllers { using System.Linq; using System.Security.Claims; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using InfluencerWannaBe.Controllers; using InfluencerWannaBe.Data; using InfluencerWann...
using System; using Microsoft.Xna.Framework; namespace LD47.Game.Collision { public static class CollisionHelper { public static Vector2 GetMinimumTranslationDistance(Rectangle first, Rectangle second) { var minimumTranslation = Vector2.Zero; if (first.Center.Y < second...
using System.IO; using System.Security.Cryptography; using System.Text; using Lib.Cryptography.Util; namespace Lib.Cryptography.Encryption.Symmetric { public static class AesHelper { public static byte[] AesEncrypt(this byte[] input, byte[] key, byte[] initVector) { using (var aes =...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Web.Mvc; namespace BTC.Shared.Mvc { public static class ModelStateDictionaryHelper { public static void AddModelError<TViewModel>( this ModelStateDictiona...
@model ResterauntsWeb.Models.ExternalLoginConfirmationViewModel @{ ViewBag.Title = "Register"; } <h2>@ViewBag.Title.</h2> <h3>Associate your @ViewBag.LoginProvider account.</h3> @using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "f...
using System.Web.Mvc; using System.Web.Routing; namespace Nager.AmazonProductAdvertising.Website { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( ...
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
using System; using System.Threading; using System.Threading.Tasks; using Imagin.Common.Input; namespace Imagin.Common.Threading { /// <summary> /// /// </summary> public class BackgroundQueue { object Lock = new object(); Task previousTask = Task.FromResult(true); Cance...
using System; using System.ComponentModel; using System.Data; using System.Data.Common; using System.Threading.Tasks; using JetBrains.Annotations; using Npgsql.PostgresTypes; using Npgsql.TypeHandling; using Npgsql.TypeMapping; using Npgsql.Util; using NpgsqlTypes; namespace Npgsql { ///<summary> /// This clas...
namespace DotNetRevolution.Core.Tests.Mock { public class MethodClassParameter { } }
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PoolManager : MonoBehaviour { Dictionary<int, Queue<ObjectInstance>> poolDictionary = new Dictionary<int, Queue<ObjectInstance>>(); static PoolManager _instance; public static PoolManager instance { ...
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/index.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; usi...
// 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 Newtonsoft.Json; namespace OpenAI.SDK.Models.Response { public class UploadResponse { } }
using OCore.Environment.Shell.Descriptor.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace OCore.Environment.Shell.Descriptor { /// <summary> /// Service resolved out of the shell container. Primarily used by host. /// </summary> public ...
/******************************************************************************* * Copyright 2012-2019 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...
// ------------------------------------------------------------------------------ // 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; using System.Text; using MonoCross.Navigation; using MonoCross.Console; using CustomerManagement.Shared.Model; namespace CustomerManagement.Console.Views { public class CustomerListView : MXConsoleView<List<Customer>> { public overrid...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StarlessSky.Core.Entity { public struct PaginationDataResponse { public int Total { get; set; } public int Query { get; set; } } }
using System.Collections; using System.Xml; namespace Camstar.XMLClient.API { internal class csiObjectListImpl : csiListImpl, csiObjectList, csiList, csiField, csiXMLElement { public csiObjectListImpl(csiDocument doc, XmlElement domElement) : base(doc, domElement) { } public csiObjectListImpl(csiDocument...
using System.Collections.Generic; using System.Threading.Tasks; using VoteApp.Application.Interfaces.Services.Storage; using VoteApp.Server.Settings; using VoteApp.Shared.Constants.Storage; using VoteApp.Shared.Settings; using VoteApp.Shared.Wrapper; using Microsoft.Extensions.Localization; namespace VoteApp.Server.M...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.SqlServer { using System.Data.Entity.Spatial; using System.Data.Entity.SqlServer.Resources; using System.Data.Entity.SqlServer.Utilities; usi...
namespace Shapes { public class Rectangle : Shape { public Rectangle(double width, double height) : base(width, height) { } public override double CalculateSurface() { return this.Width * this.Height; } } }
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 BL.Ventas; using System; using System.Windows.Forms; namespace Win.Delivery { public partial class FormLogin : Form { SeguridadBL _seguridad; public FormLogin() { InitializeComponent(); _seguridad = new SeguridadBL(); } private void butto...
using System; namespace RemindClock.Services.NoteType { /// <summary> /// 每小时提醒的判断类 /// </summary> class NotePerHour : INoteTime { public bool Handle(string eventType) { return eventType != null && eventType == "每小时"; } public bool IsTime(DateTime event...
/* * 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 Basket.API.Entities; using Microsoft.Extensions.Caching.Distributed; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Basket.API.Repositories { public class BasketRepository : IBasketRepository { ...
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System.Collections.Generic; using Xenko.Core.IO; using Xenko.Core.MicroThreading; using Xenko.C...
/* * 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; using System.Collections.Generic; using System.Text; using UserCommandLogic; namespace Tools.Players { class WindowsPlayer : IPlayer { public IPlayerStatus GetPlayerStatus() { throw new NotImplementedException(); } public void Pause() { ...
#pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.ComponentModel; namespace Efl { namespace Ui { /// <summary>Tab Pager class</summary> [TabPagerNativeInherit] public class TabPager : Efl.Ui.Pager, Efl.Eo.IWrapper { ...
using UnityEngine; using System.Collections; public class AudioController : MonoBehaviour { public AudioSource audioSource; public AudioClip hoverSound; public AudioClip pressSound; public AudioClip menuCreationSound; public AudioClip menuDismissalSound; // Use this for initialization void...
using System; using System.ComponentModel; using System.Collections.Generic; using System.Reflection; using System.Text; namespace NetOffice.OfficeApi.Tools.Information { /// <summary> /// Analyze the current environment in detail and save the result in its collection /// </summary> public class Diagn...
using System.Windows.Input; namespace DynamicConfig.ConfigTray.Commands { internal static class CustomCommands { public static readonly RoutedUICommand Create = new RoutedUICommand( "Create", "Create", typeof(CustomCommands) ); publi...
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Windows.Form...
using Alphaleonis.Win32.Filesystem; using DivinityModManager.Util; using DynamicData; using DynamicData.Binding; using LSLib.LS; using Newtonsoft.Json; using ReactiveUI; using ReactiveUI.Fody.Helpers; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using S...
/* * 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...
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.Traces.ParCoordsLib...
using Aiursoft.OSS.Data; using Aiursoft.OSS.Models.DownloadAddressModels; using Aiursoft.OSS.Services; using Aiursoft.Pylon.Attributes; using Aiursoft.Pylon.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.IO; using System.Linq; using System.Threading.Tasks; usi...
using System; namespace LinqToDB.SqlQuery { public enum SqlTableType { Table = 0, Function, Expression, Cte, RawSql } }
using Microsoft.Azure.Functions.Worker; using Microsoft.Azure.Functions.Worker.Http; using Microsoft.Extensions.Logging; using PnP.Core.Admin.Model.SharePoint; using PnP.Core.Model.SharePoint; using PnP.Core.Services; using System; using System.Collections.Specialized; using System.IO; using System.Linq; using System.N...
// 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 Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace Acme.HeroShop.Migrations { public partial class Upgraded_To_Abp_v3_6_1 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColum...
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.PowerPointApi { ///<summary> /// DispatchInterface RulerLevel /// ...
using System.Diagnostics; using HelperSharp; namespace BackupSharp { /// <summary> /// The possible kinds of a backup item. /// </summary> public enum BackupItemKind { /// <summary> /// A file. /// </summary> File, /// <summary> /// A folder. ...
// // Copyright (c) Microsoft. 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 appl...
// 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.Collections; using System.Collections.Generic; using UnityEngine; public class DestroyItSelf : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { Destroy(gameObject, 2f); } ...
@model ChatApp.Controllers.ChatMessagesViewModel @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers" @using ChatApp.Models <!DOCTYPE html> <html> <head> <title>ChatApp</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://www.w3schools.com/lib/w...
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DataAccess { public class InsertController { private static string server = "localhost"; private static string...
using Modding; namespace BingoUI.Counters { public class IntCounter : AbstractCounter { private readonly string intName; public IntCounter(float x, float y, string spriteName, string intName) : base(x, y, spriteName) { this.intName = intName; } public overr...
namespace ImpossibleOdds.Weblink { using System; /// <summary> /// A messenger interface for managing outgoing requests and incoming responses. /// </summary> public interface IWeblinkMessenger { event Action<IWeblinkMessageHandle> onMessageCompleted; event Action<IWeblinkMessageHandle> onMessageFailed; ...