C# Class WebApplications.Utilities.Formatting.FuncResolvable

Wraps a lambda expression in a concrete IResolvable object.
Inheritance: Resolvable
Show file Open project: webappsuk/CoreLibraries

Public Methods

Method Description
FuncResolvable ( [ resolver, bool isCaseSensitive = false, bool resolveOuterTags = true, bool resolveControls = false ) : System

Initializes a new instance of the Resolvable class.

Resolve ( FormatWriteContext context, FormatChunk chunk ) : object

Resolves the specified tag.

Method Details

FuncResolvable() public method

Initializes a new instance of the Resolvable class.
public FuncResolvable ( [ resolver, bool isCaseSensitive = false, bool resolveOuterTags = true, bool resolveControls = false ) : System
resolver [ The resolver.
isCaseSensitive bool if set to then tags are case sensitive.
resolveOuterTags bool if set to outer tags should be resolved automatically in formats.
resolveControls bool if set to then controls will passed to the resolvable.
return System

Resolve() public method

Resolves the specified tag.
public Resolve ( FormatWriteContext context, FormatChunk chunk ) : object
context FormatWriteContext The context.
chunk FormatChunk The chunk.
return object