Resvolution - Booting
This commit is contained in:
18
src/Umbraco.Core/Components/DisableComponentAttribute.cs
Normal file
18
src/Umbraco.Core/Components/DisableComponentAttribute.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace Umbraco.Core.Components
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
|
||||
public class DisableComponentAttribute : Attribute
|
||||
{
|
||||
public DisableComponentAttribute()
|
||||
{ }
|
||||
|
||||
public DisableComponentAttribute(Type disabledType)
|
||||
{
|
||||
DisabledType = disabledType;
|
||||
}
|
||||
|
||||
public Type DisabledType { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user