Class DefaultReferenceResolver
Inheritance
System.Object
DefaultReferenceResolver
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Serialization
Assembly: Bayat.Json.Runtime.dll
Syntax
public class DefaultReferenceResolver : IReferenceResolver
Methods
| Improve this Doc View SourceAddReference(Object, String, Object)
Declaration
public void AddReference(object context, string reference, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | context | |
System.String | reference | |
System.Object | value |
GetReference(Object, Object)
Declaration
public string GetReference(object context, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | context | |
System.Object | value |
Returns
Type | Description |
---|---|
System.String |
IsReferenced(Object, Object)
Declaration
public bool IsReferenced(object context, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | context | |
System.Object | value |
Returns
Type | Description |
---|---|
System.Boolean |
ResolveReference(Object, String)
Declaration
public object ResolveReference(object context, string reference)
Parameters
Type | Name | Description |
---|---|---|
System.Object | context | |
System.String | reference |
Returns
Type | Description |
---|---|
System.Object |