• 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

Interface IStartupAction

The IStartupAction is an interface for modules that can be started when the application starts Extend you module with this interface, and use the StartupActionAttribute to annotate the module

Namespace:Dapplo.Addons
Assembly:Dapplo.Addons.dll
Syntax
public interface IStartupAction : IStartupModule, IModule

Methods

| Improve this Doc View Source

Start()

Perform a start of whatever needs to be started. Make sure this can be called multiple times, e.g. do nothing when it was already started. throw a StartupException if something went terribly wrong and the application should NOT continue

Declaration
void Start()
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 Dapplo