示例#1
0
 private void Reset()
 {
     this.currentIndex = -1;
     this.currentInfo  = s_DefaultInfo;
     this.mainNode     = s_DefaultInfo;
     this.manager      = null;
 }
示例#2
0
 internal RecordBuilder(RecordOutput output, XmlNameTable nameTable) {
     Debug.Assert(output != null);
     this.output    = output;
     this.nameTable = nameTable != null ? nameTable : new NameTable();
     this.atoms     = new OutKeywords(this.nameTable);
     this.scopeManager   = new OutputScopeManager(this.nameTable, this.atoms);
 }
示例#3
0
 private void Reset()
 {
     _currentIndex = -1;
     _currentInfo  = s_DefaultInfo;
     _mainNode     = s_DefaultInfo;
     _manager      = null;
 }
示例#4
0
 internal RecordBuilder(IRecordOutput output, XmlNameTable?nameTable)
 {
     Debug.Assert(output != null);
     _output       = output;
     _nameTable    = nameTable != null ? nameTable : new NameTable();
     _atoms        = new OutKeywords(_nameTable);
     _scopeManager = new OutputScopeManager(_nameTable, _atoms);
 }
示例#5
0
 internal RecordBuilder(RecordOutput output, XmlNameTable nameTable)
 {
     Debug.Assert(output != null);
     this.output       = output;
     this.nameTable    = nameTable != null ? nameTable : new NameTable();
     this.atoms        = new OutKeywords(this.nameTable);
     this.scopeManager = new OutputScopeManager(this.nameTable, this.atoms);
 }
示例#6
0
 internal RecordBuilder(RecordOutput output, XmlNameTable nameTable)
 {
     Debug.Assert(output != null);
     _output = output;
     _nameTable = nameTable != null ? nameTable : new NameTable();
     _atoms = new OutKeywords(_nameTable);
     _scopeManager = new OutputScopeManager(_nameTable, _atoms);
 }
示例#7
0
        //
        // RecordOutput interface method implementation
        //

        public Processor.OutputResult RecordDone(RecordBuilder record)
        {
            this.builder        = record;
            this.mainNode       = record.MainNode;
            this.attributeList  = record.AttributeList;
            this.attributeCount = record.AttributeCount;
            this.manager        = record.Manager;

            this.haveRecord = true;
            SetMainNode();

            return(Processor.OutputResult.Interrupt);
        }
 private void Reset() {
     this.currentIndex = -1;
     this.currentInfo  = s_DefaultInfo;
     this.mainNode     = s_DefaultInfo;
     this.manager      = null;
 }
        //
        // RecordOutput interface method implementation
        //

        public Processor.OutputResult RecordDone(RecordBuilder record) {
            this.builder        = record;
            this.mainNode       = record.MainNode;
            this.attributeList  = record.AttributeList;
            this.attributeCount = record.AttributeCount;
            this.manager        = record.Manager;

            this.haveRecord     = true;
            SetMainNode();

            return Processor.OutputResult.Interrupt;
        }
示例#10
0
 private void Reset()
 {
     _currentIndex = -1;
     _currentInfo = s_DefaultInfo;
     _mainNode = s_DefaultInfo;
     _manager = null;
 }