C# Class TemplNET.TemplDebugger

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

Méthodes publiques

Свойство Type Description
Stream System.IO.MemoryStream

Méthodes publiques

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

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

AddState() public méthode

Stores a named document state
public AddState ( TemplDoc document, string name ) : void
document TemplDoc
name string
Résultat void

Commit() public méthode

Builds the .zip file (in memory)
public Commit ( ) : TemplDebugger
Résultat TemplDebugger

ModuleReport() public méthode

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

SaveAs() public méthode

Save to disk. Supplied file name is sanitized and converted to '.zip'
public SaveAs ( string fileName ) : void
fileName string
Résultat 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
Résultat System.IO.MemoryStream