public bool TryGetValue(string name, out CopyIndexState state) { if (name == null) { state = Current; return(state != null); } return(_Index.TryGetValue(name, out state)); }
public void Push(CopyIndexState state) { _Current.Push(state); _Index[state.Name] = state; }
public void Add(CopyIndexState state) { _Index[state.Name] = state; }