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; }
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; }
public CloudImageService(ICloudImageProvider cloudProvider) { CloudProvider = cloudProvider; }
public DealController(ICloudImageProvider cloudImageProvider) { CloudImageService = new CloudImageService(cloudImageProvider); }
public GifController(IDataContext dataContext, ICloudImageProvider cloudImageProvider) { CloudImageService = new CloudImageService(cloudImageProvider); AnimatedGifService = new AnimatedGifService(CloudImageService, dataContext); DataContext = dataContext; }