Table of Contents

Class ReferenceDataController

Namespace
The.WPF.Screens
Assembly
Instagile.WPF.dll
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

services IServices

Methods

CategoriseType(IEntityInfo)

protected virtual string CategoriseType(IEntityInfo type)

Parameters

type IEntityInfo

Returns

string

CreateBrowseController<T>()

protected virtual IScreenController CreateBrowseController<T>() where T : IEntity<T>

Returns

IScreenController

Type Parameters

T

CreateEntityVM<T>(ISurface, IEntityInfo)

protected virtual ReferenceDataModel.EntityVM CreateEntityVM<T>(ISurface surface, IEntityInfo type) where T : IEntity<T>

Parameters

surface ISurface
type IEntityInfo

Returns

ReferenceDataModel.EntityVM

Type Parameters

T

CreateModel(ISurface)

protected override ReferenceDataModel CreateModel(ISurface s)

Parameters

s ISurface

Returns

ReferenceDataModel

GetPreviewTextForTypeAsync(IEntityInfo)

protected virtual Task<string> GetPreviewTextForTypeAsync(IEntityInfo type)

Parameters

type IEntityInfo

Returns

Task<string>

GetTypesToBrowse()

protected virtual IEnumerable<IEntityInfo> GetTypesToBrowse()

Returns

IEnumerable<IEntityInfo>

OnControllerOpened()

protected virtual void OnControllerOpened()

OnOpened()

protected override sealed void OnOpened()