Condividi tramite


IProfileProvider.GetProfile<T> Method

Definition

public T GetProfile<T> () where T : class, Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer;
public T GetProfile<T> () where T : class, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer;
abstract member GetProfile : unit -> 'T (requires 'T : null and 'T :> Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer)
abstract member GetProfile : unit -> 'T (requires 'T : null and 'T :> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer)
Public Function GetProfile(Of T As {Class, IAzureContextContainer}) () As T

Type Parameters

T

Returns

T

Applies to