C# Class openhabUWP.Remote.Models.ItemFluent

Afficher le fichier Open project: altima/openhabUWP

Méthodes publiques

Méthode Description
IsColorItem ( this item ) : bool

Determines whether [is color item].

IsContactItem ( this item ) : bool

Determines whether [is contact item].

IsDateTimeItem ( this item ) : bool

Determines whether [is date time item].

IsDimmerItem ( this item ) : bool

Determines whether [is dimmer item].

IsGroupItem ( this item ) : bool

Determines whether [is group item].

IsLocationItem ( this item ) : bool

Determines whether [is location item].

IsNumberItem ( this item ) : bool

Determines whether [is number item].

IsRollershutterItem ( this item ) : bool

Determines whether [is rollershutter item].

IsSwitchItem ( this item ) : bool

Determines whether [is switch item].

SetCategory ( this item, string category ) : Item

Sets the category.

SetGroupNames ( this item, string groupNames ) : Item

Sets the group names.

SetIcon ( this item, string icon ) : Item

Sets the icon.

SetLabel ( this item, string label ) : Item

Sets the label.

SetLink ( this item, string link ) : Item

Sets the link.

SetName ( this item, string name ) : Item

Sets the name.

SetState ( this item, string state ) : Item

Sets the state.

SetStateDescription ( this item, StateDescription stateDescription ) : Item

Sets the state description.

SetTags ( this item, string tags ) : Item

Sets the tags.

SetType ( this item, string type ) : Item

Sets the type.

Private Methods

Méthode Description
IsItem ( this item, string type ) : bool

Determines whether the specified type is item.

Method Details

IsColorItem() public static méthode

Determines whether [is color item].
public static IsColorItem ( this item ) : bool
item this The item.
Résultat bool

IsContactItem() public static méthode

Determines whether [is contact item].
public static IsContactItem ( this item ) : bool
item this The item.
Résultat bool

IsDateTimeItem() public static méthode

Determines whether [is date time item].
public static IsDateTimeItem ( this item ) : bool
item this The item.
Résultat bool

IsDimmerItem() public static méthode

Determines whether [is dimmer item].
public static IsDimmerItem ( this item ) : bool
item this The item.
Résultat bool

IsGroupItem() public static méthode

Determines whether [is group item].
public static IsGroupItem ( this item ) : bool
item this The item.
Résultat bool

IsLocationItem() public static méthode

Determines whether [is location item].
public static IsLocationItem ( this item ) : bool
item this The item.
Résultat bool

IsNumberItem() public static méthode

Determines whether [is number item].
public static IsNumberItem ( this item ) : bool
item this The item.
Résultat bool

IsRollershutterItem() public static méthode

Determines whether [is rollershutter item].
public static IsRollershutterItem ( this item ) : bool
item this The item.
Résultat bool

IsSwitchItem() public static méthode

Determines whether [is switch item].
public static IsSwitchItem ( this item ) : bool
item this The item.
Résultat bool

SetCategory() public static méthode

Sets the category.
public static SetCategory ( this item, string category ) : Item
item this The item.
category string The category.
Résultat Item

SetGroupNames() public static méthode

Sets the group names.
public static SetGroupNames ( this item, string groupNames ) : Item
item this The widget.
groupNames string The group names.
Résultat Item

SetIcon() public static méthode

Sets the icon.
public static SetIcon ( this item, string icon ) : Item
item this The item.
icon string The icon.
Résultat Item

SetLabel() public static méthode

Sets the label.
public static SetLabel ( this item, string label ) : Item
item this The item.
label string The label.
Résultat Item

SetLink() public static méthode

Sets the link.
public static SetLink ( this item, string link ) : Item
item this The item.
link string The link.
Résultat Item

SetName() public static méthode

Sets the name.
public static SetName ( this item, string name ) : Item
item this The item.
name string The name.
Résultat Item

SetState() public static méthode

Sets the state.
public static SetState ( this item, string state ) : Item
item this The item.
state string The state.
Résultat Item

SetStateDescription() public static méthode

Sets the state description.
public static SetStateDescription ( this item, StateDescription stateDescription ) : Item
item this The item.
stateDescription StateDescription The state description.
Résultat Item

SetTags() public static méthode

Sets the tags.
public static SetTags ( this item, string tags ) : Item
item this The widget.
tags string The tags.
Résultat Item

SetType() public static méthode

Sets the type.
public static SetType ( this item, string type ) : Item
item this The item.
type string The type.
Résultat Item