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.
Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method 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 method

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
return bool

SetValueFromBoolean() public static method

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
return void