C# Class Zetbox.Server.BootstrapperService

Inheritance: IBootstrapperService
Mostra file Open project: daszat/zetbox

Public Methods

Method Description
BootstrapperService ( ZetboxConfig config ) : System
GetFile ( string path ) : Stream
GetFileInfos ( ) : FileInfo[]
GetFilePath ( string path ) : string

Private Methods

Method Description
InspectFile ( string baseDir, string root, string f ) : FileInfo
RelativePath ( string root, string target ) : string

Make a relative path from root to target, provided that target is a subdirectory of root.

ResolveConfigPath ( string dir ) : string

Method Details

BootstrapperService() public method

public BootstrapperService ( ZetboxConfig config ) : System
config Zetbox.API.Configuration.ZetboxConfig
return System

GetFile() public method

public GetFile ( string path ) : Stream
path string
return Stream

GetFileInfos() public method

public GetFileInfos ( ) : FileInfo[]
return FileInfo[]

GetFilePath() public method

public GetFilePath ( string path ) : string
path string
return string