Interface IFastDirectoryLookup
It is recommended that IDirectoryHandler classes implement this interface if a faster way of finding directories and files than enumerating is available.
Namespace: EPiServer.Web.Hosting.Versioning
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public interface IFastDirectoryLookup
  Methods
GetFile(String)
Get a file contained in the current directory
Declaration
IFileHandler GetFile(string name)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name of the file  | 
      
Returns
| Type | Description | 
|---|---|
| IFileHandler | A IFileHandler or NULL if no file with the given name was found in this directory  | 
      
GetSubDirectory(String)
Get a subdirectory contained in the current directory
Declaration
IDirectoryHandler GetSubDirectory(string name)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name of the directory  | 
      
Returns
| Type | Description | 
|---|---|
| IDirectoryHandler | A IDirectoryHandler or NULL if no subdirectory with the given name was found in this directory  |