Exemplo n.º 1
0
 public static ITypeConfigurator FromAssemblyWithType <T>(this IAssemblyTypeConfigurator configurator)
 {
     return(configurator.FromAssemblyWithType(typeof(T)));
 }
Exemplo n.º 2
0
 public static ITypeConfigurator FromAssemblyWithType(this IAssemblyTypeConfigurator configurator, Type type)
 {
     return(configurator.Assemblies(new[] { type.Assembly }));
 }
Exemplo n.º 3
0
 public static ITypeConfigurator FromExecutingAssembly(this IAssemblyTypeConfigurator configurator)
 {
     return(configurator.Assemblies(new[] { Assembly.GetExecutingAssembly() }));
 }