C# Class Pash.Implementation.ExecutionContext

Afficher le fichier Open project: Pash-Project/Pash Class Usage Examples

Private Properties

Свойство Type Description
AddToErrorVariable void
ExecutionContext System
GetVariable System.Management.Automation.PSVariable
GetVariableValue object
PopPipeline System.Management.Automation.Runspaces.Pipeline
PushPipeline void
SetLastExitCodeVariable void
SetSuccessVariable void
SetVariable void

Méthodes publiques

Méthode Description
Clone ( ScopeUsages scopeUsage = ScopeUsages.CurrentScope ) : ExecutionContext
Clone ( System.Management.Automation.SessionState sessionState, ScopeUsages scopeUsage ) : ExecutionContext
CreateNestedContext ( ) : ExecutionContext
ExecutionContext ( System.Management.Automation.Host.PSHost host, System.Management.Automation.Runspaces.RunspaceConfiguration config ) : System

Private Methods

Méthode Description
AddToErrorVariable ( object error ) : void
ExecutionContext ( ) : System
GetVariable ( string name ) : PSVariable
GetVariableValue ( string name ) : object
PopPipeline ( ) : System.Management.Automation.Runspaces.Pipeline
PushPipeline ( System.Management.Automation.Runspaces.Pipeline pipeline ) : void
SetLastExitCodeVariable ( int exitCode ) : void
SetSuccessVariable ( bool success ) : void
SetVariable ( string name, object value ) : void

Method Details

Clone() public méthode

public Clone ( ScopeUsages scopeUsage = ScopeUsages.CurrentScope ) : ExecutionContext
scopeUsage ScopeUsages
Résultat ExecutionContext

Clone() public méthode

public Clone ( System.Management.Automation.SessionState sessionState, ScopeUsages scopeUsage ) : ExecutionContext
sessionState System.Management.Automation.SessionState
scopeUsage ScopeUsages
Résultat ExecutionContext

CreateNestedContext() public méthode

public CreateNestedContext ( ) : ExecutionContext
Résultat ExecutionContext

ExecutionContext() public méthode

public ExecutionContext ( System.Management.Automation.Host.PSHost host, System.Management.Automation.Runspaces.RunspaceConfiguration config ) : System
host System.Management.Automation.Host.PSHost
config System.Management.Automation.Runspaces.RunspaceConfiguration
Résultat System