Show / Hide Table of Contents

Class UninstallModel

The model containing the logic for a specific uninstall.

Inheritance
System.Object
UninstallModel
Namespace: Phoenix.Applications.Deployment
Assembly: Phoenix.Plugin.AppDeployment.dll
Syntax
public class UninstallModel : BindableBase

Constructors

View Source

UninstallModel(UninstallModel)

Initializes a new instance of the UninstallModel class.

Declaration
public UninstallModel(UninstallModel cloneSource)
Parameters
Type Name Description
UninstallModel cloneSource

The uninstall model to clone from.

View Source

UninstallModel(ReadOnlyCollection<IDevice>)

Initializes a new instance of the UninstallModel class.

Declaration
public UninstallModel(ReadOnlyCollection<IDevice> targetDevices)
Parameters
Type Name Description
System.Collections.ObjectModel.ReadOnlyCollection<IDevice> targetDevices

The devices that the uninstall is targeting.

Fields

View Source

NonSystemPackagesFilter

A package filter that only includes non-system packages.

Declaration
public static readonly PackageFilter NonSystemPackagesFilter
Field Value
Type Description
PackageFilter

Properties

View Source

DisplayName

Gets the long display name for the current launch.

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

Expanded

Gets or sets a value indicating whether or not the window is expanded.

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

MatchingPackages

Gets the matching packages between all the target devices.

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

RefreshingPackages

Gets or sets a value indicating whether or not the packages are currently refreshing.

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

SelectedPackage

Gets or sets the selected package.

Declaration
public IPackage SelectedPackage { get; set; }
Property Value
Type Description
IPackage
View Source

TargetDevices

Gets the target devices.

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

UninstallLocked

Gets or sets a value indicating whether or not to lock the application combo box.

Declaration
public bool UninstallLocked { get; set; }
Property Value
Type Description
System.Boolean

Methods

View Source

ChangeDeviceSelection(IEnumerable<IDevice>)

Changes the selected devices for a launch model to a new selection, and updates application choices based on the change.

Declaration
public async Task<bool> ChangeDeviceSelection(IEnumerable<IDevice> newDevices)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IDevice> newDevices

The new devices being selected.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

Whether or not the change device selection was successful.

View Source

RefreshMatchingPackages(Boolean)

Refreshes the matching packages for the devices.

Declaration
public async Task RefreshMatchingPackages(bool forceRecache)
Parameters
Type Name Description
System.Boolean forceRecache

If true, forces the cache to rebuild upon request.

Returns
Type Description
System.Threading.Tasks.Task

A task that refreshes the matching packages between the devices.

View Source

Uninstall()

Uninstalls the package.

Declaration
public async Task Uninstall()
Returns
Type Description
System.Threading.Tasks.Task

A task that runs the uninstall.

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