Interface IRecordLinkResolver<T>
- Namespace
- Chronicler
- Assembly
- Chronicler.dll
Resolves stable identifiers for external or runtime-owned objects that should not be serialized inline.
public interface IRecordLinkResolver<T>
Type Parameters
T
Methods
TryGetReferenceId(T, out string?)
Attempts to produce a stable identifier for the provided value.
bool TryGetReferenceId(T value, out string? id)
Parameters
valueTidstring
Returns
TryResolveReference(string, out T)
Attempts to resolve a previously recorded identifier back into a runtime value.
bool TryResolveReference(string id, out T value)
Parameters
idstringvalueT