C# Class openhabUWP.Remote.openhabFluent

显示文件 Open project: altima/openhabUWP

Public Methods

Method Description
ToBoolean ( this input ) : bool
ToItem ( this jo ) : Item
ToMappings ( this ja ) : openhabUWP.Remote.Models.Mapping[]
ToPage ( this jo ) : Page
ToSitemap ( this jsonString ) : Sitemap
ToSitemapDetail ( this jo, Sitemap sitemap = null ) : Sitemap
ToSitemaps ( this jsonString ) : openhabUWP.Remote.Models.Sitemap[]
ToStateDescription ( this jo ) : StateDescription
ToWidget ( this jo ) : Widget
ToWidgets ( this ja ) : openhabUWP.Remote.Models.Widget[]

Private Methods

Method Description
ToBooleanSafe ( this jo, string key ) : bool
ToWidgetsSafe ( this jo ) : JsonArray

Method Details

ToBoolean() public static method

public static ToBoolean ( this input ) : bool
input this
return bool

ToItem() public static method

public static ToItem ( this jo ) : Item
jo this
return Item

ToMappings() public static method

public static ToMappings ( this ja ) : openhabUWP.Remote.Models.Mapping[]
ja this
return openhabUWP.Remote.Models.Mapping[]

ToPage() public static method

public static ToPage ( this jo ) : Page
jo this
return openhabUWP.Remote.Models.Page

ToSitemap() public static method

public static ToSitemap ( this jsonString ) : Sitemap
jsonString this
return openhabUWP.Remote.Models.Sitemap

ToSitemapDetail() public static method

public static ToSitemapDetail ( this jo, Sitemap sitemap = null ) : Sitemap
jo this
sitemap openhabUWP.Remote.Models.Sitemap
return openhabUWP.Remote.Models.Sitemap

ToSitemaps() public static method

public static ToSitemaps ( this jsonString ) : openhabUWP.Remote.Models.Sitemap[]
jsonString this
return openhabUWP.Remote.Models.Sitemap[]

ToStateDescription() public static method

public static ToStateDescription ( this jo ) : StateDescription
jo this
return openhabUWP.Remote.Models.StateDescription

ToWidget() public static method

public static ToWidget ( this jo ) : Widget
jo this
return openhabUWP.Remote.Models.Widget

ToWidgets() public static method

public static ToWidgets ( this ja ) : openhabUWP.Remote.Models.Widget[]
ja this
return openhabUWP.Remote.Models.Widget[]