Interface IResolveContext
Current resolution context for tokens.
public interface IResolveContext
Properties
DocumentPath
Path in the JSON document that is being constructed.
string[] DocumentPath { get; }
Property Value
- string[]
Preparing
True when we are still preparing, false if we're rendering the final output.
bool Preparing { get; }
Property Value
Scope
The scope from which resolution has been initiated.
IConstruct Scope { get; }
Property Value
Methods
RegisterPostProcessor(IPostProcessor)
Use this postprocessor after the entire token structure has been resolved.
void RegisterPostProcessor(IPostProcessor postProcessor)
Parameters
postProcessor
IPostProcessor
Resolve(object, IResolveChangeContextOptions?)
Resolve an inner object.
object Resolve(object x, IResolveChangeContextOptions? options = null)
Parameters
x
objectoptions
IResolveChangeContextOptions