public DirectoryPresenter(IPresenterHost host)
 {
     this.host   = host;
     this.Groups = new ObservableCollection <GroupModel>();
     //this.Forums = (new CollectionViewSource
     //{
     //    Source = this.groups,
     //    IsSourceGrouped = true,
     //    ItemsPath = new PropertyPath(nameof(GroupDetails.Forums)),
     //}).View;
 }
Exemple #2
0
 /// <summary>
 /// Shuts down the specified presenter.
 /// </summary>
 /// <param name="host">The manager.</param>
 /// <param name="presenter">The presenter.</param>
 public static void Shutdown(this IPresenterHost host, IPresenter presenter)
 {
     host.Shutdown(presenter, isSuccess => { });
 }
Exemple #3
0
 /// <summary>
 /// Opens the specified presenter.
 /// </summary>
 /// <param name="host">The host.</param>
 /// <param name="presenter">The presenter.</param>
 public static void Open(this IPresenterHost host, IPresenter presenter)
 {
     host.Open(presenter, isSuccess => { });
 }
Exemple #4
0
 public PostPresenter(IPresenterHost host)
 {
     this.host      = host;
     this.replyMode = ReplyMode.Inactive;
 }
Exemple #5
0
 public PostsPresenter(IPresenterHost host) : base(host)
 {
 }
Exemple #6
0
 protected ActivityPresenter(IPresenterHost host)
 {
     this.host    = host;
     this.Threads = new ObservableCollection <ThreadPresenter>();
 }
Exemple #7
0
 public VotesPresenter(IPresenterHost host) : base(host)
 {
 }
Exemple #8
0
 public ThreadPresenter(IPresenterHost host)
 {
     this.host  = host;
     this.Posts = new ObservableCollection <PostPresenter>();
 }
Exemple #9
0
 public ForumPresenter(IPresenterHost host)
     : base(host)
 {
     this.data = ForumModel.Empty;
 }