Class XboxUpdateViewModel
The view model logic for the xbox update window.
Inheritance
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class XboxUpdateViewModel : BindableBase
Constructors
View SourceXboxUpdateViewModel(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 SourceCancelCommand
Gets the cancel update command.
Declaration
public DelegateCommand CancelCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
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 |
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 |
ErrorMessage
Gets the error message to display.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |
PathToXdks
Gets the path to the XDKs
Declaration
public string PathToXdks { get; }
Property Value
Type | Description |
---|---|
System.String |
RefreshCommand
Gets the refresh command.
Declaration
public DelegateCommand RefreshCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
Refreshing
Gets a value indicating whether or not the share is being refreshed.
Declaration
public bool Refreshing { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SelectedXdk
Gets or sets the selected XDK.
Declaration
public XdkReference SelectedXdk { get; set; }
Property Value
Type | Description |
---|---|
XdkReference |
UpdateCommand
Gets the update command.
Declaration
public DelegateCommand UpdateCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
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 |
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 |
UpdateTask
Gets the task that will perform the update.
Declaration
public Task UpdateTask { get; }
Property Value
Type | Description |
---|---|
System.Threading.Tasks.Task |
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> |