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]$recorder
[Object]$profiles [Object]$profiles
# Constructor
Remote ([String]$kind_id) { Remote ([String]$kind_id) {
$this.kind = GetKind($kind_id) $this.kind = GetKind($kind_id)
$this.Setup() $this.Setup()

View File

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

View File

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

View File

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

View File

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

View File

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