public PartnerHierarchyIntegration(IPartnerHierarchyRepository partnerHierarchyRepository)
 {
     _partnerHierarchyRepository = partnerHierarchyRepository;
 }
        public PartnerHierarchyDecorator(IPartnerHierarchyRepository partnerHierarchy)
        {
            partnerHierarchy.ThrowIfNull(nameof(partnerHierarchy));

            PartnerHierarchy = partnerHierarchy;
        }
Exemple #3
0
 public PartnerHierarchyCache(IPartnerHierarchyRepository partnerHierarchy, ICacheManager cacheManager) : base(partnerHierarchy)
 {
     partnerHierarchy.ThrowIfNull(nameof(partnerHierarchy));
     cacheManager.ThrowIfNull(nameof(cacheManager));
     _cacheManager = cacheManager;
 }