using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; namespace PepperDash.Essentials.Core { /// /// Special container class for CrestronSecret provider /// public class CrestronSecret : ISecret { /// /// Gets the Provider /// public ISecretProvider Provider { get; private set; } /// /// Gets the Key /// public string Key { get; private set; } /// /// Gets the Value /// public object Value { get; private set; } /// /// Constructor for CrestronSecret /// /// key for the secret /// value of the secret /// provider of the secret public CrestronSecret(string key, string value, ISecretProvider provider) { Key = key; Value = value; Provider = provider; } } }