init
This commit is contained in:
26
Common/DTS.Common/Events/LogoutUserEvent.cs
Normal file
26
Common/DTS.Common/Events/LogoutUserEvent.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using 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 : PubSubEvent<LogoutUserArg> { }
|
||||
|
||||
public class LogoutUserArg
|
||||
{
|
||||
public enum Reasons
|
||||
{
|
||||
DatabaseSwitch
|
||||
}
|
||||
public Reasons Reason { get; }
|
||||
|
||||
public LogoutUserArg(Reasons reason)
|
||||
{
|
||||
Reason = reason;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user