IPCPresenter now takes IPCMediator as contructor argument.
This commit is contained in:
parent
58c5b46dff
commit
cac5ca054c
@ -10,6 +10,11 @@ namespace GameServiceWarden.Core.UI
|
|||||||
{
|
{
|
||||||
private IPCMediator mediator;
|
private IPCMediator mediator;
|
||||||
|
|
||||||
|
public IPCPresenter(IPCMediator mediator)
|
||||||
|
{
|
||||||
|
this.mediator = mediator;
|
||||||
|
}
|
||||||
|
|
||||||
public void Present(ServiceManagerState state)
|
public void Present(ServiceManagerState state)
|
||||||
{
|
{
|
||||||
Task replyTask = mediator.ReplyAll(CommunicableType.Service, JsonSerializer.SerializeToUtf8Bytes(state));
|
Task replyTask = mediator.ReplyAll(CommunicableType.Service, JsonSerializer.SerializeToUtf8Bytes(state));
|
||||||
|
Reference in New Issue
Block a user