示例#1
0
        public void Initialization_of_MdTableRow_using_FactoryMethods()
        {
            _ = FactoryMethods.Row();

            _ = FactoryMethods.Row("Cell 1", "Cell2");
            _ = FactoryMethods.Row(FactoryMethods.Text("Cell 1"), FactoryMethods.Text("Cell2"));
            _ = FactoryMethods.Row(new[] { FactoryMethods.Text("Cell 1"), FactoryMethods.Text("Cell2") });
            _ = FactoryMethods.Row(FactoryMethods.CompositeSpan("Cell 1", "Cell 1 continued"));
        }
示例#2
0
        public void Initialization_of_MdStrongEmphasisSpan_using_FactoryMethods()
        {
            _ = FactoryMethods.StrongEmphasis(FactoryMethods.CompositeSpan());
            _ = FactoryMethods.StrongEmphasis(FactoryMethods.Text(""), FactoryMethods.Text(""));
            _ = FactoryMethods.StrongEmphasis("", "");
            _ = FactoryMethods.StrongEmphasis(new List <MdSpan>()
            {
                FactoryMethods.Text(""), FactoryMethods.Text("")
            });

            _ = FactoryMethods.Bold(FactoryMethods.CompositeSpan());
            _ = FactoryMethods.Bold(FactoryMethods.Text(""), FactoryMethods.Text(""));
            _ = FactoryMethods.Bold("", "");
            _ = FactoryMethods.Bold(new List <MdSpan>()
            {
                FactoryMethods.Text(""), FactoryMethods.Text("")
            });
        }