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
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

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