Show / Hide Table of Contents

Class XboxUpdateViewModel

The view model logic for the xbox update window.

Inheritance
System.Object
XboxUpdateViewModel
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class XboxUpdateViewModel : BindableBase

Constructors

View Source

XboxUpdateViewModel(IEnumerable<Xbox>, String, Window)

Initializes a new instance of the XboxUpdateViewModel class.

Declaration
public XboxUpdateViewModel(IEnumerable<Xbox> xboxDevices, string pathToXdks, Window window)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Xbox> xboxDevices

the collection of xbox devices that will be updated.

System.String pathToXdks

the path to the XDK share

System.Windows.Window window

the containing window.

Properties

View Source

CancelCommand

Gets the cancel update command.

Declaration
public DelegateCommand CancelCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

CanUpdateGameOS

Gets a value indicating whether or not you can use this recovery to update the game OS.

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

CanUpdateRecovery

Gets a value indicating whether or not the selected XDK has its own recovery version that can be used for updating.

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

ErrorMessage

Gets the error message to display.

Declaration
public string ErrorMessage { get; }
Property Value
Type Description
System.String
View Source

FactoryReset

Gets or sets a value indicating whether or not to factory reset when updating the recovery.

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

PathToXdks

Gets the path to the XDKs

Declaration
public string PathToXdks { get; }
Property Value
Type Description
System.String
View Source

RefreshCommand

Gets the refresh command.

Declaration
public DelegateCommand RefreshCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

Refreshing

Gets a value indicating whether or not the share is being refreshed.

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

SelectedXdk

Gets or sets the selected XDK.

Declaration
public XdkReference SelectedXdk { get; set; }
Property Value
Type Description
XdkReference
View Source

UpdateCommand

Gets the update command.

Declaration
public DelegateCommand UpdateCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

UpdateGameOS

Gets or sets a value indicating whether or not to provision the game OS (and tools OS where applicable).

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

UpdateRecovery

Gets or sets a value indicating whether or not to update recovery.

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

UpdateTask

Gets the task that will perform the update. The task is not started by the XboxUpdateViewModel and must be started outside the model

Declaration
public Task UpdateTask { get; }
Property Value
Type Description
System.Threading.Tasks.Task
View Source

Xdks

Gets the collection of XDKs found in the share.

Declaration
public ReadOnlyCollection<XdkReference> Xdks { get; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<XdkReference>
  • View Source
In This Article
Back to top Generated by DocFX