ModuleCatalog Members

Include Protected Members
Include Inherited Members

The ModuleCatalog type exposes the following members.

Constructors

  Name Description
Public method ModuleCatalog()
Initializes a new instance of the ModuleCatalog class.
Public method ModuleCatalog(IEnumerable<ModuleInfo>)
Initializes a new instance of the ModuleCatalog class while providing an initial list of ModuleInfos.

Methods

  Name Description
Public method AddGroup
Creates and adds a ModuleInfoGroup to the catalog.
Public method AddModule(ModuleInfo)
Adds a ModuleInfo to the ModuleCatalog.
Public method AddModule(Type, array<String>)
Adds a groupless ModuleInfo to the catalog.
Public method AddModule(String, String, array<String>)
Adds a groupless ModuleInfo to the catalog.
Public method AddModule(Type, InitializationMode, array<String>)
Adds a groupless ModuleInfo to the catalog.
Public method AddModule(String, String, InitializationMode, array<String>)
Adds a groupless ModuleInfo to the catalog.
Public method AddModule(String, String, String, InitializationMode, array<String>)
Adds a groupless ModuleInfo to the catalog.
Public method CompleteListWithDependencies
Returns a list of ModuleInfos that contain both the ModuleInfos in modules, but also all the modules they depend on.
Public methodStatic member CreateFromXaml(Stream)
Creates a ModuleCatalog from XAML.
Public methodStatic member CreateFromXaml(Uri)
Creates a ModuleCatalog from a XAML included as an Application Resource.
Protected method EnsureCatalogValidated
Ensures that the catalog is validated.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetDependentModules
Return the list of ModuleInfos that moduleInfo depends on.
Protected method GetDependentModulesInner
Returns the ModuleInfo on which the received module dependens on.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Initialize
Initializes the catalog, which may load and validate the modules.
Protected method InnerLoad
Does the actual work of loading the catalog. The base implementation does nothing.
Public method Load
Loads the catalog if necessary.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodStatic member SolveDependencies
Checks for cyclic dependencies, by calling the dependencysolver.
Protected method Sort
Sorts a list of ModuleInfos. This method is called by CompleteListWithDependencies(IEnumerable<ModuleInfo>) to return a sorted list.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method Validate
Validates the ModuleCatalog.
Protected method ValidateCrossGroupDependencies
Ensures that there are no dependencies between modules on different groups.
Protected methodStatic member ValidateDependencies
Ensures that all the dependencies within modules refer to ModuleInfos within that list.
Protected method ValidateDependenciesInitializationMode
Ensures that there are no modules marked to be loaded WhenAvailable depending on modules loaded OnDemand
Protected method ValidateDependencyGraph
Ensures that there are no cyclic dependencies.
Protected method ValidateUniqueModules
Makes sure all modules have an Unique name.

Properties

  Name Description
Protected property GrouplessModules
Returns the list of ModuleInfos that are not contained within any ModuleInfoGroup.
Public property Groups
Gets the ModuleInfoGroups that have been added to the ModuleCatalog.
Public property Items
Gets the items in the ModuleCatalog. This property is mainly used to add ModuleInfoGroups or ModuleInfos through XAML.
Public property Modules
Gets all the ModuleInfo classes that are in the ModuleCatalog, regardless if they are within a ModuleInfoGroup or not.
Protected property Validated
Gets or sets a value that remembers whether the ModuleCatalog has been validated already.

See Also

ModuleCatalog Class

Microsoft.Practices.Prism.Modularity Namespace