C# Class MiniMVC.Response

Datei anzeigen Open project: mausch/MiniMVC

Public Methods

Method Description
Empty ( this context ) : void
Html ( this response, System.Xml.Linq.XDocument doc ) : void
Html ( this response, System.Xml.Linq.XElement elem ) : void
Html ( this response, string html ) : void
NotFound ( this response ) : void
Raw ( this response, object obj, string contentType ) : void
XDocument ( this response, System.Xml.Linq.XDocument doc, string contentType ) : void
XElement ( this response, System.Xml.Linq.XElement e, string contentType ) : void

Method Details

Empty() public static method

public static Empty ( this context ) : void
context this
return void

Html() public static method

public static Html ( this response, System.Xml.Linq.XDocument doc ) : void
response this
doc System.Xml.Linq.XDocument
return void

Html() public static method

public static Html ( this response, System.Xml.Linq.XElement elem ) : void
response this
elem System.Xml.Linq.XElement
return void

Html() public static method

public static Html ( this response, string html ) : void
response this
html string
return void

NotFound() public static method

public static NotFound ( this response ) : void
response this
return void

Raw() public static method

public static Raw ( this response, object obj, string contentType ) : void
response this
obj object
contentType string
return void

XDocument() public static method

public static XDocument ( this response, System.Xml.Linq.XDocument doc, string contentType ) : void
response this
doc System.Xml.Linq.XDocument
contentType string
return void

XElement() public static method

public static XElement ( this response, System.Xml.Linq.XElement e, string contentType ) : void
response this
e System.Xml.Linq.XElement
contentType string
return void