Ejemplo n.º 1
0
        public InactiveProfilesCleanup(IUserProfileRepository userProfileRepository, CleanupSettings settings)
        {
            Requires.NotNull(userProfileRepository, nameof(userProfileRepository));
            Requires.NotNull(settings, nameof(settings));

            this.userProfileRepository = userProfileRepository;
            this.settings = settings;
        }
Ejemplo n.º 2
0
        public UnpublishedScoreCardsCleanup(
            IBaseScoreCardRepository baseScoreCardRepository,
            IValuationScoreCardRepository valuationScoreCardRepository,
            CleanupSettings settings)
        {
            Requires.NotNull(baseScoreCardRepository, nameof(baseScoreCardRepository));
            Requires.NotNull(valuationScoreCardRepository, nameof(valuationScoreCardRepository));
            Requires.NotNull(settings, nameof(settings));

            this.settings = settings;
            this.valuationScoreCardRepository = valuationScoreCardRepository;
            this.baseScoreCardRepository = baseScoreCardRepository;
        }
Ejemplo n.º 3
0
        public UnpublishedScoreCardsCleanup(
            IBaseScoreCardRepository baseScoreCardRepository,
            IValuationScoreCardRepository valuationScoreCardRepository,
            CleanupSettings settings)
        {
            Requires.NotNull(baseScoreCardRepository, nameof(baseScoreCardRepository));
            Requires.NotNull(valuationScoreCardRepository, nameof(valuationScoreCardRepository));
            Requires.NotNull(settings, nameof(settings));

            this.settings = settings;
            this.valuationScoreCardRepository = valuationScoreCardRepository;
            this.baseScoreCardRepository      = baseScoreCardRepository;
        }