#增加预览事件
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
using Prism.Events;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
|
namespace XplorePlane.Events
|
||||||
|
{
|
||||||
|
public sealed class PipelinePreviewUpdatedEvent : PubSubEvent<PipelinePreviewUpdatedPayload>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public sealed class PipelinePreviewUpdatedPayload
|
||||||
|
{
|
||||||
|
public PipelinePreviewUpdatedPayload(BitmapSource image, string statusMessage)
|
||||||
|
{
|
||||||
|
Image = image;
|
||||||
|
StatusMessage = statusMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BitmapSource Image { get; }
|
||||||
|
public string StatusMessage { get; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user