Пример #1
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Owin",
                "WebActivator"
            );
        }
Пример #2
0
        /// <summary>
        /// Exclude all assemblies with possible exceptions
        /// </summary>
        /// <returns>
        /// Returns the <see cref="ExcludeAll">configuration object</see> for the rule
        /// </returns>
        public ExcludeAll ExcludeAll()
        {
            var excludeAll = new ExcludeAll();

            RuleBuilder = excludeAll;
            return(excludeAll);
        }
Пример #3
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Owin",
                "WebActivator"
                );
        }
Пример #4
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);
        }
Пример #5
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Castle.Core",
                "Castle.Windsor",
                "Castle.Facilities.Synchronize"
            );
        }
Пример #6
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Microsoft.Web.Mvc",
                "FluentValidation",
                "WebActivator"
            );
        }
Пример #7
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "FluentNHibernate",
                "Iesi.Collections",
                "NHibernate"
            );
        }
Пример #8
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "System",
                "mscorlib",
                "Microsoft"
            );
        }
Пример #9
0
 /// <inheritdoc/>
 public void Specify(IAssemblyRuleBuilder builder)
 {
     builder.ExcludeAssembliesStartingWith(
         "System",
         "mscorlib",
         "Microsoft"
         );
 }
Пример #10
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "FluentNHibernate",
                "Iesi.Collections",
                "NHibernate"
                );
        }
Пример #11
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Presentation",
                "vshost",
                "WindowsBase",
                "UIAutomation",
                "Castle.Core"
                );
        }
Пример #12
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Presentation",
                "vshost",
                "WindowsBase",
                "UIAutomation",
                "Castle.Core"
            );
        }
Пример #13
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
#if (!NET461)
                "SOS.NETCore",
#endif
                "System",
                "mscorlib",
                "Microsoft"
                );
        }
Пример #14
0
 /// <inheritdoc/>
 public void Specify(IAssemblyRuleBuilder builder)
 {
     builder.ExcludeAssembliesStartingWith(
         "Autofac",
         "System",
         "mscorlib",
         "Microsoft",
         "SQLite",
         "StackExchange",
         "Newtonsoft",
         "Remotion",
         "SOS",
         "Serilog",
         "WindowsBase",
         "netstandard",
         "MongoDB",
         "Swashbuckle"
         );
 }
Пример #15
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "FluentValidation"
            );
        }
Пример #16
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "StructureMap"
                );
        }
Пример #17
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "StructureMap"
            );
        }
Пример #18
0
 /// <summary>
 /// Initializes a new instance of <see cref="AssemblySpecifiers"/>
 /// </summary>
 /// <param name="contractToImplementorsMap"><see cref="IContractToImplementorsMap"/> for keeping track of the relationship between contracts and implementors</param>
 /// <param name="typeFinder"><see cref="ITypeFinder"/> to use for finding types</param>
 /// <param name="assemblyRuleBuilder"><see cref="IAssemblyRuleBuilder"/> used for building the rules for assemblies</param>
 public AssemblySpecifiers(IContractToImplementorsMap contractToImplementorsMap, ITypeFinder typeFinder, IAssemblyRuleBuilder assemblyRuleBuilder)
 {
     _typeFinder = typeFinder;
     _assemblyRuleBuilder = assemblyRuleBuilder;
     _contractToImplementorsMap = contractToImplementorsMap;
 }
Пример #19
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "FluentValidation"
                );
        }
Пример #20
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "MongoDB"
                );
        }
Пример #21
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "MongoDB"
            );
        }
Пример #22
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "StackExchange"
                );
        }
Пример #23
0
 /// <summary>
 /// Initializes a new instance of <see cref="AssembliesConfiguration"/>
 /// </summary>
 /// <param name="assemblyRuleBuilder"><see cref="IAssemblyRuleBuilder"/> that builds the rules</param>
 public AssembliesConfiguration(IAssemblyRuleBuilder assemblyRuleBuilder)
 {
     _assemblyRuleBuilder = assemblyRuleBuilder;
 }
Пример #24
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "EntityFramework"
            );
        }
Пример #25
0
 /// <summary>
 /// Initializes a new instance of <see cref="AssembliesConfiguration"/>
 /// </summary>
 /// <param name="assemblyRuleBuilder"><see cref="IAssemblyRuleBuilder"/> that builds the rules</param>
 public AssembliesConfiguration(IAssemblyRuleBuilder assemblyRuleBuilder)
 {
     _assemblyRuleBuilder = assemblyRuleBuilder;
 }
 /// <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;
 }
Пример #27
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Newtonsoft.Json"
            );
        }
Пример #28
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Ninject"
                );
        }
Пример #29
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Microsoft.Azure.DocumentDB.Core"
                );
        }
Пример #30
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "SimpleInjector"
                );
        }
Пример #31
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "EntityFramework"
                );
        }
Пример #32
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Ninject"
            );
        }
Пример #33
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "RabbitMQ"
                );
        }
 /// <summary>
 /// Excludes specified assemblies.
 /// </summary>
 /// <param name="assemblyBuilder"><see cref="IAssemblyRuleBuilder"/> to build upon.</param>
 /// <param name="names">Names that assemblies should not be starting with.</param>
 /// <returns>Chained <see cref="IAssemblyRuleBuilder"/>.</returns>
 public static IAssemblyRuleBuilder ExcludeAssembliesStartingWith(this IAssemblyRuleBuilder assemblyBuilder, params string[] names)
 {
     assemblyBuilder.Specification = assemblyBuilder.Specification.And(new ExceptAssembliesStartingWith(names));
     return(assemblyBuilder);
 }
Пример #35
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Autofac"
                );
        }
Пример #36
0
 /// <summary>
 /// Initializes a new instance of <see cref="AssemblySpecifiers"/>
 /// </summary>
 /// <param name="contractToImplementorsMap"><see cref="IContractToImplementorsMap"/> for keeping track of the relationship between contracts and implementors</param>
 /// <param name="typeFinder"><see cref="ITypeFinder"/> to use for finding types</param>
 /// <param name="assemblyRuleBuilder"><see cref="IAssemblyRuleBuilder"/> used for building the rules for assemblies</param>
 public AssemblySpecifiers(IContractToImplementorsMap contractToImplementorsMap, ITypeFinder typeFinder, IAssemblyRuleBuilder assemblyRuleBuilder)
 {
     _typeFinder                = typeFinder;
     _assemblyRuleBuilder       = assemblyRuleBuilder;
     _contractToImplementorsMap = contractToImplementorsMap;
 }
Пример #37
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Autofac"
            );
        }
Пример #38
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "Newtonsoft.Json"
                );
        }
Пример #39
0
#pragma warning disable 1591 // Xml Comments
        public void Specify(IAssemblyRuleBuilder builder)
        {
            builder.ExcludeAssembliesStartingWith(
                "SimpleInjector"
            );
        }