示例#1
0
 public UserFacade(IUserRepository userRepository, IAutoMap autoMap, IImageFacade imageFacade, IQuackLikeRepository quackLikeRepository)
 {
     _userRepository = userRepository;
     _autoMap = autoMap;
     _imageFacade = imageFacade;
     _quackLikeRepository = quackLikeRepository;
 }
示例#2
0
 public UserFacade(IUserRepository userRepository, IAutoMap autoMap, IImageFacade imageFacade, IQuackLikeRepository quackLikeRepository)
 {
     _userRepository      = userRepository;
     _autoMap             = autoMap;
     _imageFacade         = imageFacade;
     _quackLikeRepository = quackLikeRepository;
 }
示例#3
0
        public ImageCarouselViewModel(IImageFacade image, IIoC ioc) : base(ioc)
        {
            if (image == null) throw new ArgumentNullException(nameof(image));
            _image = image;

            Images = new ObservableCollection<Bitmap>();

            MessageBus.Subscribe<PageSelected>(async msg => await OnPageSelected(msg));
        }
示例#4
0
 public QuackFacade(IQuackRepository quackRepository, IQuackTypeRepository quackTypeRepository, IUserRepository userRepository, IQuackLikeRepository quackLikeRepository,
     IUserFacade userFacade, IImageFacade imageFacade)
 {
     _quackRepository = quackRepository;
     _quackTypeRepository = quackTypeRepository;
     _userRepository = userRepository;
     _quackLikeRepository = quackLikeRepository;
     _userFacade = userFacade;
     _imageFacade = imageFacade;
 }
示例#5
0
 public QuackFacade(IQuackRepository quackRepository, IQuackTypeRepository quackTypeRepository, IUserRepository userRepository, IQuackLikeRepository quackLikeRepository,
                    IUserFacade userFacade, IImageFacade imageFacade)
 {
     _quackRepository     = quackRepository;
     _quackTypeRepository = quackTypeRepository;
     _userRepository      = userRepository;
     _quackLikeRepository = quackLikeRepository;
     _userFacade          = userFacade;
     _imageFacade         = imageFacade;
 }
示例#6
0
        public ImageCarouselViewModel(IImageFacade image, IIoC ioc) : base(ioc)
        {
            if (image == null)
            {
                throw new ArgumentNullException(nameof(image));
            }
            _image = image;

            Images = new ObservableCollection <Bitmap>();

            MessageBus.Subscribe <PageSelected>(async msg => await OnPageSelected(msg));
        }
 public DataConverter(IMemoryStreamFacade memoryStreamFacade, IImageFacade imageFacade)
 {
     _memoryStreamFacade = memoryStreamFacade;
     _imageFacade        = imageFacade;
 }
示例#8
0
 public SearchController(IUserFacade userFacade, IImageFacade imageFacade)
 {
     _userFacade = userFacade;
 }
示例#9
0
 public SearchController(IUserFacade userFacade, IImageFacade imageFacade)
 {
     _userFacade = userFacade;
 }
示例#10
0
 public UserController(IUserFacade userFacade, IImageFacade imageFacade)
 {
     _userFacade = userFacade;
     _imageFacade = imageFacade;
 }
示例#11
0
 public UserController(IUserFacade userFacade, IImageFacade imageFacade)
 {
     _userFacade  = userFacade;
     _imageFacade = imageFacade;
 }
 public ImageInfoProvider(IImageFacade imageFacade, IFileSystemFacade fileSystemFacade)
 {
     this.imageFacade      = imageFacade ?? throw new ArgumentNullException(nameof(imageFacade));
     this.fileSystemFacade = fileSystemFacade ?? throw new ArgumentNullException(nameof(fileSystemFacade));
 }
 public ImagesController(IImageFacade facade, IGuildFacade guildFacade)
 {
     this.facade = facade;
 }