C# 클래스 Sitecore.SharedSource.Commons.Extensions.DeviceExtensions

Extensions methods for the Sitecore device object
파일 보기 프로젝트 열기: Velir/Sitecore-Commons

공개 메소드들

메소드 설명
IsNotNull ( this deviceItem ) : bool

Checks to see if a device is not null

IsNull ( this deviceItem ) : bool

Checks to see if a device is null

IsOfDevice ( this deviceItem, string deviceId ) : bool

check the device item against a device id

메소드 상세

IsNotNull() 공개 정적인 메소드

Checks to see if a device is not null
public static IsNotNull ( this deviceItem ) : bool
deviceItem this
리턴 bool

IsNull() 공개 정적인 메소드

Checks to see if a device is null
public static IsNull ( this deviceItem ) : bool
deviceItem this
리턴 bool

IsOfDevice() 공개 정적인 메소드

check the device item against a device id
public static IsOfDevice ( this deviceItem, string deviceId ) : bool
deviceItem this
deviceId string
리턴 bool