init
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Event to inform app that it should mark itself busy or available
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
///
|
||||
/// </remarks>
|
||||
public class UserEvent : CompositePresentationEvent<UserEventArg> { }
|
||||
|
||||
public class UserEventArg
|
||||
{
|
||||
public enum Events
|
||||
{
|
||||
ViewingUserChanged
|
||||
}
|
||||
|
||||
public Events EventType { get; private set; }
|
||||
public object Argument { get; private set; }
|
||||
|
||||
public UserEventArg(Events eventType, object argument)
|
||||
{
|
||||
EventType = eventType;
|
||||
Argument = argument;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user