Beispiel #1
0
        public VisualTypeResolver(ITypeInferrer typeInferrer,
                                  IDictionary <String, VisualTypeTuple> typeAliases)

        {
            _typeInferrer = typeInferrer;
            _typeAliases  = typeAliases;
        }
Beispiel #2
0
        //private readonly IViewProvider _viewProvider;

        public TestLauncher(IBootStrapper bootStrapper,
                            //IViewProvider viewProvider,
                            IRenderKit renderKit,
                            ITypeInferrer typeInferrer)
        {
            BootStrapper = bootStrapper;
            RenderKit    = renderKit;
            TypeInferrer = typeInferrer;
            //_viewProvider = viewProvider;
        }
 public BindingBuilder(ITypeInferrer typeInferrer,
                       IPropertyProvider propertyProvider,
                       IAssemblyList assemblies,
                       IResourceBuilder resourceBuilder)
 {
     _typeInferrer            = typeInferrer;
     _propertyProvider        = propertyProvider;
     _assemblies              = assemblies;
     _resourceBuilder         = resourceBuilder;
     _cachedPropertyAccessors = new DoubleConcurrentDictionary <Type, String, IPropertyAccessor>();
 }
Beispiel #4
0
 public ViewInflater(IVisualBootstrapper visualBootstrapper,
                     IStringPrimitiveScanner xmlAttributeParser,
                     ITypeInferrer typeInferrer,
                     IBindingBuilder bindingBuilder,
                     IValueConverterProvider converterProvider,
                     IVisualTypeResolver visualTypeResolver,
                     IPropertyProvider typeManipulator,
                     IAppliedStyleBuilder appliedStyleBuilder)
 {
     _visualBootstrapper    = visualBootstrapper;
     _typeInferrer          = typeInferrer;
     _bindingBuilder        = bindingBuilder;
     _converterProvider     = converterProvider;
     _visualTypeResolver    = visualTypeResolver;
     _typeManipulator       = typeManipulator;
     _appliedStyleBuilder   = appliedStyleBuilder;
     _attributeValueScanner = xmlAttributeParser;
 }
 public DefaultStyleInflater(ITypeInferrer typeInferrer,
                             IStyleVariableAccessor variableAccessor)
     : base(GetCssRuleBuilder(variableAccessor),
            new XmlStyleRuleBuilder(), new VisualTypeResolver(typeInferrer))
 {
 }
Beispiel #6
0
 public VisualTypeResolver(ITypeInferrer typeInferrer)
     :  this(typeInferrer, _defaultAliases)
 {
 }