#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Owin", "WebActivator" ); }
/// <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); }
/// <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); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Castle.Core", "Castle.Windsor", "Castle.Facilities.Synchronize" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Microsoft.Web.Mvc", "FluentValidation", "WebActivator" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "FluentNHibernate", "Iesi.Collections", "NHibernate" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "System", "mscorlib", "Microsoft" ); }
/// <inheritdoc/> public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "System", "mscorlib", "Microsoft" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Presentation", "vshost", "WindowsBase", "UIAutomation", "Castle.Core" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( #if (!NET461) "SOS.NETCore", #endif "System", "mscorlib", "Microsoft" ); }
/// <inheritdoc/> public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Autofac", "System", "mscorlib", "Microsoft", "SQLite", "StackExchange", "Newtonsoft", "Remotion", "SOS", "Serilog", "WindowsBase", "netstandard", "MongoDB", "Swashbuckle" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "FluentValidation" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "StructureMap" ); }
/// <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; }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "MongoDB" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "StackExchange" ); }
/// <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; }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "EntityFramework" ); }
/// <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; }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Newtonsoft.Json" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Ninject" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Microsoft.Azure.DocumentDB.Core" ); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "SimpleInjector" ); }
#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); }
#pragma warning disable 1591 // Xml Comments public void Specify(IAssemblyRuleBuilder builder) { builder.ExcludeAssembliesStartingWith( "Autofac" ); }