PowerShellValue<T> Class

Definition

Evaluate the Powershell expression and return the value of type T.

public sealed class PowerShellValue<T> : System.Activities.NativeActivity<T>
Type Parameters
T
Inheritance
PowerShellValue<T>

Constructors

PowerShellValue<T>()

Properties

Expression

The PowerShell expression, which will be evaluated and retuned a type of T value.

UseDefaultInput

Determines whether to connect the input stream for this activity.

Methods

ValidateExpressionConstraints(IEnumerable<String>, IEnumerable<String>, Boolean)

Check to see if the expression only uses elements of the restricted language as well as only using the allowed commands and variables.