1 //------------------------------------------------------------------------------
2 // <copyright file="EndEvent.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">[....]</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml.Xsl.XsltOld {
9 using Res = System.Xml.Utils.Res;
11 using System.Diagnostics;
13 using System.Xml.XPath;
15 internal class EndEvent : Event {
16 private XPathNodeType nodeType;
18 internal EndEvent(XPathNodeType nodeType) {
19 Debug.Assert(nodeType != XPathNodeType.Namespace);
20 this.nodeType = nodeType;
23 public override bool Output(Processor processor, ActionFrame frame) {
24 return processor.EndEvent(this.nodeType);