C# Class Sarcasm.Unparsing.UnparserExtensions

Mostrar archivo Open project: davidnemeti/Sarcasm

Public Methods

Method Description
AsText ( this utokens, Formatter formatter ) : string
AsText ( this utokens, Unparser unparser ) : string
AsTextAsync ( this utokens, Unparser unparser ) : Task
AsTextAsync ( this utokens, Unparser unparser, CancellationToken cancellationToken ) : Task
WriteToStream ( this utokens, Stream stream, Formatter formatter ) : void
WriteToStream ( this utokens, Stream stream, Unparser unparser ) : void
WriteToStreamAsync ( this utokens, Stream stream, Unparser unparser ) : Task
WriteToStreamAsync ( this utokens, Stream stream, Unparser unparser, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
Cook ( this utokens, IPostProcessHelper postProcessHelper ) : IEnumerable

Method Details

AsText() public static method

public static AsText ( this utokens, Formatter formatter ) : string
utokens this
formatter Formatter
return string

AsText() public static method

public static AsText ( this utokens, Unparser unparser ) : string
utokens this
unparser Unparser
return string

AsTextAsync() public static method

public static AsTextAsync ( this utokens, Unparser unparser ) : Task
utokens this
unparser Unparser
return Task

AsTextAsync() public static method

public static AsTextAsync ( this utokens, Unparser unparser, CancellationToken cancellationToken ) : Task
utokens this
unparser Unparser
cancellationToken System.Threading.CancellationToken
return Task

WriteToStream() public static method

public static WriteToStream ( this utokens, Stream stream, Formatter formatter ) : void
utokens this
stream Stream
formatter Formatter
return void

WriteToStream() public static method

public static WriteToStream ( this utokens, Stream stream, Unparser unparser ) : void
utokens this
stream Stream
unparser Unparser
return void

WriteToStreamAsync() public static method

public static WriteToStreamAsync ( this utokens, Stream stream, Unparser unparser ) : Task
utokens this
stream Stream
unparser Unparser
return Task

WriteToStreamAsync() public static method

public static WriteToStreamAsync ( this utokens, Stream stream, Unparser unparser, CancellationToken cancellationToken ) : Task
utokens this
stream Stream
unparser Unparser
cancellationToken System.Threading.CancellationToken
return Task