Exemple #1
0
 /// <summary>
 /// Checks if this string contains all of the strings.
 /// </summary>
 /// <param name="comparisonType">Type of string comparison to be used.</param>
 /// <param name="strings">Strings to check against.</param>
 /// <returns>True if all of the strings are contained in this string.</returns>
 public bool ContainsAnd(StringComparison comparisonType, params string[] strings)
 {
     return(ResourceStaticAnalysisToolbox.ContainsAnd(this.Value, comparisonType, strings));
 }
Exemple #2
0
 /// <summary>
 /// Checks if this string contains all of the strings. Uses default Ordinal comparison.
 /// </summary>
 /// <param name="strings">Strings to check against.</param>
 /// <returns>True if all of the strings are contained in this string.</returns>
 public bool ContainsAnd(params string[] strings)
 {
     return(ResourceStaticAnalysisToolbox.ContainsAnd(this.Value, StringComparison.Ordinal, strings));
 }