fork from 1.3
This commit is contained in:
19
FreeSR.Admin/Command/AdminCommandContext.cs
Normal file
19
FreeSR.Admin/Command/AdminCommandContext.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace FreeSR.Admin.Command
|
||||
{
|
||||
using FreeSR.Shared.Command.Context;
|
||||
|
||||
internal class AdminCommandContext : ICommandContext
|
||||
{
|
||||
public string Message { get; private set; }
|
||||
|
||||
public void SendError(string message)
|
||||
{
|
||||
Message = "Error: " + message;
|
||||
}
|
||||
|
||||
public void SendMessage(string message)
|
||||
{
|
||||
Message = message;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user