C# 클래스 SenseNet.ApplicationModel.DeviceManager

파일 보기 프로젝트 열기: maxpavlov/FlexNet

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