public CharacterAttributes(CharacterAttributes other)
 {
     foreach (CharacterAttributeType attrType in CharacterAttributeType.Values)
     {
         _attrMap[attrType] = other.Get(attrType);
     }
 }
Esempio n. 2
0
        public CharacterAttributes(CharacterAttributes other)
        {
            foreach (CharacterAttributeType attrType in CharacterAttributeType.Values) {
                _attrMap[attrType] = other.Get(attrType);

            }
        }
 public ParserState(ParserState other)
 {
     rds = other.rds;
     ris = other.ris;
     CharacterAttributes = new CharacterAttributes(other.CharacterAttributes);
     ParagraphAttributes = new ParagraphAttributes(other.ParagraphAttributes);
     SectionAttributes   = new SectionAttributes(other.SectionAttributes);
     DocumentAttributes  = new DocumentAttributes(other.DocumentAttributes);
 }
 public ParserState()
 {
     CharacterAttributes = new CharacterAttributes();
     ParagraphAttributes = new ParagraphAttributes();
     SectionAttributes   = new SectionAttributes();
     DocumentAttributes  = new DocumentAttributes();
     rds = DestinationState.Normal;
     ris = ParserInternalState.Normal;
 }
Esempio n. 5
0
 public ParserState(ParserState other)
 {
     rds = other.rds;
     ris = other.ris;
     CharacterAttributes = new CharacterAttributes(other.CharacterAttributes);
     ParagraphAttributes = new ParagraphAttributes(other.ParagraphAttributes);
     SectionAttributes = new SectionAttributes(other.SectionAttributes);
     DocumentAttributes = new DocumentAttributes(other.DocumentAttributes);
 }
Esempio n. 6
0
 public ParserState()
 {
     CharacterAttributes = new CharacterAttributes();
     ParagraphAttributes = new ParagraphAttributes();
     SectionAttributes = new SectionAttributes();
     DocumentAttributes = new DocumentAttributes();
     rds = DestinationState.Normal;
     ris = ParserInternalState.Normal;
 }