Esempio n. 1
0
        public ChannelService(
            IUnitOfWork unitOfWork,
            IDomainModelsMapper domainModelsMapper,
            IMemberService memberService,
            ICloudImageProvider cloudImageProvider,
            IDateTimeProvider dateTimeProvider)
            : base(unitOfWork, domainModelsMapper)
        {
            Ensure.That(memberService).IsNotNull();
            Ensure.That(cloudImageProvider).IsNotNull();
            Ensure.That(dateTimeProvider).IsNotNull();

            _memberService      = memberService;
            _cloudImageProvider = cloudImageProvider;
            _dateTimeProvider   = dateTimeProvider;
        }
Esempio n. 2
0
        public MessageService(
            IUnitOfWork unitOfWork,
            IDomainModelsMapper domainModelsMapper,
            MessagesConfiguration messagesConfiguration,
            ICloudAttachmentProvider cloudAttachmentProvider,
            ICloudImageProvider cloudImageProvider,
            IDateTimeProvider dateTimeProvider)
            : base(unitOfWork, domainModelsMapper)
        {
            Ensure.That(messagesConfiguration).IsNotNull();
            Ensure.That(cloudAttachmentProvider).IsNotNull();
            Ensure.That(dateTimeProvider).IsNotNull();

            _messagesConfiguration   = messagesConfiguration;
            _cloudAttachmentProvider = cloudAttachmentProvider;
            _cloudImageProvider      = cloudImageProvider;
            _dateTimeProvider        = dateTimeProvider;
        }
Esempio n. 3
0
 public CloudImageService(ICloudImageProvider cloudProvider)
 {
     CloudProvider = cloudProvider;
 }
Esempio n. 4
0
 public DealController(ICloudImageProvider cloudImageProvider)
 {
     CloudImageService = new CloudImageService(cloudImageProvider);
 }
Esempio n. 5
0
 public GifController(IDataContext dataContext, ICloudImageProvider cloudImageProvider)
 {
     CloudImageService  = new CloudImageService(cloudImageProvider);
     AnimatedGifService = new AnimatedGifService(CloudImageService, dataContext);
     DataContext        = dataContext;
 }