docs.unity3d.com
    Show / Hide Table of Contents

    Class SelectedFeatureCondition

    Class SelectedFeatureCondition.

    Inheritance
    Object
    MultiItemCondition
    SelectedFeatureCondition
    Inherited Members
    MultiItemCondition.Operator
    MultiItemCondition.negated
    Namespace: Unity.Industrial.Forma.Core.Ruling
    Syntax
    public class SelectedFeatureCondition : MultiItemCondition, IRuleCondition

    Constructors

    SelectedFeatureCondition()

    Initializes a new instance of the SelectedFeatureCondition class.

    Declaration
    public SelectedFeatureCondition()

    Fields

    features

    The features

    Declaration
    public List<Feature> features
    Field Value
    Type Description
    List<Feature>

    Methods

    Applies(RuleExecutionContext)

    Applies 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)

    Parse(String, Product)

    Parse the string and try to create a SelectedFeatureCondition for a specified product

    Declaration
    public static SelectedFeatureCondition Parse(string conditionDefinition, Product product)
    Parameters
    Type Name Description
    String conditionDefinition
    Product product
    Returns
    Type Description
    SelectedFeatureCondition

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Back to top
    Terms of use
    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