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