Class LicensesViewModel
The licenses of the app and of everything it bundles, as the licenses of the bundled libraries require it to show: the list, and the text of the chosen one.
Inherited Members
Namespace: Uniform.Chat.Avalonia.ViewModels
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public sealed class LicensesViewModel : ViewModelBase, INotifyPropertyChanged, INotifyPropertyChanging
Constructors
| Edit this page View SourceLicensesViewModel()
Load the list from the app's embedded license texts; the app's own license and the notices are chosen first.
Declaration
public LicensesViewModel()
Properties
| Edit this page View SourceEntries
The license texts.
Declaration
public IReadOnlyList<LicenseEntry> Entries { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<LicenseEntry> |
Selected
Declaration
[ObservableProperty]
[ExcludeFromCodeCoverage]
public LicenseEntry? Selected { get; set; }
Property Value
| Type | Description |
|---|---|
| LicenseEntry |
Text
Declaration
[ObservableProperty]
[ExcludeFromCodeCoverage]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |