Class ModuleAttribute
This is the Module attribute which can be used to specify type-safe meta-data Currently there are none in here, but it was made available so it's possible to add them at a later time In general it is bad to import via a specific type, always try to use contract interfaces. As the IModule is pretty much only a marker interface, it is not very usefull and this is why the attribute is abstract
Inheritance
System.Object
ModuleAttribute
Namespace:Dapplo.Addons
Assembly:Dapplo.Addons.dll
Syntax
public abstract class ModuleAttribute : InheritedExportAttribute
Constructors
| Improve this Doc View SourceModuleAttribute(String, Type)
Constructor with a contractname, and a type
Declaration
protected ModuleAttribute(string contractname, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.String | contractname | |
Type | type |
ModuleAttribute(Type)
Constructor with the type
Declaration
protected ModuleAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |