Interface IStartupMetadata
Meta-data belonging to the AsyncStartupActionAttribute / StartupActionAttribute, which makes it possible to specify type-safe meta-data.
Namespace:Dapplo.Addons
Assembly:Dapplo.Addons.dll
Syntax
public interface IStartupMetadata
Properties
| Improve this Doc View SourceAwaitStart
Specify if the startup needs to be awaited, this could be set to false if you want to have a task doing something in the background In general you would like this to be true, otherwise depending code might be started to early
Declaration
bool AwaitStart { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
StartupOrder
Order in which IStartupAction.Start or IAsyncStartupAction.StartAsyncis called
Declaration
int StartupOrder { get; }
Property Value
Type | Description |
---|---|
System.Int32 |