C# Class Microsoft.WindowsAzure.Commands.ScenarioTest.PSCmdletExtensions

Mostra file Open project: Azure/azure-powershell

Public Methods

Method Description
ExecuteCmdlet ( this cmdlet ) : void
GetCommandRuntimeMock ( this cmdlet ) : ICommandRuntime
SetCommandRuntimeMock ( this cmdlet, ICommandRuntime value ) : void

Private Methods

Method Description
GetInternalProperty ( string name, Type type ) : PropertyInfo
GetProtectedMethod ( string name ) : MethodInfo

Method Details

ExecuteCmdlet() public static method

public static ExecuteCmdlet ( this cmdlet ) : void
cmdlet this
return void

GetCommandRuntimeMock() public static method

public static GetCommandRuntimeMock ( this cmdlet ) : ICommandRuntime
cmdlet this
return ICommandRuntime

SetCommandRuntimeMock() public static method

public static SetCommandRuntimeMock ( this cmdlet, ICommandRuntime value ) : void
cmdlet this
value ICommandRuntime
return void