Exemple #1
0
        /// <summary>
        /// Returns an array of custom attributes defined on the target.
        /// </summary>
        /// <param name="inherit">Whether to look up the hierarchy chain for inherited custom attributes.</param>
        /// <returns>An array of custom attributes.</returns>
        public IEnumerable <Attribute> GetCustomAttributes(bool inherit)

        {
            return(ExtensionsForICustomAttributeProvider.GetCustomAttributes(Site, (inherit)));
        }