C# 클래스 Fusion.Build.BuildContext

파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetAllKeysFromSection ( IniData iniData, string sectionName ) : string[]

ResolveDirectory ( string dir ) : string

ResolvePath ( string path, IEnumerable dirs ) : string

메소드 상세

BuildContext() 공개 메소드

public BuildContext ( BuildOptions options, IniData iniData ) : System
options BuildOptions
iniData Fusion.Core.IniParser.Model.IniData
리턴 System

ContentFileExists() 공개 메소드

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

CopyFileTo() 공개 메소드

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

CopyFileTo() 공개 메소드

Copies file to stream.
public CopyFileTo ( string fullSourceFileName, Stream targetStream ) : void
fullSourceFileName string
targetStream Stream
리턴 void

GetTempFileName() 공개 메소드

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
리턴 string

ResolveContentPath() 공개 메소드

public ResolveContentPath ( string path ) : string
path string
리턴 string

RunTool() 공개 메소드

public RunTool ( string exePath, string commandLine ) : void
exePath string
commandLine string
리턴 void