ValueResultConverter<T> Class

 

A converter for creating responses from actions that return an arbitrary T value.

Namespace:   System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

System::Object
  System.Web.Http.Controllers::ValueResultConverter<T>

generic<typename T>
public ref class ValueResultConverter : IActionResultConverter

Type Parameters

T

The declared return type of an action.

NameDescription
System_CAPS_pubmethodValueResultConverter<T>()

Initializes a new instance of the ValueResultConverter<T> class.

NameDescription
System_CAPS_pubmethodConvert(HttpControllerContext^, Object^)

Converts the result of an action with arbitrary return type T to an instance of HttpResponseMessage.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: