updates XML comments for bool & string feedbacks

This commit is contained in:
Andrew Welker
2020-03-25 14:43:06 -06:00
parent cbe96dbed9
commit 534110cfbf
2 changed files with 19 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ namespace PepperDash.Essentials.Core
/// Creates the feedback with the Func as described.
/// </summary>
/// <remarks>
/// While the sig value will be updated with the current value stored when it is linked to a EISC Bridge,
/// While the linked sig value will be updated with the current value stored when it is linked to a EISC Bridge,
/// it will NOT reflect an actual value from a device until <seealso cref="FireUpdate"/> has been called
/// </remarks>
/// <param name="valueFunc">Delegate to invoke when this feedback needs to be updated</param>
@@ -51,7 +51,7 @@ namespace PepperDash.Essentials.Core
/// Creates the feedback with the Func as described.
/// </summary>
/// <remarks>
/// While the sig value will be updated with the current value stored when it is linked to a EISC Bridge,
/// While the linked sig value will be updated with the current value stored when it is linked to a EISC Bridge,
/// it will NOT reflect an actual value from a device until <seealso cref="FireUpdate"/> has been called
/// </remarks>
/// <param name="key">Key to find this Feedback</param>

View File

@@ -24,11 +24,28 @@ namespace PepperDash.Essentials.Core
public Func<string> ValueFunc { get; private set; }
List<StringInputSig> LinkedInputSigs = new List<StringInputSig>();
/// <summary>
/// Creates the feedback with the Func as described.
/// </summary>
/// <remarks>
/// While the linked sig value will be updated with the current value stored when it is linked to a EISC Bridge,
/// it will NOT reflect an actual value from a device until <seealso cref="FireUpdate"/> has been called
/// </remarks>
/// <param name="valueFunc">Delegate to invoke when this feedback needs to be updated</param>
public StringFeedback(Func<string> valueFunc)
: this(null, valueFunc)
{
}
/// <summary>
/// Creates the feedback with the Func as described.
/// </summary>
/// <remarks>
/// While the linked sig value will be updated with the current value stored when it is linked to a EISC Bridge,
/// it will NOT reflect an actual value from a device until <seealso cref="FireUpdate"/> has been called
/// </remarks>
/// <param name="key">Key to find this Feedback</param>
/// <param name="valueFunc">Delegate to invoke when this feedback needs to be updated</param>
public StringFeedback(string key, Func<string> valueFunc)
: base(key)
{