Skip to content

public enum with [IsVisibleInDynamoLibrary(false)] still visible in library #8789

@ksobon

Description

@ksobon

I thought that adding this attribute to a public class would hide it from the library:

    /// <summary>
    /// Parameter Filter Numeric Rules.
    /// </summary>
    [IsVisibleInDynamoLibrary(false)]
    public enum FilterNumericValueRule
    {
        /// <summary>
        /// 
        /// </summary>
        DoubleRule,
        /// <summary>
        /// 
        /// </summary>
        ElementIdRule,
        /// <summary>
        /// 
        /// </summary>
        GlobalParameterRule,
        /// <summary>
        /// 
        /// </summary>
        IntegerRule
    }

Yet, it's still showing up. That was not an issue in previous version.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.xIssues related to 2.x versions of Dynamo.engineIssues related to the engine driving Dynamo.priorityRelated to a release.tracked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions