C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetBoolean() публичный статический Метод

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
Результат bool

SetValueFromBoolean() публичный статический Метод

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
Результат void