Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Resolves the most specific registered drawer and creates its drawing context.

API: engine
Project: Inno.Editor.Inspection

public bool Inno.Editor.Inspection.InspectionDrawerRegistry.TryResolve(Inno.Editor.Core.EditorContext editorContext, object target, Inno.Editor.Inspection.SerializedPropertyRenderer renderer, out Inno.Editor.Inspection.IInspectionDrawer? drawer, out Inno.Editor.Inspection.InspectionDrawContext? context)

Parameter editorContext: The shared editor context exposed to the selected drawer.

Parameter target: The selected object whose runtime type determines the drawer.

Parameter renderer: The serialized property renderer exposed to the selected drawer.

Parameter drawer: The resolved drawer when the method succeeds.

Parameter context: The target-specific drawing context when the method succeeds.

true when a matching drawer was resolved.

Exception T:System.ArgumentNullException: Thrown when editorContext, target, or renderer is null.