コード例 #1
0
 public static Func <T, bool> GetObjectPredicate <T>(JoinerOptions options)
 {
     if (options.SkipNullsFlag)
     {
         return(t => t != null);
     }
     return(null);
 }
コード例 #2
0
 public static Func <string, bool> GetStringPredicate(JoinerOptions options)
 {
     if (options.SkipNullsFlag)
     {
         return(s => !string.IsNullOrWhiteSpace(s));
     }
     return(null);
 }