ResourceContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ResourceContext() |
Initializes a new instance of the ResourceContext class. |
ResourceContext(ODataSerializerContext, IEdmStructuredTypeReference, Object) |
Initializes a new instance of the ResourceContext class. |
ResourceContext()
Initializes a new instance of the ResourceContext class.
public ResourceContext ();
Public Sub New ()
Applies to
ResourceContext(ODataSerializerContext, IEdmStructuredTypeReference, Object)
Initializes a new instance of the ResourceContext class.
public ResourceContext (Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext serializerContext, Microsoft.OData.Edm.IEdmStructuredTypeReference structuredType, object resourceInstance);
new Microsoft.AspNet.OData.ResourceContext : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext * Microsoft.OData.Edm.IEdmStructuredTypeReference * obj -> Microsoft.AspNet.OData.ResourceContext
Public Sub New (serializerContext As ODataSerializerContext, structuredType As IEdmStructuredTypeReference, resourceInstance As Object)
Parameters
- serializerContext
- ODataSerializerContext
The backing ODataSerializerContext.
- structuredType
- IEdmStructuredTypeReference
The EDM structured type of this instance context.
- resourceInstance
- Object
The object representing the instance of this context.