C# Class SIL.FieldWorks.Common.Framework.DetailControls.SliceFilter

a class to determine, at display time, whether individual slices should be displayed or hidden.
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_filterList System.Xml.XmlDocument

Public Methods

Method Description
IncludeSlice ( XmlNode configurationNode, ICmObject obj, int flid, int>.HashSet propsToMonitor ) : bool

tell whether to include the slice

SliceFilter ( ) : System

create a filter which does not have an external setup notes to filter (but which will still ask FDO)

SliceFilter ( XmlDocument filterList ) : System

create a filter which will consult both FDO and an external XML document when making filtering decisions

Method Details

IncludeSlice() public method

tell whether to include the slice
public IncludeSlice ( XmlNode configurationNode, ICmObject obj, int flid, int>.HashSet propsToMonitor ) : bool
configurationNode System.Xml.XmlNode
obj ICmObject
flid int
propsToMonitor int>.HashSet
return bool

SliceFilter() public method

create a filter which does not have an external setup notes to filter (but which will still ask FDO)
public SliceFilter ( ) : System
return System

SliceFilter() public method

create a filter which will consult both FDO and an external XML document when making filtering decisions
public SliceFilter ( XmlDocument filterList ) : System
filterList System.Xml.XmlDocument XML document (see distfiles/lexed/basicFilter.xml for an example)
return System

Property Details

m_filterList protected_oe property

protected XmlDocument,System.Xml m_filterList
return System.Xml.XmlDocument