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));
 }
Exemple #2
0
 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));
 }