mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-20 07:56:50 +00:00
chore: move all files to file-scoped namespace
This commit is contained in:
parent
aaa5b0532b
commit
3ece4f0b7b
522 changed files with 39628 additions and 45678 deletions
|
|
@ -2,32 +2,33 @@
|
|||
using Newtonsoft.Json.Linq;
|
||||
using PepperDash.Essentials.Core.DeviceTypeInterfaces;
|
||||
|
||||
namespace PepperDash.Essentials
|
||||
namespace PepperDash.Essentials;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Represents a MobileControlAction
|
||||
/// </summary>
|
||||
public class MobileControlAction : IMobileControlAction
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a MobileControlAction
|
||||
/// Gets the Messenger
|
||||
/// </summary>
|
||||
public class MobileControlAction : IMobileControlAction
|
||||
public IMobileControlMessenger Messenger { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Action to execute when this path is matched
|
||||
/// </summary>
|
||||
public Action<string, string, JToken> Action { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initialize an instance of the <see cref="MobileControlAction"/> class
|
||||
/// </summary>
|
||||
/// <param name="messenger">Messenger associated with this action</param>
|
||||
/// <param name="handler">Action to take when this path is matched</param>
|
||||
public MobileControlAction(IMobileControlMessenger messenger, Action<string, string, JToken> handler)
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Messenger
|
||||
/// </summary>
|
||||
public IMobileControlMessenger Messenger { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Action to execute when this path is matched
|
||||
/// </summary>
|
||||
public Action<string, string, JToken> Action { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initialize an instance of the <see cref="MobileControlAction"/> class
|
||||
/// </summary>
|
||||
/// <param name="messenger">Messenger associated with this action</param>
|
||||
/// <param name="handler">Action to take when this path is matched</param>
|
||||
public MobileControlAction(IMobileControlMessenger messenger, Action<string, string, JToken> handler)
|
||||
{
|
||||
Messenger = messenger;
|
||||
Action = handler;
|
||||
}
|
||||
Messenger = messenger;
|
||||
Action = handler;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue