text
stringlengths
1
932k
namespace Mondop.Mockables { public interface IFileInfo: IFileSystemInfo { IDirectoryInfo Directory { get; } string DirectoryName { get; } long Length { get; } string Name { get; } bool IsReadOnly { get; set; } bool Exists { get; } //StreamWriter AppendT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Me...
#region Copyright © 2020-2021 Vladimir Deryagin. 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 r...
using BussinessLogicLayer; using DataAcessLayer; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; namespace Applica...
//------------------------------------------------------------------------------ // <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> // // This template generates PublicResXFil...
@{ ViewData["Title"] = "Home Page"; } <div class="text-center"> <h1 class="display-4">Welcome</h1> <p>This is the Auth0 ASP.NET Core MVC Starter Project</p> <p>To learn more, please check out the <a href="https://auth0.com/docs/quickstart/webapp/aspnet-core">Auth0 ASP.NET Core Quickstart</a>.</p> </di...
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using GoogleTestAdapter.Tests.Common; using static GoogleTestAdapter.Tests.Common.TestMetadata.TestCategories; namespace GoogleTestAdapter.TestAdapter.Helpers { [TestClass...
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Media; namespace ay.Controls { public class OrderConditions { public static Tuple<string, string> Convert(string ordercondition) { var _1 = ordercondition.Split(' '); return Tuple...
using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Condition of type `Collision2D`. Inherits from `AtomCondition&lt;Collision2D&gt;`. /// </summary> [EditorIcon("atom-icon-teal")] public abstract class Collision2DCondition : AtomCondition<Collision2D> { } }
using System.Linq; namespace HarmonyLibTests.Assets { public class TraverseMethods_Instance { public bool Method1_called; #pragma warning disable IDE0051 private void Method1() { Method1_called = true; } private string Method2(string arg1) { return arg1 + arg1; } #pragma warning restore IDE0051...
/* * SHS -- The Scalable Hyperlink Store * * Copyright (c) Microsoft Corporation * 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...
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Mime; using Microsoft.AspNetCore.Mvc.Testing; using PowerUtils.AspNetCore.ErrorHandler.Samples; namespace PowerUtils.AspNetCore.Extensions.Tests.Config; [CollectionDefinition(nameof(IntegrationApiTestsFixtureCollection))] public cla...
using System.Collections; using System.Collections.Generic; using OVRTouchSample; using UnityEngine; public class objectSpawnCallibration : MonoBehaviour { public GlobalCallibration storePos; public GameObject callibrationObj; public GameObject continueUI; public GameObject[] instructions; [Seri...
// OData .NET Libraries // Copyright (c) Microsoft Corporation. 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/LICE...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Html; using System.Web.Routing; using System.Web.WebPages; /* * CarrotCake CMS (MVC5) * http://www.carrotware.com/ ...
using System; using System.Collections.Generic; using System.Text; using System.Security.Cryptography; using System.IO; using System.Configuration; using Enyim.Caching.Configuration; using System.Net.Sockets; using System.Threading; using System.Collections.ObjectModel; using System.Net; namespace Enyim.Caching.Memca...
// The MIT License (MIT) // // Copyright (c) 2015 Xamarin // // 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 to // use, copy...
using GongSolutions.Wpf.DragDrop; using Prism.Commands; using Prism.Mvvm; using System; using System.IO; using System.Linq; using System.Windows; namespace Quark.source.MWindow { class ViewModel : BindableBase, IDropTarget { readonly Model _model = new Model(); public ViewModel() { ...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must ...
using System.Collections.Generic; using System.Threading.Tasks; using Ivvy.API.Event; namespace Ivvy.API { public partial interface IApiClient { /// <summary> /// Returns a specific event. /// </summary> /// <param name="id">The unique id of the event..</param> /// <retu...
using System.Web.Mvc; namespace FeatureSwitch.AspNet.Sample.Controllers { public class HomeController : Controller { public ActionResult About() { ViewBag.Message = "Your application description page."; return View(); } public ActionResult Contact() ...
using System; using System.IO; using System.Runtime.CompilerServices; namespace Excel.Core.BinaryFormat { /// <summary> /// Represents a BIFF stream /// </summary> internal class XlsBiffStream : XlsStream { private readonly ExcelBinaryReader reader; private readonly byte[] bytes; private readonly int m_size...
using Microsoft.EntityFrameworkCore; using P01_StudentSystem.Data.Models; using ConnectionStringInfo; namespace P01_StudentSystem.Data { public class StudentSystemContext : DbContext { public StudentSystemContext() { } public StudentSystemContext(DbContextOptions options) ...
// ***************************************************************************** // // © Component Factory Pty Ltd 2012. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy, // Seaford, Vic 3198, A...
using System; using System.Linq; using STPLoader.Implementation.Parser; namespace STPLoader.Implementation.Model.Entity { /// <summary> /// /// </summary> public class Circle : Entity { /// <summary> /// /// </summary> public string Info; /// <summary> ...
using UnityEngine; using System.Collections.Generic; using UMA; using System; /// <summary> /// Base class for UMA slot libraries. /// </summary> public abstract class SlotLibraryBase : MonoBehaviour { public virtual void AddSlotAsset(SlotDataAsset slot) { throw new NotFiniteNumberException(); } public virtual Slot...
/* * 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; using Xunit; namespace GameboyAdvanced.Core.Tests; public class TestUtils { [Fact] public void TestReadWriteHalfWord() { var b = new byte[0x100]; new Random().NextBytes(b); Utils.WriteHalfWord(b, 0xFF, 0, 0x1122); Assert.Equal(0x22, b[0]); Assert.Equa...
//----------------------------------------------------------------------- // <copyright file="InstantPreviewManager.cs" company="Google"> // // Copyright 2017 Google 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...
namespace TwitchLib.Models.API.v5.Users { #region using directives using System; using Newtonsoft.Json; #endregion public class UserBlock { #region Id [JsonProperty(PropertyName = "_id")] public long Id { get; protected set; } #endregion #region UpdatedAt...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Web.LibraryManager.Contracts; using Microsoft.Web.LibraryManager.Providers.Unpkg; using Moq; namespace Micr...
using NIntercept.Definition; using NIntercept.Helpers; using System; using System.Linq; using System.Reflection; using System.Reflection.Emit; namespace NIntercept.Builder { public class InterceptableMethodBuilder { private readonly CallbackMethodBuilder callbackMethodBuilder; public Intercep...
namespace BatchToDoCLI.Models.Microsoft { public class TodoTaskListsResult { public List<TodoTaskList> value { get; set; } } }
using System; using CPUx86 = Cosmos.Assembler.x86; using Cosmos.IL2CPU.X86; using XSharp.Compiler; namespace Cosmos.IL2CPU.X86.IL { [Cosmos.IL2CPU.OpCode( ILOpCode.Code.Xor )] public class Xor : ILOp { public Xor( Cosmos.Assembler.Assembler aAsmblr ) : base( aAsmblr ) { ...
namespace Towel.Mathematics { public static class Constant<T> { /// <summary>Zero [0]</summary> public static readonly T Zero = Compute.FromInt32<T>(0); /// <summary>One [1]</summary> public static readonly T One = Compute.FromInt32<T>(1); /// <summary>Two [2]</summary> ...
using System.Collections.Generic; using System.Threading.Tasks; using In.ProjectEKA.HipService.OpenMrs; using Moq; using Xunit; using OpenMrsPatient = Hl7.Fhir.Model.Patient; using OpenMrsPatientName = Hl7.Fhir.Model.HumanName; using OpenMrsGender = Hl7.Fhir.Model.AdministrativeGender; using FluentAssertions; using In....
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebCoreEF { ...
@model EditRoleViewModel @{ ViewBag.Title = "编辑角色"; } <h1>编辑角色</h1> <form method="post" asp-action="EditRole"> <div class="form-group row"> <label asp-for="Id" class="col-sm-2 col-form-label "></label> <div class="col-sm-10"> <input asp-for="Id" cl...
#pragma checksum "D:\KodServer\VisualStudioProjeleri\AwesomeMusic\AwesomeMusic\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "37534F7186A5488381A956C7F05213CA" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runt...
/* * 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 may...
// <auto-generated /> namespace FinalProject.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial class ...
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Response { /// <summary> /// MybankCreditSupplychainTradeNettingRefundResponse. /// </summary> public class MybankCreditSupplychainTradeNettingRefundResponse : AlipayResponse { /// <summary> /// 业务事件受理的流水号,建议调用方...
/* * Copyright (c) 2008, DIaLOGIKa * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ using System; using System.Net.Http; using System.Threading; using Microsoft.Azure.Portal.Configuration; using OpsLogix.WAP.RunPow...
/* Problem 3. Check for a Play Card Classical play cards use the following signs to designate the card face: `2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K and A. Write a program that enters a string and prints “yes” if it is a valid card sign or “no” otherwise. */ using System; class CheckForCard { static void Main() ...
using System.Collections.Generic; using ViennaNET.Orm.Repositories; namespace ViennaNET.TestUtils.Orm.Tests { public class SetEmptyLimitCardCommand : BaseCommand { public SetEmptyLimitCardCommand(CardEntity card) { Sql = "UPDATE cards SET limit = 0 WHERE card_id = :card_id"; Parameters = new ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; namespace Gigableh { public static class CustomEditorExtensions { public static System.Type[] GetAllDerivedTypes(this System.AppDomain aAppDomain, System.Type aType) { var result = new List<System.Type>(); va...
using System; using System.Collections.Generic; namespace PackageExplorer { public class ErrorFloodGate { private const double StopLoadingThreshold = 0.50; private const int SlidingExpirationInMinutes = 60; private const int MinFailuresCount = 5; private const int SecondsInOneT...
using System.Threading; using System.Threading.Tasks; using Xunit; using HotChocolate.StarWars; using HotChocolate.Execution; using HotChocolate.Execution.Processing; using Microsoft.Extensions.DependencyInjection; using Moq; namespace HotChocolate.AspNetCore.Subscriptions.Messages { public class DataStopMessageHa...
// *** 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...
/* * 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.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly...
namespace Zygotine.WebExpo { internal class GTMeasure : UncensoredMeasure { internal GTMeasure(double a, string workerTag = null) : base(a, workerTag) { this.Censoring = MeasureType.GreaterThan; } internal GTMeasure(double a, Worker worker) : base(a, worker) ...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Uygulama { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } ...
using System; using System.Collections.Generic; namespace Sio.Cms.Lib.Models.Cms { public partial class SioFile { public int Id { get; set; } public string Content { get; set; } public DateTime CreatedDateTime { get; set; } public string Extension { get; set; } public st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeDiffLib.Changes { public class Change<T> { public T Before { private set; get; } public T After { private set; get; } public ChangeType ChangeType { private...
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.DAS.Models { public class AuthDasSmsRequest : TeaModel { // OAuth模式下的授权token [NameInMap("auth_token")] [Validation(Required=false)] ...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
// *** 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...
// TypeExpression.cs // Script#/Core/ScriptSharp // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Diagnostics; namespace ScriptSharp.ScriptModel { /// <summary> /// Represents a type which allows access to static members on the type ...
@using MyFitnessApp.Data.Models @model AddFoodInputModel @{ this.ViewData["Title"] = "Add to food diary"; } <!-- Breadcrumb --> <nav aria-label="breadcrumb" class="main-breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="/">Home</a></li> <li class="breadcrumb-item"><a hr...
using System; using System.Collections.Generic; using System.Linq; namespace Cocos2D { public enum TestCases { TEST_ACCELEROMRTER = 0, TEST_ACTION_MANAGER, TEST_EASE_ACTIONS, TEST_PROGRESS_ACTIONS, TEST_ACTIONS, TEST_BOX2D, TEST_BOX2DBED, TEST_BOX...
using System; using System.Threading.Tasks; using SFA.DAS.EmployerDemand.Domain.Demand; using SFA.DAS.EmployerDemand.Domain.Demand.Api.Requests; using SFA.DAS.EmployerDemand.Domain.Demand.Api.Responses; using SFA.DAS.EmployerDemand.Domain.Interfaces; namespace SFA.DAS.EmployerDemand.Application.Demand.Services { p...
/* * 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 UnityEngine; using System.Collections.Generic; namespace SceneExport{ [System.Serializable] public class JsonRendererData: IFastJsonValue{ //public bool hasRenderer = false; public bool receiveShadows = false; public string shadowCastingMode; public int lightmapIndex = -1; public Vector4 lightmapScal...
@model IEnumerable<MovieLib.WebApp.Models.MovieViewModel> @{ ViewData["Title"] = "Index"; } <h1>Index</h1> <p> <a asp-action="Create">Create New</a> </p> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.Title) </th> <...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata; namespace Microsoft.EntityFrameworkCore.Internal { /// <summary> ///...
using System; using System.Collections.Concurrent; using Consensus.FastBFT.Messages; using Consensus.FastBFT.Replicas; namespace Consensus.FastBFT.Handlers { public class TransactionHandler : Handler { public static int MinTransactionsCountInBlock = 100; public static void Handle( ...
using System; using System.Reflection; using NBitcoin; using NBitcoin.Networks; using Newtonsoft.Json; namespace Stratis.Bitcoin.Utilities.JsonConverters { /// <summary> /// Converter used to convert the name of a network in JSON to the corresponding <see cref="Network"/>. /// </summary> /// <seealso ...
#region using System; using System.Collections.Generic; #endregion namespace LoESoft.GameServer.realm.entity.merchant { partial class Merchant { private const int BUY_NO_GOLD = 3; private const int BUY_NO_FAME = 6; private const int BUY_NO_FORTUNETOKENS = 9; private const int...
namespace Going.Plaid.Entity; /// <summary> /// <para>This field is deprecated in favor of the <c>breakdown</c> object, which provides more granular institution health data.</para> /// </summary> public enum ProductStatusStatusEnum { /// <summary> /// <para>the majority of requests are successful</para> /// </summa...
// <auto-generated /> using Kahla.Server.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; namespace Kahla.Server.Migrations { [DbContext(typeof(KahlaDbContext))...
// <auto-generated /> using System; using Events.API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace SubtypeInduction { class RoslynUtils { /// <summary> /// ...
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 W3ReplacerWarningArea : CEntity { [Ordinal(1)] [R...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entity { /// <summary> /// Representa a resposta de uma operação de banco /// de dados que envolva Insert, Update, Delete. /// </summary> public class Response { ...
/* --------------------------------------------------------------------------------------------------------------------------------------- * (C) 2019, Dr Warren Creemers. * This file is subject to the terms and conditions defined in the included file 'LICENSE.txt' * ---------------------------------------------...
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace MyLife.Migrations { public partial class Upgrade_ABP_4_2_0 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn...
namespace Capnp.Rpc { class RpcUnimplementedException : System.Exception { } }
using System; using System.Reflection; using System.Runtime.CompilerServices; using Unity.Collections.LowLevel.Unsafe; using System.Collections.Generic; [assembly: InternalsVisibleTo("Unity.Entities.Tests")] namespace Unity.Entities { public static class FastEquality { internal static TypeInfo CreateT...
using System.IO; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.Xna.Framework; using MonoGame.Common; using Random = System.Random; public class BlobStorage : BaseStorage { public string BlockBlobContainerName = "democontainerblockblob";...
// System.Web.Services.Description.ServiceDescriptionCollection.ServiceDescriptionCollection() // System.Web.Services.Description.ServiceDescriptionCollection.Add() // System.Web.Services.Description.ServiceDescriptionCollection.Item(Int32) /* The following program demonstrates 'Constructor', 'Add' method and 'Ite...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(AudioSource))] public class FlyAway : MonoBehaviour { private float forcePower = 200f; public AudioClip[] audios; [HideInInspector] public AudioSource source; [HideInInspec...
/* * Copyright 2017 Alastair Wyse (https://github.com/alastairwyse/MoreComplexDataStructures/) * * 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...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Decorator.Sample { /// <summary> /// 「飾り枠」 /// 役割:Decorator(装飾者) /// </summary> abstract class Border : Display { /// <summary> /// この飾り枠がくるんでいる「中身」を指す。...
using System; namespace Models.Domain { public class RefreshToken { public string Token { get; set; } public string JwtId { get; set; } public DateTime DateStart { get; set; } public DateTime DateEnd { get; set; } public bool Used { get; set; } public bool Inval...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; namespace OcelotServer01.Api.Controllers { //set ASPNETCORE_URLS = http://127.0.0.1:5001 [Produces("application/json")] [Route("api/[controller]")] //[Route("api/SMS")] public class SmsController : Controller { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TNBCSurvey.Models { public class SurveyExportAnswer { public int Client_SID { get; set; } public string LastName { get; set; } public string FirstName { get; set; } public string Grou...
using System; using JulMar.Smpp.Utility; namespace JulMar.Smpp.Elements { /// <summary> /// The sm_default_msg_id parameter is used to specify the SMSC index of a pre-defined ("canned") /// message. /// </summary> public class sm_default_msg_id : SmppByte { /// <summary> /// Minimum index for a canned messag...
// Copyright (c) 2020 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System.Windows.Forms; n...
using System.Text.Json; namespace StrawberryShake.Transport.Http; public interface IHttpConnection : IConnection<JsonDocument> { }
using UnityEngine; public class DestroyOnHit : MonoBehaviour { private void OnTriggerEnter2D(Collider2D other) { Destroy(other.gameObject); } }
namespace InsanityBot; public partial class InsanityBot { public static void RegisterDatafixers() { } }
// Copyright © 2017 Dmitry Sikorsky. 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.Linq; using Microsoft.AspNetCore.Routing; using Newtonsoft.Json; using Platformus.Barebone; using Pla...
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d11.h(11007,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct D3D11_OMAC { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)] public ...
using System; using System.Drawing; namespace PluginCore.Helpers { public class DrawHelper { /// <summary> /// Measures the actual width of the text /// http://www.codeproject.com/KB/GDI-plus/measurestring.aspx /// </summary> public static Int32 MeasureDisplayStringWidt...
using System.ComponentModel.DataAnnotations; namespace BDSA2018.Lecture11.Shared { public class CharacterCreateUpdateDTO { public int Id { get; set; } public int? ActorId { get; set; } [Required] [StringLength(50)] public string Name { get; set; } [Required] ...
using System.Threading.Tasks; using Market.Data.Models; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace Market.Web.Areas.Identity.Pages.Account.Manage { public class PersonalDataModel : PageModel { ...
namespace Observer { public class WeatherData : Subject { public List<Observer> observers; private float temp; private float humidity; private float pressure; public WeatherData() { observers = new List<Observer>(); } public void Reg...