Table of Contents

Class ViewModelService<T>

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll
public class ViewModelService<T> : IViewModelService<T> where T : class

Type Parameters

T
Inheritance
ViewModelService<T>
Implements
Derived

Constructors

ViewModelService(IEntityService<T>, IEntityServiceConfiguration<T>, ILookupService, IWindowDialogService, IEventAggregator, IEntityValidatorService, ILogger<ViewModelService<T>>)

Fields

EntityServiceConfiguration
EntityValidatorService
EventAggregator
Logger
LookupService
WindowDialogService

Properties

OrderBy

Gets or sets the orderby expression for the view model.

Methods

ClearCacheIfIsCached()
ConfirmDeletion(IList)
Delete(List<IEntityWithKey<T>>, bool, CancellationToken)

Deletes the specified entities.

GetEntityService<TEntityService1>()
GetLookupList<TOther>(params PrimaryKeys<TOther>[])

Gets the lookup list for the specified type.

GetQueryParameterWithOrderBy()

Gets the query parameter with the default order by expression.

HandleException(Exception)
PublishDeletion(List<IPrimaryKey>, bool)
SetMainBusyText(string)
SetValidator(object, ValidationRuleSetEnum)