Show / Hide Table of Contents

Class ModuleExportAttribute

Definition of attribute to export IModule via MEF.

Inheritance
System.Object
System.Attribute
System.ComponentModel.Composition.ExportAttribute
ModuleExportAttribute
Implements
IModuleExport
System.ComponentModel.Composition.ExportAttribute.ContractName
System.ComponentModel.Composition.ExportAttribute.ContractType
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Modularity
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
System.String moduleName
System.Type moduleType
View Source

ModuleExportAttribute(Type)

Declaration
public ModuleExportAttribute(Type moduleType)
Parameters
Type Name Description
System.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
Type Description
System.String[]
View Source

InitializationMode

Gets or sets when the module should have Initialize() called.

Declaration
public InitializationMode InitializationMode { get; set; }
Property Value
Type Description
InitializationMode
View Source

ModuleName

Gets the contract name of the module.

Declaration
public string ModuleName { get; }
Property Value
Type Description
System.String
View Source

ModuleType

Gets concrete type of the module being exported. Not typeof(IModule).

Declaration
public Type ModuleType { get; }
Property Value
Type Description
System.Type
View Source

Properties

Gets the ModuleProperties for the module.

Declaration
public ModuleProperties Properties { get; set; }
Property Value
Type Description
ModuleProperties
View Source

StackRank

Defines the rank in the stack of installed modules.

Declaration
public int StackRank { get; set; }
Property Value
Type Description
System.Int32

Implements

IModuleExport

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX