DumpIf
Dump if predicate is true
                1
                 vote
              
            
- 
      Denis Valeev commented public static T DumpIf<T>(this T @this, bool predicate) => predicate ? @this.Dump() : @this; 
Dump if predicate is true
public static T DumpIf<T>(this T @this, bool predicate) => predicate ? @this.Dump() : @this;