void AddReference(ref string text, string name, ModelBone value) { if (value != null) text += ", " + name + " '" + value.Name + "'"; }