Class WorkPieceServiceViewModel
- Namespace
- Loehnert.Lisrt.TypeAndResult.ViewModels
- Assembly
- Loehnert.Lisrt.TypeAndResult.dll
Service ViewModel for the WorkPieceModule.
public class WorkPieceServiceViewModel : ServiceViewModelBase, IViewAware, IChild, IDocument, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged, ICommandHandler<UndoCommandDefinition>, ICommandHandler<RedoCommandDefinition>, ICommandHandler<SaveFileCommandDefinition>, ICommandHandler<SaveFileAsCommandDefinition>, ICommandHandler
- Inheritance
-
PropertyChangedBaseViewAwareScreenWorkPieceServiceViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
WorkPieceServiceViewModel(WorkPieceModule)
Initializes a new instance of the WorkPieceServiceViewModel class.
public WorkPieceServiceViewModel(WorkPieceModule module)
Parameters
module
WorkPieceModuleThe test item module.
Exceptions
- ArgumentNullException
Thrown when
module
is null.
Properties
IconSource
Gets the icon. (Returns null, because the service window is always disabled.)
public override Uri IconSource { get; }
Property Value
ResultsViewModel
Gets the view model for the test item results.
public ResultsViewModel ResultsViewModel { get; }