Class UmbContextConsumerController<BaseType, ResultType>
UmbContextConsumer
Description
The context consumer class, used to consume a context from a host element.
Notice it is not recommended to use this class directly, but rather use the consumeContext method from a UmbElement or UmbElementMixin or UmbControllerBase or UmbClassMixin.
Alternatively, you can use the UmbContextConsumerController to consume a context from a host element. But this does require that you can implement one of the Class Mixins mentioned above.
Pass beyond any context aliases that matches this.
The default behavior is to stop at first Context Alias match, this is to avoid receiving unforeseen descending contexts.
UmbContextConsumer
Description
The context consumer class, used to consume a context from a host element. Notice it is not recommended to use this class directly, but rather use the
consumeContextmethod from aUmbElementorUmbElementMixinorUmbControllerBaseorUmbClassMixin. Alternatively, you can use theUmbContextConsumerControllerto consume a context from a host element. But this does require that you can implement one of the Class Mixins mentioned above.