Пример #1
0
        public CreatePostController(IContactCreator connectionController, Func <string, DataModelPost> parseResponse,
                                    INotificationCenterQc notificationCenterQc, IRepositoryQcPrice repositoryQc)
        {
            ContactCreator = connectionController;

            RepositoryQc         = repositoryQc;
            NotificationCenterQc = notificationCenterQc;
            ParseResponse        = parseResponse;

            NotificationCenterQc.QcDataIncome += OnQcIncome;
        }
Пример #2
0
        public PostHeaderController(IContactCreator connectionController, Func <string, DataModelDeletePost> parseResponseDeletePost,
                                    INotificationCenterQc notificationCenterQc, IRepositoryQc repositoryQc, string quote)
        {
            ContactCreator = connectionController;

            _postQuote               = quote;
            _repositoryQc            = repositoryQc;
            _notificationCenterQc    = notificationCenterQc;
            _parseResponseDeletePost = parseResponseDeletePost;

            _notificationCenterQc.QcDataIncome += OnQcIncome;
        }
Пример #3
0
 public UpdatePostController(IContactCreator connectionController, Func <string, DataModelPost> parseResponseFunc, INotificationCenterQc notificationCenterQc,
                             IRepositoryQcPrice repositoryQc, IRepositoryPost repositoryPost) : base(connectionController, parseResponseFunc, notificationCenterQc, repositoryQc)
 {
     _repositoryPost = repositoryPost;
 }