Represents a provider holding instances of IInteractor. More...
Public Member Functions | |
Task< IEnumerable< IInteractor > > | FindIntersectingAsync (Rectangle rect, CancellationToken cancellationToken) |
Finds all interactors that intersects the specified Rectangle. More... | |
bool | TryGet (string id, out IInteractor interactor) |
Tries to resolve an interactor using the interactor's identifier. More... | |
Represents a provider holding instances of IInteractor.
Task<IEnumerable<IInteractor> > FindIntersectingAsync | ( | Rectangle | rect, |
CancellationToken | cancellationToken | ||
) |
Finds all interactors that intersects the specified Rectangle.
rect | The query. |
cancellationToken | The cancellation token. |
Implemented in WpfInteractorProvider< TWpfInteractor >.
bool TryGet | ( | string | id, |
out IInteractor | interactor | ||
) |
Tries to resolve an interactor using the interactor's identifier.
id | The interactor's identifier. |
interactor | The interactor. |
true
if the interactor was found; otherwise, false
.Implemented in WpfInteractorProvider< TWpfInteractor >.