Show / Hide Table of Contents

Class LaunchModel

The model for a particular launch.

Inheritance
System.Object
LaunchModel
Namespace: Phoenix.Applications.Launch
Assembly: Phoenix.Plugin.AppLaunch.dll
Syntax
public class LaunchModel : BindableBase

Constructors

View Source

LaunchModel(LaunchModel)

Initializes a new instance of the LaunchModel class.

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

The target launch to clone.

View Source

LaunchModel(IEnumerable<IDevice>)

Initializes a new instance of the LaunchModel class.

Declaration
public LaunchModel(IEnumerable<IDevice> selectedDevices)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IDevice> selectedDevices

The target devices for the launch.

Properties

View Source

ConfigurationName

Gets or sets the current configuration name.

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

CustomCommandLine

Gets or sets the custom command line for the launch.

Declaration
public string CustomCommandLine { get; set; }
Property Value
Type Description
System.String
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

IsCommandLineCreated

Gets or sets a value indicating whether the current configuration was created by the user entering command args.

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

LaunchingApplication

Gets or sets a value indicating whether or not the application is being launched currently.

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

LaunchLocked

Gets or sets a value indicating whether or not the launch expander is locked and settings can be changed.

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

MatchingApplications

Gets the matching applications between all the target devices.

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

RefreshingApplications

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

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

SelectedApplication

Gets or sets the selected application.

Declaration
public IApplication SelectedApplication { get; set; }
Property Value
Type Description
IApplication
View Source

SelectedConfiguration

Gets or sets the active configuration.

Declaration
public LaunchConfiguration SelectedConfiguration { get; set; }
Property Value
Type Description
LaunchConfiguration
View Source

SelectedEditableParameters

Gets the selected parameters that have an editable portion.

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

SelectedParameters

Gets the selected parameters that cannot be edited.

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

ShowSystemApplications

Gets or sets a value indicating whether or not the model should show system applications.

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

TargetDevices

Gets the target devices.

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

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

Launch(LaunchConfiguration)

Launches the application with a configuration.

Declaration
public async Task Launch(LaunchConfiguration config)
Parameters
Type Name Description
LaunchConfiguration config

The config to launch with (can be different than the active one.)

Returns
Type Description
System.Threading.Tasks.Task

A task that runs the launch.

View Source

RefreshMatchingApplications(Boolean)

Refreshes the matching applications for the devices.

Declaration
public async Task RefreshMatchingApplications(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 applications between the devices.

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