SaaS CMS has officially launched! Learn more now.

Class ClientResourceRegistratorAttribute

Attribute is used to mark IClientResourceRegistrator implementations that should be discovered automatically by service locator.

Inheritance
System.Object
ClientResourceRegistratorAttribute
Namespace: EPiServer.Framework.Web.Resources
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
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
Overrides

Implements

Extension Methods