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