docs.unity3d.com
    Show / Hide Table of Contents

    Class CombinedCondition

    Class CombinedCondition.

    Inheritance
    Object
    MultiItemCondition
    CombinedCondition
    Inherited Members
    MultiItemCondition.Operator
    MultiItemCondition.negated
    Namespace: UnityEngine.Industrial.Configuring.Core.Ruling
    Syntax
    [Serializable]
    public class CombinedCondition : MultiItemCondition, IRuleCondition

    Constructors

    CombinedCondition()

    Initializes a new instance of the CombinedCondition class.

    Declaration
    public CombinedCondition()

    Properties

    Conditions

    Gets the conditions.

    Declaration
    public IReadOnlyList<IRuleCondition> Conditions { get; }
    Property Value
    Type Description
    IReadOnlyList<IRuleCondition>

    The conditions.

    Methods

    Add(IRuleCondition)

    Adds the specified condition.

    Declaration
    public bool Add(IRuleCondition condition)
    Parameters
    Type Name Description
    IRuleCondition condition

    The condition.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    Applies(RuleExecutionContext)

    Applieses the specified context.

    Declaration
    public override bool Applies(RuleExecutionContext context)
    Parameters
    Type Name Description
    RuleExecutionContext context

    The context.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    Overrides
    MultiItemCondition.Applies(RuleExecutionContext)

    ClearEmptyChildren()

    Clears the empty children.

    Declaration
    public void ClearEmptyChildren()

    Insert(Int32, IRuleCondition)

    Inserts the specified index.

    Declaration
    public bool Insert(int index, IRuleCondition condition)
    Parameters
    Type Name Description
    Int32 index

    The index.

    IRuleCondition condition

    The condition.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    Remove(IRuleCondition)

    Removes the specified condition.

    Declaration
    public bool Remove(IRuleCondition condition)
    Parameters
    Type Name Description
    IRuleCondition condition

    The condition.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    SetAt(Int32, IRuleCondition)

    Sets at.

    Declaration
    public bool SetAt(int index, IRuleCondition condition)
    Parameters
    Type Name Description
    Int32 index

    The index.

    IRuleCondition condition

    The condition.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023