19 lines
526 B
C#
19 lines
526 B
C#
using System;
|
|
|
|
namespace KitsuneCafe.Sys.Attributes
|
|
{
|
|
public class HideIfAttribute : ConditionalDisplayAttribute
|
|
{
|
|
public HideIfAttribute(string property) : this(property, false)
|
|
{
|
|
}
|
|
|
|
public HideIfAttribute(string property, object value) : base(ComparisonOperator.Equal, value, property)
|
|
{
|
|
}
|
|
|
|
public HideIfAttribute(LogicalOperator logicalOp, params string[] properties) : base(logicalOp, ComparisonOperator.Equal, false, properties)
|
|
{
|
|
}
|
|
}
|
|
}
|