27 lines
593 B
C#
27 lines
593 B
C#
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 LogoutUserEvent : CompositePresentationEvent<LogoutUserArg> { }
|
|
|
|
public class LogoutUserArg
|
|
{
|
|
public enum Reasons
|
|
{
|
|
DatabaseSwitch
|
|
}
|
|
public Reasons Reason { get; }
|
|
|
|
public LogoutUserArg(Reasons reason)
|
|
{
|
|
Reason = reason;
|
|
}
|
|
}
|
|
}
|