Show / Hide Table of Contents

Class OutputViewModel

View model for device management.

Inheritance
System.Object
OutputViewModel
Implements
ILogViewProvider
IViewProvider
Namespace: Phoenix.Logging
Assembly: Phoenix.dll
Syntax
public class OutputViewModel : ViewModelBase<OutputView>, ILogViewProvider

Constructors

View Source

OutputViewModel(OutputView, IWindowingControl, IEventAggregator, IPhoenixLogger)

Initializes a new instance of the OutputViewModel class.

Declaration
public OutputViewModel(OutputView view, IWindowingControl windowing, IEventAggregator eventAggregator, IPhoenixLogger logger)
Parameters
Type Name Description
OutputView view

The view this view model is driving.

IWindowingControl windowing
IEventAggregator eventAggregator

The event aggregator for the application.

IPhoenixLogger logger

The logger for the application.

Properties

View Source

Categories

Gets the list of categories that have been registered.

Declaration
public ObservableCollection<LogCategoryInfo> Categories { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<LogCategoryInfo>
View Source

ClearCategoryCommand

Gets the clear category command.

Declaration
public DelegateCommand<LogCategoryInfo> ClearCategoryCommand { get; }
Property Value
Type Description
DelegateCommand<LogCategoryInfo>
View Source

CurrentCategory

Gets or sets the currently selected category.

Declaration
public LogCategoryInfo CurrentCategory { get; set; }
Property Value
Type Description
LogCategoryInfo
View Source

IncludeVerbose

Gets or sets a value indicating whether we show verbose output or not.

Declaration
public bool IncludeVerbose { get; set; }
Property Value
Type Description
System.Boolean
View Source

SaveCategoryCommand

Gets the save log command.

Declaration
public DelegateCommand<LogCategoryInfo> SaveCategoryCommand { get; }
Property Value
Type Description
DelegateCommand<LogCategoryInfo>

Implements

ILogViewProvider
IViewProvider
  • View Source
In This Article
Back to top Generated by DocFX