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); } }
public IStringPredicateBuilder Index(StringIndexType type) { _index = true; _stringIndexType = type; return(this); }
public StringIndexState(StringIndexType newType) { m_typeFlags = newType; m_treatAs = StringIndexType.None; m_refreshTreatAs = true; }