Class HostingProviderAttribute
Use this attribute to identify IHostingManager class implementations so they can be discovered by the HostingManager class.
Namespace: Neon.Kube.Hosting
Assembly: Neon.Kube.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class HostingProviderAttribute : Attribute
Constructors
HostingProviderAttribute(HostingEnvironment)
Constructor.
Declaration
public HostingProviderAttribute(HostingEnvironment environment)
Parameters
Type | Name | Description |
---|---|---|
HostingEnvironment | environment | Specifies the target hosting environment. |
Properties
Environment
Returns the target hosting environment supported by the tagged IHostingManager.
Declaration
public HostingEnvironment Environment { get; }
Property Value
Type | Description |
---|---|
HostingEnvironment |