Ejemplo n.º 1
0
        public static IServicesImplementationCollection FromAssembly(string file)
        {
            Assembly assembly = Assembly.LoadFrom(file);

            return(ServicesImplementation.FromThese(assembly.GetTypes()));
        }
Ejemplo n.º 2
0
 public static IServicesImplementationCollection FromThese(params Type[] types)
 {
     return(ServicesImplementation.FromThese((IEnumerable <Type>)types));
 }
Ejemplo n.º 3
0
 public static IServicesImplementationCollection FromAssemblyContaining(Type type)
 {
     return(ServicesImplementation.FromAssembly(type.Assembly));
 }
Ejemplo n.º 4
0
 public static IServicesImplementationCollection FromAssemblyContaining <TType>()
 {
     return(ServicesImplementation.FromAssembly(typeof(TType).Assembly));
 }
Ejemplo n.º 5
0
 public static IServicesImplementationCollection FromAssembly(Assembly asm)
 {
     return(ServicesImplementation.FromThese(asm.GetTypes()));
 }