@zeroc/ice
    Preparing search index...

    Class CompositeSliceLoader

    Implements SliceLoader by combining several Slice loaders.

    Implements

    Index
    • Adds a Slice loader to this composite Slice loader.

      Parameters

      Returns void

    • Creates an instance of a class mapped from a Slice class or exception based on a Slice type ID.

      Parameters

      • typeId: string

        The Slice type ID or compact type ID (a compact type ID is passed as its decimal string representation).

      Returns Value | UserException | null

      A new instance of the class or exception identified by typeId, or null if the implementation cannot find the corresponding class.

      MarshalException - Thrown when the corresponding class was found but its instantiation failed.