mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 02:28:19 +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;
|
||||
|
||||
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines the contract for IMobileControlMessenger
|
||||
/// Obsolete: messengers are subscription based by default; use IMobileControlMessenger instead.
|
||||
/// </summary>
|
||||
[Obsolete("This interface is obsolete and will be removed in a future version. All messengers are now subscription based.")]
|
||||
public interface IMobileControlMessengerWithSubscriptions : IMobileControlMessenger
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
|
|
@ -40,9 +41,10 @@ namespace PepperDash.Essentials
|
|||
public bool EnableApiServer { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Enable subscriptions for Messengers
|
||||
/// Enables subscriptions for messengers
|
||||
/// </summary>
|
||||
[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; }
|
||||
}
|
||||
|
||||
|
|
@ -288,4 +290,4 @@ namespace PepperDash.Essentials
|
|||
/// </summary>
|
||||
NEO
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue