C# Class Simple.Generator.ProjectWriter

Show file Open project: juanplopes/simple

Public Methods

Method Description
AddCompile ( string file ) : ProjectWriter
AddContent ( string file ) : ProjectWriter
AddEmbeddedResource ( string file ) : ProjectWriter
AddFile ( string file, string type ) : ProjectWriter
AddNone ( string file ) : ProjectWriter
GetXml ( ) : string
ProjectWriter ( string xml ) : System
ProjectWriter ( string xml, string ns ) : System
RemoveFile ( string file ) : ProjectWriter
WriteXmlTo ( Stream stream ) : ProjectWriter

Protected Methods

Method Description
CorrectPaths ( string file ) : string

Private Methods

Method Description
CleanUp ( ) : void
GetFileNode ( string file ) : XmlNode

Method Details

AddCompile() public method

public AddCompile ( string file ) : ProjectWriter
file string
return ProjectWriter

AddContent() public method

public AddContent ( string file ) : ProjectWriter
file string
return ProjectWriter

AddEmbeddedResource() public method

public AddEmbeddedResource ( string file ) : ProjectWriter
file string
return ProjectWriter

AddFile() public method

public AddFile ( string file, string type ) : ProjectWriter
file string
type string
return ProjectWriter

AddNone() public method

public AddNone ( string file ) : ProjectWriter
file string
return ProjectWriter

CorrectPaths() protected static method

protected static CorrectPaths ( string file ) : string
file string
return string

GetXml() public method

public GetXml ( ) : string
return string

ProjectWriter() public method

public ProjectWriter ( string xml ) : System
xml string
return System

ProjectWriter() public method

public ProjectWriter ( string xml, string ns ) : System
xml string
ns string
return System

RemoveFile() public method

public RemoveFile ( string file ) : ProjectWriter
file string
return ProjectWriter

WriteXmlTo() public method

public WriteXmlTo ( Stream stream ) : ProjectWriter
stream Stream
return ProjectWriter