Search Results for

    Show / Hide Table of Contents

    Class PredicateNode

    Provides a predicate that is the result of grouping other predicates.

    Inheritance
    object
    PredicateNode
    Namespace: ABB.Robotics.RobotStudio.Documents
    Assembly: ABB.Robotics.RobotStudio.Documents.dll
    Syntax
    public sealed class PredicateNode

    Constructors

    View Source

    PredicateNode(Type)

    Constructs a grouping predicate node.

    Declaration
    public PredicateNode(PredicateNode.Type type)
    Parameters
    Type Name Description
    PredicateNode.Type type
    View Source

    PredicateNode(Predicate<DocumentInfo>)

    Constructs a leaf predicate node.

    Declaration
    public PredicateNode(Predicate<DocumentInfo> predicate)
    Parameters
    Type Name Description
    Predicate<DocumentInfo> predicate

    Properties

    View Source

    Children

    Gets the collection of children in a grouping node.

    Declaration
    public Collection<PredicateNode> Children { get; }
    Property Value
    Type Description
    Collection<PredicateNode>
    View Source

    Invert

    Gets or sets if the result of the evaluation should be inverted.

    Declaration
    public bool Invert { get; set; }
    Property Value
    Type Description
    bool
    View Source

    NodeType

    Specifies the node type.

    Declaration
    public PredicateNode.Type NodeType { get; set; }
    Property Value
    Type Description
    PredicateNode.Type
    View Source

    Predicate

    Gets the predicate for a leaf node.

    Declaration
    public Predicate<DocumentInfo> Predicate { get; }
    Property Value
    Type Description
    Predicate<DocumentInfo>

    Methods

    View Source

    Match(DocumentInfo)

    Returns true if the specified document matches this predicate.

    Declaration
    public bool Match(DocumentInfo docInfo)
    Parameters
    Type Name Description
    DocumentInfo docInfo
    Returns
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2026 ABB Robotics