mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-20 07:56:50 +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
|
|
@ -1283,7 +1283,7 @@ namespace PepperDash.Essentials
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Initialize()
|
||||
protected override void Initialize()
|
||||
{
|
||||
if (!Config.EnableMessengerSubscriptions)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ namespace PepperDash.Essentials.Room.MobileControl
|
|||
/// <summary>
|
||||
/// CustomActivate method
|
||||
/// </summary>
|
||||
public override bool CustomActivate()
|
||||
protected override bool CustomActivate()
|
||||
{
|
||||
this.LogDebug("Final activation. Setting up actions and feedbacks");
|
||||
//SetupFunctions();
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ namespace PepperDash.Essentials.Touchpanel
|
|||
/// <summary>
|
||||
/// CustomActivate method
|
||||
/// </summary>
|
||||
public override bool CustomActivate()
|
||||
protected override bool CustomActivate()
|
||||
{
|
||||
var appMessenger = new ITswAppControlMessenger($"appControlMessenger-{Key}", $"/device/{Key}", this);
|
||||
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ namespace PepperDash.Essentials.WebSocketServer
|
|||
/// Initialize method
|
||||
/// </summary>
|
||||
/// <inheritdoc />
|
||||
public override void Initialize()
|
||||
protected override void Initialize()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -276,7 +276,7 @@ namespace PepperDash.Essentials.WebSocketServer
|
|||
{
|
||||
ClientCertificateRequired = false,
|
||||
CheckCertificateRevocation = false,
|
||||
EnabledSslProtocols = SslProtocols.Tls12 | SslProtocols.Tls11
|
||||
EnabledSslProtocols = SslProtocols.Tls12 | SslProtocols.Tls13
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue