Table of Contents

Class LicensesViewModel

Namespace
Loehnert.Lisrt.ThirdPartyLicenses.ViewModels
Assembly
Loehnert.Lisrt.dll

Represents the view model for third party licenses.

public class LicensesViewModel : Document, 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
LicensesViewModel
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

LicensesViewModel(ILicenseService)

Initializes a new instance of the LicensesViewModel class.

public LicensesViewModel(ILicenseService licenseService)

Parameters

licenseService ILicenseService

Properties

FlowDocument

Gets the third party licenses document.

public FlowDocument FlowDocument { get; }

Property Value

FlowDocument

Instance

Gets a singleton instance.

public static LicensesViewModel Instance { get; }

Property Value

LicensesViewModel

Methods

SaveLicenses()

Saves the FlowDocument as HTML file.

public void SaveLicenses()