C# Class FubuMVC.Core.Runtime.NormalState

Inheritance: IOutputState
Mostra file Open project: DarthFubuMVC/fubumvc Class Usage Examples

Public Methods

Method Description
AppendHeader ( string header, string value ) : void
Flush ( ) : void
NormalState ( IHttpResponse response, IFileSystem fileSystem ) : System
Write ( string renderedOutput ) : Task
Write ( string contentType, Task>.Func action ) : Task
Write ( string contentType, string renderedOutput ) : Task
WriteFile ( string contentType, string localFilePath, string displayName ) : void

Method Details

AppendHeader() public method

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

Flush() public method

public Flush ( ) : void
return void

NormalState() public method

public NormalState ( IHttpResponse response, IFileSystem fileSystem ) : System
response IHttpResponse
fileSystem IFileSystem
return System

Write() public method

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

Write() public method

public Write ( string contentType, Task>.Func action ) : Task
contentType string
action 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