Table of Contents

Class ServiceViewModel

Namespace
Loehnert.Lisrt.Communication.SerialPort.ViewModels
Assembly
Loehnert.Lisrt.Communication.dll

Class for a serial port module view model.

[Export(typeof(ServiceViewModel))]
public class ServiceViewModel : 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
ServiceViewModel
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

ServiceViewModel(SerialPortModule)

Initializes a new instance of the ServiceViewModel class.

public ServiceViewModel(SerialPortModule serialPortModule)

Parameters

serialPortModule SerialPortModule

The depending serial port module.

Properties

HeadLine

Gets the headline, build from translated 'serial port' and the port name.

public string HeadLine { get; }

Property Value

string

SendRowViewModel

Gets the view model for the send row.

public SendRowViewModel SendRowViewModel { get; }

Property Value

SendRowViewModel

SerialPortModule

Gets the serial port module.

public SerialPortModule SerialPortModule { get; }

Property Value

SerialPortModule