init
This commit is contained in:
27
Common/DTS.CommonCore/Events/TestEvent.cs
Normal file
27
Common/DTS.CommonCore/Events/TestEvent.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Event to inform app that com status has changed
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
///
|
||||
/// </remarks>
|
||||
public class TestEvent : CompositePresentationEvent<TestEventArg> { }
|
||||
|
||||
public class TestEventArg
|
||||
{
|
||||
public TestEventStatus Status { get; private set; }
|
||||
|
||||
public TestEventArg(TestEventStatus status)
|
||||
{
|
||||
Status = status;
|
||||
}
|
||||
}
|
||||
public enum TestEventStatus
|
||||
{
|
||||
TestStarted,
|
||||
TestEnded
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user