ng-xtend API documentation
    Preparing search index...

    Class XtResolverService

    An all in one helper class, enabling manipulation of the context, with data and type associated with it.

    Index

    Constructors

    Properties

    listComponents: Signal<XtComponentInfo<any>[]> = ...

    Computed signal that lists all registered components.

    listPlugins: Signal<XtPluginInfo[]> = ...

    Computed signal that lists all registered plugins.

    pluginRegistry: XtPluginRegistry = ...

    Injected plugin registry for component and type registration.

    resolver: XtResolver

    The resolver used to find components for a given context.

    typeResolver: XtTypeResolver

    The type resolver for type hierarchy and reference resolution.

    Methods

    • Resolves the type name for the given context and optional sub-name.

      Type Parameters

      • T

      Parameters

      • baseContext: XtContext<T>

        The context to query

      • OptionalsubName: string

        Optional sub-name for nested type resolution

      • Optionalvalue: T

        Optional value for type inference

      Returns string | null | undefined

      The type name, or null/undefined