Class DirectoryModuleCatalog
Represets a catalog created from a directory on disk.
Implements
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class DirectoryModuleCatalog : ModuleCatalog, IModuleCatalog
Remarks
The directory catalog will scan the contents of a directory, locating classes that implement IModule and add them to the catalog based on contents in their associated ModuleAttribute. Assemblies are loaded into a new application domain with ReflectionOnlyLoad. The application domain is destroyed once the assemblies have been discovered. The diretory catalog does not continue to monitor the directory after it has created the initialze catalog.
Properties
View SourceModulePath
Directory containing modules to search for.
Declaration
public string ModulePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceInnerLoad()
Drives the main logic of building the child domain and searching for the assemblies.
Declaration
protected override void InnerLoad()