C# Class MoreInternals.Helpers.DependencyGraph

Show file Open project: kevin-montrose/More Class Usage Examples

Public Methods

Method Description
Contains ( string path ) : bool

Expects that path is absolute.

NeedRecompilation ( IEnumerable changedFiles, IEnumerable rootFiles ) : IEnumerable

Returns the members in rootFiles that need to be recompiled given that something in changedFiles has changed. `changedFiles` and `rootFiles` are expected to contain only absolute paths.

Private Methods

Method Description
Add ( string file, string dependsOn ) : void

Record that `file` depends on `dependsOn`.

DependencyGraph ( ) : System
DependencyGraph ( Dictionary known ) : System
FileCompiled ( string compiledFile, List finalOutput ) : void
GetUrlValues ( IEnumerable values ) : List
Merge ( DependencyGraph other ) : DependencyGraph
SpritesResolved ( SpriteBlock block ) : void
TraceTo ( string fromFile, IEnumerable toAnyOf ) : List
UsingResolved ( string compiledFile, string usedFile ) : void

Method Details

Contains() public method

Expects that path is absolute.
public Contains ( string path ) : bool
path string
return bool

NeedRecompilation() public method

Returns the members in rootFiles that need to be recompiled given that something in changedFiles has changed. `changedFiles` and `rootFiles` are expected to contain only absolute paths.
public NeedRecompilation ( IEnumerable changedFiles, IEnumerable rootFiles ) : IEnumerable
changedFiles IEnumerable
rootFiles IEnumerable
return IEnumerable