Beispiel #1
0
 /// <summary>
 ///   Prepares to register types from an assembly.
 /// </summary>
 /// <param name = "assembly">The assembly.</param>
 /// <returns>The corresponding <see cref = "FromDescriptor" /></returns>
 public static FromAssemblyDescriptor FromAssembly(Assembly assembly)
 {
     return(Classes.FromAssembly(assembly));
 }
Beispiel #2
0
 /// <summary>
 ///   Prepares to register types from the assembly containing the code invoking this method.
 /// </summary>
 /// <returns>The corresponding <see cref = "FromDescriptor" /></returns>
 public static FromAssemblyDescriptor FromThisAssembly()
 {
     return(Classes.FromAssembly(Assembly.GetCallingAssembly()));
 }