Exemplo n.º 1
0
 public CachedLookupValueConverter(CachedXPCollections cacheDictionary)
 {
     if (cacheDictionary == null)
     {
         throw new ArgumentNullException("cacheDictionary");
     }
     this.cacheDictionary = cacheDictionary;
 }
Exemplo n.º 2
0
        public XpoFieldValueReader(IImportLogger logger)
        {
            if (logger == null)
            {
                this.logger = new NullImportLogger();
            }
            else
            {
                this.logger = logger;
            }

            lookupValueConverter = new LookupValueConverter()
            {
                UnmatchedLookupLogger = LogXpObjectsNotFound
            };

            lookupCacheDictionary      = new CachedXPCollections();
            cachedLookupValueConverter = new CachedLookupValueConverter(lookupCacheDictionary)
            {
                UnmatchedLookupLogger = LogXpObjectsNotFound
            };

            lookupsNotFound = new Dictionary <Type, List <string> >();
        }