Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
17
Task/Classes/PowerShell/classes-2.ps1
Normal file
17
Task/Classes/PowerShell/classes-2.ps1
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
class MyClass
|
||||
{
|
||||
[type]$MyProperty1
|
||||
[type]$MyProperty2 = "Default value"
|
||||
|
||||
# Constructor
|
||||
MyClass( [type]$MyParameter1, [type]$MyParameter2 )
|
||||
{
|
||||
# Code
|
||||
}
|
||||
|
||||
# Method ( [returntype] defaults to [void] )
|
||||
[returntype] MyMethod( [type]$MyParameter3, [type]$MyParameter4 )
|
||||
{
|
||||
# Code
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue