public PartnerHierarchyIntegration(IPartnerHierarchyRepository partnerHierarchyRepository) { _partnerHierarchyRepository = partnerHierarchyRepository; }
public PartnerHierarchyDecorator(IPartnerHierarchyRepository partnerHierarchy) { partnerHierarchy.ThrowIfNull(nameof(partnerHierarchy)); PartnerHierarchy = partnerHierarchy; }
public PartnerHierarchyCache(IPartnerHierarchyRepository partnerHierarchy, ICacheManager cacheManager) : base(partnerHierarchy) { partnerHierarchy.ThrowIfNull(nameof(partnerHierarchy)); cacheManager.ThrowIfNull(nameof(cacheManager)); _cacheManager = cacheManager; }