Export (0) Print
Expand All

ValueResultConverter(T) Class

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

System.Object
  System.Web.Http.Controllers.ValueResultConverter(T)

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

type ValueResultConverter<'T> =  
    class 
        interface IActionResultConverter 
    end

Type Parameters

T

The declared return type of an action.

The ValueResultConverter(T) type exposes the following members.

  NameDescription
Public methodValueResultConverter(T)Initializes a new instance of the ValueResultConverter(T) class.
Top

  NameDescription
Public methodConvertConverts the result of an action with arbitrary return type T to an instance of HttpResponseMessage.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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