text
stringlengths
1
932k
/* Copyright 2010-present MongoDB Inc. * * 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 wr...
using System; using System.IO; using System.Text; using System.Drawing; using System.Reflection; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using ProjectManager.Projects; using PluginCore.Localization; using PluginCore.Managers; using PluginCore....
using System; using UnityEngine; using Common; namespace Gamekit3D.Network { public partial class Incoming { private void OnRecvEquipWeapon(IChannel channel, Message message) { SEquipWeapon msg = message as SEquipWeapon; NetworkEntity player = networkEntities[msg.player...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán...
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("CS...
using System; using System.Diagnostics.CodeAnalysis; using Balakin.VSOutputEnhancer.Logic.Classifiers.BuildResult; namespace Balakin.VSOutputEnhancer.Logic.Tests.Parsers.TestCases.BuildResult { [ExcludeFromCodeCoverage] public class NoProjectNumber : TestCaseBase { public override String Input { ge...
using System; namespace MvcUtilities { public static class DateTools { /// <summary> /// Returns current Unix Epoch time /// </summary> /// <returns></returns> public static long EpochTimeNow() { TimeSpan timeDifference = DateTime.UtcNow - new DateTi...
// *** 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...
// Graph may not be connected // Edge -> StartNode / EndNode / Weight class KruskalAlgorithm { public static List<Edge> Edges = new List<Edge>(); // must be sorted public static List<Edge> MpdNodes = new List<Edge>(); public static int InitialNodeValue = 1; static int[] tree; public static int Fi...
using MediatR; using BookingService.Data; using BookingService.Features.Core; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Data.Entity; namespace BookingService.Features.Resources { public class GetResourceByIdQuery { public class GetReso...
using System; using System.Collections.Generic; using System.Text; using System.Windows.Input; using UpcomingMoviesMob.Models; using Xamarin.Forms; namespace UpcomingMoviesMob.ViewModels { public class NewItemViewModel : BaseViewModel { private string text; private string description; ...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; namespace Microsoft.NodejsTools { internal static class NodejsConstants { public const string JavaScriptExten...
using System; namespace HomeAutio.Mqtt.GoogleHome.Tests { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public class TestPriorityAttribute : Attribute { public TestPriorityAttribute(int priority) { Priority = priority; } public int Priority {...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Sample3 { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.micro...
using System; using System.Collections.Generic; using System.Text; namespace GDC.PH.AIDE.BusinessLayer { public class clsContributors : BusinessObjectBase { #region InnerClass public enum clsContributorsFields { FULL_NAME, DEPARTMENT, DIVISION, ...
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
using AutoMapper; using IdentityServer4.Admin.BusinessLogic.Dtos.Log; using IdentityServer4.Admin.EntityFramework.Entities; using IdentityServer4.Admin.EntityFramework.Extensions.Common; namespace IdentityServer4.Admin.BusinessLogic.Mappers { public static class LogMappers { internal static IMapper Ma...
using ItsEarth.Models; using System; using System.Collections.Generic; using System.Linq; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace ItsEarth.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MenuPage : ContentPage { MainPage RootPage { get => Application...
using NexusInterfaces; using System; using System.Collections; using System.Collections.Generic; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace sqlnexus { public class CustomXELImporter { ...
namespace Cataclism { using System; using System.Collections.Generic; using System.Text; public class CatAclysm { public static void Main(string[] args) { int linesCount = int.Parse(Console.ReadLine()); CSharpConstructions constructions = new CSharpConstruc...
using System; using System.Collections.Generic; using System.Linq; namespace JPKIReaderLib { public class Common { // 16進数文字列 => Byte配列 public static byte[] HexStringToBytes(string str) { var bs = new List<byte>(); for (int i = 0; i < str.Length / 2; i++) { ...
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 System.Collections.Generic; using UnityEngine; namespace EA4S.FastCrowd { public class QuestionManager : MonoBehaviour { public event System.Action OnCompleted; public event System.Action<bool> OnDropped; public DropAreaWidget dropContainer; public FastCrowdLetterCrowd c...
namespace Lapine.Protocol.Commands; public class ConnectionCloseTests : Faker { ConnectionClose RandomSubject => new ( ReplyCode : Random.UShort(), ReplyText : Lorem.Sentence(wordCount: Random.Int(min: 1, max: 16)), FailingMethod: (Random.UShort(), Random.UShort()) ); [Fact] ...
using System; using System.Drawing; using Grasshopper.Kernel; namespace Whale { public class WhalesInfo : GH_AssemblyInfo { public override string Name { get { return "Whale"; } } public override Bitmap Icon { ...
 using UnityEngine; using Data; namespace UI { public class GuiAction : GuiComponent { public static int SIZE = 48; private static GuiComponent toolTip; public MDRAction Action; public GuiAction(MDRAction action) : base(SIZE, SIZE) { EnableBackground = false; Action = action; } // ------...
 using System.Diagnostics; using b2xtranslator.StructuredStorage.Reader; using b2xtranslator.Tools; namespace b2xtranslator.OfficeGraph { /// <summary> /// This record specifies the properties of an attached label and specifies the beginning of a /// collection of records as defined by the chart sheet s...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SistemaTaller.BackEnd.API.Repository.Interfaces.Actions { public interface IInsertarRepository <T> where T : class { void Insertar(T t); } }
// Copyright 2016 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 applica...
// 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. namespace Microsoft.Data.Entity.FunctionalTests.TestModels.Inheritance { public abstract class Animal { public string Species { get; set...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; usin...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using StreamingClient.Base.Util; using System.Collections.Generic; namespace Twitch.Base.Models.NewAPI.EventSub { /// <summary> /// The challenge sent by Twitch to the registered callback /// </summary> public class EventSubSubscriptionNotificationMod...
using System; using System.Linq; using Lucene.Net.Index; using Lucene.Net.Search; using Sitecore; using Sitecore.Data; using Sitecore.Search; using Sitecore.StringExtensions; using scSearchContrib.Searcher.Utilities; namespace scSearchContrib.Searcher.Parameters { public class SearchParam : ISearchParam { ...
using Abp.Reflection.Extensions; using Abp.Resources.Embedded; using Shouldly; using Xunit; namespace Abp.Tests.Resources.Embedded { public class EmbeddedResourceTests { private readonly IEmbeddedResourceManager _embeddedResourceManager; public EmbeddedResourceTests() { va...
namespace PoeRota.Infrastructure.Commands.Accounts { public class Login : ICommand { public string Email { get; set; } public string Password { get; set; } } }
using System; using System.Linq; namespace _05.SnakeMoves { class Program { static void Main(string[] args) { int[] sizeOfMatrix = Console.ReadLine() .Split(' ', StringSplitOptions.RemoveEmptyEntries) ....
// 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.Html { public partial class HtmlPage : NHtmlUnit.InteractivePage, NHtmlUnit.W3C.Dom.INode, NHtmlUnit.IPage, NHtmlUnit.W3C.Dom.ID...
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("DCR...
using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Alluvial { internal class AggregatorSubscriptionList : IEnumerable<IAggregatorSubscription> { private readonly ConcurrentDictionary<IAggregatorSubscription, Unit> subscriptions;...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace DyamicHtml.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(); } public IAc...
using System; using System.Threading; namespace CuratorClient { public class RetrySleeper: IRetrySleeper { public RetrySleeper () { } public void SleepFor(TimeSpan time) { Thread.Sleep ( (int)time.TotalMilliseconds); } } }
namespace GadzhiCommon.Models.Interfaces.ServerStates { /// <summary> /// Информация об обработанных файлах /// </summary> public interface IServerCompleteFiles { /// <summary> /// Количество DGN файлов /// </summary> int DgnCount { get; } /// <summary> ...
using MixERP.Net.VCards.Models; namespace MixERP.Net.VCards.Processors { public static class LastRevisionProcessor { public static string Serialize(VCard vcard) { if (vcard.LastRevision == null) { return string.Empty; } return Da...
 namespace Drawing_Tool { public class CorDraw { private Quadrangle quadrangle; public CorDraw(Quadrangle quadrangle) { this.quadrangle = quadrangle; } public void Draw() { this.quadrangle.Draw(); } } }
using System; using System.Collections.Generic; using System.Text; namespace HallOfBeorn.Data.Sagas.TheHobbit { public static class TheHobbitOnTheDoorstepProduct { } }
using System.Collections.Generic; using JetBrains.Annotations; using UnityEngine; using UnityEngine.UI; namespace Modding { internal class Console : MonoBehaviour { private static GameObject _overlayCanvas; private static GameObject _textPanel; private static Font _arial; priva...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Anomalous.GuiFramework { public class TwoWayDelegateCommand<ExecuteObject, UndoObject> : TwoWayCommand { private ExecuteObject executeObject; private UndoObject undoObject; private Funcs fun...
using OWML.ModHelper.Events; using UnityEngine; using UnityEngine.UI; namespace NomaiVR { internal class HoldTranslator : NomaiVRModule<HoldTranslator.Behaviour, HoldTranslator.Behaviour.Patch> { protected override bool IsPersistent => false; protected override OWScene[] Scenes => PlayableScen...
namespace EvilDICOM.RT.Data.DVH { public class DVHData { public DVHPoint[] Points { get; set; } public Dose MaxDose { get; set; } public Dose MinDose { get; set; } public Dose MeanDose { get; set; } public double VolumeCC { get; set; } } }
using System.Threading.Tasks; using System.Windows.Input; using Acr.UserDialogs; using Afonsoft.SetBox.Authorization.Users.Profile; using Afonsoft.SetBox.Authorization.Users.Profile.Dto; using Afonsoft.SetBox.Core.Threading; using Afonsoft.SetBox.Localization; using Afonsoft.SetBox.ViewModels.Base; using Afonsoft.SetB...
namespace NFSU2.FileFormat.Sections.Geometry { [Section(Header = SectionHeaders.MeshInfo)] public class MeshInfo : ISection { public string Name { get; private set; } public bool Parse(Section section) { var position = 164; // name start at 164 var name = ""...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Wingale.Winnt { public class Injection { /// <summary> /// 注入代码。 /// </summary> /// <param name="pid"></param> /// <param name="param"></param> ...
using System; using System.Collections.Generic; using Mono.Cecil; using Mono.Cecil.Cil; using Xels.SmartContracts.RuntimeObserver; namespace Xels.SmartContracts.CLR.ILRewrite { /// <summary> /// Injects a new type with reference to an <see cref="Observer"/> into a module which can be used to track runtime met...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
// uScript Action Node // (C) 2011 Detox Studios LLC using UnityEngine; using System.Collections; using System.Collections.Generic; [NodePath("Actions/GameObjects")] [NodeCopyright("Copyright 2011 by Detox Studios LLC")] [NodeToolTip("Returns all the children GameObjects of a parent GameObject.")] [NodeAuthor("Detox...
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0.Asm { using System.Runtime.CompilerServices; using static AsmOperands; u...
/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: Assem...
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace TiffLibrary.ImageEncoder { /// <summary> /// A middleware that apply predictor to the input image. /// </summary> /// <typeparam name="TPixel">The ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using Microsoft.CodeAnalysis.CodeGeneration; using Microsoft.CodeAnalysis.Editor.S...
// Copyright 2017 the original author or authors. // // 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 la...
using EzDomain.EventSourcing.Domain.Model; namespace EzDomain.EventSourcing.Domain.Factories { public interface IAggregateRootFactory<out TAggregateRoot, TAggregateRootId> where TAggregateRoot : IAggregateRoot<TAggregateRootId> where TAggregateRootId : class, IAggregateRootId { TAggrega...
/* * Copyright 2018 JDCLOUD.COM * * 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...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Buffers.Text; using System.Diagnostics; using System.Globalization; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; name...
using Microsoft.JSInterop; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Majorsoft.Blazor.Components.Maps.Google { /// <summary> /// GoogleMapsEventInfo event <see cref="DotNetObjectReference"/> info to handle Google Maps event callbacks /// </summary> internal sealed cl...
namespace cliente.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
// 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.Collections.Generic; using System.ComponentModel.Composition; using System.Diagnostics; using System.L...
using System; using System.Collections.Generic; using Newtonsoft.Json; using Comformation.IntrinsicFunctions; namespace Comformation.Config.RemediationConfiguration { /// <summary> /// AWS::Config::RemediationConfiguration ExecutionControls /// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide...
using System; using System.Collections.Generic; using System.Linq; using static JWT.Internal.EncodingHelper; namespace JWT { /// <summary> /// Jwt validator. /// </summary> public sealed class JwtValidator : IJwtValidator { private readonly IJsonSerializer _jsonSerializer; private...
/* * 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 ...
namespace Forge.Forms.Annotations { /// <summary> /// Specifies which fields are displayed by default. /// </summary> public enum DefaultFields { /// <summary> /// Properties with public getters and setters are displayed by default. /// </summary> AllExcludingReadonl...
using System.Collections; using System.Collections.Generic; using Photon.Pun; using UnityEngine; using UnityEngine.UI; using Random = UnityEngine.Random; public class MasterClient : MonoBehaviourPun { [SerializeField] private GameObject _imposterWindow; [SerializeField] private Text _imposterText; pu...
namespace ContosoFlowers { using System.Configuration; using Autofac; using BotAssets; using BotAssets.Dialogs; using Dialogs; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Internals.Fibers; using Microsoft.Bot.Builder.Location; using Microsoft.Bot.Builder.Scorabl...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdentityServer4.Models; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using SpringComp.IdentityServer.TableStorage.Entities; using SpringComp.IdentityServer.TableStorage.Options; using ApiResource = Ident...
using AutoMapper; using static System.Console; namespace AutomapperConsole { class Sample_02 { static void Main() { //static mapper Mapper.Initialize(cfg => cfg.CreateMap<Source, Destination>()); var destination = Mapper.Map<Destination>(new Source()); ...
namespace Net.Component { using global::System; using global::System.ComponentModel; using UnityEngine; using Matrix4x4 = Matrix4x4; using Quaternion = Quaternion; using Vector3 = Vector3; /// <summary> /// 游戏物体转换实体组建 /// 作者:彼岸流年 QQ:317392507 /// 后期修改:龙兄 QQ:1752062104 /// ...
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GEngine { abstract class StateTemplate<TStateEnumType, TParent> { protected TParent _parentObj; public void SetParentObj(TParent pObj) { _parentObj...
#pragma warning disable 1591 namespace CsDebugScript.PdbSymbolProvider.DBI { /// <summary> /// Known stream indexes comming from DBI optional debug stream header stream. /// </summary> public enum KnownDebugStreamIndex : ushort { FPO, Exception, Fixup, OmapToSrc, ...
using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using Avalonia.Collections; using Bogus; using Bogus.DataSets; using ControlCatalog.Models; using Mvolonia.Controls.Collections; using ReactiveUI; namespace ControlCatalog.ViewModels { public class MainWind...
// *** 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 Elasticsearch.Net; using FluentAssertions; using Nest; using Tests.Core.Extensions; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; using Tests.Framework; using Tests.Framework.Integration; using M = System.Collections.Generic.Dictionary<string, object>; using static Nest.Infer; namespace Te...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Net; using Microsoft.Azure.Management.Compute; using Microsoft.Azure.Management.Compute.Models;...
using System; using System.Management.Automation; namespace DSInternals.PowerShell.Commands { [Cmdlet(VerbsCommon.Get, "ADDBObject")] // TODO: output type [OutputType("None")] public class GetADDBObjectCommand : ADDBObjectCommandBase { protected override void ProcessRecord() { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
using AudioBuddy; using MenuBuddy; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; namespace AudioBuddyTest { /// <summary> /// This is the main type for your game /// </summary> #if !__IOS__ && !ANDROID public class Game1 : MouseGame #else public class Game1 : TouchGame #endif { public Gam...
#region using System; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WeatherLink.Models; using WeatherLink.Services; #endregion namespace WeatherLink.Controllers { /// <summary> /// Interact with the traffic advice service from Slack. /// </s...
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using ...
using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ChatdollKit.Dialog { public class StaticSkillRouter : SkillRouterBase { #pragma warning disable CS1998 public override async Task<IntentExtractionResult> ExtractIntentAsync(Request request, State state, CancellationToke...
//------------------------------------------------------------------------- // Copyright © 2019 Province of British Columbia // // 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://w...
/* * Copyright 2011 Olivine Labs, LLC. <http://olivinelabs.com> * Licensed under the MIT license: <http://www.opensource.org/licenses/mit-license.php> */ /* * Includes a reference to the Json.NET library <http://json.codeplex.com>, used under * MIT license. See <http://www.opensource.org/licenses/mit-license.ph...
using Chapter2.GoF.Visitor; using Xunit; namespace Chapter2.Test.DesignPatterns { public class VisitorTests { [Fact] public void Test_Visitor_Pattern() { WeatherStructure weatherStructure = new WeatherStructure(new YahooWeatherBuilder()); weatherStructure.BuildW...
// 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 System.Threading; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure {...
using MediatR; using Microsoft.AspNetCore.Mvc; using Threenine.ApiResponse; namespace ApiProject.Activities.Sample.Get { public class Query : IRequest<SingleResponse<SampleDetail>> { [FromRoute(Name = "id")] public string Id { get; set; } } }
/* * 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 System.Collections; using Cerval_Library; using System.IO; using System.Runtime.Serialization.Json; using System.Text; using System.Collections.Generic; namespace StudentInformation { public partial class ExamTimetables : System.Web.UI.Page { protected void Page_Load(object sender,...
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Config { #pragma warning disable CS8618 /// <summary>Properties for defining a `ALIYUN::Config::DeliveryChannel`.</summary> [JsiiByValue(fqn: "@alicloud/ros-cdk-config.DeliveryChannelProps")]...
namespace UglyToad.PdfPig.Export.Alto { using System; using System.ComponentModel; using System.Xml.Serialization; public partial class AltoDocument { /// <summary> /// [Alto/xlink] Block Type Show. /// </summary> [EditorBrowsable(EditorBrowsableState.Never)] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [AddComponentMenu("Camera-Control/Smooth Mouse Look")] public class SmoothMouseLook : MonoBehaviour { public Controller playerController; private CheckpointReset checkpointReset; public enum RotationAxes { MouseXAndY = 0, MouseX = 1, Mo...
/* * 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...