Pico.SourceFileSet Class Reference

Detailed Description

Holds a set of source files.

Public Member Functions

bool IsIgnored (string name)
 Is the file/directory with the given name ignored? More...
 
void Ignore (string name)
 Ignores the given file/directory name. E.g. "Editor" will ignore all folders called editor. More...
 
void Add (string[] paths)
 Adds a set of files/directories to this set. More...
 
void Add (string basePath)
 Adds a file/directory to this set. More...
 
void Rename (bool addExtension)
 Adds (or removes) a ".preco" extension to all the files in this set. Do note that this precompiler copies all source files first. More...
 

Public Attributes

List< string > Files =new List<string>()
 
List< string > Ignores =new List<string>()
 

Member Function Documentation

void Pico.SourceFileSet.Add ( string[]  paths)
inline

Adds a set of files/directories to this set.

void Pico.SourceFileSet.Add ( string  basePath)
inline

Adds a file/directory to this set.

void Pico.SourceFileSet.Ignore ( string  name)
inline

Ignores the given file/directory name. E.g. "Editor" will ignore all folders called editor.

bool Pico.SourceFileSet.IsIgnored ( string  name)
inline

Is the file/directory with the given name ignored?

void Pico.SourceFileSet.Rename ( bool  addExtension)
inline

Adds (or removes) a ".preco" extension to all the files in this set. Do note that this precompiler copies all source files first.

Member Data Documentation

List<string> Pico.SourceFileSet.Files =new List<string>()
List<string> Pico.SourceFileSet.Ignores =new List<string>()