<PackageReference Include="Castle.Windsor" Version="3.2.0" />

FromAssembly

public class FromAssembly
public FromAssembly()

public static IWindsorInstaller Containing(Type type)

Scans the assembly containing specified type for types implementing IWindsorInstaller, instantiates them and returns so that Install can install them.

public static IWindsorInstaller Containing(Type type, InstallerFactory installerFactory)

Scans the assembly containing specified type for types implementing IWindsorInstaller, instantiates using given InstallerFactory and returns so that Install can install them.

public static IWindsorInstaller Containing<T>()

Scans the assembly containing specified type for types implementing IWindsorInstaller, instantiates them and returns so that Install can install them.

public static IWindsorInstaller Containing<T>(InstallerFactory installerFactory)

Scans the assembly containing specified type for types implementing IWindsorInstaller, instantiates using given InstallerFactory and returns so that Install can install them.

Scans assemblies in directory specified by filter for types implementing IWindsorInstaller, instantiates and returns so that Install can install them.

public static IWindsorInstaller InDirectory(AssemblyFilter filter, InstallerFactory installerFactory)

Scans assemblies in directory specified by filter for types implementing IWindsorInstaller, instantiates using given InstallerFactory and returns so that Install can install them.

public static IWindsorInstaller Instance(Assembly assembly)

Scans the specified assembly with specified name for types implementing IWindsorInstaller, instantiates them and returns so that Install can install them.

public static IWindsorInstaller Instance(Assembly assembly, InstallerFactory installerFactory)

Scans the specified assembly with specified name for types implementing IWindsorInstaller, instantiates using given InstallerFactory and returns so that Install can install them.

Scans current assembly and all refernced assemblies with the same first part of the name for types implementing IWindsorInstaller, instantiates and returns so that Install can install them.

public static IWindsorInstaller InThisApplication(InstallerFactory installerFactory)

Scans current assembly and all refernced assemblies with the same first part of the name for types implementing IWindsorInstaller, instantiates using given InstallerFactory and returns so that Install can install them.

public static IWindsorInstaller Named(string assemblyName)

Scans the assembly with specified name for types implementing IWindsorInstaller, instantiates them and returns so that Install can install them.

public static IWindsorInstaller Named(string assemblyName, InstallerFactory installerFactory)

Scans the assembly with specified name for types implementing IWindsorInstaller, instantiates using given InstallerFactory and returns so that Install can install them.

public static IWindsorInstaller This()

Scans assembly that contains code calling this method for types implementing IWindsorInstaller, instantiates them and returns so that Install can install them.

public static IWindsorInstaller This(InstallerFactory installerFactory)

Scans assembly that contains code calling this method for types implementing IWindsorInstaller, instantiates using given InstallerFactory and returns so that Install can install them.