Beispiel #1
0
        /// <summary>
        /// Include all assemblies with possible exceptions
        /// </summary>
        /// <returns>
        /// Returns the <see cref="IncludeAll">configuration object</see> for the rule
        /// </returns>
        public IncludeAll IncludeAll()
        {
            var includeAll = new IncludeAll();

            RuleBuilder = includeAll;
            return(includeAll);
        }
Beispiel #2
0
        public IDictionary <string, IReadOnlyCollection <string> > PrepareHeaders()
        {
            var headers = new Dictionary <string, IReadOnlyCollection <string> >();

            _includes.ForEach(include => headers.Add($"{IncludePrefix}{include.Key}", include.Value));
            headers.Add(IncludeAllPrefix, new[] { IncludeAll.ToString().ToLower() });

            return(headers);
        }
 /// <summary>
 /// Include all assemblies with possible exceptions
 /// </summary>
 /// <returns>
 /// Returns the <see cref="IncludeAll">configuration object</see> for the rule
 /// </returns>
 public IncludeAll IncludeAll()
 {
     var includeAll = new IncludeAll();
     RuleBuilder = includeAll;
     return includeAll;
 }