Base class for an interactor agent. More...
Public Member Functions | |
abstract Task< IEnumerable< IInteractor > > | FindInteractorsAsync (Rectangle rect, CancellationToken cancellationToken) |
Finds the interactors affected by the provided Rectangle. This operation can be cancelled using the specified CancellationToken. More... | |
void | Dispose () |
Disposes the interactor agent. Should be called before removing the interactor agent from the Host. Will be called by the Host at shutdown. More... | |
Properties | |
bool | IsDisposed [get] |
Gets a value indicating whether the agent is disposed. More... | |
Base class for an interactor agent.
|
pure virtual |
Finds the interactors affected by the provided Rectangle. This operation can be cancelled using the specified CancellationToken.
rect | The query. |
cancellationToken | The cancellation token. |
Implements IInteractorAgent.
Implemented in ProviderInteractorAgent< TProvider >.
|
inline |
Disposes the interactor agent. Should be called before removing the interactor agent from the Host. Will be called by the Host at shutdown.
|
get |
Gets a value indicating whether the agent is disposed.
true
if this agent is disposed; otherwise, false
.