/// <summary>
        /// Adds a descriptor to the specified <paramref name="descriptorCollection" /> that excludes the properties of
        /// the type specified and its derived types from validaton.
        /// </summary>
        /// <param name="descriptorCollection">A list of <see cref="ExcludeValidationDescriptor"/> which are used to
        /// get a collection of exclude filters to be applied for filtering model properties during validation.
        /// </param>
        /// <param name="typeFullName">Full name of the type which should be excluded from validation.</param>
        public static void Add(this IList <ExcludeValidationDescriptor> descriptorCollection, string typeFullName)
        {
            var filter = new DefaultTypeNameBasedExcludeFilter(typeFullName);

            descriptorCollection.Add(new ExcludeValidationDescriptor(filter));
        }
        /// <summary>
        /// Adds a descriptor to the specified <paramref name="excludeTypeValidationFilters" /> that excludes the properties of
        /// the type specified and its derived types from validaton.
        /// </summary>
        /// <param name="excludeTypeValidationFilters">A list of <see cref="IExcludeTypeValidationFilter"/> which are used to
        /// get a collection of exclude filters to be applied for filtering model properties during validation.
        /// </param>
        /// <param name="typeFullName">Full name of the type which should be excluded from validation.</param>
        public static void Add(this IList <IExcludeTypeValidationFilter> excludeTypeValidationFilters, string typeFullName)
        {
            var filter = new DefaultTypeNameBasedExcludeFilter(typeFullName);

            excludeTypeValidationFilters.Add(filter);
        }