Files
Essentials/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/StringWithFeedback.cs
2022-04-29 17:34:20 -04:00

31 lines
485 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
namespace PepperDash.Essentials.Core.Feedbacks
{
public class StringWithFeedback
{
private string _Value;
public StringFeedback Feedback;
public string Value
{
get
{
return _Value;
}
set
{
_Value = value;
Feedback.FireUpdate();
}
}
public StringWithFeedback()
{
Feedback = new StringFeedback(() => Value);
}
}
}