public override string ToString() { string value = string.Empty; switch (InternalParameter.StorageType) { case Autodesk.Revit.DB.StorageType.String: value = InternalParameter.AsString(); break; default: var ops = new FormatOptions() { }; value = InternalParameter.AsValueString(ops); break; } return(string.Format("{0} : {1}", Name, value)); }
public override string ToString() { return(string.Format("{0} : {1}", Name, InternalParameter.AsValueString(new FormatOptions() { }))); }