Наследование: CiDocBlock
Пример #1
0
 protected override void Write(CiDocList list)
 {
     WriteLine();
     foreach (CiDocPara item in list.Items)
     {
         Write(this.DocBullet);
         Write(item, false);
         WriteLine();
     }
     StartDocLine();
 }
Пример #2
0
 protected override void Write(CiDocList list)
 {
     WriteLine();
     WriteLine("/// <list type=\"bullet\">");
     foreach (CiDocPara item in list.Items)
     {
         Write("/// <item>");
         Write(item, false);
         WriteLine("</item>");
     }
     Write("/// </list>");
 }
Пример #3
0
 protected virtual void Write(CiDocList list)
 {
     WriteLine();
     WriteLine(" * <ul>");
     foreach (CiDocPara item in list.Items)
     {
         Write(" * <li>");
         Write(item, false);
         WriteLine("</li>");
     }
     Write(" * </ul>");
 }
Пример #4
0
        void Write(CiDocBlock block)
        {
            CiDocList list = block as CiDocList;

            if (list != null)
            {
                WriteLine("=over");
                WriteLine();
                foreach (CiDocPara item in list.Items)
                {
                    WriteLine("=item *");
                    WriteLine();
                    Write(item);
                }
                WriteLine("=back");
                WriteLine();
            }
        }
Пример #5
0
        void Write(CiDocBlock block)
        {
            CiDocList list = block as CiDocList;

            if (list != null)
            {
                WriteLine();
                WriteLine(" * <ul>");
                foreach (CiDocPara item in list.Items)
                {
                    Write(" * <li>");
                    Write(item);
                    WriteLine("</li>");
                }
                WriteLine(" * </ul>");
                Write(" * ");
                return;
            }
            Write((CiDocPara)block);
        }
Пример #6
0
        void Write(CiDocBlock block)
        {
            CiDocList list = block as CiDocList;

            if (list != null)
            {
                WriteLine();
                WriteLine("/// <list type=\"bullet\">");
                foreach (CiDocPara item in list.Items)
                {
                    Write("/// <item>");
                    Write(item);
                    WriteLine("</item>");
                }
                Write("/// </list>");
                WriteLine();
                Write("/// ");
                return;
            }
            Write((CiDocPara)block);
        }
Пример #7
0
        void Write(CiDocBlock block)
        {
            CiDocList list = block as CiDocList;

            if (list != null)
            {
                WriteLine();
                WriteLine("/// $(UL");
                foreach (CiDocPara item in list.Items)
                {
                    Write("/// $(LI ");
                    Write(item);
                    WriteLine(")");
                }
                Write("/// )");
                WriteLine();
                Write("/// ");
                return;
            }
            Write((CiDocPara)block);
        }