public virtual void ImportAttributes(AttributeCollection atrs) { foreach (var a in atrs.ToList()) ImportAttribute(a); }