public DefineCollectionOptimized(IStringReplacer replacer, Dictionary <string, IMacro> builtInMacros) { this.values = (IDictionary <string, IDictionary <int, IMacro> >) new Dictionary <string, IDictionary <int, IMacro> >(); this.builtInValues = (IDictionary <string, IMacro>) new Dictionary <string, IMacro>(); this.replacer = replacer; replacer.BuiltInValues = this.builtInValues; replacer.Values = this.values; replacer.MaxIter = 100; }
public DefineCollectionOptimized(IStringReplacer replacer) : this(replacer, new Dictionary <string, IMacro>()) { }