public ExpressionParserContext(IExpressionAnalyzer analyzer, object parameter, object value)
		{
			if(analyzer == null)
				throw new ArgumentNullException("analyzer");

			_analyzer = analyzer;
			_parameter = parameter;
			_value = value;
		}
Exemple #2
0
        public ExpressionParserContext(IExpressionAnalyzer analyzer, object parameter, object value)
        {
            if (analyzer == null)
            {
                throw new ArgumentNullException("analyzer");
            }

            _analyzer  = analyzer;
            _parameter = parameter;
            _value     = value;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExplicitBindingConfiguration"/> class.
 /// </summary>
 public ExplicitBindingConfiguration()
 {
     _expressionAnalyzer = new ExpressionAnalyzer();
     _pathNavigator      = new PathNavigator(new WpfMemberTokenFactory(), new SilverlightMemberTokenFactory(), new WindowsFormsMemberTokenFactory(), new ClrMemberTokenFactory());
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultBindingConfiguration"/> class.
 /// </summary>
 public DefaultBindingConfiguration()
 {
     _expressionAnalyzer = new ExpressionAnalyzer(new ItemDependencyExtractor(), new ExternalDependencyExtractor(), new StaticDependencyExtractor());
     _pathNavigator = new PathNavigator(new WpfMemberTokenFactory(), new SilverlightMemberTokenFactory(), new WindowsFormsMemberTokenFactory(), new ClrMemberTokenFactory());
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExplicitBindingConfiguration"/> class.
 /// </summary>
 public ExplicitBindingConfiguration()
 {
     _expressionAnalyzer = new ExpressionAnalyzer();
     _pathNavigator = new PathNavigator(new WpfMemberTokenFactory(), new SilverlightMemberTokenFactory(), new WindowsFormsMemberTokenFactory(), new ClrMemberTokenFactory());
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultBindingConfiguration"/> class.
 /// </summary>
 public DefaultBindingConfiguration()
 {
     _expressionAnalyzer = new ExpressionAnalyzer(new ItemDependencyExtractor(), new ExternalDependencyExtractor(), new StaticDependencyExtractor());
     _pathNavigator      = new PathNavigator(new WpfMemberTokenFactory(), new SilverlightMemberTokenFactory(), new WindowsFormsMemberTokenFactory(), new ClrMemberTokenFactory());
 }