コード例 #1
0
 public PartnerServiceCache(IPartnerServiceRepository partnerService, ICacheManager cacheManager)
     : base(partnerService)
 {
     partnerService.ThrowIfNull(nameof(partnerService));
     cacheManager.ThrowIfNull(nameof(cacheManager));
     _cacheManager = cacheManager;
 }
コード例 #2
0
        public PartnerServiceDecorator(IPartnerServiceRepository partnerService)
        {
            partnerService.ThrowIfNull(nameof(partnerService));

            _partnerService = partnerService;
        }