C# Class Microsoft.WindowsAzure.Commands.Test.Utilities.Common.MockCommandRuntime

Inheritance: ICommandRuntime
Afficher le fichier Open project: AzureRT/azure-sdk-tools Class Usage Examples

Méthodes publiques

Свойство Type Description
DebugStream List
ErrorStream List
OutputPipeline List
VerboseStream List
WarningStream List

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ResetPipelines ( ) : void

Clears all command runtime pipelines.

ShouldContinue ( string query, string caption ) : bool
ShouldContinue ( string query, string caption, bool &yesToAll, bool &noToAll ) : bool
ShouldProcess ( string target ) : bool
ShouldProcess ( string target, string action ) : bool
ShouldProcess ( string verboseDescription, string verboseWarning, string caption ) : bool
ShouldProcess ( string verboseDescription, string verboseWarning, string caption, ShouldProcessReason &shouldProcessReason ) : bool
ThrowTerminatingError ( ErrorRecord errorRecord ) : void
ToString ( ) : string
TransactionAvailable ( ) : bool
WriteCommandDetail ( string text ) : void
WriteDebug ( string text ) : void
WriteError ( ErrorRecord errorRecord ) : void
WriteObject ( object sendToPipeline ) : void
WriteObject ( object sendToPipeline, bool enumerateCollection ) : void
WriteProgress ( ProgressRecord progressRecord ) : void
WriteProgress ( long sourceId, ProgressRecord progressRecord ) : void
WriteVerbose ( string text ) : void
WriteWarning ( string text ) : void

Method Details

ResetPipelines() public méthode

Clears all command runtime pipelines.
public ResetPipelines ( ) : void
Résultat void

ShouldContinue() public méthode

public ShouldContinue ( string query, string caption ) : bool
query string
caption string
Résultat bool

ShouldContinue() public méthode

public ShouldContinue ( string query, string caption, bool &yesToAll, bool &noToAll ) : bool
query string
caption string
yesToAll bool
noToAll bool
Résultat bool

ShouldProcess() public méthode

public ShouldProcess ( string target ) : bool
target string
Résultat bool

ShouldProcess() public méthode

public ShouldProcess ( string target, string action ) : bool
target string
action string
Résultat bool

ShouldProcess() public méthode

public ShouldProcess ( string verboseDescription, string verboseWarning, string caption ) : bool
verboseDescription string
verboseWarning string
caption string
Résultat bool

ShouldProcess() public méthode

public ShouldProcess ( string verboseDescription, string verboseWarning, string caption, ShouldProcessReason &shouldProcessReason ) : bool
verboseDescription string
verboseWarning string
caption string
shouldProcessReason ShouldProcessReason
Résultat bool

ThrowTerminatingError() public méthode

public ThrowTerminatingError ( ErrorRecord errorRecord ) : void
errorRecord System.Management.Automation.ErrorRecord
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

TransactionAvailable() public méthode

public TransactionAvailable ( ) : bool
Résultat bool

WriteCommandDetail() public méthode

public WriteCommandDetail ( string text ) : void
text string
Résultat void

WriteDebug() public méthode

public WriteDebug ( string text ) : void
text string
Résultat void

WriteError() public méthode

public WriteError ( ErrorRecord errorRecord ) : void
errorRecord ErrorRecord
Résultat void

WriteObject() public méthode

public WriteObject ( object sendToPipeline ) : void
sendToPipeline object
Résultat void

WriteObject() public méthode

public WriteObject ( object sendToPipeline, bool enumerateCollection ) : void
sendToPipeline object
enumerateCollection bool
Résultat void

WriteProgress() public méthode

public WriteProgress ( ProgressRecord progressRecord ) : void
progressRecord ProgressRecord
Résultat void

WriteProgress() public méthode

public WriteProgress ( long sourceId, ProgressRecord progressRecord ) : void
sourceId long
progressRecord ProgressRecord
Résultat void

WriteVerbose() public méthode

public WriteVerbose ( string text ) : void
text string
Résultat void

WriteWarning() public méthode

public WriteWarning ( string text ) : void
text string
Résultat void

Property Details

DebugStream public_oe property

public List DebugStream
Résultat List

ErrorStream public_oe property

public List ErrorStream
Résultat List

OutputPipeline public_oe property

public List OutputPipeline
Résultat List

VerboseStream public_oe property

public List VerboseStream
Résultat List

WarningStream public_oe property

public List WarningStream
Résultat List