using System; using System.Collections.Generic; namespace DPumpHydr.WinFrmUI.WenSkin.Json.Serialization { /// /// Provides methods to get attributes. /// public interface IAttributeProvider { /// /// Returns a collection of all of the attributes, or an empty collection if there are no attributes. /// /// When true, look up the hierarchy chain for the inherited custom attribute. /// A collection of s, or an empty collection. IList GetAttributes(bool inherit); /// /// Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. /// /// The type of the attributes. /// When true, look up the hierarchy chain for the inherited custom attribute. /// A collection of s, or an empty collection. IList GetAttributes(Type attributeType, bool inherit); } }