C# Class Fusion.Pipeline.ContentProject

ファイルを表示 Open project: demiurghg/FusionEngine

Public Methods

Method Description
Build ( bool forced, string sourceDirectory, string tempDirectory, string targetDirectory, IEnumerable selection ) : bool

ContentProject ( string fileName ) : System

Loads content project from file.

GetHashCollisions ( ICollection assets ) : string[]

Searchs for all possible hash collisions. Returns list of collided asset paths.

SaveToFile ( string path ) : void

Private Methods

Method Description
ConvertPath ( string path ) : string

Converts path 1. Relative path to full path. 2. $(EnvVarName) -> Environment variable value. 3. $(HKEY_LOCAL_MACHINE\...) -> Registry value.

ResolveBinaryPath ( string path ) : string

ResolveContentPath ( string path ) : string

ResolvePath ( string path, IEnumerable dirs ) : string

Resolves path using provided list of directories.

Method Details

Build() public method

public Build ( bool forced, string sourceDirectory, string tempDirectory, string targetDirectory, IEnumerable selection ) : bool
forced bool
sourceDirectory string
tempDirectory string
targetDirectory string
selection IEnumerable
return bool

ContentProject() public method

Loads content project from file.
public ContentProject ( string fileName ) : System
fileName string
return System

GetHashCollisions() public method

Searchs for all possible hash collisions. Returns list of collided asset paths.
public GetHashCollisions ( ICollection assets ) : string[]
assets ICollection
return string[]

SaveToFile() public method

public SaveToFile ( string path ) : void
path string
return void