Skip to content

Commit 53fe827

Browse files
StartAutomatingStartAutomating
authored andcommitted
Adding XAML Template Transpiler (Fixes #414)
1 parent 0ece1a6 commit 53fe827

1 file changed

Lines changed: 100 additions & 0 deletions

File tree

docs/XAML.Template.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
XAML.Template
2+
-------------
3+
4+
5+
6+
7+
### Synopsis
8+
XAML Template Transpiler.
9+
10+
11+
12+
---
13+
14+
15+
### Description
16+
17+
Allows PipeScript to generate XAML.
18+
19+
Multiline comments blocks like this ```<!--{}-->``` will be treated as blocks of PipeScript.
20+
21+
Executed output will be converted to XAML
22+
23+
24+
25+
---
26+
27+
28+
### Parameters
29+
#### **CommandInfo**
30+
31+
The command information. This will include the path to the file.
32+
33+
34+
35+
36+
37+
38+
|Type |Required|Position|PipelineInput |
39+
|---------------|--------|--------|--------------|
40+
|`[CommandInfo]`|true |named |true (ByValue)|
41+
42+
43+
44+
#### **AsTemplateObject**
45+
46+
If set, will return the information required to dynamically apply this template to any text.
47+
48+
49+
50+
51+
52+
53+
|Type |Required|Position|PipelineInput|
54+
|----------|--------|--------|-------------|
55+
|`[Switch]`|true |named |false |
56+
57+
58+
59+
#### **Parameter**
60+
61+
A dictionary of parameters.
62+
63+
64+
65+
66+
67+
68+
|Type |Required|Position|PipelineInput|
69+
|---------------|--------|--------|-------------|
70+
|`[IDictionary]`|false |named |false |
71+
72+
73+
74+
#### **ArgumentList**
75+
76+
A list of arguments.
77+
78+
79+
80+
81+
82+
83+
|Type |Required|Position|PipelineInput|
84+
|--------------|--------|--------|-------------|
85+
|`[PSObject[]]`|false |named |false |
86+
87+
88+
89+
90+
91+
---
92+
93+
94+
### Syntax
95+
```PowerShell
96+
XAML.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
97+
```
98+
```PowerShell
99+
XAML.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
100+
```

0 commit comments

Comments
 (0)