ModuleCatalog Members
Include Protected Members
Include Inherited Members
The ModuleCatalog type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModuleCatalog() |
Initializes a new instance of the ModuleCatalog class.
|
|
ModuleCatalog(IEnumerable<ModuleInfo>) |
Initializes a new instance of the ModuleCatalog class while providing an initial list of ModuleInfos.
|
Methods
Name | Description | |
---|---|---|
AddGroup |
Creates and adds a ModuleInfoGroup to the catalog.
|
|
AddModule(ModuleInfo) |
Adds a ModuleInfo to the ModuleCatalog.
|
|
AddModule(Type, array<String>) |
Adds a groupless ModuleInfo to the catalog.
|
|
AddModule(String, String, array<String>) |
Adds a groupless ModuleInfo to the catalog.
|
|
AddModule(Type, InitializationMode, array<String>) |
Adds a groupless ModuleInfo to the catalog.
|
|
AddModule(String, String, InitializationMode, array<String>) |
Adds a groupless ModuleInfo to the catalog.
|
|
AddModule(String, String, String, InitializationMode, array<String>) |
Adds a groupless ModuleInfo to the catalog.
|
|
CompleteListWithDependencies |
Returns a list of ModuleInfos that contain both the ModuleInfos in modules, but also all the modules they depend on.
|
|
CreateFromXaml(Stream) |
Creates a ModuleCatalog from XAML.
|
|
CreateFromXaml(Uri) |
Creates a ModuleCatalog from a XAML included as an Application Resource.
|
|
EnsureCatalogValidated |
Ensures that the catalog is validated.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetDependentModules |
Return the list of ModuleInfos that moduleInfo depends on.
|
|
GetDependentModulesInner |
Returns the ModuleInfo on which the received module dependens on.
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Initialize |
Initializes the catalog, which may load and validate the modules.
|
|
InnerLoad |
Does the actual work of loading the catalog. The base implementation does nothing.
|
|
Load |
Loads the catalog if necessary.
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
SolveDependencies |
Checks for cyclic dependencies, by calling the dependencysolver.
|
|
Sort |
Sorts a list of ModuleInfos. This method is called by CompleteListWithDependencies(IEnumerable<ModuleInfo>) to return a sorted list.
|
|
ToString | (Inherited from Object.) | |
Validate |
Validates the ModuleCatalog.
|
|
ValidateCrossGroupDependencies |
Ensures that there are no dependencies between modules on different groups.
|
|
ValidateDependencies |
Ensures that all the dependencies within modules refer to ModuleInfos within that list.
|
|
ValidateDependenciesInitializationMode |
Ensures that there are no modules marked to be loaded WhenAvailable depending on modules loaded OnDemand
|
|
ValidateDependencyGraph |
Ensures that there are no cyclic dependencies.
|
|
ValidateUniqueModules |
Makes sure all modules have an Unique name.
|
Properties
Name | Description | |
---|---|---|
GrouplessModules |
Returns the list of ModuleInfos that are not contained within any ModuleInfoGroup.
|
|
Groups |
Gets the ModuleInfoGroups that have been added to the ModuleCatalog.
|
|
Items |
Gets the items in the ModuleCatalog. This property is mainly used to add ModuleInfoGroups or ModuleInfos through XAML.
|
|
Modules |
Gets all the ModuleInfo classes that are in the ModuleCatalog, regardless if they are within a ModuleInfoGroup or not.
|
|
Validated |
Gets or sets a value that remembers whether the ModuleCatalog has been validated already.
|