We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It might be nice to have a dynamic proxy for IAgent-s, so that code which uses a remote agent is cleaner. For example, this would allow writing:
dynamic
IAgent
dynamic agentProxy = ...; Assert.Equals((int)await agentProxy.Neg(1), -1); Assert.Equals((int)await agent.Add(1, 2), 3); await agent.Print("test");
instead of:
IAgent agent = ...; Assert.Equals(await agent.CallFunctionAsync<int>("Neg", 1), -1); Assert.Equals(await agent.CallFunctionAsync<int>("Add", (1, 2)), 3); await agent.CallActionAsync<int>("Print", "test")
(Note that for return types, we should probably use a second dynamic proxy as outlined in this StackOverflow question; see also #75)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It might be nice to have a
dynamic
proxy forIAgent
-s, so that code which uses a remote agent is cleaner.For example, this would allow writing:
instead of:
(Note that for return types, we should probably use a second dynamic proxy as outlined in this StackOverflow question; see also #75)
The text was updated successfully, but these errors were encountered: