Esempio n. 1
0
 public PropStoreServices_NotUsed(ITypeDescBasedTConverterCache typeDescBasedTConverterCache, IProvideDelegateCaches delegateCacheProvider, IProvideHandlerDispatchDelegateCaches handlerDispatchDelegateCacheProvider/*, PSAccessServiceCreatorInterface propStoreEntryPoint*/)
 {
     TypeDescBasedTConverterCache = typeDescBasedTConverterCache ?? throw new ArgumentNullException(nameof(typeDescBasedTConverterCache));
     DelegateCacheProvider = delegateCacheProvider ?? throw new ArgumentNullException(nameof(delegateCacheProvider));
     HandlerDispatchDelegateCacheProvider = handlerDispatchDelegateCacheProvider ?? throw new ArgumentNullException(nameof(handlerDispatchDelegateCacheProvider));
     //PropStoreEntryPoint = propStoreEntryPoint ?? throw new ArgumentNullException(nameof(propStoreEntryPoint));
 }
Esempio n. 2
0
 public PropFactoryValueConverter(ITypeDescBasedTConverterCache converterCache)
 {
     _converter = converterCache ?? throw new ArgumentNullException(nameof(converterCache));
 }
Esempio n. 3
0
 static StaticTConverterProvider()
 {
     // TypeDesc<T>-based Converter Cache
     TypeDescBasedTConverterCache = new TypeDescBasedTConverterCache();
 }