Class ModuleExportAttribute
Definition of attribute to export IModule via MEF.
Inheritance
ModuleExportAttribute
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class)]
public class ModuleExportAttribute : ExportAttribute, IModuleExport
Constructors
View Source
ModuleExportAttribute(string, Type)
Declaration
public ModuleExportAttribute(string moduleName, Type moduleType)
Parameters
| Type |
Name |
Description |
| string |
moduleName |
|
| Type |
moduleType |
|
View Source
ModuleExportAttribute(Type)
Declaration
public ModuleExportAttribute(Type moduleType)
Parameters
| Type |
Name |
Description |
| Type |
moduleType |
|
Properties
View Source
DependsOnModuleNames
Gets or sets the contract names of modules this module depends upon.
Declaration
public string[] DependsOnModuleNames { get; set; }
Property Value
View Source
InitializationMode
Gets or sets when the module should have Initialize() called.
Declaration
public InitializationMode InitializationMode { get; set; }
Property Value
View Source
ModuleName
Gets the contract name of the module.
Declaration
public string ModuleName { get; }
Property Value
View Source
ModuleType
Gets concrete type of the module being exported. Not typeof(IModule).
Declaration
public Type ModuleType { get; }
Property Value
View Source
Properties
Declaration
public ModuleProperties Properties { get; set; }
Property Value
View Source
StackRank
Defines the rank in the stack of installed modules.
Declaration
public int StackRank { get; set; }
Property Value
Implements
Extension Methods