Resolver

References
public sealed class Resolver
Describes an object which can resolve named variables.

Fields

Empty

#
public static readonly Resolver Empty
Gets the empty resolver.

Properties

ItemIndex

#
public int ItemIndex { get; set; }
Gets or sets the item index to be used during indexer lookups. Create a copy of this resolver if you intend to set these values from a threaded environment.

PathIndex

#
public int PathIndex { get; set; }
Gets or sets the path index to be used during indexer lookups. Create a copy of this resolver if you intend to set these values from a threaded environment.

Indexers

this[]

#
public dynamic this[string name] { get; }
Gets the variable associated with a specific name.
name (string)Case sensitive variable name.
Variable value.

Methods

Append

#
public Resolver Append(Resolve resolverDelegate)
Append a delegate to this resolver.
resolverDelegate (Resolve)Delegate.
Extended resolver.

Append

#
public Resolver Append(Resolver other)
Merge two resolvers.
other (Resolver)Other resolver.
Merged resolver.

Append

#
public Resolver Append(string name, object value)
Append a variable to this resolver.
name (string)Variable name.
value (object)Variable value.
Extended resolver.

Duplicate

#
public Resolver Duplicate()
Create a duplicate of this resolver whose PathIndex and ItemIndex can be set safely.