C# Class Fusion.Build.BuildContext

Afficher le fichier Open project: demiurghg/FusionEngine Class Usage Examples

Méthodes publiques

Méthode Description
BuildContext ( BuildOptions options, IniData iniData ) : System

ContentFileExists ( string path ) : bool

Try to resolve source file path. If succeded returns true. False otherwice.

CopyFileTo ( string fullSourceFileName, BinaryWriter writer ) : void

Copies file file to stream.

CopyFileTo ( string fullSourceFileName, Stream targetStream ) : void

Copies file to stream.

GetTempFileName ( string key, string ext ) : string

Generates temporary file name for given key with given extension and return full path to this file.

ResolveContentPath ( string path ) : string

RunTool ( string exePath, string commandLine ) : void

Private Methods

Méthode Description
GetAllKeysFromSection ( IniData iniData, string sectionName ) : string[]

ResolveDirectory ( string dir ) : string

ResolvePath ( string path, IEnumerable dirs ) : string

Method Details

BuildContext() public méthode

public BuildContext ( BuildOptions options, IniData iniData ) : System
options BuildOptions
iniData Fusion.Core.IniParser.Model.IniData
Résultat System

ContentFileExists() public méthode

Try to resolve source file path. If succeded returns true. False otherwice.
public ContentFileExists ( string path ) : bool
path string
Résultat bool

CopyFileTo() public méthode

Copies file file to stream.
public CopyFileTo ( string fullSourceFileName, BinaryWriter writer ) : void
fullSourceFileName string Resolved source file name
writer System.IO.BinaryWriter
Résultat void

CopyFileTo() public méthode

Copies file to stream.
public CopyFileTo ( string fullSourceFileName, Stream targetStream ) : void
fullSourceFileName string
targetStream Stream
Résultat void

GetTempFileName() public méthode

Generates temporary file name for given key with given extension and return full path to this file.
public GetTempFileName ( string key, string ext ) : string
key string unique key string value
ext string Desired extension with leading dot
Résultat string

ResolveContentPath() public méthode

public ResolveContentPath ( string path ) : string
path string
Résultat string

RunTool() public méthode

public RunTool ( string exePath, string commandLine ) : void
exePath string
commandLine string
Résultat void