public Maybe <T> Load(string id) { Loading(id); var entity = _decoretee.Load(id); if (entity.HasValue) { Loaded(entity.Value); } else { DidNotFind(id); } return(entity); }
public Maybe <T> Load(string id) { return(ImmutableInterlocked.GetOrAdd(ref _cache, id, i => _decoretee.Load(i))); }
public Maybe <Deal> Load(string id) { return(_dealReadWrite.Load(id)); }