C# Class GenerateTestPackages.AssemblySourceFileGeneratorBase

Show file Open project: xero-github/Nuget

Private Properties

Property Type Description

Public Methods

Method Description
ClearIndent ( ) : void

Remove any indentation

Error ( string message ) : void

Raise an error

PopIndent ( ) : string

Remove the last indent that was added with PushIndent

PushIndent ( string indent ) : void

Increase the indent

Warning ( string message ) : void

Raise a warning

Write ( string textToAppend ) : void

Write text directly into the generated output

WriteLine ( string textToAppend ) : void

Write text directly into the generated output

Method Details

ClearIndent() public method

Remove any indentation
public ClearIndent ( ) : void
return void

Error() public method

Raise an error
public Error ( string message ) : void
message string
return void

PopIndent() public method

Remove the last indent that was added with PushIndent
public PopIndent ( ) : string
return string

PushIndent() public method

Increase the indent
public PushIndent ( string indent ) : void
indent string
return void

Warning() public method

Raise a warning
public Warning ( string message ) : void
message string
return void

Write() public method

Write text directly into the generated output
public Write ( string textToAppend ) : void
textToAppend string
return void

WriteLine() public method

Write text directly into the generated output
public WriteLine ( string textToAppend ) : void
textToAppend string
return void