C# Class FubuMVC.Core.Runtime.OutputWriterExtensions

Exibir arquivo Open project: DarthFubuMVC/fubumvc

Public Methods

Method Description
AppendHeader ( this writer, HttpResponseHeader header, string value ) : void
ContentType ( this writer, FubuMVC.Core.Runtime.MimeType mimeType ) : void
Write ( this writer, FubuMVC.Core.Runtime.MimeType mimeType, string contents ) : System.Threading.Tasks.Task
WriteFile ( this writer, FubuMVC.Core.Runtime.MimeType contentType, string localFilePath, string displayName ) : void
WriteHtml ( this writer, object content ) : System.Threading.Tasks.Task
WriteHtml ( this writer, string content ) : System.Threading.Tasks.Task

Method Details

AppendHeader() public static method

public static AppendHeader ( this writer, HttpResponseHeader header, string value ) : void
writer this
header HttpResponseHeader
value string
return void

ContentType() public static method

public static ContentType ( this writer, FubuMVC.Core.Runtime.MimeType mimeType ) : void
writer this
mimeType FubuMVC.Core.Runtime.MimeType
return void

Write() public static method

public static Write ( this writer, FubuMVC.Core.Runtime.MimeType mimeType, string contents ) : System.Threading.Tasks.Task
writer this
mimeType FubuMVC.Core.Runtime.MimeType
contents string
return System.Threading.Tasks.Task

WriteFile() public static method

public static WriteFile ( this writer, FubuMVC.Core.Runtime.MimeType contentType, string localFilePath, string displayName ) : void
writer this
contentType FubuMVC.Core.Runtime.MimeType
localFilePath string
displayName string
return void

WriteHtml() public static method

public static WriteHtml ( this writer, object content ) : System.Threading.Tasks.Task
writer this
content object
return System.Threading.Tasks.Task

WriteHtml() public static method

public static WriteHtml ( this writer, string content ) : System.Threading.Tasks.Task
writer this
content string
return System.Threading.Tasks.Task