text
stringlengths
1
932k
using System.ComponentModel; namespace AGS.API { /// <summary> /// Allows for a label and its text to fit together in various way. /// </summary> public enum AutoFit { /// <summary> /// There will be no custom fitting: the user will select a label size, and the text size /// w...
using System.Text.RegularExpressions; namespace MerriamWebster.NET.Parsing.Markup { /// <summary> /// An <see cref="IMarkupManipulator"/> implementation for directional cross-reference tokens {dxt|||}. /// </summary> internal class DirectionalCrossReferenceManipulator : MarkupManipulator, IMarkupManip...
using System; using System.Globalization; using NodaTime; namespace OrchardCore.Localization { internal static class BclCalendars { public readonly static Calendar Hebrew = new HebrewCalendar(); public readonly static Calendar Hijri = new HijriCalendar(); public readonly static Calendar...
using System.Collections.Generic; using NUnit.Framework; namespace DotSpatial.Projections.Tests.Projected { /// <summary> /// This class contains all the tests for the StatePlaneNad1983Harn category of Projected coordinate systems /// </summary> [TestFixture] public class StatePlaneNad1983Harn ...
using System.Runtime.InteropServices; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Msiler.UI; namespace Msiler { [Guid("0c127690-de92-4d02-a743-634bb922145c")] public sealed class MsilerToolWindow : ToolWindowPane, IVsWindowFrameNotify ...
// // Author: // Nicolas VERINAUD <n.verinaud@gmail.com> // // Copyright (c) 2014 Nicolas Verinaud. All Rights Reserved. // using System; using CoreGraphics; using ObjCRuntime; using Foundation; using UIKit; namespace NVSlideMenuControllerLib { [BaseType (typeof (UIViewController))] public partial interface NVS...
// // Copyright (c) 2012-2021 Antmicro // // This file is licensed under the MIT License. // Full license text is available in the LICENSE file. using System; using System.Reflection; using System.Reflection.Emit; namespace Antmicro.Migrant.Generators { internal class CloneContentMethodGenerator : DynamicReadMeth...
using System; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Google; using Google.Apis.CloudKMS.v1; using Google.Apis.CloudKMS.v1.Data; using Microsoft.AspNetCore.WebUtilities; namespace Kamus.KeyManagement { public class GoogleCloudKeyManagment : IKey...
/****************************************************************************** * * Name: GdalConfiguration.cs.pp * Project: GDAL CSharp Interface * Purpose: A static configuration utility class to enable GDAL/OGR. * Author: Felix Obermaier * **************************************************************...
// 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.IO; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Runtime...
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("Ap...
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AdventOfCode2017 { [TestClass] public class Day15Part1 { [TestMethod] public void Test() { Assert.AreEqual(588, Solve(65, 8921)); } [TestMethod] public void DuelingGener...
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace SourceAFIS.Utils { class CircularArray<T> : IList<T> { T[] Inner; int First; int ItemCount; int HeadCount { get { return Math.Min(ItemCount, Inner.Length - First); } } ...
// Copyright 2019 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 License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
/// Generated - Do Not Edit namespace BABYLON { using System; using System.Collections.Generic; using System.Text.Json.Serialization; using System.Threading.Tasks; using EventHorizon.Blazor.Server.Interop; using EventHorizon.Blazor.Server.Interop.Callbacks; using Microsoft.JSInterop; ...
using System; using System.Collections.Generic; using System.Reflection; using DarkXaHTeP.CommandLine.Internal; using DarkXaHTeP.CommandLine.Internal.Startup; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace DarkXaHTeP.CommandLine ...
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Collections.Generic; using System.IO; namespace Microsoft.Xna.Framework.Content.Pipeline { /// <summary> //...
using UnityEngine; using System.Collections; public class HealBall : MonoBehaviour { private PlayerScript pS; private int healPoints = 20; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnTriggerEnter2D(Collider2D coll) { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using JCSoft.WX.Framework.Models.ApiResponses; using JCSoft.Core.Net.Http; namespace JCSoft.WX.Framework.Models.ApiRequests { public class GroupsMembersUpdateRequest : ApiRequest<GroupsMembersUpdateRespons...
namespace Core4.Pipeline.Abort { public class MyMessage { } }
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; using...
using TheTankGame.Entities.Vehicles.Contracts; namespace TheTankGame.Core.Contracts { public interface IBattleOperator { string Battle(IVehicle attacker, IVehicle target); } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Metabase.Data { public sealed class Institution : Data.Entity, IStakeholder { [Required] [MinLength(1)] public string ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
using System; using System.Runtime.InteropServices; using FT_Long = System.IntPtr; namespace FreeTypeBindings { [StructLayout(LayoutKind.Sequential)] public readonly struct BBox : IEquatable<BBox> { private readonly FT_Long _xMin, _yMin; private readonly FT_Long _xMax, _yMax; pub...
#if !NET452 namespace Sharpenter.BootstrapperLoader.Helpers { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Loader; using Microsoft.Extensions.DependencyModel; using Microsoft.Extensions.DependencyModel...
using System; using NSec.Cryptography; using Xunit; namespace NSec.Tests.Core { public static class PublicKeyTests { public static readonly TheoryData<Algorithm> AsymmetricKeyAlgorithms = Registry.AsymmetricAlgorithms; public static readonly TheoryData<Algorithm, KeyBlobFormat> PublicKeyBlobFor...
// Generated class v2.19.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Javascript.Host.Svg { public partial class SVGPathSeg : NHtmlUnit.Javascript.SimpleScriptable { static SVGPathSeg() ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace DataAccsessLayer.Abstract { public interface IRepository<T> { //Tek tek kategori için vs ekleme silme işlemlerini yapmaktansa bu şekilde hepsi iç...
using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace tsorcRevamp.Items.Armors { [AutoloadEquip(EquipType.Head)] public class MagmaHelmet : ModItem { public override void SetStaticDefaults() { Tooltip.SetDefault("+10% melee damage...
@model IEnumerable<TradeUnionCommittee.BLL.DTO.Family.CulturalFamilyDTO> @{ } <section class="add-user container-fluid"> <div class="row justify-content-center"> <div class="col-md-12 add-user_block"> <div class="row"> <a asp-controller="Family" asp-action="Index" asp-rout...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpr...
using System; using System.IO; namespace Xamarin.Android.Prepare { partial class Configurables { partial class Defaults { public const string DefaultCompiler = "cc"; public static readonly Version CorrettoVersion = Version.Parse (CorrettoDistVersion); } partial class Paths { static string Archive...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Com.AugustCellars.CoAP.Log; using Com.AugustCellars.CoAP.Net; using Com.AugustCellars.CoAP.Server; using Com.AugustCellars.CoAP.Server.Resources; using Com.AugustCellars.COS...
using AnyRPG; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AnyRPG { [RequireComponent(typeof(SphereCollider))] public class AggroRange : MonoBehaviour { [SerializeField] private SphereCollider aggroCollider = null; private BaseCharacter base...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
using RegistroVirtual.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace RegistroVirtual.Controllers { [SessionAuthorize] public class DashboardController : Controller { public ActionResult Index() { ...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d11.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { publ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace RedSocial.Models.Roles { public class RedSocial_Roles { [Key] public int ID { get; set; } [Required] [StringLength(20)] public st...
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Types.Enums; // ReSharper disable once CheckNamespace namespace Telegram.Bot.Types { /// <summary> /// This object represents the content of a media message to be sent /// </summary> [JsonObject(MemberSerialization.OptIn, Na...
using System; using System.Collections.ObjectModel; using System.Drawing; using System.IO; using System.Linq; using System.Windows; using System.Windows.Input; using System.Windows.Media.Imaging; using System.Windows.Threading; using Accord.Video.FFMPEG; using AForge.Video; using AForge.Video.DirectShow; using GalaSof...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ploeh.Albedo.UnitTests.Samples.SemanticComparison { public class SemanticReflectionVisitor : ReflectionVisitor<IEnumerable> { private readonly object[] values; public Sema...
using JT808.Protocol.Extensions; using JT808.Protocol.Metadata; using JT808.Protocol.MessageBody; using JT808.Protocol.Interfaces; using System; using System.Collections.Generic; using JT808.Protocol.MessagePack; namespace JT808.Protocol.Formatters.MessageBodyFormatters { public class JT808_0x8604_Formatter : IJT...
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Core { /// <summary>A Token that can post-process the complete resolved value, after resolve() has recursed over it.</summary> [JsiiInterface(nativeType: typeof(IPostProcessor), fullyQualifiedName...
using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.SceneManagement; namespace VketTools { /// <summary> /// Z.公式プレハブのチェック /// 01.PickupObjectSyncPrefab(Animation版)のオーバーライド用のファイル複製チェック /// "Pickup"オブジェクトとその親のScaleが一致しているかチェック /// </summary> public class Pi...
using Microsoft.WindowsAzure.Mobile.Service; using Microsoft.WindowsAzure.Mobile.Service.Security; using Sport.Service.Models; using Sport.Shared; using System; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.OData; namespace Sport.Servi...
using System.Collections; using System.Numerics; using System.Collections.Generic; using UnityEngine; public class ERC1155BalanceOfExample : MonoBehaviour { async void Start() { string chain = "avalanche"; string network = "testnet"; string contract = "0xbDF2d708c6E4705824dC024187cd219d...
/* * LeagueClient * * 7.23.209.3517 * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations...
using Game.Logic.Phy.Object; namespace Game.Logic.PetEffects.Element.Passives { public class PE1423 : BasePetEffect { private int m_type = 0; private int m_count = 0; private int m_probability = 0; private int m_delay = 0; private int m_coldDown = 0; private int m_added = 0; private int m_current...
using Logics.PromotionEntities.Classes; using System.Collections.Generic; namespace Logics.PromotionObjects.Classes { public class BaseCart { public static Cart Cart; public BaseCart() { Cart = new Cart(); } } }
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace MapsuiForms.Droid { [Activity(Label = "MapsuiForms", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChange...
namespace SysCommand.ConsoleApp.Commands { /// <summary> /// The help command (user: > help) /// </summary> public class HelpCommand : Command, IHelpCommand { public HelpCommand() { HelpText = "Displays help information"; } public string Help(string acti...
// <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning disable 0169 namespace EC1._44CharacterGenerator.Shared { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; usi...
namespace ClassLib123 { public class Class011 { public static string Property => "ClassLib123"; } }
using System; using System.Threading.Tasks; using NeoSharp.Core.Blockchain.Repositories; using NeoSharp.Core.Logging; using NeoSharp.Core.Models; namespace NeoSharp.Core.Blockchain.Processing { public class BlockPersister : IBlockPersister { #region Private Fields private readonly IBlockRepo...
using MySql.Data.MySqlClient; using Specialist.Data; using Specialist.Model; using System; using System.Collections.Generic; namespace Specialist.Handlers { public class GetSpecialistByEmailAndPasswordHandler { private readonly SpecialistContext _context; public GetSpecialistByEmailAndPasswor...
using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using Ripple.Core.Types; namespace Ripple.Testing.NUnit3 { //[Timeout((int)15e3)] [TestFixture] public class StandaloneTests : NUnitFixtureScopedRippledBase { [OneTimeSetUp] public async Task SetupState() { ...
using System; using System.Collections.Generic; using System.Threading; using FluentAssertions; using Stratis.FederatedPeg.Features.FederationGateway.Interfaces; using Stratis.FederatedPeg.Features.FederationGateway.TargetChain; using Stratis.FederatedPeg.Tests.Utils; using Xunit; namespace Stratis.FederatedPeg.Tests ...
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swagger-codegen.git ...
using System.Threading.Tasks; using Auth0.ManagementApi.Models; using Banjo.CLI.Configuration; using Banjo.CLI.Model; using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.Options; namespace Banjo.CLI.Services.ResourceTypeProcessors { public class TenantSettingsProcessor : AbstractSingleTypeResour...
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Azure.Management.ContainerInstance.Models { using Microsoft.Azure; using Microsoft.Azure.Management; using Microsoft.Azure.Managemen...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody2D))] public class PlanetBG : MonoBehaviour { [SerializeField] Vector3 velocity; void Start() { GetComponent<Rigidbody2D>().velocity = velocity; } }
using System; using System.Text; using NUnit.Framework; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Macs; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.Encoders; using Org.BouncyCastle.Utilities.Test...
using System.Net; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using TestBuildingBlocks; using Xunit; namespace JsonApiDotNetCoreTests.IntegrationTests.Logging; public sealed class LoggingTests : IClassFixture<IntegrationTestContext<TestableStartup<Loggin...
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Text.Encodings.Web; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Dynamic; using System.Net; using Sy...
@using Store.Web @using Store.Web.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SmileLogistics.DAL.Entities { public class eCustomsProcess_FeeType { public int ID { get; set; } public string Name { get; set; } public string Description { ge...
/*<copyright> Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process. Copyright (C) 2013 Dave Clemmer, Intelligent Coding Solutions, LLC This program is free software: you can redistribute it and/or...
using System.IO; namespace Microsoft.Xna.Framework.Audio { internal static class AudioUtil { /// <summary> /// Takes WAV data and appends a header to it. /// </summary> internal static byte[] FormatWavData(byte[] buffer, int sampleRate, int channels) { //buff...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace NetGram.Models { public class WorkGram { public int ID { get; set; } [Required] public string UserName { get; set; } public ...
using System; using System.Runtime.InteropServices; namespace LightGBMSharp { internal static class DatasetMethods { /// Return Type: int ///filename: char* ///parameters: char* ///reference: DatasetHandle->void* ///out: DatasetHandle* [DllImport("lib_lightgbm.d...
using LogicBuilder.Expressions.Utils; using LogicBuilder.Expressions.Utils.ExpressionBuilder; using LogicBuilder.Expressions.Utils.ExpressionBuilder.Arithmetic; using LogicBuilder.Expressions.Utils.ExpressionBuilder.Cacnonical; using LogicBuilder.Expressions.Utils.ExpressionBuilder.Conversions; using LogicBuilder.Expr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZombieGame { class Rock : Item { public Rock(int x, int y) { this.displayable = new IsItemDisplayable(x, y, '*', ConsoleColor.Black); this.consu...
// 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; using System.Collections.Generic; using System.Linq; namespace System.Data { /// <summary> /// This is the generic base class for TypedDataSet ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Jukebox { public class Track { public Album album { get; set; } public Artist[] artists { get; set; } public string[] available_markets { get; set; } pu...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.Utilities; using System; using System.Globalization; using System.IO; using System.Xml; using ObjectModel; ...
// <copyright file="CompoundMutator.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 licenses this file //...
// 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 System; using Microsoft.Extensions.Localization; namespace Microsoft.AspNet.Mvc.ModelBinding.Validation { /// <summary> /// Provides prog...
using Jarsefax.Xna.MonoGameFastTrack.Bullet.GameStates.MenuItems; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; namespace Jarsefax.Xna.MonoGameFastTrack.Bullet.GameStates.Menus.Main.Items { class Exit : BulletState, IBulletMenuItem { public Exit() : this(4, true, "Ex...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; using Neo.Ledger; using Neo.Network.P2P.Payloads; using Neo.SmartContract; using Neo.VM; using Neo.VM.Types; using System.Linq; namespace Neo.UnitTests.SmartContract { [TestClass] public class UT_Syscalls { [TestInitialize] p...
using UnityEngine; #pragma warning disable 219 // We don't care about: warning CS0219: The variable `[...]' is assigned but its value is never used namespace UnityUtilities.Examples { public class MathHelperExamples : MonoBehaviour { [SerializeField] private Transform runner; [SerializeField] p...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
// 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; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text.Encodings.Web; using System.Text.Unicode; using Xunit; namesp...
#region License /********************************************************************** * LogiLCD.net - Copyright (C) 2013 by Daniel Drywa (daniel@drywa.me) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), * to ...
using System; namespace PutridParrot.Utilities.Cache { internal class CacheEntry { internal CacheEntry(byte[] bytes, TimeSpan expiry) { Bytes = bytes; Expiry = expiry; Touch(); } internal TimeSpan Expiry { get; private set; } intern...
using BattleCards.Services; using BattleCards.ViewModels.Card; using SIS.HTTP; using SIS.MvcFramework; namespace BattleCards.Controllers { public class CardsController : Controller { private readonly ICardsService cardsService; public CardsController(ICardsService cardsService) { ...
using SensiEdge.Device; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SensiEdge.Data { public class LEDStateConfig : IParse { private byte[] valueInvertor = new byte[] { 0x20, 0x00, 0x00, 0x00 }; public void Parse(...
namespace VaporStore.Data.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public class Game { [Key] public int Id { get; set; } [Required] public string Na...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PNJDialog : MonoBehaviour, IControllable { // ID of the dialog to load ( cf. DialogBank ) public int dialog_id; // name to display in the dialog UI header public string npc_na...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TrueNorthChallenge.DBEntities.Generic { public interface IEntityBase { int Id { get; set; } DateTime CTS { get; set; } DateTime? MTS { get; set; } } }
/* Copyright (c) Citrix Systems, Inc. * 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 l...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IotHubDeviceSimulator { class Program { static void Main(string[] args) { } } }
// Python Tools for Visual Studio // 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/LICENSE-2.0 /...
// Copyright 2018, 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 License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Xml.Linq; namespace SvgMath { internal static class Generator { public static XElement DrawImage(MathNode node) { //Top-level draw function: prepare the canvas, then call the...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Localization; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions...
using System; using System.Collections.Generic; using System.Linq; using Nest.DSL.Query.Behaviour; using Newtonsoft.Json; using System.Linq.Expressions; using System.Globalization; namespace Nest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public interface IFuzzyQuery : IFieldNameQuery { Pr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using System.Runtime.InteropServices; using System.Globalization; using System.IO; using System.Reflection; using System.ComponentModel.Design.Serializat...