Class FileSystems
Inheritance
System.Object
Namespace: Umbraco.Core.IO
Assembly: Umbraco.Core.dll
Syntax
public class FileSystems : IFileSystems
Constructors
View SourceFileSystems(IFactory, ILogger)
Declaration
public FileSystems(IFactory container, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
IFactory | container | |
ILogger | logger |
Properties
View SourceMacroPartialsFileSystem
Gets the macro partials filesystem.
Declaration
public IFileSystem MacroPartialsFileSystem { get; }
Property Value
Type | Description |
---|---|
IFileSystem |
MvcViewsFileSystem
Gets the MVC views filesystem.
Declaration
public IFileSystem MvcViewsFileSystem { get; }
Property Value
Type | Description |
---|---|
IFileSystem |
PartialViewsFileSystem
Gets the partial views filesystem.
Declaration
public IFileSystem PartialViewsFileSystem { get; }
Property Value
Type | Description |
---|---|
IFileSystem |
ScriptsFileSystem
Gets the scripts filesystem.
Declaration
public IFileSystem ScriptsFileSystem { get; }
Property Value
Type | Description |
---|---|
IFileSystem |
StylesheetsFileSystem
Gets the stylesheets filesystem.
Declaration
public IFileSystem StylesheetsFileSystem { get; }
Property Value
Type | Description |
---|---|
IFileSystem |
Methods
View SourceGetFileSystem<TFileSystem>(IFileSystem)
Gets a strongly-typed filesystem.
Declaration
public TFileSystem GetFileSystem<TFileSystem>(IFileSystem supporting)
where TFileSystem : FileSystemWrapper
Parameters
Type | Name | Description |
---|---|---|
IFileSystem | supporting |
Returns
Type | Description |
---|---|
TFileSystem | A strongly-typed filesystem of the specified type. |
Type Parameters
Name | Description |
---|---|
TFileSystem | The type of the filesystem. |
Remarks
Note that any filesystem created by this method after shadowing begins, will not be shadowing (and an exception will be thrown by the ShadowWrapper).