public void AddStringIndex(int newValue, StringIndexType newSIType)
        {
            StringIndexState siState;

            if (m_cellStringIndices.TryGetValue(newValue, out siState))
            {
                if (siState.Type != newSIType)
                {
                    siState.Type |= newSIType;
                    siState.RefreshTreatAs = true;
                    m_cellStringIndices[newValue] = siState;
                }
            }
            else
            {
                siState = new StringIndexState(newSIType);
                m_cellStringIndices.Add(newValue, siState);
            }
        }
示例#2
0
 public IStringPredicateBuilder Index(StringIndexType type)
 {
     _index           = true;
     _stringIndexType = type;
     return(this);
 }
示例#3
0
 public StringIndexState(StringIndexType newType)
 {
     m_typeFlags = newType;
     m_treatAs = StringIndexType.None;
     m_refreshTreatAs = true;
 }