Exemplo n.º 1
0
 internal object GetDestination(object source, Type destinationType)
 {
     if (source == null)
     {
         return(null);
     }
     return(InstanceCache.GetOrDefault(new ContextCacheKey(source, destinationType)));
 }
Exemplo n.º 2
0
 internal object GetDestination(object source, Type destinationType) => InstanceCache.GetOrDefault(new ContextCacheKey(source, destinationType));