Skip to content

Instantly share code, notes, and snippets.

@AlonAm
Last active April 25, 2019 19:31
Show Gist options
  • Save AlonAm/c06a60e1f602511ac5f2b43c28582065 to your computer and use it in GitHub Desktop.
Save AlonAm/c06a60e1f602511ac5f2b43c28582065 to your computer and use it in GitHub Desktop.
using AnyStatus.API;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
[DisplayName("My Widget")]
[DisplayColumn("My Category")]
[Description("My widget description.")]
public class MyWidget : Widget, IHealthCheck, ISchedulable, IStartable, IStoppable
{
[Required]
[Category("My property category")]
[Description("My property description.")]
public string MyProperty { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment