C# Class SIL.FieldWorks.Filters.WordSetFilter

A filter for selecting a group of wordform spaced on a "WfiWordSet"
Inheritance: SIL.FieldWorks.Filters.RecordFilter
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_hvos int[]

Public Methods

Method Description
Accept ( IManyOnePathSortItem item ) : bool

decide whether this object should be included

InitXml ( XmlNode node ) : void

Inits the XML.

PersistAsXml ( XmlNode node ) : void

Persists as XML.

SameFilter ( SIL.FieldWorks.Filters.RecordFilter other ) : bool

Test to see if this filter matches the other filter.

WordSetFilter ( ) : System

Default constructor for IPersistAsXml

WordSetFilter ( IWfiWordSet wordSet ) : System

Initializes a new instance of the T:WordSetFilter class.

Private Methods

Method Description
LoadCases ( IWfiWordSet wordSet ) : void
ReloadWordSet ( SIL.FieldWorks.FDO.FdoCache cache ) : void

Sync the word references to the state of the word list in the database. This is what we need to do when restoring our Filter from xml to make sure the ids are valid.

Method Details

Accept() public method

decide whether this object should be included
public Accept ( IManyOnePathSortItem item ) : bool
item IManyOnePathSortItem The item.
return bool

InitXml() public method

Inits the XML.
public InitXml ( XmlNode node ) : void
node System.Xml.XmlNode The node.
return void

PersistAsXml() public method

Persists as XML.
public PersistAsXml ( XmlNode node ) : void
node System.Xml.XmlNode The node.
return void

SameFilter() public method

Test to see if this filter matches the other filter.
public SameFilter ( SIL.FieldWorks.Filters.RecordFilter other ) : bool
other SIL.FieldWorks.Filters.RecordFilter
return bool

WordSetFilter() public method

Default constructor for IPersistAsXml
public WordSetFilter ( ) : System
return System

WordSetFilter() public method

Initializes a new instance of the T:WordSetFilter class.
public WordSetFilter ( IWfiWordSet wordSet ) : System
wordSet IWfiWordSet The word set.
return System

Property Details

m_hvos protected_oe property

protected int[] m_hvos
return int[]