public override IEnumerable <string> Format(FormatterArgs args) { List <string> result = new List <string>(); SingleParameterNameArgs sArgs = args as SingleParameterNameArgs; if (sArgs != null && args.Count > 0) { for (int i = 0; i < args.Count; i++) { yield return(string.Format(_formatter, sArgs.PrefixValue, sArgs.StartValue + (sArgs.IncrementValue * i), sArgs.PostfixValue)); } } }
public abstract IEnumerable <string> Format(FormatterArgs args);