src/Foundation/Net/Gimela.Net.Http/Resources/FileResources.cs
/// <summary>
/// check if source contains any of the chars.
/// </summary>
/// <param name="source">string to check</param>
/// <param name="chars">Characters to fined</param>
/// <returns></returns>
check if source contains any of the chars.
check if source contains any of the chars .
private static bool Contains(string source, IEnumerable<string> chars)
    {
      foreach (string s in chars)
      {
        if (source.Contains(s))
          return true;
      }
      return false;
    }
private static bool Contains ( string source , IEnumerable < string > chars ) { foreach ( string s in chars ) { if ( source . Contains ( s ) ) return true ; } return false ; }
check if source contains any of the chars.
check if source contains any of the chars .
None
source
string
string to check
string to check
chars
IEnumerable<string>
Characters to fined
Characters to fined