text
stringlengths
1
932k
@model CheckoutViewModel @using (Html.BeginForm("PlaceOrder", "Checkout", FormMethod.Post, new { @class = "row jsCheckoutForm", id = "jsCheckoutForm", novalidate = "novalidate" })) { @Html.AntiForgeryToken() <div class="col-md-8 col-xs-12"> <div class="card items"> <div class="card-body fl...
@using Resource = Resources.Areas.Administration.Submissions.Views.EditorTemplates.SubmissionsEditorTemplates; @model int? @(Html.Kendo() .ComboBoxFor(m => m) .Name("ProblemId") .DataTextField("Text") .DataValueField("Value") .Filter(FilterType.Contains) .MinLength(1) .Placeholder(Resource...
@page "/" @namespace BlazorBoilerplate.Server.Pages @using BlazorBoilerplate.Infrastructure.Server @using BlazorBoilerplate.Shared.Models @using BlazorBoilerplate.Shared.Providers @using Microsoft.AspNetCore.Hosting @using Microsoft.AspNetCore.Localization @using System.Globalization @addTagHelper *, Microsoft.AspNetC...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TitanCore.Net.Packets.Client; using TitanCore.Net.Packets.Server; public class TradeRequest : IRequest { private World world; private string fromPlayer; public TradeRequest(World wor...
using UnityEngine; using ActiveObjects.Triggers; namespace ActiveObjects { namespace GameSkill { [RequireComponent(typeof(FieldTrigger))] public class DamageAura : Skill { [Tooltip("Количество наносимого урона.")] public float Damage; [To...
// <copyright file="TotalPriceOrderPurchaseStrategy.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet Ltd. // Licensed under the Apache License, Version 2.0 (the "License"); // You may not use this file except in compliance with the License. // You may obtain a copy of the License at http:/...
namespace UnitTestAnalyzers.Settings { using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using Newtonsoft.Json; using ObjectModel; /// <summary> /// Reads the unit tests analyzer settings. /// </summary> internal static class SettingsReader ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.Serialization; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using SadConsole.Effects; using SadConsole.StringParser; namespace SadConsole { pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AH.PRMS.DAL; using AH.PRMS.MODEL; namespace AH.PRMS.BLL { public class NurseStationBLL { public List<NurseStation> GetNurseStation() { return new NurseStationDA...
#region Apache Notice /***************************************************************************** * $Header: $ * $Revision: 638571 $ * $Date: 2008-03-18 22:11:57 +0100 (mar., 18 mars 2008) $ * * iBATIS.NET Data Mapper * Copyright (C) 2004 - Gilles Bayon * * * Licensed under the Apache License, Version 2.0 (...
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace TouchMouseMate { public partial class TouchZonesConfigurationWindow { private readonly TouchMouseEventManager _touchMouseEventManager; public static read...
using UnityEngine; using System.Collections; namespace DataGroup.Audio { public class AudioData : MonoBehaviour { } }
using System; using CleanArchitecture.DataAccess.Users; using CleanArchitecture.Entities; namespace CleanArchitecture.Services.Users.UserConfirmation { public class UserConfirmationService { private readonly IUserRegistrationTokenRepository userRegistrationTokenRepository; public UserConfirma...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Milaneze.ComparadorDeStrings.Comum.Enderecos; using Milaneze.ComparadorDeStrings.Enderecos; using System.Collections.Generic; using Milaneze.ComparadorDeStrings.Comum; using System.Linq; namespace Milaneze.ComparadorDeStrings.Test.Enderecos { ...
using System; using System.Xml.Serialization; namespace ExtendedXmlSerializer.Tests.ReportedIssues.Shared { [Serializable] [XmlType(AnonymousType = true, Namespace = "http://namespace/file.xsd")] [XmlRoot(ElementName = "FooBar", IsNullable = false)] public class Foo : IFoo { [XmlElement("num")] public...
namespace Neo.Network.P2P.Payloads { public class TransactionResult { public UInt256 AssetId; public Fixed8 Amount; } }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Reactive.Concurrency; using System.Reactive.Disposables; using System.Reactive.L...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace BlazorDevExpress.Server.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBa...
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// An edge in a connection. /// </summary> public class RepositoryInvitationEdge : Queryab...
using System; namespace Store.Domain.StoreContext.Queries { public class ProductQueryResult { public ProductQueryResult() { } public ProductQueryResult(string title, string description, string image, decimal price, decimal quantityOnHand) { Titl...
// Stephen Toub // Coded and published in January 2007 issue of MSDN Magazine // http://msdn.microsoft.com/msdnmag/issues/07/01/PreviewHandlers/default.aspx using System; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; namespace C4F.DevKit.PreviewHandler.PreviewHandlerFramework {...
using System.Linq; using Orient.Client.Protocol.Serializers; namespace Orient.Client.Protocol.Operations { internal class DbClose : BaseOperation { public DbClose(ODatabase database) : base(database) { _operationType = OperationType.DB_CLOSE; } public ov...
namespace LinFx.Extensions.DependencyInjection; public interface ISingletonDependency { }
using Microsoft.EntityFrameworkCore.Migrations; namespace backend.Migrations { public partial class spanishdata : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.InsertData( table: "Language", columns: new...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Common.Enums { public enum SocialNetworkType { None, SN1, SN2, SN3, CommonPool } }
using System.Linq; using UnityEditor; using UnityEditor.Build; using UnityEditor.Build.Reporting; using UnityEngine; namespace m039.BasicLocalization { public class BasicLocalizationBuildPlayer : IPreprocessBuildWithReport, IPostprocessBuildWithReport { public int callbackOrder => 1; BasicLoc...
using System.Collections.Generic; namespace PexCard.Api.Client.Core.Models { public class TokenResponseModel { public List<TokenDataModel> Tokens { get; set; } } }
using NetworkToolkit.Connections; using NetworkToolkit.Http.Primitives; using System; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace SimpleRequestSample { class Program { static async Task Main(string[] args) { await using Connec...
// <auto-generated /> using System; using API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace API.Data.Migrations { [DbContext(typeof(DataContext))]...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.PopulateSwitch; u...
using System.Collections.Generic; using System.Threading.Tasks; using Lykke.Service.Assets.Core.Domain; namespace Lykke.Service.Assets.Core.Services { public interface IAssetsForClientCacheManager { Task ClearCacheAsync(string reason); Task RemoveClientFromCacheAsync(string clientId); ...
namespace KentriosiPhotosContests.Common { using System.Collections.Generic; public interface IMimeTypeManager { string GetMimeType(string extension); bool IsFileTypeAllowed(string extension, IEnumerable<string> allowedMimeTypes); } }
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Bicep.Core.TypeSystem; namespace Bicep.Core.SemanticModel { public class FunctionWildcardOverload : FunctionOverload { ...
using Microsoft.AspNetCore.Http; using System; namespace PaginationTagHelper.AspNetCore.Web.Helpers { public static class AjaxExtensions { /// <summary> /// Determines whether the specified HTTP request is an AJAX request. /// </summary> /// <returns> /// true if the sp...
// // // THIS FILE HAS BEEN GENERATED. DO NOT MODIFY. // using System; using System.Collections.Generic; using byps; namespace byps.test.api.remote { public sealed class BRequest_RemoteMapTypes_setDouble1 : BMethodRequest, BSerializable { #region Execute public override int getRemoteId() { return 66430...
@{ ViewBag.Title = "Western Oregon University"; } <div id="VerticalGradient" class="jumbotron" > <!--<h1>WOU</h1>--> <img src="~/Resources/WOU_logo.png" width="100%" max-width="620px" align="middle"/> </div> <div class="row"> <div class="col-md-4"> <h2>Additions </h2> <p> D...
// ======================================================================================================= // // ,uEZGZX LG Eu iJ vi // BB7. .: uM 8F 0BN Bq S: ...
using System; using System.Collections.Generic; using System.Threading; using MeiYiJia.Abp.Workflow.Model; using Microsoft.Extensions.Logging; namespace MeiYiJia.Abp.Workflow.Interface { public interface IStepExecutionContext { WorkFlowStep CurrentStep { get; set; } string NextStepEventName { g...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using FluentAssertions; using IdentityModel; using IdentityServer4.Configuration; using IdentityServer4.Models; using IdentityServer4.Stores;...
// Copyright (c) 2008-2022, Hazelcast, Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
@model Memberships.Entities.ProductLinkText @{ ViewBag.Title = "Create"; } <h2>Create</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>Product Link Text</h4> <hr /> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) ...
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using BootstrapBlazor.Components; using BootstrapBlazor.Shared.Common; us...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace Day24 { class Program { static void Main(string[] args) { //PartOne(new string[] { // "0/2", // "2/2", // ...
namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._INPUT_ { [ApiController] [Route("/api/[controller]")] public class CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck : ControllerBase { public IActionResult Metho...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace CtrlCSender { class Program { // Enumerated type for the control messages sent to the handler routine ...
using UnityEngine; using System.Collections; public class DeactivateLever : MonoBehaviour { public GameObject leverObj; Lever objLeverCom; Lever thisLeverCom; // Use this for initialization void Start() { objLeverCom = leverObj.GetComponent<Lever>(); thisLeverCom = GetCo...
// <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...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection.Metadata; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Server.Circuits; using Mic...
namespace FFHelper.Migrations { using System; using System.Data.Entity.Migrations; public partial class CreatedAPI : DbMigration { public override void Up() { } public override void Down() { } } }
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using KtaneStuff.Modeling; using RT.Dijkstra; using RT.Util; using RT.Util.Drawing; using RT.Util.ExtensionMethods; using RT.Util.Geometry; namespace KtaneStuff { using static Md; static class MarbleTumb...
using hedCommon.extension.runtime; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using static UnityEditor.EditorGUILayout; namespace extUnityComponents.collider { public class FitBox2D { private BoxCollider2D[] _currentTargets = null; private...
using UnityEngine; using System.Collections; /// <summary> /// Interact objects at a distance /// </summary> public class SpellEffectTelekinesis : SpellEffect { public override void ApplyEffect () { base.ApplyEffect(); UWCharacter.Instance.isTelekinetic=true; } public override void CancelEffect () { bas...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace Azure.Security.KeyVault.Administration { /// <summary> /// The result of a restore operation. /// </summary> public class KeyVaultRestoreResult { internal KeyVaultRestore...
using NUnit.Framework; namespace Sample2.Tests { public class Tests { [SetUp] public void Setup() { } [Test] public void Test2() { Assert.Pass(); } } }
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ using Microsoft.IdentityModel.JsonWebTokens;...
/* Generated SBE (Simple Binary Encoding) message codec */ #pragma warning disable 1591 // disable warning on missing comments using System; using Misakai.Storage.Sbe; namespace Misakai.Storage.Sbe.Tests.Generated { public class AdminLogin { public const ushort TemplateId = (ushort)15; public const by...
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.Co...
using System; using System.IO; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Android.Content; using Android.Graphics; using Android.OS; using Android.Support.V4.App; using Android.Support.V7.App; using Android.Views; using Android.Widget; using iChronoMe.Core.Cl...
// Copyright 2011-2013 Anodyne. // // 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...
#pragma checksum "C:\Users\djree\source\repos\RobofestWTEOfficial\RobofestWTECore\RobofestWTECore\Views\Home\Privacy.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f5c7b02b086d0c14281dc9f4ee365946962471a2" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ServiceFabric.Extensions.Data.Indexing.Persistent.Test.Models { public sealed class Person { public Guid Id { get; set; } = Guid.NewGuid(); public string Name { get; set; } public int ...
// *** 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...
[TaskCategoryAttribute] // RVA: 0x151A80 Offset: 0x151B81 VA: 0x151A80 [TaskDescriptionAttribute] // RVA: 0x151A80 Offset: 0x151B81 VA: 0x151A80 public class SetEmissionRate : Action // TypeDefIndex: 11201 { // Fields [TooltipAttribute] // RVA: 0x18CF60 Offset: 0x18D061 VA: 0x18CF60 public SharedGameObject targetGam...
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Threading.Tasks; public abstract class Agen...
using Cake.Frosting; using Cake.IIS; namespace Motorsports.Build.Tasks { [TaskName(nameof(CreateIISApplication))] [Dependency(typeof(RemoveIISApplication))] public sealed class CreateIISApplication : FrostingTask<Context> { public override void Run(Context context) { context.CreatePool(context.Motorspo...
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either versi...
using UnityEngine; namespace LDtkUnity { /// <summary> /// The imported level file. (.ldtkl)<br/> /// Available when saving levels as separate files in LDtk. Reference this to access the json data. /// </summary> [HelpURL(LDtkHelpURL.JSON_LEVEL)] public class LDtkLevelFile : LDtkJsonFile<Level...
using Microsoft.AspNetCore.Mvc; using UrlShorteningKeyGenerationService.Services; namespace UrlShorteningKeyGenerationService.Controllers; [ApiController] [Route("/api/v1/keys")] public class KeyGenerationController : ControllerBase { private const int DefaultLimit = 10; private readonly IKeyGenerationServi...
using System.Text; namespace geometry_msgs.msg { /** * This expresses velocity in free space broken into its linear and angular parts. */ [System.Serializable] public class Twist : Halodi.CDR.DataType<Twist> { public Halodi.CDR.TopicDataType<Twist> Type => new TwistPubSubType(); public geometry_m...
using System; using Kledex.Extensions; using Kledex.Store.EF.Extensions; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Kledex.Store.EF.PostgreSql { public static class ServiceCollectionExtensions { public static...
using System; using System.Text; namespace Dime.Maps { internal static class Utilities { /// <summary> /// Converts the string into a Base64 string /// </summary> /// <param name="plainText">The text to encode</param> /// <returns>The same string but encoded</returns> ...
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using NSubstitute; using NSubstitute.ExceptionExtensions; using NUnit.Framework; using System; using System.Collections.Generic; using Twilio.Clients; using Twilio.Converters; using Twilio.Exceptions; using ...
using System; using System.Collections.Generic; namespace PythagoraSwitch.Recorder.Interfaces { public interface IRequestRecordContent { TimeSpan Interval { get; set; } string EndPoint { get; set; } string Method { get; set; } List<KeyValuePair<string, List<string>>> Headers...
using System; using System.Collections.Generic; using System.Reflection; using System.Text; using Xunit; namespace FreeSql.Tests.ShenTong { public class ShenTongAopTest { class TestAuditValue { public Guid id { get; set; } [Now] public DateTime createtime {...
using System; namespace YesSql.Samples.Hi.Models { public class BlogPost { public string Title { get; set; } public string Author { get; set; } public string Content { get; set; } public DateTime PublishedUtc { get; set; } public string[] Tags { get; set; } } }
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
using System; using System.Globalization; using System.Windows.Data; namespace SciChart.Examples.ExternalDependencies.Common { public class GetTypeNameConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return ...
// <copyright file="MetricDataConverter.cs" company="App Metrics Contributors"> // Copyright (c) App Metrics Contributors. All rights reserved. // </copyright> using System; using System.Text.Json; using System.Text.Json.Serialization; using App.Metrics.Formatters.Json.Extensions; namespace App.Metrics.Formatters.Js...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Joy.Core; namespace Joy.Storage { public class FileAdapter : ISaveAdapter { public static readonly st...
using System; namespace Vts { /// <summary> /// This is the contract for the inverse solver /// </summary> public interface IOldOptimizer { /// <summary> /// This is a general solver routine using mrqmin /// </summary> /// <param name="a">An array of the input param...
using System.Reflection; 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( "Test_CloudSyncHelper_win32" )] [assembly...
using Kros.KORM.Query.Sql; using Kros.Utils; using System.Linq.Expressions; using System.Text.RegularExpressions; namespace Kros.KORM.Query.Expressions { /// <summary> /// Expression, which represent FROM statement from sql select query. /// </summary> /// <seealso cref="Kros.KORM.Query.Sql.ISqlExpres...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Box2D.Collision.Shapes; using Box2D.Common; using Box2D.Dynamics; using Box2D.Dynamics.Contacts; namespace Box2D.TestBed.Tests { public class SensorTest : Test { public const int e_count = 7; public Sen...
using System; using Xamarin.Forms.Platform.iOS; using UIKit; using Xamarin.Forms; using DLToolkit.Forms.Controls; using CoreGraphics; using System.ComponentModel; using DLToolkit.Forms.Controls.SpanViewRenderer.iOS; [assembly: ExportRenderer(typeof(SpanView), typeof(SpanViewRenderer))] namespace DLToolkit.Forms.Contr...
using DIGNDB.App.SmitteStop.Domain.Db; using DIGNDB.App.SmitteStop.Domain.Dto; namespace DIGNDB.App.SmitteStop.Core.Contracts { public interface IRiskCalculator { RiskLevel CalculateRiskLevel(TemporaryExposureKey exposureKey); } }
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("Ci...
/* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */ using System; using System.Collections; using Db4objects.Db4o.Foundation; using Db4objects.Db4o.Internal; using Db4objects.Db4o.Internal.Marshall; using Db4objects.Db4o.Marshall; using Sharpen; namespace Db4objects.Db4o.Internal { /// <exclude></excl...
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Threading; namespace TDD.Dll { public class MyStack { private int _currentIndex; private object[] _items; public MyStack(int capacity) { _items = new object [capacity]; ...
using Agenda.Properties; using System; using System.Drawing; using System.Data; using System.Data.SqlClient; using System.Windows.Forms; namespace Agenda { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private SqlConnection CriarCone...
using System.Collections.Generic; using System.IO; using NPOI.HSSF.UserModel; // HSSFWorkbook, HSSFSheet using NPOI.SS.UserModel; namespace Orasi.Toolkit.Utils { /// <summary> /// Class to help handle data from Excel files. /// </summary> class ExcelDocumentReader { private string filePat...
using System.Threading.Tasks; using CliFx; namespace CliWrap.Tests.Dummy; public static class Program { public static string FilePath { get; } = typeof(Program).Assembly.Location; public static async Task<int> Main(string[] args) => await new CliApplicationBuilder() .AddCommandsFromThisA...
using Microsoft.AspNetCore.Mvc; namespace WebAPI.Controllers { public class HomeController : Controller { public IActionResult Index() => View(); } }
//------------------------------------------------------------------------------ // <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 Microsoft.EntityFrameworkCore.Migrations; namespace CoreSignalRTest.Migrations { public partial class Upgraded_To_Abp_v222 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsDeleted", ...
using System.Reflection; 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("AWSSDK.AWSHealth")] [assembly: AssemblyDes...
namespace _02.Customer { public enum CustomerType { OneTime, Regular, Golden, Diamond } }
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("Li...
using UnityEngine; using System.Collections; public class SkeletonEnemy : MonoBehaviour { public bool isRunning; private GameObject playerObject; public float moveForce; public float maxSpeed; void Start () { playerObject = GameObject.Find("Player"); } void Update () { if (isRunning) { follow...
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...