public PVM() { RowDictionary = DictonaryImporter.RowDictionaryProvider(); foreach (var item in RowDictionary) { NamesList.Add(item.Value.ParamName); } }
public VM() { RowDictionary = DictonaryImporter.RowObjectDictionaryProvider(); foreach (var item in RowDictionary) { // Names list is what is showing on the window NamesList.Add(item.Value.Name); } RowParamDictionary = DictonaryImporter.RowDictionaryProvider(); foreach (var item in RowParamDictionary) { ParamNamesList.Add(item.Value.ParamName); } }