public static NamedCellDictionary FromCells(IEnumerable <CellTuple> tuples) { var dic = new NamedCellDictionary(); foreach (var tuple in tuples) { dic[tuple.Name] = tuple.Src; } return(dic); }
public CellValueDictionary(NamedCellDictionary srcmap, Dictionary <string, string> dictionary) { if (srcmap == null) { throw new System.ArgumentNullException(nameof(srcmap)); } this.srcmap = srcmap; this.Update(dictionary); }