Synced
HelpBoxAttribute.Constructor
Section titled “HelpBoxAttribute.Constructor”
- Creates an Inspector help message shown when a sibling equals a compile-time value.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Annotations
Scope: Authoring
Declaration
Section titled “Declaration”public InnoEditor.Annotations.HelpBoxAttribute.HelpBoxAttribute(string text, string conditionMember, object? expectedValue, InnoEditor.Annotations.InspectorMessageType messageType = InnoEditor.Annotations.InspectorMessageType.Info)Parameters
Section titled “Parameters”Parameter text: Non-empty message text.
Parameter conditionMember: Sibling field or property name.
Parameter expectedValue: The expected value consumed by help box attribute; ownership remains with the caller unless explicitly stated otherwise.
Parameter messageType: Visual severity.