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; }
/// <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 => { }); }
/// <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 => { }); }
public PostPresenter(IPresenterHost host) { this.host = host; this.replyMode = ReplyMode.Inactive; }
public PostsPresenter(IPresenterHost host) : base(host) { }
protected ActivityPresenter(IPresenterHost host) { this.host = host; this.Threads = new ObservableCollection <ThreadPresenter>(); }
public VotesPresenter(IPresenterHost host) : base(host) { }
public ThreadPresenter(IPresenterHost host) { this.host = host; this.Posts = new ObservableCollection <PostPresenter>(); }
public ForumPresenter(IPresenterHost host) : base(host) { this.data = ForumModel.Empty; }