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