예제 #1
0
        private static void WriteEntity(char c, HtmlEntity entity, TextWriter writer)
        {
            writer.Write(HtmlEncodingServices.EntityStartChar);

             if(entity.WriteAsDecimal)
             {
            WriteDecimalEntity(c, writer);
             }
             else
             {
            WriteTextEntity(entity, writer);
             }

             writer.Write(HtmlEncodingServices.EntityEndChar);
        }
예제 #2
0
 private static void WriteTextEntity(HtmlEntity entity, TextWriter writer)
 {
     writer.Write(entity.Entity);
 }
예제 #3
0
 private static void WriteTextEntity(HtmlEntity entity, TextWriter writer)
 {
     writer.Write(entity.Entity);
 }