private static CacheItem CreateCacheItem(MemcachedRepository repository, object item) { return (new CacheItem { ItemType = item.GetType(), ItemData = repository.Serializer.Serialize(item) }); }
private static CacheItem CreateCacheItem(MemcachedRepository repository, object item) { return new CacheItem { ItemType = item.GetType(), ItemData = repository.Serializer.Serialize(item) }; }