Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 357 Bytes

distributed_cache_static_class.md

File metadata and controls

9 lines (7 loc) · 357 Bytes

Distributed Cache Static Class

[namespace: Serenity, assembly: Serenity.Core]

DistributedCache class provides shortcuts to methods for currently registered IDistributedCache implementation. So below two lines are functionally equal:

    IoC.Resolve<IDistributedCache>().Increment("LastID");
    DistributedCache.Increment("LastID");