Show / Hide Table of Contents

Class ShowIfAttributeBase

Inheritance
object
System.Attribute
MetaAttribute
ShowIfAttributeBase
HideIfAttribute
ShowIfAttribute
Implements
INaughtyAttribute
Inherited Members
System.Attribute.Equals(object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, bool)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.Match(object)
System.Attribute.TypeId
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NaughtyAttributes
Assembly: NaughtyAttributes.Core.dll
Syntax
public class ShowIfAttributeBase : MetaAttribute, INaughtyAttribute

Constructors

ShowIfAttributeBase(EConditionOperator, params string[])

Declaration
public ShowIfAttributeBase(EConditionOperator conditionOperator, params string[] conditions)
Parameters
Type Name Description
EConditionOperator conditionOperator
string[] conditions

ShowIfAttributeBase(string, Enum)

Declaration
public ShowIfAttributeBase(string enumName, Enum enumValue)
Parameters
Type Name Description
string enumName
System.Enum enumValue

ShowIfAttributeBase(string)

Declaration
public ShowIfAttributeBase(string condition)
Parameters
Type Name Description
string condition

Properties

ConditionOperator

Declaration
public EConditionOperator ConditionOperator { get; }
Property Value
Type Description
EConditionOperator

Conditions

Declaration
public string[] Conditions { get; }
Property Value
Type Description
string[]

EnumValue

If this not null, Conditions[0] is name of an enum variable.

Declaration
public Enum EnumValue { get; }
Property Value
Type Description
System.Enum

Inverted

Declaration
public bool Inverted { get; protected set; }
Property Value
Type Description
bool

Implements

INaughtyAttribute
In This Article
Back to top Generated by DocFX