Class HudArgumentOptionCatalog
Discovers every IHudArgumentOptionProvider in the loaded assemblies, keyed by the parameter type each one serves.
Inherited Members
Namespace: Serenity.GameUi.Infrastructure.Editor.Builder
Assembly: Serenity.UnityGameUi.Infrastructure.Editor.dll
Syntax
public static class HudArgumentOptionCatalog
Remarks
Mirrors HudMemberCatalog's scanning shape: a lazily-built, statically-cached list, dropped on InvalidateCaches() so a domain reload does not serve stale results. A provider only needs a public parameterless constructor and an interface implementation — no registry, no attribute, and no reference from this assembly back to whichever aggregate declares it.
Methods
InvalidateCaches()
Clears the cached provider scan, so a domain reload does not serve stale results.
Declaration
public static void InvalidateCaches()
TryGetProvider(Type, out IHudArgumentOptionProvider)
Attempts to find the provider registered for targetType.
Declaration
public static bool TryGetProvider(Type targetType, out IHudArgumentOptionProvider provider)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | targetType | The parameter type an argument field is being drawn for. |
| IHudArgumentOptionProvider | provider | The matching provider, when one is registered. |
Returns
| Type | Description |
|---|---|
| bool |
|