Exemple #1
0
 public PostController(ViewManager viewManager, IAuthenticationService authenticationService, ICommandBus commandBus)
     : base(commandBus)
 {
     _postView = viewManager.GetView<IPostView>();
     _blogView = viewManager.GetView<IBlogView>();
     _authenticationService = authenticationService;
 }
		public PostsController(IPostView posts, IView<Comment> commentsView, ICommandCoordinator commandCoordinator, ISagaNarrator sagaNarrator)
		{
			_posts = posts;
			_commentsView = commentsView;
			_commandCoordinator = commandCoordinator;
			_sagaNarrator = sagaNarrator;
		}
Exemple #3
0
 public FeedController(ViewManager viewManager, IAuthenticationService authenticationService)
 {
     _postView = viewManager.GetView<IPostView>();
     _blogView = viewManager.GetView<IBlogView>();
 }
 public PostPresenter(IPostView view, IBlogSystemData data)
 {
     this.Data = data;
     this.view = view;
 }
 public PostPresenter(IPostView view)
 {
     this.view = view;
 }
Exemple #6
0
 public PostPresenter(IPostView postView)
 {
     this.postView = postView;
 }