메소드 | 설명 | |
---|---|---|
Negotiated ( this controller, object data ) : |
Return content-negotiated content of the data based on Accept header. Supports: application/json - using JSON.NET text/xml - Xml as XmlSerializer XML text/html - as text, or an optional View text/plain - as text
|
|
Negotiated ( this controller, string viewName, object data ) : |
Return content-negotiated content of the data based on Accept header. Supports: application/json - using JSON.NET text/xml - Xml as XmlSerializer XML text/html - as text, or an optional View text/plain - as text
|
public static Negotiated ( this controller, object data ) : |
||
controller | this | |
data | object | Data to return |
리턴 |
public static Negotiated ( this controller, string viewName, object data ) : |
||
controller | this | |
viewName | string | Name of the View to when Accept is text/html |
data | object | Data to return |
리턴 |