public VisioCSETTypeInfo(DIAGRAM_TYPES type) { this.CSETVisioDisplayName = (type.Specific_Type != null) ? type.Specific_Type.Trim() : null; this.CSETXMLComponentType = (type.Diagram_Type_XML != null) ? type.Diagram_Type_XML.Trim() : null; this.DiagramShapeType = StringToEnum.ToEnum <DiagramTypeEnum>(type.Object_Type); }