mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 16:28:23 -05:00
20 lines
543 B
C#
20 lines
543 B
C#
using System;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace TriInspector
|
|
{
|
|
public abstract class TriPropertyDisableProcessor : TriPropertyExtension
|
|
{
|
|
internal Attribute RawAttribute { get; set; }
|
|
|
|
[PublicAPI]
|
|
public abstract bool IsDisabled(TriProperty property);
|
|
}
|
|
|
|
public abstract class TriPropertyDisableProcessor<TAttribute> : TriPropertyDisableProcessor
|
|
where TAttribute : DisableBaseAttribute
|
|
{
|
|
[PublicAPI]
|
|
public TAttribute Attribute => (TAttribute) RawAttribute;
|
|
}
|
|
} |