mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
refactor: Change CustomActivate and Initialize methods to protected access in multiple classes for better inheritance control
This commit is contained in:
parent
e818c9ca03
commit
daf9b4bda0
22 changed files with 99 additions and 82 deletions
|
|
@ -69,7 +69,7 @@ public class MicrophonePrivacyController : EssentialsDevice
|
|||
Inputs = new List<IDigitalInput>();
|
||||
}
|
||||
|
||||
public override bool CustomActivate()
|
||||
protected override bool CustomActivate()
|
||||
{
|
||||
foreach (var i in Config.Inputs)
|
||||
{
|
||||
|
|
@ -105,7 +105,7 @@ public class MicrophonePrivacyController : EssentialsDevice
|
|||
|
||||
#region Overrides of Device
|
||||
|
||||
public override void Initialize()
|
||||
protected override void Initialize()
|
||||
{
|
||||
CheckPrivacyMode();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue