public static ITextValuedPageModel <string> AsPageModel(this HtmlCell cell) { // NOTE: do not return AsStringValuedPageModel since // the cell has a property specifically for the value text return(cell.AsPageModel(StandardFunctionProvider.StringReturnSelf)); }
public static ITextValuedPageModel <string> AsPageModel(this HtmlCell cell, Func <HtmlCell, string> cellToStringFunc) { return(cell.AsPageModel(StandardFunctionProvider.StringReturnSelf, cellToStringFunc)); }