mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
Mark IMobileControlMessengerWithSubscriptions and EnableMessengerSubscriptions as obsolete
All messengers are now subscription based in v3.x, making these constructs no longer necessary. Closes #1435 Agent-Logs-Url: https://github.com/PepperDash/Essentials/sessions/bda64c9c-5343-412b-801f-5e60816bc38d Co-authored-by: ndorin <18535240+ndorin@users.noreply.github.com>
This commit is contained in:
parent
3286d27898
commit
af5611e403
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
using System;
|
||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
|
|
@ -5,6 +6,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Defines the contract for IMobileControlMessenger
|
/// Defines the contract for IMobileControlMessenger
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("This interface is obsolete and will be removed in a future version. All messengers are now subscription based.")]
|
||||||
public interface IMobileControlMessengerWithSubscriptions : IMobileControlMessenger
|
public interface IMobileControlMessengerWithSubscriptions : IMobileControlMessenger
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Converters;
|
using Newtonsoft.Json.Converters;
|
||||||
|
|
||||||
|
|
@ -43,6 +44,7 @@ namespace PepperDash.Essentials
|
||||||
/// Enable subscriptions for Messengers
|
/// Enable subscriptions for Messengers
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("enableMessengerSubscriptions")]
|
[JsonProperty("enableMessengerSubscriptions")]
|
||||||
|
[Obsolete("This property is obsolete and will be removed in a future version. All messengers are now subscription based.")]
|
||||||
public bool EnableMessengerSubscriptions { get; set; }
|
public bool EnableMessengerSubscriptions { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue