DynamicKeyword Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the schema/behaviour for a dynamic keyword. a constrained.
public ref class DynamicKeyword
public class DynamicKeyword
type DynamicKeyword = class
Public Class DynamicKeyword
- Inheritance
-
DynamicKeyword
Constructors
DynamicKeyword() |
Properties
BodyMode |
Set to true if we should be looking for a scriptblock instead of a hashtable. |
DirectCall |
If true, then don't use the marshalled call. Just rewrite the node as a simple direct function call. If NameMode is other than NoName, then the name of the instance will be passed as the parameter -InstanceName. |
HasReservedProperties |
Contains the list of properties that are reserved for future use. |
ImplementingModule |
The name of the module that implements the function corresponding to this keyword. |
ImplementingModuleVersion |
The version of the module that implements the function corresponding to this keyword. |
IsReservedKeyword |
Indicate that the keyword is reserved for future use by powershell. |
Keyword |
The keyword string If an alias qualifier exist, use alias. |
MetaStatement |
Indicate that the nothing should be added to the AST for this dynamic keyword. |
NameMode |
This allows you to specify if the keyword takes a name argument and if so, what form that takes. |
Parameters |
A list of the parameters allowed for this constructor. |
PostParse |
A custom function that gets executed at parsing time after parsing dynamickeyword block. |
PreParse |
A custom function that gets executed at parsing time before parsing dynamickeyword block The delegate has one parameter: DynamicKeyword. |
Properties |
A list of the properties allowed for this constructor. |
ResourceName |
The keyword resource name string. |
SemanticCheck |
A custom function that checks semantic for the given DynamicKeywordStatementAst |
Methods
AddKeyword(DynamicKeyword) | |
ContainsKeyword(String) | |
Copy() |
Duplicates the DynamicKeyword. |
GetKeyword() |
Returns a copied list of all of the existing dynamic keyword definitions. |
GetKeyword(String) | |
Pop() |
Pop up previous dynamicKeywords cache. |
Push() |
Push current dynamicKeywords cache into stack. |
RemoveKeyword(String) |
Remove a single entry from the dynamic keyword collection and clean up any associated data. |
Reset() |
Reset the keyword table to a new empty collection. |