Table of Contents

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
PropertyChangedBase
ViewAware
Screen
WorkPieceServiceViewModel
Implements
IViewAware
IChild
IScreen
IHaveDisplayName
IActivate
IDeactivate
IGuardClose
IClose
INotifyPropertyChangedEx
Inherited Members
Screen.OnInitialize()
Screen.OnActivate()
Screen.Parent
Screen.DisplayName
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

WorkPieceServiceViewModel(WorkPieceModule)

Initializes a new instance of the WorkPieceServiceViewModel class.

public WorkPieceServiceViewModel(WorkPieceModule module)

Parameters

module WorkPieceModule

The 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

Uri

ResultsViewModel

Gets the view model for the test item results.

public ResultsViewModel ResultsViewModel { get; }

Property Value

ResultsViewModel