C# Class Microsoft.Practices.Prism.Modularity.ModuleInfoGroupExtensions

Defines extension methods for the ModuleInfoGroup class.
Mostrar archivo Open project: xperiandri/PortablePrism

Public Methods

Method Description
AddModule ( this moduleInfoGroup, Type moduleType ) : ModuleInfoGroup

Adds a new module that is statically referenced to the specified module info group.

The name of the module will be the type name.

AddModule ( this moduleInfoGroup, string moduleName, Type moduleType ) : ModuleInfoGroup

Adds a new module that is statically referenced to the specified module info group.

Method Details

AddModule() public static method

Adds a new module that is statically referenced to the specified module info group.
The name of the module will be the type name.
public static AddModule ( this moduleInfoGroup, Type moduleType ) : ModuleInfoGroup
moduleInfoGroup this The group where to add the module info in.
moduleType System.Type The type for the module. This type should be a descendant of .
return ModuleInfoGroup

AddModule() public static method

Adds a new module that is statically referenced to the specified module info group.
public static AddModule ( this moduleInfoGroup, string moduleName, Type moduleType ) : ModuleInfoGroup
moduleInfoGroup this The group where to add the module info in.
moduleName string The name for the module.
moduleType System.Type The type for the module. This type should be a descendant of .
return ModuleInfoGroup