Exemplo n.º 1
0
 public Search RemoveBodyProperty(string alias)
 {
     if (!BodyProperties.Contains(alias))
     {
         BodyProperties = BodyProperties.Where(x => x != alias).ToArray();
     }
     return(this);
 }
Exemplo n.º 2
0
 public Search AddBodyProperty(string alias)
 {
     if (!BodyProperties.Contains(alias))
     {
         BodyProperties = BodyProperties.Append(alias).ToArray();
     }
     return(this);
 }