C# Класс SIL.FieldWorks.Common.Controls.XMLViewsDataCache

A 'Decorator' class for the FDO ISilDataAccess implementation. This class allows for caching the 'fake' flids used in a browse view (i.e., flides used for the check box and selection, etc.).
Наследование: SIL.FieldWorks.FDO.Application.DomainDataByFlidDecoratorBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetItemSelectedValue int
XMLViewsDataCache System

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

Метод Описание
CacheMultiString ( int hvo, int tag, int ws, ITsString val ) : void

Store a value, without generating PropChanged calls.

RemoveMultiBaseStrings ( int hvo, int tag ) : void

Remove any ktagAlternateValueMultiBase values for this hvo

SetInt ( int hvo, int tag, int n ) : void

Override to support fake integer properties.

SetMultiStringAlt ( int hvo, int tag, int ws, ITsString tss ) : void

Override to handle props in the tagEditColumn range. We also handle the virtual property LexEntry.ReversalEntriesBulkText in a special way. (See FWR-376.)

SetString ( int hvo, int tag, ITsString _tss ) : void

Override to handle ktagAlternateValue.

XMLViewsDataCache ( ISilDataAccessManaged domainDataByFlid, bool defaultSelected, int>.Dictionary selectedItems ) : System

The main constructor.

get_IntProp ( int hvo, int tag ) : int

Override to support fake integer properties.

get_IsPropInCache ( int hvo, int tag, int cpt, int ws ) : bool

Override to support some fake flids.

get_MultiStringAlt ( int hvo, int tag, int ws ) : ITsString

We understand how to get a multistring for any hvo in the tagEditColumn range. We also handle the virtual property LexEntry.ReversalEntriesBulkText in a special way. (See FWR-376.)

get_ObjectProp ( int hvo, int tag ) : int

Override to work with fake flids.

get_StringProp ( int hvo, int tag ) : ITsString

Override to handle ktagAlternateValue.

get_VecSize ( int hvo, int tag ) : int

Override to work with fake flid.

Приватные методы

Метод Описание
GetItemSelectedValue ( int hvo ) : int
XMLViewsDataCache ( ISilDataAccessManaged domainDataByFlid, XmlNode nodeSpec ) : System

Simpler constructor supplies default args

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

CacheMultiString() публичный Метод

Store a value, without generating PropChanged calls.
public CacheMultiString ( int hvo, int tag, int ws, ITsString val ) : void
hvo int
tag int
ws int
val ITsString
Результат void

RemoveMultiBaseStrings() публичный Метод

Remove any ktagAlternateValueMultiBase values for this hvo
public RemoveMultiBaseStrings ( int hvo, int tag ) : void
hvo int
tag int
Результат void

SetInt() публичный Метод

Override to support fake integer properties.
public SetInt ( int hvo, int tag, int n ) : void
hvo int
tag int
n int
Результат void

SetMultiStringAlt() публичный Метод

Override to handle props in the tagEditColumn range. We also handle the virtual property LexEntry.ReversalEntriesBulkText in a special way. (See FWR-376.)
public SetMultiStringAlt ( int hvo, int tag, int ws, ITsString tss ) : void
hvo int
tag int
ws int
tss ITsString
Результат void

SetString() публичный Метод

Override to handle ktagAlternateValue.
public SetString ( int hvo, int tag, ITsString _tss ) : void
hvo int
tag int
_tss ITsString
Результат void

XMLViewsDataCache() публичный Метод

The main constructor.
public XMLViewsDataCache ( ISilDataAccessManaged domainDataByFlid, bool defaultSelected, int>.Dictionary selectedItems ) : System
domainDataByFlid ISilDataAccessManaged
defaultSelected bool
selectedItems int>.Dictionary
Результат System

get_IntProp() публичный Метод

Override to support fake integer properties.
public get_IntProp ( int hvo, int tag ) : int
hvo int
tag int
Результат int

get_IsPropInCache() публичный Метод

Override to support some fake flids.
public get_IsPropInCache ( int hvo, int tag, int cpt, int ws ) : bool
hvo int
tag int
cpt int
ws int
Результат bool

get_MultiStringAlt() публичный Метод

We understand how to get a multistring for any hvo in the tagEditColumn range. We also handle the virtual property LexEntry.ReversalEntriesBulkText in a special way. (See FWR-376.)
public get_MultiStringAlt ( int hvo, int tag, int ws ) : ITsString
hvo int
tag int
ws int
Результат ITsString

get_ObjectProp() публичный Метод

Override to work with fake flids.
public get_ObjectProp ( int hvo, int tag ) : int
hvo int
tag int
Результат int

get_StringProp() публичный Метод

Override to handle ktagAlternateValue.
public get_StringProp ( int hvo, int tag ) : ITsString
hvo int
tag int
Результат ITsString

get_VecSize() публичный Метод

Override to work with fake flid.
public get_VecSize ( int hvo, int tag ) : int
hvo int
tag int
Результат int