コード例 #1
0
        public static string DumpDesignAsJson(this IClaptrapBootstrapper bootstrapper)
        {
            var claptrapDesignStore = bootstrapper.DumpDesignStore();
            var formatter           = new JsonClaptrapDesignStoreFormatter();
            var re = formatter.Format(claptrapDesignStore);

            return(re);
        }
コード例 #2
0
        public static string DumpDesignAsMarkdown(this IClaptrapBootstrapper bootstrapper,
                                                  DesignStoreMarkdownFormatterOptions?options = null)
        {
            var claptrapDesignStore = bootstrapper.DumpDesignStore();
            var formatter           = new DesignStoreMarkdownFormatter(options ?? new DesignStoreMarkdownFormatterOptions());
            var re = formatter.Format(claptrapDesignStore);

            return(re);
        }