Ejemplo n.º 1
0
        public async Task GetDirections(IYield <string, string> gen, DirectionsArgs args)
        {
            await PluginUtils.AskForPropertiesWhileNull(gen, args, _grammar);

            await gen.Yield(
                String.Format("You have traveled from {0} to {1}.",
                              args.Source, args.Destination));
        }