src/Foundation/Net/Gimela.Net.Http/Resources/EmbeddedResourceLoader.cs
/// <summary>
/// Find all views in a folder/path.
/// </summary>
/// <param name="path">Uri path</param>
/// <param name="viewNames">Collection to add all view names to.</param>
Find all views in a folder/path.
Find all views in a folder / path .
public void Find(string path, List<string> viewNames)
    {
      path = path.ToLower();
      LoadFromPathMappings(path);
      foreach (Mapping mapping in _mappings.Values)
      {
        if (mapping.UriPath == path)
          viewNames.Add(mapping.FileName);
      }
    }
public void Find ( string path , List < string > viewNames ) { path = path . ToLower ( ) ; LoadFromPathMappings ( path ) ; foreach ( Mapping mapping in _mappings . Values ) { if ( mapping . UriPath == path ) viewNames . Add ( mapping . FileName ) ; } }
Find all views in a folder/path.
Find all views in a folder / path .
path
string
None
viewNames
List<string>
Collection to add all view names to.
Collection to add all view names to .