public RpcController(ILoggerFactory loggerFactory) { // Initialize logger this._logger = loggerFactory.CreateLogger <RpcController>(); // Initialize RPC RPC.AddHanlder("TEST", new TestService(loggerFactory)); RPC.AddHanlder("DBMS", new DBService()); }
public void Setup() { RPC.AddHanlder("TEST", new TestService()); }