Beispiel #1
0
        public static void Main(string[] args)
        {
            var replayer = new MarkdownReplayer();

            replayer.LoadScriptFile($@"..\Servirtium.Demo\test_playbacks\averageRainfallForGreatBritainFrom1980to1999Exists.md");

            AspNetCoreServirtiumServer.WithCommandLineArgs(args, replayer, new SimpleInteractionTransforms(
                                                               new Uri("http://climatedataapi.worldbank.org"),
                                                               new Regex[0],
                                                               new[] { new Regex("Date:") })).Start().Wait();
            Console.ReadKey();
        }