You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This directory and it's subdirectories contain Transpilers that transform parameter attributes.
2
+
3
+
Parameter Transpilers do not need to take any values from the pipeline.
4
+
They will be called by the Core PipeScript Transpiler ```PipeScript.ParameterAttribute```.
5
+
6
+
When Transpiling a Parameter, the Transpiler should return one of two things.
7
+
8
+
1. An empty ```[ScriptBlock]``` preceeded by attributes or help. This will replace the Transpiled attribute with a real one.
9
+
2. A ```[Collections.IDictionary]``` can be used to send arguments directly back to ```Update-PipeScript```.
10
+
11
+
Many parameter transpilers can also apply to a ```[Management.Automation.Language.VariableExpressionAst]```.
12
+
13
+
When this is the case it is common for the transpiler to add a ```[ValidateScript]``` attribute to the variable. This will constraint the value of that variable.
0 commit comments