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.
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 the element is discoverable. |
Properties
IsDiscoverable
Gets or sets a value indicating whether the element is discoverable. If true, the element will be a 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 |