Class DiscoverableAttribute
Indicates if an element should be discoverable by Evergine Studio. Classes decorated with this
attribute and with a Is
Inherited Members
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 Discoverable
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 |