public static void OutputAttributes (XmlDocument doc, XmlNode parent, CustomAttributeCollection attributes) { AttributeData ad = new AttributeData (doc, parent, attributes); ad.DoOutput (); }
public static void OutputAttributes (XmlDocument doc, XmlNode parent, ICustomAttributeProvider provider) { if (!provider.HasCustomAttributes) return; AttributeData ad = new AttributeData (doc, parent, provider.CustomAttributes); ad.DoOutput (); }