DSCResources/Grani_TopShelf/Grani_TopShelf.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("cTopShelf")]
class Grani_TopShelf : OMI_BaseResource
{
    [Key, Description("TopShelf Service Path.")] String Path;
    [Required, Description("Service Name | Display Name which installed by TopShelf. This must be same as you define in TopShelf.")] String ServiceName;
    [Required, Description("Relates to TopShelf Verbs. Ensure means install, uninstall means unistall. Only support install/uninstall as we only need these with DSC. : http://docs.topshelf-project.com/en/latest/overview/commandline.html"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
};