C# Class PoshWpf.Utility.ScriptBlockInvoker

显示文件 Open project: Jaykul/PoshConsole Class Usage Examples

Private Properties

Property Type Description
GetScriptVariableValue object
Invoke ICollection
Invoke ICollection
Invoke ICollection
Invoke ICollection
SetScriptVariable void
SetScriptVariableValue void

Private Methods

Method Description
GetScriptVariableValue ( string name, object defaultValue ) : object

Get the value of a variable from the module scope (after script blocks called through ScriptBlockInvoker)

Invoke ( System.Management.Automation.ScriptBlock sb ) : ICollection

Invoke a ScriptBlock, binding it to the module, if possible.

Invoke ( System.Management.Automation.ScriptBlock sb, PSVariable variables ) : ICollection

Invoke a ScriptBlock, binding it to the module, if possible.

Invoke ( String script ) : ICollection

Invoke a ScriptBlock, binding it to the module, if possible.

Invoke ( string script, PSVariable variables ) : ICollection

Invoke a ScriptBlock, binding it to the module, if possible.

SetScriptVariable ( PSVariable variable ) : void

Set a variable in the module scope (for script blocks called through ScriptBlockInvoker)

SetScriptVariableValue ( string name, object value ) : void

Set a variable in the module scope (for script blocks called through ScriptBlockInvoker)