Esempio n. 1
0
 /// <summary>Construct a NameFilter.</summary>
 /// <param name="table">The table with the entries being filtered.</param>
 /// <param name="nameIndex">The name index containing the names we will filter.</param>
 /// <param name="namerFunc">Function to obtain a name ID from a table ID.</param>
 /// <param name="delimiter">The character delimiter applicable to this filter.</param>
 /// <param name="matchString">The (possibly delimited) match string.</param>
 public NameFilter(ITable <TId> table, NameIndex nameIndex, Func <TId, NameId> namerFunc, char delimiter, string matchString)
 {
     m_table       = table;
     m_nameIndex   = nameIndex;
     m_namerFunc   = namerFunc;
     m_delimiter   = delimiter;
     m_matchString = matchString;
 }
Esempio n. 2
0
 internal NameSortComparer(NameIndex nameIndex, StringIndex stringIndex)
 {
     m_nameIndex   = nameIndex;
     m_stringIndex = stringIndex;
 }