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

Наследование: System.Management.Automation.Runspaces.Runspace
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddInitialSessionCommands void
AddInitialSessionModules void
AddInitialSessionVariables void
AddRunningPipeline void
AddSessionVariables void
CreateVariable void
GetCurrentlyRunningPipeline System.Management.Automation.Runspaces.Pipeline
GetSessionStateProxy System.Management.Automation.Runspaces.SessionStateProxy
InitializeDefaultSnapins void
InitializeSession void
LocalRunspace System
RemoveRunningPipeline void

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

Метод Описание
Close ( ) : void
CloseAsync ( ) : void
CreateNestedPipeline ( ) : System.Management.Automation.Runspaces.Pipeline
CreateNestedPipeline ( string command, bool addToHistory ) : System.Management.Automation.Runspaces.Pipeline
CreatePipeline ( ) : System.Management.Automation.Runspaces.Pipeline
CreatePipeline ( string command ) : System.Management.Automation.Runspaces.Pipeline
CreatePipeline ( string command, bool addToHistory ) : System.Management.Automation.Runspaces.Pipeline
GetVariable ( string name ) : object
LocalRunspace ( System.Management.Automation.Host.PSHost host, InitialSessionState initialSessionState ) : System
LocalRunspace ( System.Management.Automation.Host.PSHost host, System.Management.Automation.Runspaces.RunspaceConfiguration configuration ) : System
Open ( ) : void
OpenAsync ( ) : void
SetVariable ( string name, object value ) : void

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

Метод Описание
AddInitialSessionCommands ( ) : void
AddInitialSessionModules ( ) : void
AddInitialSessionVariables ( ) : void
AddRunningPipeline ( System.Management.Automation.Runspaces.Pipeline pipeline ) : void
AddSessionVariables ( ) : void
CreateVariable ( string name, object value, ScopedItemOptions options = ScopedItemOptions.None ) : void
GetCurrentlyRunningPipeline ( ) : System.Management.Automation.Runspaces.Pipeline
GetSessionStateProxy ( ) : System.Management.Automation.Runspaces.SessionStateProxy
InitializeDefaultSnapins ( ) : void
InitializeSession ( ) : void
LocalRunspace ( System.Management.Automation.Host.PSHost host, System.Management.Automation.Runspaces.RunspaceConfiguration configuration, InitialSessionState initialSessionState ) : System
RemoveRunningPipeline ( System.Management.Automation.Runspaces.Pipeline pipeline ) : void

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

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

public Close ( ) : void
Результат void

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

public CloseAsync ( ) : void
Результат void

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

public CreateNestedPipeline ( ) : System.Management.Automation.Runspaces.Pipeline
Результат System.Management.Automation.Runspaces.Pipeline

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

public CreateNestedPipeline ( string command, bool addToHistory ) : System.Management.Automation.Runspaces.Pipeline
command string
addToHistory bool
Результат System.Management.Automation.Runspaces.Pipeline

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

public CreatePipeline ( ) : System.Management.Automation.Runspaces.Pipeline
Результат System.Management.Automation.Runspaces.Pipeline

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

public CreatePipeline ( string command ) : System.Management.Automation.Runspaces.Pipeline
command string
Результат System.Management.Automation.Runspaces.Pipeline

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

public CreatePipeline ( string command, bool addToHistory ) : System.Management.Automation.Runspaces.Pipeline
command string
addToHistory bool
Результат System.Management.Automation.Runspaces.Pipeline

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

public GetVariable ( string name ) : object
name string
Результат object

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

public LocalRunspace ( System.Management.Automation.Host.PSHost host, InitialSessionState initialSessionState ) : System
host System.Management.Automation.Host.PSHost
initialSessionState System.Management.Automation.Runspaces.InitialSessionState
Результат System

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

public LocalRunspace ( System.Management.Automation.Host.PSHost host, System.Management.Automation.Runspaces.RunspaceConfiguration configuration ) : System
host System.Management.Automation.Host.PSHost
configuration System.Management.Automation.Runspaces.RunspaceConfiguration
Результат System

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

public Open ( ) : void
Результат void

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

public OpenAsync ( ) : void
Результат void

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

public SetVariable ( string name, object value ) : void
name string
value object
Результат void