示例#1
0
        public async Task ConsoleLog()
        {
            const string greeting = "Bonjour";

            IHello grain = await Silo.CreateGrainAsync <HelloGrain>(1);

            grain.Invoking(g => g.SayHello(greeting)).Should().NotThrow();
        }
示例#2
0
        public async Task XUnitLog()
        {
            const string greeting = "Bonjour";

            IHello grain = await Silo.CreateGrainAsync <HelloGrain>(2);

            await grain.Invoking(g => g.SayHello(greeting)).Should().NotThrowAsync();
        }
        public void XUnitLog()
        {
            const string greeting = "Bonjour";

            IHello grain = Silo.CreateGrain <HelloGrain>(2);

            grain.Invoking(g => g.SayHello(greeting)).ShouldNotThrow();
        }