Merge pull request #107 from PepperDash/feature/device-initialize-method

Add Device Initialize Method
This commit is contained in:
Neil Dorin 2021-07-23 14:58:54 -06:00 committed by GitHub
commit a3da45c8b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,13 @@ namespace PepperDash.Core
/// <returns></returns>
public virtual bool Deactivate() { return true; }
/// <summary>
/// Call this method to start communications with a device. Overriding classes do not need to call base.Initialize()
/// </summary>
public virtual void Initialize()
{
}
/// <summary>
/// Helper method to check object for bool value false and fire an Action method
/// </summary>