コード例 #1
0
 /// <summary>
 /// Converts the filter value into a string as expected by the SendGrid segmenting API.
 /// Can be overridden in subclasses if the value needs special formatting.
 /// </summary>
 /// <returns>The string representation of the value.</returns>
 public virtual string ConvertValueToString()
 {
     return(SearchCriteria.ConvertToString(FilterValue));
 }
コード例 #2
0
 /// <summary>
 /// Converts the filter value into a string as expected by the SendGrid Email Activities API.
 /// </summary>
 /// <returns>The string representation of the value.</returns>
 public override string ConvertValueToString()
 {
     return($"{SearchCriteria.ConvertToString(FilterValue)} AND {SearchCriteria.ConvertToString(UpperValue)}");
 }