C# Class ServiceStack.VirtualPath.InMemoryVirtualPathProvider

In Memory Virtual Path Provider.
Inheritance: ServiceStack.VirtualPath.AbstractVirtualPathProviderBase, IVirtualFiles, IWriteableVirtualPathProvider
Show file Open project: nustack/ServiceStack Class Usage Examples

Public Properties

Property Type Description
rootDirectory InMemoryVirtualDirectory

Public Methods

Method Description
AddFile ( string filePath, string contents ) : void
GetFile ( string virtualPath ) : IVirtualFile
InMemoryVirtualPathProvider ( IAppHost appHost ) : System

Protected Methods

Method Description
Initialize ( ) : void

Method Details

AddFile() public method

public AddFile ( string filePath, string contents ) : void
filePath string
contents string
return void

GetFile() public method

public GetFile ( string virtualPath ) : IVirtualFile
virtualPath string
return IVirtualFile

InMemoryVirtualPathProvider() public method

public InMemoryVirtualPathProvider ( IAppHost appHost ) : System
appHost IAppHost
return System

Initialize() protected method

protected Initialize ( ) : void
return void

Property Details

rootDirectory public property

public InMemoryVirtualDirectory,ServiceStack.VirtualPath rootDirectory
return InMemoryVirtualDirectory