Version 2.1.0.0

IExternalGuidReferenceResolver interface

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public interface IExternalGuidReferenceResolver
Resolves external guid references to reference objects during serialization and deserialization.

Properties

NextResolver
Gets or sets the next resolver in the chain.
IExternalGuidReferenceResolver NextResolver { get; set; }

Methods

CanReference(Object, out Guid)
Determines whether this resolver can reference the specified value with a Guid.
bool CanReference(object value, out Guid guid)
Parameters
System.Object value

The value to check.

System.Guid guid

The Guid which references the value.

Returns
System.Boolean

true if the value can be referenced; otherwise, false.

TryResolveReference(Guid, out Object)
Tries to resolve a reference from a given Guid.
bool TryResolveReference(Guid guid, out object value)
Parameters
System.Guid guid

The Guid to resolve.

System.Object value

The resolved value.

Returns
System.Boolean

true if the value was resolved; otherwise, false.

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.