Class VariableDefinitionProvider
Implementation of IGetsVariableDefinitionsFromAttributeValue which parses and returns information about variable definitions from a TAL 'define' attribute value.
Inheritance
System.Object
VariableDefinitionProvider
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Tal
Assembly: ZptSharp.dll
Syntax
public class VariableDefinitionProvider : IGetsVariableDefinitionsFromAttributeValue
Methods
| Improve this Doc View SourceGetDefinitions(String)
Gets a collection of the variable definitions specified in the attribute value. This might be one or more separate definitions, semicolon-separated.
Declaration
public IEnumerable<VariableDefinition> GetDefinitions(string attributeValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | attributeValue | Attribute value. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VariableDefinition> | The definitions. |
Exceptions
Type | Condition |
---|---|
System.FormatException | If the syntax/format of the attribute value is invalid. |