Class ReferenceDataController
public class ReferenceDataController : SimpleScreenControllerBase<ReferenceDataModel, ReferenceDataView>, IScreenController<ReferenceDataModel>, IScreenController, IVisitor<Func<ISurface, IEntityInfo, ReferenceDataModel.EntityVM>>
- Inheritance
-
ReferenceDataController
- Implements
- Inherited Members
Constructors
ReferenceDataController(IServices)
public ReferenceDataController(IServices services)
Parameters
servicesIServices
Methods
CategoriseType(IEntityInfo)
protected virtual string CategoriseType(IEntityInfo type)
Parameters
typeIEntityInfo
Returns
CreateBrowseController<T>()
protected virtual IScreenController CreateBrowseController<T>() where T : IEntity<T>
Returns
Type Parameters
T
CreateEntityVM<T>(ISurface, IEntityInfo)
protected virtual ReferenceDataModel.EntityVM CreateEntityVM<T>(ISurface surface, IEntityInfo type) where T : IEntity<T>
Parameters
surfaceISurfacetypeIEntityInfo
Returns
Type Parameters
T
CreateModel(ISurface)
protected override ReferenceDataModel CreateModel(ISurface s)
Parameters
sISurface
Returns
GetPreviewTextForTypeAsync(IEntityInfo)
protected virtual Task<string> GetPreviewTextForTypeAsync(IEntityInfo type)
Parameters
typeIEntityInfo
Returns
GetTypesToBrowse()
protected virtual IEnumerable<IEntityInfo> GetTypesToBrowse()
Returns
OnControllerOpened()
protected virtual void OnControllerOpened()
OnOpened()
protected override sealed void OnOpened()