Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Describes whether a requested editor operation is valid and carries a diagnostic when it is rejected.

API: scripting
Implements: System.IEquatable<InnoEditor.Interactions.EditorValidationResult>
Inherits: System.ValueType
Project: Inno.Editor.Interactions
Scope: Editor

public readonly struct InnoEditor.Interactions.EditorValidationResult : System.IEquatable<InnoEditor.Interactions.EditorValidationResult>

Parameter isValid: Whether the requested operation may proceed.

Parameter message: The user-facing validation diagnostic, or an empty string for a valid result.

Kind Element Description
Constructors EditorValidationResult.Constructor Describes whether a requested editor operation is valid and carries a diagnostic when it is rejected.
Methods EditorValidationResult.Deconstruct No XML description is available.
Methods EditorValidationResult.Equals(InnoEditor.Interactions.EditorValidationResult) Indicates whether the current object is equal to another object of the same type.
Methods EditorValidationResult.Equals(System.Object) Indicates whether this instance and a specified object are equal.
Methods EditorValidationResult.GetHashCode Returns the hash code for this instance.
Methods EditorValidationResult.Invalid Creates a failed validation result with a user-facing diagnostic.
Methods EditorValidationResult.op_Equality No XML description is available.
Methods EditorValidationResult.op_Inequality No XML description is available.
Methods EditorValidationResult.ToString Returns the fully qualified type name of this instance.
Properties EditorValidationResult.isValid Whether the requested operation may proceed.
Properties EditorValidationResult.message The user-facing validation diagnostic, or an empty string for a valid result.
Properties EditorValidationResult.valid Gets a successful validation result.