C# Class Pash.Implementation.LocalRunspace

Inheritance: System.Management.Automation.Runspaces.Runspace
Mostrar archivo Open project: Pash-Project/Pash Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

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

public Close ( ) : void
return void

CloseAsync() public method

public CloseAsync ( ) : void
return void

CreateNestedPipeline() public method

public CreateNestedPipeline ( ) : System.Management.Automation.Runspaces.Pipeline
return System.Management.Automation.Runspaces.Pipeline

CreateNestedPipeline() public method

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

CreatePipeline() public method

public CreatePipeline ( ) : System.Management.Automation.Runspaces.Pipeline
return System.Management.Automation.Runspaces.Pipeline

CreatePipeline() public method

public CreatePipeline ( string command ) : System.Management.Automation.Runspaces.Pipeline
command string
return System.Management.Automation.Runspaces.Pipeline

CreatePipeline() public method

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

GetVariable() public method

public GetVariable ( string name ) : object
name string
return object

LocalRunspace() public method

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

LocalRunspace() public method

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

Open() public method

public Open ( ) : void
return void

OpenAsync() public method

public OpenAsync ( ) : void
return void

SetVariable() public method

public SetVariable ( string name, object value ) : void
name string
value object
return void