Table of Contents

NumberRange.ExpandKeyword Method

Definition

Namespace
GleamTech.DocumentUltimate
Assembly
GleamTech.DocumentUltimate.dll

Expands a supported keyword to an enumerable sequence of numbers. It can be overriden in derived classed to support additional keywords.

protected virtual IEnumerable<int> ExpandKeyword(string keyword, int finalNumber)

Parameters

keyword string

The lower case keyword string to expand.

finalNumber int

The final number which is used as the maximum value for open range specifier.

Returns

IEnumerable<int>

An enumerable sequence of integers.