mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-05 15:55:02 +00:00
wip: update XML comments
This commit is contained in:
@@ -8,18 +8,18 @@ using PepperDash.Core;
|
||||
|
||||
namespace PepperDash.Essentials.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// DeviceFeedbackExtensions class
|
||||
/// </summary>
|
||||
public static class DeviceFeedbackExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Attempts to get and return a feedback property from a device by name.
|
||||
/// If unsuccessful, returns null.
|
||||
/// </summary>
|
||||
/// <param name="device"></param>
|
||||
/// <param name="propertyName"></param>
|
||||
/// <returns></returns>
|
||||
/// <summary>
|
||||
/// GetFeedbackProperty method
|
||||
/// </summary>
|
||||
/// <param name="device">device to get feedback from</param>
|
||||
/// <param name="propertyName">name of the feedback property</param>
|
||||
/// <returns>Feedback property if found, otherwise null</returns>
|
||||
public static Feedback GetFeedbackProperty(this Device device, string propertyName)
|
||||
{
|
||||
var feedback = DeviceJsonApi.GetPropertyByName(device.Key, propertyName) as Feedback;
|
||||
|
||||
Reference in New Issue
Block a user