C# Class TemplNET.TemplDebugger

Generates a debug .zip package of metadata from a document build
Exibir arquivo Open project: CPonty/templ-dot-net

Public Properties

Property Type Description
Stream System.IO.MemoryStream

Public Methods

Method Description
AddModuleReport ( IEnumerable modules ) : void

Adds a document containing build statistics to the .zip package

AddState ( TemplDoc document, string name ) : void

Stores a named document state

Commit ( ) : TemplDebugger

Builds the .zip file (in memory)

ModuleReport ( IEnumerable modules ) : TemplDoc

Generates a document containing build statistics from a set of Modules

SaveAs ( string fileName ) : void

Save to disk. Supplied file name is sanitized and converted to '.zip'

Method Details

AddModuleReport() public method

Adds a document containing build statistics to the .zip package
public AddModuleReport ( IEnumerable modules ) : void
modules IEnumerable
return void

AddState() public method

Stores a named document state
public AddState ( TemplDoc document, string name ) : void
document TemplDoc
name string
return void

Commit() public method

Builds the .zip file (in memory)
public Commit ( ) : TemplDebugger
return TemplDebugger

ModuleReport() public method

Generates a document containing build statistics from a set of Modules
public ModuleReport ( IEnumerable modules ) : TemplDoc
modules IEnumerable
return TemplDoc

SaveAs() public method

Save to disk. Supplied file name is sanitized and converted to '.zip'
public SaveAs ( string fileName ) : void
fileName string
return void

Property Details

Stream public_oe property

Debug .zip as memory stream. Automatically updates from the underlying documents on Commit(), SaveAs()
public MemoryStream,System.IO Stream
return System.IO.MemoryStream