Synced
InspectionDrawerRegistry.TryResolveExact
Section titled “InspectionDrawerRegistry.TryResolveExact”
- Resolves only a drawer explicitly registered for the target’s exact runtime type.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Inspection
Declaration
Section titled “Declaration”public bool Inno.Editor.Inspection.InspectionDrawerRegistry.TryResolveExact(Inno.Editor.Core.EditorContext editorContext, object target, Inno.Editor.Inspection.SerializedPropertyRenderer renderer, out Inno.Editor.Inspection.IInspectionDrawer? drawer, out Inno.Editor.Inspection.InspectionDrawContext? context)Parameters
Section titled “Parameters”Parameter editorContext: The shared editor context exposed to the selected drawer.
Parameter target: The selected object whose exact runtime type determines the drawer.
Parameter renderer: The serialized property renderer exposed to the selected drawer.
Parameter drawer: The exact drawer when the method succeeds.
Parameter context: The target-specific drawing context when the method succeeds.
Returns
Section titled “Returns”true when an exact registration exists; inherited and fallback drawers are ignored.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when editorContext, target, or renderer is null.