/// <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)); }
/// <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())); }