Метод | Описание | |
---|---|---|
BabelFileSystem ( IBabel transformer, Microsoft.Owin.FileSystems.IFileSystem fileSystem, IEnumerable |
Creates a new instance of the BabelFileSystem.
|
|
BabelFileSystem ( IBabel transformer, string root, IEnumerable |
Creates a new instance of the BabelFileSystem.
|
|
GetDirectoryContents ( string subpath ) : IDirectoryContents |
Enumerate a directory at the given path, if any
|
|
GetFileInfo ( string subpath ) : IFileInfo |
Locate a file at the given path.
|
|
TryGetDirectoryContents ( string subpath, IEnumerable |
Enumerate a directory at the given path, if any
|
|
TryGetFileInfo ( string subpath, IFileInfo &fileInfo ) : bool |
Locate a JavaScript file at the given path.
|
|
Watch ( string filter ) : IChangeToken |
Creates a T:Microsoft.Framework.Primitives.IChangeToken for the specified filter.
|
public BabelFileSystem ( IBabel transformer, Microsoft.Owin.FileSystems.IFileSystem fileSystem, IEnumerable |
||
transformer | IBabel | Babel transformer used to compile files |
fileSystem | Microsoft.Owin.FileSystems.IFileSystem | File system used to look up files |
extensions | IEnumerable |
Extensions of files that will be treated as JavaScript files |
Результат | System |
public BabelFileSystem ( IBabel transformer, string root, IEnumerable |
||
transformer | IBabel | Babel transformer used to compile files |
root | string | The root directory |
extensions | IEnumerable |
Extensions of files that will be treated as JavaScript files |
Результат | System |
public GetDirectoryContents ( string subpath ) : IDirectoryContents | ||
subpath | string | The path that identifies the directory |
Результат | IDirectoryContents |
public GetFileInfo ( string subpath ) : IFileInfo | ||
subpath | string | The path that identifies the file |
Результат | IFileInfo |
public TryGetDirectoryContents ( string subpath, IEnumerable |
||
subpath | string | The path that identifies the directory |
contents | IEnumerable |
The contents if any |
Результат | bool |
public TryGetFileInfo ( string subpath, IFileInfo &fileInfo ) : bool | ||
subpath | string | The path that identifies the file |
fileInfo | IFileInfo | The discovered file if any |
Результат | bool |
public Watch ( string filter ) : IChangeToken | ||
filter | string | /// Filter string used to determine what files or folders to monitor. /// Example: **/*.cs, *.*, subFolder/**/*.cshtml. |
Результат | IChangeToken |