コード例 #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;
 }