Class ClientResourceRegistratorAttribute
Attribute is used to mark IClientResourceRegistrator implementations that should be discovered automatically by service locator.
Implements
Inherited Members
Namespace: EPiServer.Framework.Web.Resources
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public sealed class ClientResourceRegistratorAttribute : ServicePlugInAttributeBase, IServiceConfiguration
Constructors
ClientResourceRegistratorAttribute()
Initializes a new instance of the ClientResourceRegistratorAttribute class.
Declaration
public ClientResourceRegistratorAttribute()
Properties
Lifecycle
Gets the scope of instances of the attributed register class; one instance is reused in scope of the one HTTP context.
Declaration
public override ServiceInstanceScope Lifecycle { get; }
Property Value
Type | Description |
---|---|
ServiceInstanceScope |