feature: add valueswithfeedbacks #933

This commit is contained in:
Jason Alborough
2022-04-20 09:35:05 -04:00
parent 8a3c7ce6d4
commit 7e9ce898aa
4 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
namespace PepperDash.Essentials.Core.Feedbacks
{
public class StringWithFeedback : StringFeedback
{
private string _Value;
public string Value
{
get
{
return _Value;
}
set
{
_Value = value;
this.FireUpdate();
}
}
public StringWithFeedback()
: base(() => Value)
{
}
}
}