Example #1
0
 public static Option <string> WhereNotNullOrWhiteSpace(this Option <string> value)
 {
     return(value.Where(s => !string.IsNullOrWhiteSpace(s)));
 }
Example #2
0
 public static Option <string> WhereNotNullOrEmpty(this Option <string> value)
 {
     return(value.Where(s => !string.IsNullOrEmpty(s)));
 }