C# Класс SenseNet.ApplicationModel.DeviceManager

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetDeviceChainPrivate string[]
GetRequestedDeviceNamePrivate string
Initialize void
Reset void
ResetPrivate void

Открытые методы

Метод Описание
GetDeviceChain ( string requestedDevice ) : string[]

Returns the device fallback chain. Empty array if requestedDevice is not registered as a SenseNet.ApplicationModel.Device. Returns an array with one item if there is no fallback device. Index of identified device is 0, first fallback is 1 and so on.

GetRequestedDeviceName ( string userAgent ) : string

Returns identified device or null

Приватные методы

Метод Описание
GetDeviceChainPrivate ( string requestedDevice ) : string[]
GetRequestedDeviceNamePrivate ( string userAgent ) : string
Initialize ( ) : void
Reset ( ) : void
ResetPrivate ( ) : void

Описание методов

GetDeviceChain() публичный статический Метод

Returns the device fallback chain. Empty array if requestedDevice is not registered as a SenseNet.ApplicationModel.Device. Returns an array with one item if there is no fallback device. Index of identified device is 0, first fallback is 1 and so on.
public static GetDeviceChain ( string requestedDevice ) : string[]
requestedDevice string
Результат string[]

GetRequestedDeviceName() публичный статический Метод

Returns identified device or null
public static GetRequestedDeviceName ( string userAgent ) : string
userAgent string Device will be parsed from this
Результат string