/// <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; }
/// <summary> /// Initializes a new instance of the Parser class. /// </summary> public Parser() { this.providerFactory = OperationProviderFactory.DefaultInstance; }
/// <summary> /// Initializes a new instance of the Evaluator class. /// </summary> public Evaluator() { this.providerFactory = OperationProviderFactory.DefaultInstance; }