Ejemplo n.º 1
0
        public void Initialization_of_MdDocument_using_FactoryMethods()
        {
            _ = FactoryMethods.Document();

            _ = FactoryMethods.Document(FactoryMethods.Container());
            _ = FactoryMethods.Document(FactoryMethods.Container(), FactoryMethods.Container());

            _ = FactoryMethods.Document(FactoryMethods.ListItem(), FactoryMethods.ListItem());

            _ = FactoryMethods.Document(FactoryMethods.BlockQuote());
            _ = FactoryMethods.Document(FactoryMethods.BlockQuote(), FactoryMethods.BlockQuote());

            _ = FactoryMethods.Document(FactoryMethods.BulletList());
            _ = FactoryMethods.Document(FactoryMethods.OrderedList());

            _ = FactoryMethods.Document(MarkdownGenerator.Extensions.FactoryMethods.Admonition("note"));
        }
Ejemplo n.º 2
0
        public void Initialization_of_MdListItem_using_FactoryMethods()
        {
            _ = FactoryMethods.ListItem();

            _ = FactoryMethods.ListItem(FactoryMethods.Container());
            _ = FactoryMethods.ListItem(FactoryMethods.Container(), FactoryMethods.Container());

            _ = FactoryMethods.ListItem(FactoryMethods.ListItem());
            _ = FactoryMethods.ListItem(FactoryMethods.ListItem(), FactoryMethods.ListItem());

            _ = FactoryMethods.ListItem(FactoryMethods.BlockQuote());
            _ = FactoryMethods.ListItem(FactoryMethods.BlockQuote(), FactoryMethods.BlockQuote());

            _ = FactoryMethods.ListItem(FactoryMethods.BulletList());
            _ = FactoryMethods.ListItem(FactoryMethods.OrderedList());

            _ = FactoryMethods.ListItem(Extensions.FactoryMethods.Admonition("note"));
        }