Пример #1
0
 public TypeDescBasedTConverterCache()
 {
     _converters = new LockingConcurrentDictionary <TypeDescBasedTConverterKey, Delegate>(
         CreateConverter, TypeDescBasedTConverterKey.GetEquComparer());
 }
Пример #2
0
 public DelegateProxyCache()
 {
     _cache = new LockingConcurrentDictionary <MethodSubscriptionKind, Delegate>(MakeTheDelegate);
 }
Пример #3
0
 public SimplePropTemplateCache()
 {
     _cache = new LockingConcurrentDictionary <IPropTemplate, IPropTemplate>(Factory, new PropTemplateGenComparer());
 }