Class IDeviceSettingExtensions
Extension methods for IDevice.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Settings
Assembly: DeviceConsole.Environments.dll
Syntax
public static class IDeviceSettingExtensions
Methods
View SourceGetSettingEnvironment(IDevice, string?)
Gets the setting environment with the specified name.
Declaration
public static ISettingEnvironment GetSettingEnvironment(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 |
---|---|
ISettingEnvironment | The specified setting environment. |
GetSupportedSettingEnvironments(IDevice)
Gets the supported setting environments for this device.
Declaration
public static IEnumerable<string> GetSupportedSettingEnvironments(this IDevice self)
Parameters
Type | Name | Description |
---|---|---|
IDevice | self | The device context to use. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumeration of supported setting environment names. |