Show / Hide Table of Contents

Class DirectoryModuleCatalog

Represets a catalog created from a directory on disk.

Inheritance
System.Object
ModuleCatalog
DirectoryModuleCatalog
Implements
IModuleCatalog
ModuleCatalog.Groups
ModuleCatalog.Items
ModuleCatalog.Modules
ModuleCatalog.CreateFromXaml(Stream)
ModuleCatalog.CreateFromXaml(Uri)
ModuleCatalog.AddGroup(InitializationMode, String, ModuleInfo[])
ModuleCatalog.AddModule(ModuleInfo)
ModuleCatalog.AddModule(Type, String[])
ModuleCatalog.AddModule(Type, InitializationMode, String[])
ModuleCatalog.AddModule(String, String, String[])
ModuleCatalog.AddModule(String, String, InitializationMode, String[])
ModuleCatalog.AddModule(String, String, String, InitializationMode, String[])
ModuleCatalog.CompleteListWithDependencies(IEnumerable<ModuleInfo>)
ModuleCatalog.GetDependentModules(ModuleInfo)
ModuleCatalog.Initialize()
ModuleCatalog.Load()
ModuleCatalog.Validate()
ModuleCatalog.GrouplessModules
ModuleCatalog.Validated
ModuleCatalog.SolveDependencies(IEnumerable<ModuleInfo>)
ModuleCatalog.ValidateDependencies(IEnumerable<ModuleInfo>)
ModuleCatalog.EnsureCatalogValidated()
ModuleCatalog.GetDependentModulesInner(ModuleInfo)
ModuleCatalog.Sort(IEnumerable<ModuleInfo>)
ModuleCatalog.ValidateCrossGroupDependencies()
ModuleCatalog.ValidateDependenciesInitializationMode()
ModuleCatalog.ValidateDependencyGraph()
ModuleCatalog.ValidateUniqueModules()
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 Source

ModulePath

Directory containing modules to search for.

Declaration
public string ModulePath { get; set; }
Property Value
Type Description
System.String

Methods

View Source

InnerLoad()

Drives the main logic of building the child domain and searching for the assemblies.

Declaration
protected override void InnerLoad()
Overrides
ModuleCatalog.InnerLoad()

Implements

IModuleCatalog

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX