Class CriteriaModalController<T>
public class CriteriaModalController<T> : ModalControllerBase<CriteriaModalModel<T>, CriteriaModalView, ICriteriaTree<T>>, IModalController<ICriteriaTree<T>> where T : IEntity<T>
Type Parameters
T
- Inheritance
-
CriteriaModalController<T>
- Implements
- Inherited Members
Constructors
CriteriaModalController(IServices)
public CriteriaModalController(IServices services)
Parameters
servicesIServices
Methods
CreateUninitialisedModel(ISurface)
protected override CriteriaModalModel<T> CreateUninitialisedModel(ISurface s)
Parameters
sISurface
Returns
OnCompleted()
This handler is invoked after the modal completes which could be due to it completing with a result or due to it being cancelled. This method should only perform cleanup of event handlers and similar.
protected override void OnCompleted()
Remarks
See OnConfirmAsync() and OnConfirmAsync() for an appropriate place to put business logic that should run immediately before confirming this modal.
OnModelCreated()
protected override void OnModelCreated()