Show / Hide Table of Contents

Class LaunchManager

Manages launch-related tasks.

Inheritance
System.Object
LaunchManager
Implements
ILaunchManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Applications.Launch
Assembly: Phoenix.Plugin.AppLaunch.dll
Syntax
public class LaunchManager : ILaunchManager

Constructors

View Source

LaunchManager(IPhoenixLogger)

Initializes a new instance of the LaunchManager class.

Declaration
public LaunchManager(IPhoenixLogger logger)
Parameters
Type Name Description
IPhoenixLogger logger

The log manager

Properties

View Source

LaunchParameterFactories

Gets all the registered factories for launch parameters.

Declaration
public IList<LaunchParameterFactoryBase> LaunchParameterFactories { get; }
Property Value
Type Description
System.Collections.Generic.IList<LaunchParameterFactoryBase>
View Source

SavedConfigurationPaths

Gets the saved configuration path history.

Declaration
public IReadOnlyCollection<string> SavedConfigurationPaths { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyCollection<System.String>

Methods

View Source

LaunchApplicationAsync(IDevice, IApplication, LaunchConfiguration)

Launches the application on the specified device asynchronously.

Declaration
public Task LaunchApplicationAsync(IDevice device, IApplication application, LaunchConfiguration config)
Parameters
Type Name Description
IDevice device

The target device.

IApplication application

The application

LaunchConfiguration config

The configuration.

Returns
Type Description
System.Threading.Tasks.Task

A task for the asynchronous operation.

View Source

LaunchApplicationAsync(IDevice, String, LaunchConfiguration)

Launches the application on the specified device asynchronously.

Declaration
public Task LaunchApplicationAsync(IDevice device, string aumid, LaunchConfiguration config)
Parameters
Type Name Description
IDevice device

The target device.

System.String aumid

The application user model id (aumid).

LaunchConfiguration config

The configuration.

Returns
Type Description
System.Threading.Tasks.Task

A task for the asynchronous operation.

View Source

LoadConfigurationFromFile(String)

Loads a configuration from a file.

Declaration
public LaunchConfiguration LoadConfigurationFromFile(string filePath)
Parameters
Type Name Description
System.String filePath

The path to the configuration file.

Returns
Type Description
LaunchConfiguration

The loaded configuration.

View Source

RegisterLaunchParameterFactory(LaunchParameterFactoryBase)

Registers a launch parameter factory.

Declaration
public void RegisterLaunchParameterFactory(LaunchParameterFactoryBase parameterFactory)
Parameters
Type Name Description
LaunchParameterFactoryBase parameterFactory

The factory to register.

View Source

SaveConfiguration(LaunchConfiguration, String)

Saves a configuration to file.

Declaration
public void SaveConfiguration(LaunchConfiguration config, string filePath)
Parameters
Type Name Description
LaunchConfiguration config

The configuration to save.

System.String filePath

The path to the file.

View Source

SaveExistingConfigurationPath(String)

Saves an existing configuration path to the path history.

Declaration
public void SaveExistingConfigurationPath(string configPath)
Parameters
Type Name Description
System.String configPath

The path to save.

View Source

UnregisterLaunchParameterFactory(LaunchParameterFactoryBase)

Unregisters a launch parameter factory.

Declaration
public void UnregisterLaunchParameterFactory(LaunchParameterFactoryBase parameterFactory)
Parameters
Type Name Description
LaunchParameterFactoryBase parameterFactory

The factory to unregister.

Implements

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