public override void AssignAttribute(string attrName, string attrValue) { switch (attrName) { default: if (!AssignCommonAttribute(attrName, attrValue) && !MarkerAssigner.AssignMarker(_spec, attrName, attrValue)) { throw new NotSupportedException(); } break; case "points": _spec.Points = ParsePointList(attrValue); break; } }
public override void AssignAttribute(string attrName, string attrValue) { switch (attrName) { default: if (!AssignCommonAttribute(attrName, attrValue) && !MarkerAssigner.AssignMarker(_spec, attrName, attrValue)) { #if DEBUG System.Diagnostics.Debug.WriteLine("NOT IMPL Attr:" + attrName + "=" + attrValue); #endif //throw new NotSupportedException(); } break; case "d": _spec.D = attrValue; break; } }