public CharacterAttributes(CharacterAttributes other)
 {
     foreach (CharacterAttributeType attrType in CharacterAttributeType.Values)
     {
         _attrMap[attrType] = other.Get(attrType);
     }
 }
Пример #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;
 }
Пример #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);
 }
Пример #6
0
 public ParserState()
 {
     CharacterAttributes = new CharacterAttributes();
     ParagraphAttributes = new ParagraphAttributes();
     SectionAttributes = new SectionAttributes();
     DocumentAttributes = new DocumentAttributes();
     rds = DestinationState.Normal;
     ris = ParserInternalState.Normal;
 }