C# 클래스 Microsoft.Practices.Prism.Modularity.ModuleInfoGroupExtensions

Defines extension methods for the ModuleInfoGroup class.
파일 보기 프로젝트 열기: xperiandri/PortablePrism

공개 메소드들

메소드 설명
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.

메소드 상세

AddModule() 공개 정적인 메소드

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 .
리턴 ModuleInfoGroup

AddModule() 공개 정적인 메소드

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 .
리턴 ModuleInfoGroup