C# Класс Pash.Implementation.ExecutionContext

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Clone() публичный Метод

public Clone ( ScopeUsages scopeUsage = ScopeUsages.CurrentScope ) : ExecutionContext
scopeUsage ScopeUsages
Результат ExecutionContext

Clone() публичный Метод

public Clone ( System.Management.Automation.SessionState sessionState, ScopeUsages scopeUsage ) : ExecutionContext
sessionState System.Management.Automation.SessionState
scopeUsage ScopeUsages
Результат ExecutionContext

CreateNestedContext() публичный Метод

public CreateNestedContext ( ) : ExecutionContext
Результат ExecutionContext

ExecutionContext() публичный Метод

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
Результат System