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.
Defines how the JsonSerializer deals with references on serialization and deserialization. Defines the core behavior of preserving references on serialization and deserialization.
public ref class ReferenceResolver abstract
public abstract class ReferenceResolver
type ReferenceResolver = class
Public MustInherit Class ReferenceResolver
Initializes a new instance of the ReferenceResolver class.
Adds an entry to the bag of references using the specified id and value. This method gets called when an $id metadata property from a JSON object is read.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the reference identifier of the specified value if exists; otherwise a new id is assigned. This method gets called before a CLR object is written so we can decide whether to write $id and enumerate the rest of its properties or $ref and step into the next object.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns the CLR reference type object related to the specified reference id. This method gets called when $ref metadata property is read.
Returns a string that represents the current object.(Inherited from Object)