C# Class SIL.FieldWorks.Filters.WordSetFilter

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

Protected Properties

Свойство Type Description
m_hvos int[]

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

InitXml() public méthode

Inits the XML.
public InitXml ( XmlNode node ) : void
node System.Xml.XmlNode The node.
Résultat void

PersistAsXml() public méthode

Persists as XML.
public PersistAsXml ( XmlNode node ) : void
node System.Xml.XmlNode The node.
Résultat void

SameFilter() public méthode

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

WordSetFilter() public méthode

Default constructor for IPersistAsXml
public WordSetFilter ( ) : System
Résultat System

WordSetFilter() public méthode

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

Property Details

m_hvos protected_oe property

protected int[] m_hvos
Résultat int[]