Skip to content

Commit b74d29b

Browse files
StartAutomatingStartAutomating
StartAutomating
authored and
StartAutomating
committed
feat: Namespaced Objects ( Fixes #797 )
1 parent 6c64237 commit b74d29b

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

docs/NamespacedObject.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
NamespacedObject
2+
----------------
3+
4+
### Synopsis
5+
Namespaced functions
6+
7+
---
8+
9+
### Description
10+
11+
Allows the declaration of a object or singleton in a namespace.
12+
13+
Namespaces are used to logically group functionality and imply standardized behavior.
14+
15+
---
16+
17+
### Examples
18+
> EXAMPLE 1
19+
20+
```PowerShell
21+
Invoke-PipeScript {
22+
My Object Precious { $IsARing = $true; $BindsThemAll = $true }
23+
My.Precious
24+
}
25+
```
26+
27+
---
28+
29+
### Parameters
30+
#### **CommandAst**
31+
The CommandAST that will be transformed.
32+
33+
|Type |Required|Position|PipelineInput |
34+
|--------------|--------|--------|--------------|
35+
|`[CommandAst]`|true |1 |true (ByValue)|
36+
37+
---
38+
39+
### Syntax
40+
```PowerShell
41+
NamespacedObject [-CommandAst] <CommandAst> [<CommonParameters>]
42+
```

0 commit comments

Comments
 (0)