C# Class SIL.FieldWorks.FDO.Application.ApplicationServices.IntBoolPropertyConverter

Used by SDA clients who can't tell an int from a bool in the model to set the right kind of model property.
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
GetBoolean ( ISilDataAccess sda, int hvo, int tag ) : bool

Get the boolean or integer model property as a boolean.

SetValueFromBoolean ( ISilDataAccess sda, int hvo, int tag, bool newValue ) : void

Set the given boolean to either a boolean or integer model property.

Method Details

GetBoolean() public static méthode

Get the boolean or integer model property as a boolean.
public static GetBoolean ( ISilDataAccess sda, int hvo, int tag ) : bool
sda ISilDataAccess
hvo int
tag int
Résultat bool

SetValueFromBoolean() public static méthode

Set the given boolean to either a boolean or integer model property.
public static SetValueFromBoolean ( ISilDataAccess sda, int hvo, int tag, bool newValue ) : void
sda ISilDataAccess
hvo int
tag int
newValue bool
Résultat void