C# Class Phun.Templating.PhunFileSystem

Default implementation for template file system.
Inheritance: IFileSystem
Show file Open project: noogen/phuncms Class Usage Examples

Protected Properties

Property Type Description
api IPhunApi
config ICmsConfiguration
connector IContentConnector
myUtility Phun.Routing.ResourcePathUtility

Public Methods

Method Description
PhunFileSystem ( IPhunApi api, IContentConnector connector ) : System

Initializes a new instance of the PhunFileSystem class.

readFileSync ( string filename, string options ) : string

Reads the file sync.

Protected Methods

Method Description
CacheRetrieve ( string filename ) : string

Caches the retrieve.

Method Details

CacheRetrieve() protected method

Caches the retrieve.
protected CacheRetrieve ( string filename ) : string
filename string The filename.
return string

PhunFileSystem() public method

Initializes a new instance of the PhunFileSystem class.
public PhunFileSystem ( IPhunApi api, IContentConnector connector ) : System
api IPhunApi The API.
connector IContentConnector The connector.
return System

readFileSync() public method

Reads the file sync.
public readFileSync ( string filename, string options ) : string
filename string The filename.
options string The options is ignored.
return string

Property Details

api protected property

The API
protected IPhunApi api
return IPhunApi

config protected property

The config
protected ICmsConfiguration config
return ICmsConfiguration

connector protected property

The connector
protected IContentConnector connector
return IContentConnector

myUtility protected property

My utility
protected ResourcePathUtility,Phun.Routing myUtility
return Phun.Routing.ResourcePathUtility