Ejemplo n.º 1
0
 public static WSOperation GetOperation(string key)
 {
     return((string.IsNullOrEmpty(key) || ALL == null || !ALL.Any(o => o.Match(key))) ? Equal : ALL.FirstOrDefault(o => o.Match(key)));
 }
Ejemplo n.º 2
0
 public static WSOperation GetOperation(string key)
 {
     return((ALL != null && ALL.Any(o => o.Match(key))) ? ALL.FirstOrDefault(o => o.Match(key)) : NONE);
 }