public bool Write(GH_IWriter writer) { writer.SetString("tName", Name); writer.SetString("tDescription", Description); writer.SetString("tOwner", Owner); writer.SetString("tLink", Link); writer.SetBoolean("tHasDate", HasDate); writer.SetDrawingColor("tColor", Color); if (HasDate) { writer.SetDate("tDate", Date); } writer.SetInt32("tStatus", (int)Status); writer.SetEnumerable("tTags", _tags, WriteString); return(true); }