• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.Addons
    • IAction
    • IApplicationBootstrapper
    • IAsyncShutdownAction
    • IAsyncStartupAction
    • IBootstrapper
    • IDependencyProvider
    • IMefServiceLocator
    • IModule
    • IServiceExporter
    • IServiceRepository
    • IShutdownAction
    • IShutdownMetadata
    • IShutdownModule
    • IStartupAction
    • IStartupMetadata
    • IStartupModule
    • ModuleAttribute
    • ShutdownActionAttribute
    • StartupActionAttribute
    • StartupException
  • Dapplo.Addons.Bootstrapper
    • ApplicationBootstrapper
    • CompositionBootstrapper
    • ResourceMutex
    • StartupShutdownBootstrapper
  • Dapplo.Addons.Bootstrapper.Internal
    • CompressionTypes
    • StreamExtensions
  • Dapplo.Addons.Bootstrapper.Resolving
    • AssemblyResolver
    • EmbeddedResources
    • FileLocations
    • FileTools

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
ShutdownActionAttribute
StartupActionAttribute
Namespace:Dapplo.Addons
Assembly:Dapplo.Addons.dll
Syntax
public abstract class ModuleAttribute : InheritedExportAttribute

Constructors

| Improve this Doc View Source

ModuleAttribute(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
| Improve this Doc View Source

ModuleAttribute(Type)

Constructor with the type

Declaration
protected ModuleAttribute(Type type)
Parameters
Type Name Description
Type type
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 Dapplo