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
-
PropertyChangedBaseViewAwareScreenLicensesViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.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
Instance
Gets a singleton instance.
public static LicensesViewModel Instance { get; }
Property Value
Methods
SaveLicenses()
Saves the FlowDocument as HTML file.
public void SaveLicenses()