public void WriteClassAttributes(ClassVersion classVersion, string friendlyName)
 {
     WriteStartAttribute();
     WriteClassVersion($"{classVersion.Major}.{classVersion.Minor}.{classVersion.Build}.{classVersion.Revision}");
     WriteEndAttribute();
     WriteFriendlyName(friendlyName);
     WriteFullEndAttribute();
 }
 public static string ToJson(ClassVersion o) => JsonConvert.SerializeObject(o, Converter.Settings);
 public void WriteStartClass(string className, string classFriendlyName, ClassVersion classVersion)
 {
     WriteClassAttributes(classVersion, classFriendlyName ?? className);
     WriteClassName(className);
     StartBlock();
 }
 public DscResource()
 {
     ClassVersion = new ClassVersion();
     Properties   = new Model.DscResourcePropertyCollection();
 }