Classes | Public Member Functions | List of all members
ProviderInteractorAgent< TProvider > Class Template Reference

An interactor agent with a provider component which handles the interactor logic. More...

Inheritance diagram for ProviderInteractorAgent< TProvider >:
InteractorAgent IInteractorAgent

Public Member Functions

override async 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...
 
- Public Member Functions inherited from InteractorAgent
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...
 

Additional Inherited Members

- Properties inherited from InteractorAgent
bool IsDisposed [get]
 Gets a value indicating whether the agent is disposed. More...
 

Detailed Description

An interactor agent with a provider component which handles the interactor logic.

Template Parameters
TProviderThe provider type.
Type Constraints
TProvider :IInteractorProvider 

Member Function Documentation

◆ FindInteractorsAsync()

override async Task<IEnumerable<IInteractor> > FindInteractorsAsync ( Rectangle  rect,
CancellationToken  cancellationToken 
)
inlinevirtual

Finds the interactors affected by the provided Rectangle. This operation can be cancelled using the specified CancellationToken.

Parameters
rectThe query.
cancellationTokenThe cancellation token.
Returns
A task that represents the asynchronous operation.

Implements InteractorAgent.


The documentation for this class was generated from the following file: