File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
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
+ ```
You can’t perform that action at this time.
0 commit comments