Class ShowViewModelService<T, TShow>
Represents a service for showing view models.
public class ShowViewModelService<T, TShow> : ViewModelService<T>, IShowViewModelService<T, TShow>, IViewModelService<T> where T : class where TShow : class
Type Parameters
T
The type of the entity.
TShow
The type of the show entity.
- Inheritance
-
ShowViewModelService<T, TShow>
- Implements
-
IShowViewModelService<T, TShow>
Constructors
- ShowViewModelService(IShowEntityService<T, TShow>, IEntityServiceConfiguration<T>, ILookupService, IWindowDialogService, IEventAggregator, IEntityValidatorService, ILogger<ViewModelService<T>>)
Initializes a new instance of the ShowViewModelService<T, TShow> class.
Properties
- EntityService
Gets the entity service for showing entities.
Methods
- GetShow(PrimaryKeys<T>, CancellationToken)
Gets the show entity based on the primary keys.