Search Results for

    Show / Hide Table of Contents

    Class DiscoverableAttribute

    Indicates if an element should be discoverable by Evergine Studio. Classes decorated with this attribute and with a IsDiscoverable value of true; or classes not decorated with this attribute at all, will be candidates for being shown in different Evergine Studio panels.

    Inheritance
    object
    Attribute
    DiscoverableAttribute
    Namespace: Evergine.Framework
    Assembly: Evergine.Framework.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class DiscoverableAttribute : Attribute

    Constructors

    DiscoverableAttribute(bool)

    Initializes a new instance of the DiscoverableAttribute class.

    Declaration
    public DiscoverableAttribute(bool isDiscoverable)
    Parameters
    Type Name Description
    bool isDiscoverable

    Gets or sets a value indicating whether element is discoverable.

    Properties

    IsDiscoverable

    Gets or sets a value indicating whether element is discoverable. If true, element will be candidate to be displayed in some of the Evergine Studio panels. If false, it will be skipped.

    Declaration
    public bool IsDiscoverable { get; set; }
    Property Value
    Type Description
    bool

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX