Skip to content

IResolvable

Interface for values that can be resolvable later.

Tokens are special objects that participate in synthesis.

Methods

Name Description
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.

Resolve

private object Resolve(IResolveContext Context)

Produce the Token's value at resolution time.

ContextRequired


ToString

private string ToString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
CreationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.

CreationStackRequired

public string[] CreationStack { get; }
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.