Esempio n. 1
0
 public TypeDescBasedTConverterCache()
 {
     _converters = new LockingConcurrentDictionary <TypeDescBasedTConverterKey, Delegate>(
         CreateConverter, TypeDescBasedTConverterKey.GetEquComparer());
 }
Esempio n. 2
0
 public DelegateProxyCache()
 {
     _cache = new LockingConcurrentDictionary <MethodSubscriptionKind, Delegate>(MakeTheDelegate);
 }
Esempio n. 3
0
 public SimplePropTemplateCache()
 {
     _cache = new LockingConcurrentDictionary <IPropTemplate, IPropTemplate>(Factory, new PropTemplateGenComparer());
 }