/// <summary> /// Initializes a new instance of the <see cref="ControlTreeResolverBase"/> class. /// </summary> public ControlTreeResolverBase(IControlResolver controlResolver, IAbstractTreeBuilder treeBuilder) { this.controlResolver = controlResolver; this.treeBuilder = treeBuilder; rawLiteralMetadata = new Lazy <IControlResolverMetadata>(() => controlResolver.ResolveControl(new ResolvedTypeDescriptor(typeof(RawLiteral)))); literalMetadata = new Lazy <IControlResolverMetadata>(() => controlResolver.ResolveControl(new ResolvedTypeDescriptor(typeof(Literal)))); placeholderMetadata = new Lazy <IControlResolverMetadata>(() => controlResolver.ResolveControl(new ResolvedTypeDescriptor(typeof(PlaceHolder)))); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultControlTreeResolver"/> class. /// </summary> public DefaultControlTreeResolver(IControlResolver controlResolver, IAbstractTreeBuilder treeBuilder, IBindingExpressionBuilder expressionBuilder) : base(controlResolver, treeBuilder) { this.bindingExpressionBuilder = expressionBuilder; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultControlTreeResolver"/> class. /// </summary> public DefaultControlTreeResolver(IControlResolver controlResolver, IAbstractTreeBuilder treeBuilder) : base(controlResolver, treeBuilder) { }