C# Class Microsoft.WindowsAzure.Management.Store.Model.PowerShellCustomConfirmation

Datei anzeigen Open project: OctopusDeploy/azure-sdk-tools Class Usage Examples

Public Methods

Method Description
PowerShellCustomConfirmation ( ) : System.Collections.Generic

Parameterless constructor for mock framework

PowerShellCustomConfirmation ( System.Management.Automation.Host.PSHost host ) : System.Collections.Generic
ShouldProcess ( string caption, string message ) : bool

Asks user for confirming the given action.

Method Details

PowerShellCustomConfirmation() public method

Parameterless constructor for mock framework
public PowerShellCustomConfirmation ( ) : System.Collections.Generic
return System.Collections.Generic

PowerShellCustomConfirmation() public method

public PowerShellCustomConfirmation ( System.Management.Automation.Host.PSHost host ) : System.Collections.Generic
host System.Management.Automation.Host.PSHost
return System.Collections.Generic

ShouldProcess() public method

Asks user for confirming the given action.
public ShouldProcess ( string caption, string message ) : bool
caption string The confirmation caption
message string The confirmation message
return bool