Ejemplo n.º 1
0
        public JasonPropModelBuilder
        (
            IParsePropBagTemplates propBagTemplateParser,
            IPropFactoryFactory propFactoryFactory
        )
        {
            _pbtParser          = propBagTemplateParser;
            _propFactoryFactory = propFactoryFactory ?? throw new ArgumentNullException(nameof(propFactoryFactory));

            _propModelCache     = new Dictionary <string, PropModelType>();
            _mapperRequestCache = new Dictionary <string, IMapperRequest>();
        }
Ejemplo n.º 2
0
        public RemotePropModelBuilder
        (
            ResourceDictionaryProvider resourceDictionaryProvider,
            IParsePropBagTemplates propBagTemplateParser,
            IPropFactoryFactory propFactoryFactory
            //, string mapperConfigPackageNameSuffix
        )
        {
            _resourceDictionaryProvider = resourceDictionaryProvider;
            _pbtParser          = propBagTemplateParser;
            _propFactoryFactory = propFactoryFactory;
            //MapperConfigPackageNameSuffix = mapperConfigPackageNameSuffix;

            _propModelCache     = new Dictionary <string, PropModelType>();
            _mapperRequestCache = new Dictionary <string, IMapperRequest>();
        }