27 lines
593 B
Plaintext
27 lines
593 B
Plaintext
|
|
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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|