using System; namespace Robust.Shared.Reflection { /// /// Controls additional info about discoverability from the . /// Note that this attribute is implicit. /// Values are assumed to be their default if this attribute is not specified. /// /// [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] public sealed class ReflectAttribute : Attribute { /// /// Default value for if the attribute is not specified. /// public const bool DEFAULT_DISCOVERABLE = true; /// /// Controls whether this type can be seen by the . /// If this is false it cannot be, and will be ignored. /// /// /// public bool Discoverable { get; } /// /// Controls whether or not the type can be discovered. /// /// The value that will be assigned to . True is yes, false is no. /// public ReflectAttribute(bool discoverable) { Discoverable = discoverable; } } }