C# Class Pash.Implementation.LocalRunspace

Inheritance: System.Management.Automation.Runspaces.Runspace
Afficher le fichier Open project: Pash-Project/Pash Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

CloseAsync() public méthode

public CloseAsync ( ) : void
Résultat void

CreateNestedPipeline() public méthode

public CreateNestedPipeline ( ) : System.Management.Automation.Runspaces.Pipeline
Résultat System.Management.Automation.Runspaces.Pipeline

CreateNestedPipeline() public méthode

public CreateNestedPipeline ( string command, bool addToHistory ) : System.Management.Automation.Runspaces.Pipeline
command string
addToHistory bool
Résultat System.Management.Automation.Runspaces.Pipeline

CreatePipeline() public méthode

public CreatePipeline ( ) : System.Management.Automation.Runspaces.Pipeline
Résultat System.Management.Automation.Runspaces.Pipeline

CreatePipeline() public méthode

public CreatePipeline ( string command ) : System.Management.Automation.Runspaces.Pipeline
command string
Résultat System.Management.Automation.Runspaces.Pipeline

CreatePipeline() public méthode

public CreatePipeline ( string command, bool addToHistory ) : System.Management.Automation.Runspaces.Pipeline
command string
addToHistory bool
Résultat System.Management.Automation.Runspaces.Pipeline

GetVariable() public méthode

public GetVariable ( string name ) : object
name string
Résultat object

LocalRunspace() public méthode

public LocalRunspace ( System.Management.Automation.Host.PSHost host, InitialSessionState initialSessionState ) : System
host System.Management.Automation.Host.PSHost
initialSessionState System.Management.Automation.Runspaces.InitialSessionState
Résultat System

LocalRunspace() public méthode

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
Résultat System

Open() public méthode

public Open ( ) : void
Résultat void

OpenAsync() public méthode

public OpenAsync ( ) : void
Résultat void

SetVariable() public méthode

public SetVariable ( string name, object value ) : void
name string
value object
Résultat void