public static DebuggerDisplayBuilder <T> DisplayValues <T, TProperty> ( this DebuggerDisplayBuilder <T> builder, Expression <Func <T, IEnumerable <TProperty> > > memberSelector ) { return(builder.Collection(memberSelector, x => x, DebuggerDisplayFormatter.DefaultValueFormat, DebuggerDisplayFormatter.DefaultCollectionLength)); }
public static DebuggerDisplayBuilder <T> DisplayValue <T, TProperty> ( this DebuggerDisplayBuilder <T> builder, Expression <Func <T, TProperty> > memberSelector ) { return(builder.Property(memberSelector, DebuggerDisplayFormatter.DefaultValueFormat)); }
public static DebuggerDisplayBuilder <T> Collection <T, TProperty, TValue>( this DebuggerDisplayBuilder <T> builder, Expression <Func <T, IEnumerable <TProperty> > > propertySelector, Expression <Func <TProperty, TValue> > valueSelector, string format, int max = DebuggerDisplayFormatter.DefaultCollectionLength) { return(builder.Collection(propertySelector, valueSelector, DebuggerDisplayFormatter.DefaultValueFormat, max)); }