示例#1
0
文件: Filter.cs 项目: TataDvd/Git
 internal void Attach(FilterPresenter presenter)
 {
     filterPresenter = presenter;
     if (filterPresenter != null)
     {
         filterPresenter.ReceiveFilterChanged(this);
     }
     OnAttachPresenter(presenter);
 }
示例#2
0
文件: Filter.cs 项目: TataDvd/Git
 /// <summary>
 /// Report attached listeners that filter changed.
 /// </summary>
 protected void RaiseFilterChanged()
 {
     if (filterPresenter != null)
     {
         filterPresenter.ReceiveFilterChanged(this);
     }
     foreach (var vm in attachedFilterControlVmodels)
     {
         vm.FilterChanged(this);
     }
 }