22 lines
660 B
C#
22 lines
660 B
C#
using UIShare.UIViewModel;
|
|
|
|
namespace UIShare.PubEvent
|
|
{
|
|
/// <summary>
|
|
/// 其他模块向弹窗管理器添加 Tab 的事件。
|
|
/// 发布方:任何需要将弹窗托管到 DialogManagerView 的模块。
|
|
/// 订阅方:<c>DialogMangerViewModel</c>(仅一处订阅)。
|
|
/// <code>
|
|
/// // 示例:在某个 ViewModel 中发布
|
|
/// _eventAggregator.GetEvent<AddDialogTabEvent>().Publish(new DialogTabInfo
|
|
/// {
|
|
/// Title = "设备配置",
|
|
/// Content = new DeviceConfigView()
|
|
/// });
|
|
/// </code>
|
|
/// </summary>
|
|
public class AddDialogTabEvent : PubSubEvent<DialogTabInfo>
|
|
{
|
|
}
|
|
}
|