Class RuntimeLevelAttribute
Marks a composer to indicate a minimum and/or maximum runtime level for which the composer would compose.
Inheritance
System.Object
System.Attribute
Namespace: Umbraco.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class RuntimeLevelAttribute : Attribute, _Attribute
Properties
View SourceMaxLevel
Gets or sets the maximum runtime level for which the composer would compose.
Declaration
public RuntimeLevel MaxLevel { get; set; }
Property Value
Type | Description |
---|---|
RuntimeLevel |
MinLevel
Gets or sets the minimum runtime level for which the composer would compose.
Declaration
public RuntimeLevel MinLevel { get; set; }
Property Value
Type | Description |
---|---|
RuntimeLevel |