public static IElementBinder <TObjectType, TProperty> WithFormat <TObjectType, TProperty> (this IElementBinder <TObjectType, TProperty> elementBinder, Func <TProperty, string> format) { return(elementBinder.WithFormat(new DynamicFormatter <TProperty>(format))); }
public static IElementBinder <TObjectType, TProperty> WithFormat <TObjectType, TProperty> (this IElementBinder <TObjectType, TProperty> elementBinder, IFormatter <TProperty> formatter) { return(elementBinder.WithFormat(source => formatter)); }