17 using erminas.SmartAPI.Utils;
19 namespace erminas.SmartAPI.CMS.Project.Workflows
27 internal class Note : RedDotProjectObject, INote
29 public readonly IWorkflow Workflow;
31 internal Note(IWorkflow workflow, XmlElement xmlElement) : base(workflow.Project, xmlElement)
37 public NoteType Type {
get;
private set; }
38 public string Value {
get;
private set; }
40 private void LoadXml()
42 Value = _xmlElement.GetAttributeValue(
"value");
43 Type = (
NoteType) _xmlElement.GetIntAttributeValue(
"type").GetValueOrDefault();