示例#1
0
        /// <summary>
        /// Initializes a new instance of the Parser class.
        /// </summary>
        /// <param name="providerFactory">The <see cref="OperationProviderFactory"/> to use when creating <see cref="IOperationProvider"/>s.</param>
        public Parser(OperationProviderFactory providerFactory)
        {
            if (providerFactory == null)
            {
                throw new ArgumentNullException("providerFactory", "providerFactory cannot be null.");
            }

            this.providerFactory = providerFactory;
        }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the Parser class.
        /// </summary>
        /// <param name="providerFactory">The <see cref="OperationProviderFactory"/> to use when creating <see cref="IOperationProvider"/>s.</param>
        public Parser(OperationProviderFactory providerFactory)
        {
            if (providerFactory == null)
            {
                throw new ArgumentNullException("providerFactory", "providerFactory cannot be null.");
            }

            this.providerFactory = providerFactory;
        }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the Parser class.
 /// </summary>
 public Parser()
 {
     this.providerFactory = OperationProviderFactory.DefaultInstance;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the Evaluator class.
 /// </summary>
 public Evaluator()
 {
     this.providerFactory = OperationProviderFactory.DefaultInstance;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the Parser class.
 /// </summary>
 public Parser()
 {
     this.providerFactory = OperationProviderFactory.DefaultInstance;
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the Evaluator class.
 /// </summary>
 public Evaluator()
 {
     this.providerFactory = OperationProviderFactory.DefaultInstance;
 }