Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PropertyConditionAttribute

    Attribute base class for specifying a condition on a sibling property value.

    Inheritance
    System.Object
    System.Attribute
    PropertyConditionAttribute
    EnabledConditionAttribute
    VisibleConditionAttribute
    Inherited Members
    System.Attribute.Equals(System.Object)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetHashCode()
    System.Attribute.IsDefaultAttribute()
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.Match(System.Object)
    System.Attribute.TypeId
    Namespace: MediaBrowser.Model.Attributes
    Assembly: MediaBrowser.Model.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public abstract class PropertyConditionAttribute : Attribute

    Constructors

    PropertyConditionAttribute(String, SimpleCondition)

    Initializes a new instance of the PropertyConditionAttribute class.

    Declaration
    protected PropertyConditionAttribute(string targetProperty, SimpleCondition simpleCondition)
    Parameters
    Type Name Description
    System.String targetProperty

    The target property.

    SimpleCondition simpleCondition

    The simple condition.

    PropertyConditionAttribute(String, ValueCondition, Object)

    Initializes a new instance of the PropertyConditionAttribute class.

    Declaration
    protected PropertyConditionAttribute(string targetProperty, ValueCondition valueCondition, object value)
    Parameters
    Type Name Description
    System.String targetProperty

    The target property.

    ValueCondition valueCondition

    The value condition.

    System.Object value

    The value.

    Properties

    SimpleCondition

    Gets the simple condition.

    Declaration
    public SimpleCondition? SimpleCondition { get; }
    Property Value
    Type Description
    System.Nullable<SimpleCondition>

    The simple condition.

    TargetProperty

    Gets the target property name or path.

    Declaration
    public string TargetProperty { get; }
    Property Value
    Type Description
    System.String

    The target property name or path.

    Value

    Gets the value.

    Declaration
    public object Value { get; }
    Property Value
    Type Description
    System.Object

    The value.

    ValueCondition

    Gets the value condition.

    Declaration
    public ValueCondition? ValueCondition { get; }
    Property Value
    Type Description
    System.Nullable<ValueCondition>

    The value condition.

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)

    See Also

    System.Attribute
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.