mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
Merge pull request #1436 from PepperDash/claude/deprecate-imobilecontrolmessengerwithsubscriptions
This commit is contained in:
commit
4f1eb979d3
2 changed files with 8 additions and 4 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
|
using System;
|
||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Defines the contract for IMobileControlMessenger
|
/// Obsolete: messengers are subscription based by default; use IMobileControlMessenger instead.
|
||||||
/// </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;
|
||||||
|
|
||||||
|
|
@ -40,9 +41,10 @@ namespace PepperDash.Essentials
|
||||||
public bool EnableApiServer { get; set; } = true;
|
public bool EnableApiServer { get; set; } = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enable subscriptions for Messengers
|
/// Enables 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