Show / Hide Table of Contents

Class RepetitionContextProvider

Implementation of IGetsRepetitionContexts which gets and prepares the repetition contexts.

Inheritance
System.Object
RepetitionContextProvider
Implements
IGetsRepetitionContexts
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 RepetitionContextProvider : IGetsRepetitionContexts

Constructors

| Improve this Doc View Source

RepetitionContextProvider(IGetsTalAttributeSpecs, IGetsAlphabeticValueForNumber, IGetsRomanNumeralForNumber)

Initializes a new instance of the RepetitionContextProvider class.

Declaration
public RepetitionContextProvider(IGetsTalAttributeSpecs specProvider, IGetsAlphabeticValueForNumber alphabeticValueProvider, IGetsRomanNumeralForNumber romanNumeralProvider)
Parameters
Type Name Description
IGetsTalAttributeSpecs specProvider

Spec provider.

IGetsAlphabeticValueForNumber alphabeticValueProvider

A service which gets alphabetic versions of strings.

IGetsRomanNumeralForNumber romanNumeralProvider

A service which gets roman numerals.

Methods

| Improve this Doc View Source

GetRepetitionContexts(Object, ExpressionContext, String)

Gets the repetition contexts for the specified expressionResult.

Declaration
public IList<ExpressionContext> GetRepetitionContexts(object expressionResult, ExpressionContext sourceContext, string repeatVariableName)
Parameters
Type Name Description
System.Object expressionResult

Expression result.

ExpressionContext sourceContext

Source context.

System.String repeatVariableName

Repeat variable name.

Returns
Type Description
System.Collections.Generic.IList<ExpressionContext>

The repetition contexts.

Implements

IGetsRepetitionContexts
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX