/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ namespace Microsoft.Rest.ClientRuntime { using System; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using GetEventData = System.Func; using static Microsoft.Rest.ClientRuntime.Extensions; /// /// The IContext Interface defines the communication mechanism for input customization. /// /// /// In the context, we will have client, pipeline, PSBoundParameters, default EventListener, Cancellation. /// public interface IContext { System.Management.Automation.InvocationInfo InvocationInformation { get; set; } System.Threading.CancellationTokenSource CancellationTokenSource { get; set; } System.Collections.Generic.IDictionary ExtensibleParameters { get; } HttpPipeline Pipeline { get; set; } Microsoft.RestClient Client { get; } } }