public BasicListItemData Parse(IListItemDataWrapper input) { return(new BasicListItemData { ListItemId = input.GetValue <int>(IdFieldInternalName), Title = input.GetValue <string>(TitleFieldInternalName) }); }
public ListItemData Parse(IListItemDataWrapper input) { var basicData = this._basicListItemParser.Parse(input); return(new ListItemData { ListItemId = basicData.ListItemId, Title = basicData.Title, Modified = input.GetValue <string>(ModifiedFieldInternalName), AssignedToName = input.GetValue <string>(AssignedToFieldInternalName, NameFieldInternalName), Estimate = input.GetValue <double>(EstimateFieldInternalName), TimeSpent = input.GetValue <double>(TimeSpentFieldInternalName) }); }