public void Setup() { _directory = new InvokerDirectory(null); _fighter = new Fighter(); _staticProxy = new FighterProxy(_fighter, new SingleThreadInvoker()); _codegenProxy = _directory.AsAddress(_fighter); }
public async Task GetReady() { IFighter <bool> fighter = new Fighter(); IFighter <bool> proxy = _directory.AsAddress(fighter); await proxy.GetReady(); }