Table of Contents

Interface IControllerFactory

Namespace
The.WPF.Screens
Assembly
Instagile.WPF.dll
public interface IControllerFactory

Methods

CreateContentController<T>(IServices, T, Action<ContentOptions>?)

ContentControllerBase<T> CreateContentController<T>(IServices services, T e, Action<ContentOptions>? configure) where T : IEntity<T>

Parameters

services IServices
e T
configure Action<ContentOptions>

Returns

ContentControllerBase<T>

Type Parameters

T

CreateCreateController<T>(IServices, Func<IPrincipal, Task<T>>, Func<T, Task>?, Action<CreateOptions>?)

CreateController<T> CreateCreateController<T>(IServices services, Func<IPrincipal, Task<T>> create, Func<T, Task>? init, Action<CreateOptions>? configure) where T : IEntity<T>

Parameters

services IServices
create Func<IPrincipal, Task<T>>
init Func<T, Task>
configure Action<CreateOptions>

Returns

CreateController<T>

Type Parameters

T

CreateCreateModalController<T>(IServices, Func<IPrincipal, Task<T>>)

CreateModalController<T> CreateCreateModalController<T>(IServices services, Func<IPrincipal, Task<T>> init) where T : IEntity<T>

Parameters

services IServices
init Func<IPrincipal, Task<T>>

Returns

CreateModalController<T>

Type Parameters

T

CreateCriteriaController<T>(IServices, Func<IEntityContext, IEntityQuery<T>>, Action<CriteriaOptions>?, ITypeFinder?)

CriteriaController<T> CreateCriteriaController<T>(IServices services, Func<IEntityContext, IEntityQuery<T>> queryFactory, Action<CriteriaOptions>? configure, ITypeFinder? autodiscoverer = null) where T : IEntity<T>

Parameters

services IServices
queryFactory Func<IEntityContext, IEntityQuery<T>>
configure Action<CriteriaOptions>
autodiscoverer ITypeFinder

Returns

CriteriaController<T>

Type Parameters

T

CreateDisplayController<T>(IServices, Guid, Action<DisplayOptions>?)

DisplayController<T> CreateDisplayController<T>(IServices services, Guid id, Action<DisplayOptions>? configure) where T : IEntity<T>

Parameters

services IServices
id Guid
configure Action<DisplayOptions>

Returns

DisplayController<T>

Type Parameters

T

CreateDisplayModalController<T>(IServices, bool, T)

DisplayModalController<T> CreateDisplayModalController<T>(IServices services, bool isEditable, T clonee) where T : IEntity<T>

Parameters

services IServices
isEditable bool
clonee T

Returns

DisplayModalController<T>

Type Parameters

T

CreateGridController<T>(IServices, IEntitySet<T>, Action<GridOptions>?)

GridController<T> CreateGridController<T>(IServices services, IEntitySet<T> es, Action<GridOptions>? configure) where T : IEntity<T>

Parameters

services IServices
es IEntitySet<T>
configure Action<GridOptions>

Returns

GridController<T>

Type Parameters

T

CreateListController<T>(IServices, IEntityQuery<T>, int?, Action<ListOptions>?)

ListController<T> CreateListController<T>(IServices services, IEntityQuery<T> query, int? count, Action<ListOptions>? configure) where T : IEntity<T>

Parameters

services IServices
query IEntityQuery<T>
count int?
configure Action<ListOptions>

Returns

ListController<T>

Type Parameters

T

CreateSearchController<T>(IServices, Func<IEntityContext, IEntityQuery<T>>, Action<SearchOptions>?)

SearchController<T> CreateSearchController<T>(IServices services, Func<IEntityContext, IEntityQuery<T>> queryFactory, Action<SearchOptions>? configure) where T : IEntity<T>

Parameters

services IServices
queryFactory Func<IEntityContext, IEntityQuery<T>>
configure Action<SearchOptions>

Returns

SearchController<T>

Type Parameters

T

CreateSearchModalController<T>(IServices, Func<IEntityContext, IEntityQuery<T>>, Action<SearchOptions>?)

SearchModalController<T> CreateSearchModalController<T>(IServices services, Func<IEntityContext, IEntityQuery<T>> queryFactory, Action<SearchOptions>? configure) where T : IEntity<T>

Parameters

services IServices
queryFactory Func<IEntityContext, IEntityQuery<T>>
configure Action<SearchOptions>

Returns

SearchModalController<T>

Type Parameters

T