src/Foundation/Net/Gimela.Net.Http/Resources/ResourceProvider.cs
/// <summary>
/// Get all view names from a folder.
/// </summary>
/// <param name="path">Path to find views in.</param>
/// <returns>A collection of view names (without path).</returns>
Get all view names from a folder.
Get all view names from a folder .
public IList<string> Find(string path)
    {
      if (path == null)
        return new string[0]; 
      var viewNames = new List<string>();
      foreach (IResourceLoader provider in _providers)
        provider.Find(path, viewNames);
      return viewNames;
    }
public IList < string > Find ( string path ) { if ( path == null ) return new string [ 0 ] ; var viewNames = new List < string > ( ) ; foreach ( IResourceLoader provider in _providers ) provider . Find ( path , viewNames ) ; return viewNames ; }
Get all view names from a folder.
Get all view names from a folder .
// Spark view engine passes null. So don't throw exception.
A collection of view names (without path).
A collection of view names ( without path ) .
path
string
Path to find views in.
Path to find views in .