예제 #1
0
        internal static ProxyTargets FactoryForDeserialization(ITranslator translator)
        {
            var instance = new ProxyTargets();

            ((ITranslatable)instance).Translate(translator);

            return(instance);
        }
예제 #2
0
 public static CacheResult IndicateCacheHit(ProxyTargets proxyTargets)
 {
     return(new CacheResult(CacheResultType.CacheHit, proxyTargets: proxyTargets));
 }