C# Class FubuMVC.Core.Runtime.InMemoryOutputWriter

Inheritance: IOutputWriter
Show file Open project: DarthFubuMVC/fubumvc Class Usage Examples

Public Methods

Method Description
AppendCookie ( FubuMVC.Core.Http.Cookies.Cookie cookie ) : void
AppendHeader ( string key, string value ) : void
Flush ( ) : void
InMemoryOutputWriter ( ) : System
OutputStream ( ) : Stream
Record ( Func inner ) : Task
RedirectToUrl ( string url ) : void
Replay ( IRecordedOutput output ) : void
ToString ( ) : string
Write ( string renderedOutput ) : Task
Write ( string contentType, Task>.Func output ) : Task
Write ( string contentType, string renderedOutput ) : Task
WriteFile ( string contentType, string localFilePath, string displayName ) : void
WriteResponseCode ( HttpStatusCode status, string description = null ) : void

Method Details

AppendCookie() public method

public AppendCookie ( FubuMVC.Core.Http.Cookies.Cookie cookie ) : void
cookie FubuMVC.Core.Http.Cookies.Cookie
return void

AppendHeader() public method

public AppendHeader ( string key, string value ) : void
key string
value string
return void

Flush() public method

public Flush ( ) : void
return void

InMemoryOutputWriter() public method

public InMemoryOutputWriter ( ) : System
return System

OutputStream() public method

public OutputStream ( ) : Stream
return Stream

Record() public method

public Record ( Func inner ) : Task
inner Func
return Task

RedirectToUrl() public method

public RedirectToUrl ( string url ) : void
url string
return void

Replay() public method

public Replay ( IRecordedOutput output ) : void
output IRecordedOutput
return void

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( string renderedOutput ) : Task
renderedOutput string
return Task

Write() public method

public Write ( string contentType, Task>.Func output ) : Task
contentType string
output Task>.Func
return Task

Write() public method

public Write ( string contentType, string renderedOutput ) : Task
contentType string
renderedOutput string
return Task

WriteFile() public method

public WriteFile ( string contentType, string localFilePath, string displayName ) : void
contentType string
localFilePath string
displayName string
return void

WriteResponseCode() public method

public WriteResponseCode ( HttpStatusCode status, string description = null ) : void
status HttpStatusCode
description string
return void