diff --git a/src/GameServiceWarden.Core/UI/IPCPresenter.cs b/src/GameServiceWarden.Core/UI/IPCPresenter.cs index 8a2ac13..0ceef56 100644 --- a/src/GameServiceWarden.Core/UI/IPCPresenter.cs +++ b/src/GameServiceWarden.Core/UI/IPCPresenter.cs @@ -10,6 +10,11 @@ namespace GameServiceWarden.Core.UI { private IPCMediator mediator; + public IPCPresenter(IPCMediator mediator) + { + this.mediator = mediator; + } + public void Present(ServiceManagerState state) { Task replyTask = mediator.ReplyAll(CommunicableType.Service, JsonSerializer.SerializeToUtf8Bytes(state));