/// <summary>
        /// 创建策略方案提供者
        /// </summary>
        /// <param name="options"></param>
        /// <param name="schemes"></param>
        protected FilterPolicyProvider(FilterPolicyOptions options, IDictionary <string, FilterPolicyBuilder> schemes)
        {
            _options = options;

            _schemes         = schemes ?? throw new ArgumentNullException(nameof(schemes));
            _requestHandlers = new List <FilterPolicyBuilder>();

            foreach (var builder in _options.Schemes)
            {
                AddScheme(builder);
            }
        }
 /// <summary>
 /// 创建策略方案提供者
 /// </summary>
 /// <param name="options"></param>
 public FilterPolicyProvider(FilterPolicyOptions options)
     : this(options, new Dictionary <string, FilterPolicyBuilder>(StringComparer.OrdinalIgnoreCase))
 {
 }