HostingStartupAttribute HostingStartupAttribute HostingStartupAttribute Class

Definition

Marker attribute indicating an implementation of IHostingStartup that will be loaded and executed when building an IWebHost.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class HostingStartupAttribute : Attribute
type HostingStartupAttribute = class
    inherit Attribute
Public NotInheritable Class HostingStartupAttribute
Inherits Attribute
Inheritance
HostingStartupAttributeHostingStartupAttributeHostingStartupAttribute
Attributes

Constructors

HostingStartupAttribute(Type) HostingStartupAttribute(Type) HostingStartupAttribute(Type)

Constructs the HostingStartupAttribute with the specified type.

Properties

HostingStartupType HostingStartupType HostingStartupType

The implementation of IHostingStartup that should be loaded when starting an application.

Applies to