Share via


ODataInstanceAnnotationContainer Class

Definition

Intended as Default implementation for IODataInstanceAnnotationContainer

public sealed class ODataInstanceAnnotationContainer : Microsoft.AspNet.OData.Builder.IODataInstanceAnnotationContainer
type ODataInstanceAnnotationContainer = class
    interface IODataInstanceAnnotationContainer
Public NotInheritable Class ODataInstanceAnnotationContainer
Implements IODataInstanceAnnotationContainer
Inheritance
ODataInstanceAnnotationContainer
Implements

Constructors

ODataInstanceAnnotationContainer()

Initializes a new instance of the ODataInstanceAnnotationContainer class.

Methods

AddPropertyAnnotation(String, String, Object)

Method to Add an Instance Annotation to a property

AddResourceAnnotation(String, Object)

Method to Add an Instance Annotation to the CLR type

GetPropertyAnnotation(String, String)

Get an Instance Annotation from the Property

GetPropertyAnnotations(String)

Get all Annotation for a Property

GetResourceAnnotation(String)

Get an Instance Annotation from CLR Type

GetResourceAnnotations()

Get All Annotations from CLR Type

Applies to