Class IDeviceApplicationExtensions
Extension methods for IDevice.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Applications
Assembly: DeviceConsole.Environments.dll
Syntax
public static class IDeviceApplicationExtensions
Methods
View SourceGetApplicationEnvironment(IDevice, string?)
Gets the application environment with the specified name.
Declaration
public static IApplicationEnvironment GetApplicationEnvironment(this IDevice self, string? name = null)
Parameters
Type | Name | Description |
---|---|---|
IDevice | self | The device context to use. |
string | name | The name of the file environment to get. If null, gets the default environment. |
Returns
Type | Description |
---|---|
IApplicationEnvironment | The specified application environment. |
GetSupportedApplicationEnvironments(IDevice)
Gets the supported application environments for this device.
Declaration
public static IEnumerable<string> GetSupportedApplicationEnvironments(this IDevice self)
Parameters
Type | Name | Description |
---|---|---|
IDevice | self | The device context to use. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumeration of supported application environment names. |