Beispiel #1
0
        public async Task Lifecycle()
        {
            _session.IsHostRunning.Should().BeTrue();
            _session.IsRemote.Should().BeFalse();

            var result = await _session.EvaluateAsync <int>("1+1");

            result.Should().Be(2);
        }
Beispiel #2
0
 public async Task <string> EvaluateAsync <T>(string command)
 {
     return(await rHostSession.EvaluateAsync <string>(command));
 }