-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
EZOut.types.ps1xml
60 lines (54 loc) · 1.56 KB
/
EZOut.types.ps1xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!-- Generated with EZOut 2.0.6: Install-Module EZOut or https://github.com/StartAutomating/EZOut -->
<Types>
<Type>
<Name>EZOut.Invisible</Name>
<Members>
</Members>
</Type>
<Type>
<Name>Hello.EZOut</Name>
<Members>
<ScriptMethod>
<Name>SayHello</Name>
<Script>
($this | Format-Custom | Out-String).Trim()
</Script>
</ScriptMethod>
<ScriptProperty>
<Name>Message</Name>
<GetScriptBlock>
if (-not $this.'.Message') {
Add-Member -InputObject $this NoteProperty '.Message' 'Hello World' -Force
}
$this.'.Message'
</GetScriptBlock>
<SetScriptBlock>
$this | Add-Member NoteProperty '.Message' "$args" -Force
</SetScriptBlock>
</ScriptProperty>
</Members>
</Type>
<Type>
<Name>Hi.EZOut</Name>
<Members>
<ScriptMethod>
<Name>SayHello</Name>
<Script>
($this | Format-Custom | Out-String).Trim()
</Script>
</ScriptMethod>
<ScriptProperty>
<Name>Message</Name>
<GetScriptBlock>
if (-not $this.'.Message') {
Add-Member -InputObject $this NoteProperty '.Message' 'Hello World' -Force
}
$this.'.Message'
</GetScriptBlock>
<SetScriptBlock>
$this | Add-Member NoteProperty '.Message' "$args" -Force
</SetScriptBlock>
</ScriptProperty>
</Members>
</Type>
</Types>