mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
26 lines
No EOL
594 B
C#
26 lines
No EOL
594 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
namespace PepperDash.Essentials.Core;
|
|
|
|
/// <summary>
|
|
/// Special container class for CrestronSecret provider
|
|
/// </summary>
|
|
public class CrestronSecret : ISecret
|
|
{
|
|
public ISecretProvider Provider { get; private set; }
|
|
public string Key { get; private set; }
|
|
|
|
public object Value { get; private set; }
|
|
|
|
public CrestronSecret(string key, string value, ISecretProvider provider)
|
|
{
|
|
Key = key;
|
|
Value = value;
|
|
Provider = provider;
|
|
}
|
|
|
|
} |