C# Class Pash.Implementation.ExecutionContext

ファイルを表示 Open project: Pash-Project/Pash Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public Clone ( ScopeUsages scopeUsage = ScopeUsages.CurrentScope ) : ExecutionContext
scopeUsage ScopeUsages
return ExecutionContext

Clone() public method

public Clone ( System.Management.Automation.SessionState sessionState, ScopeUsages scopeUsage ) : ExecutionContext
sessionState System.Management.Automation.SessionState
scopeUsage ScopeUsages
return ExecutionContext

CreateNestedContext() public method

public CreateNestedContext ( ) : ExecutionContext
return ExecutionContext

ExecutionContext() public method

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
return System