public Consumer()
    {
        IRepository <CustomObject> customObjectRepository =
            new CachedRepositoryDecorator <CustomObject>(
                new CustomObjectRepository()
                );

        customObjectRepository.Find(k => k.Id == 25);
    }
    public Consumer()
    {
        int id = 25;
        ICacheableRepository <CustomObject> customObjectRepository =
            new CachedRepositoryDecorator <CustomObject>(
                cache
                , new CustomObjectRepository()
                );

        customObjectRepository.Find(k => k.Id == id, () => { return(id); });
    }