C# Class FubuMVC.Core.Runtime.OutputWriterExtensions

Afficher le fichier Open project: DarthFubuMVC/fubumvc

Méthodes publiques

Méthode 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 méthode

public static AppendHeader ( this writer, HttpResponseHeader header, string value ) : void
writer this
header HttpResponseHeader
value string
Résultat void

ContentType() public static méthode

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

Write() public static méthode

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
Résultat System.Threading.Tasks.Task

WriteFile() public static méthode

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
Résultat void

WriteHtml() public static méthode

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

WriteHtml() public static méthode

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