remove constructor annotations

This commit is contained in:
onyx-and-iris 2022-12-17 17:47:42 +00:00
parent 408218ea32
commit deb3da15ea
6 changed files with 1 additions and 8 deletions

View File

@ -11,7 +11,6 @@ class Remote {
[Object]$recorder
[Object]$profiles
# Constructor
Remote ([String]$kind_id) {
$this.kind = GetKind($kind_id)
$this.Setup()

View File

@ -34,7 +34,6 @@ class Bus : IBus {
[Object]$mode
[Object]$eq
# Constructor
Bus ([int]$index, [Object]$remote) : base ($index, $remote) {
AddBoolMembers -PARAMS @('mono', 'mute')
AddStringMembers -PARAMS @('label')

View File

@ -1,7 +1,6 @@
. $PSScriptRoot\meta.ps1
class Special {
# Constructor
Special () {
AddActionMembers -PARAMS @('restart', 'shutdown', 'show')
}

View File

@ -1,7 +1,6 @@
class MacroButton {
[int32]$index
# Constructor
MacroButton ([int]$index) {
$this.index = $index
}

View File

@ -2,7 +2,7 @@
class Recorder {
[Object]$remote
# Constructor
Recorder ([Object]$remote) {
$this.remote = $remote

View File

@ -29,7 +29,6 @@ class IVban {
}
class Vban : IVban {
# Constructor
Vban ([int]$index, [string]$direction) : base ($index, $direction) {
}
@ -174,14 +173,12 @@ class Vban : IVban {
class VbanInstream : Vban {
# Constructor
VbanInstream ([int]$index, [string]$direction) : base ($index, $direction) {
}
}
class VbanOutstream : Vban {
# Constructor
VbanOutstream ([int]$index, [string]$direction) : base ($index, $direction) {
}
}