C# Class Fusion.Pipeline.ContentProject

Afficher le fichier Open project: demiurghg/FusionEngine

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Build ( bool forced, string sourceDirectory, string tempDirectory, string targetDirectory, IEnumerable selection ) : bool
forced bool
sourceDirectory string
tempDirectory string
targetDirectory string
selection IEnumerable
Résultat bool

ContentProject() public méthode

Loads content project from file.
public ContentProject ( string fileName ) : System
fileName string
Résultat System

GetHashCollisions() public méthode

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

SaveToFile() public méthode

public SaveToFile ( string path ) : void
path string
Résultat void