Type ICustomTypeProvider.GetCustomType() { if (_schema == null) { return(null); } return(_schema.GetCustomType()); }
public ItemValues(BaseItemsViewModel vmItems) { _schema = vmItems.Schema; foreach (var property in _schema.GetCustomType().GetProperties()) { ItemAttribute newValue = new ItemAttribute(property.Name, null); _valuesDictionary.Add(property.Name, newValue); _valuesCollection.Add(newValue); } }