Пример #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="ConditionParser" /> class.
 /// </summary>
 /// <param name="stringReader">The string reader.</param>
 /// <param name="configurationItemFactory">
 ///     Instance of <see cref="ConfigurationItemFactory" /> used to resolve references to condition methods and layout renderers.
 /// </param>
 private ConditionParser(SimpleStringReader stringReader, ConfigurationItemFactory configurationItemFactory)
 {
     this.configurationItemFactory = configurationItemFactory;
     tokenizer = new ConditionTokenizer(stringReader);
 }
Пример #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="ConditionParser" /> class.
 /// </summary>
 /// <param name="stringReader">The string reader.</param>
 /// <param name="configurationItemFactory">
 ///     Instance of <see cref="ConfigurationItemFactory" /> used to resolve references to condition methods and layout renderers.
 /// </param>
 private ConditionParser(SimpleStringReader stringReader, ConfigurationItemFactory configurationItemFactory)
 {
     this.configurationItemFactory = configurationItemFactory;
     tokenizer = new ConditionTokenizer(stringReader);
 }