TemplateVariableMapper Delegate

This method is called by Replace(String, TemplateVariableMapper) to replace parameters with values.

Definition

Namespace: Quine.Schemas.Core
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public delegate string TemplateVariableMapper(
	string name
)

Parameters

name  String
Parameter name to replace. The name does NOT contain $() delimiters. For example, if the template contains parameter named $(MyParameter), this method will be invoked with MyParameter.

Return Value

String
The string value that name maps to, or null if no mapping exists.

Exceptions

KeyNotFoundExceptionIf name does cannot be mapped to a value.

See Also