using System;
namespace Umbraco.Core.Composing
{
///
/// Marks a composer to indicate a minimum and/or maximum runtime level for which the composer would compose.
///
[AttributeUsage(AttributeTargets.Class /*, AllowMultiple = false, Inherited = true*/)]
public class RuntimeLevelAttribute : Attribute
{
///
/// Gets or sets the minimum runtime level for which the composer would compose.
///
public RuntimeLevel MinLevel { get; set; } = RuntimeLevel.Install;
///
/// Gets or sets the maximum runtime level for which the composer would compose.
///
public RuntimeLevel MaxLevel { get; set; } = RuntimeLevel.Run;
}
}