public override IDictionary <int, object> GetValues(IEnumerable <int> ids) { IDictionary <int, object> retVal = DictionaryLibrary.NewDictionary <int, object>(100); foreach (int id in ids) { retVal[id] = GetValue(id); } return(retVal); }
public override IDictionary <int, object> GetValues() { IDictionary <int, object> retVal = DictionaryLibrary.NewDictionary <int, object>(Count); for (int i = 0; i < Count; ++i) { retVal[i] = GetValue(i); } return(retVal); }