mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 04:15:00 +00:00
30 lines
436 B
C#
30 lines
436 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 : StringFeedback
|
|
{
|
|
private string _Value;
|
|
public string Value
|
|
{
|
|
get
|
|
{
|
|
return _Value;
|
|
}
|
|
set
|
|
{
|
|
_Value = value;
|
|
this.FireUpdate();
|
|
}
|
|
}
|
|
public StringWithFeedback()
|
|
: base(() => Value)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |