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