Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / TextEvent.cs / 1 / TextEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Xsl.XsltOld { using Res = System.Xml.Utils.Res; using System; using System.Diagnostics; using System.Xml; using System.Xml.XPath; internal class TextEvent : Event { private string text; protected TextEvent() {} public TextEvent(string text) { Debug.Assert(text != null); this.text = text; } public TextEvent(Compiler compiler) { NavigatorInput input = compiler.Input; Debug.Assert(input.NodeType == XPathNodeType.Text || input.NodeType == XPathNodeType.SignificantWhitespace); this.text = input.Value; } public override bool Output(Processor processor, ActionFrame frame) { return processor.TextEvent(this.text); } public virtual string Evaluate(Processor processor, ActionFrame frame) { return this.text; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Xsl.XsltOld { using Res = System.Xml.Utils.Res; using System; using System.Diagnostics; using System.Xml; using System.Xml.XPath; internal class TextEvent : Event { private string text; protected TextEvent() {} public TextEvent(string text) { Debug.Assert(text != null); this.text = text; } public TextEvent(Compiler compiler) { NavigatorInput input = compiler.Input; Debug.Assert(input.NodeType == XPathNodeType.Text || input.NodeType == XPathNodeType.SignificantWhitespace); this.text = input.Value; } public override bool Output(Processor processor, ActionFrame frame) { return processor.TextEvent(this.text); } public virtual string Evaluate(Processor processor, ActionFrame frame) { return this.text; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChildDocumentBlock.cs
- CalendarSelectionChangedEventArgs.cs
- ResourcesGenerator.cs
- XslCompiledTransform.cs
- ColorAnimationUsingKeyFrames.cs
- OdbcFactory.cs
- PrimarySelectionGlyph.cs
- _AutoWebProxyScriptEngine.cs
- DocumentProperties.cs
- CreatingCookieEventArgs.cs
- SymmetricSecurityProtocol.cs
- DynamicDiscoveryDocument.cs
- EventRoute.cs
- CqlParser.cs
- Vector3DConverter.cs
- XmlQueryContext.cs
- LogRecordSequence.cs
- ImageDrawing.cs
- TaskFileService.cs
- OracleCommandSet.cs
- OracleConnectionStringBuilder.cs
- CryptoApi.cs
- ServiceRouteHandler.cs
- SafeThreadHandle.cs
- ElementHostAutomationPeer.cs
- EmissiveMaterial.cs
- _LazyAsyncResult.cs
- XmlIterators.cs
- SelectedGridItemChangedEvent.cs
- WindowInteropHelper.cs
- OleDbCommandBuilder.cs
- FacetChecker.cs
- ChannelManager.cs
- XmlUTF8TextReader.cs
- SqlBuffer.cs
- VolatileResourceManager.cs
- ProviderMetadata.cs
- HierarchicalDataBoundControl.cs
- WebPartVerbsEventArgs.cs
- ListViewItem.cs
- TokenizerHelper.cs
- PageOrientation.cs
- DataListItem.cs
- ListView.cs
- DataTemplate.cs
- SharedPersonalizationStateInfo.cs
- MenuTracker.cs
- ComEventsHelper.cs
- UInt32Converter.cs
- XmlCharCheckingWriter.cs
- PixelFormats.cs
- PropertyInformationCollection.cs
- RadialGradientBrush.cs
- DomainUpDown.cs
- XamlReaderHelper.cs
- FormClosingEvent.cs
- RangeExpression.cs
- documentation.cs
- DocumentSequenceHighlightLayer.cs
- StateBag.cs
- TraceHandler.cs
- InspectionWorker.cs
- WebPartZoneCollection.cs
- ToolboxItemAttribute.cs
- Form.cs
- Vector.cs
- ItemCheckedEvent.cs
- ClipboardData.cs
- ThumbAutomationPeer.cs
- XamlToRtfParser.cs
- StrokeIntersection.cs
- WebControlParameterProxy.cs
- XmlAnyElementAttributes.cs
- UIElementPropertyUndoUnit.cs
- ListenerPerfCounters.cs
- AttributeTable.cs
- ConfigXmlSignificantWhitespace.cs
- DesignerVerb.cs
- TimeSpanSecondsConverter.cs
- ResourcePart.cs
- XPathMessageFilterElementComparer.cs
- SubstitutionList.cs
- TableLayoutStyleCollection.cs
- EditorPartChrome.cs
- IHttpResponseInternal.cs
- AuthStoreRoleProvider.cs
- DataFormats.cs
- ProfileEventArgs.cs
- EnterpriseServicesHelper.cs
- WindowsProgressbar.cs
- ModelFunction.cs
- GlyphingCache.cs
- Vector3D.cs
- MemberJoinTreeNode.cs
- InplaceBitmapMetadataWriter.cs
- ProcessProtocolHandler.cs
- ComponentResourceKey.cs
- ZoomComboBox.cs
- HttpWriter.cs
- NameValueSectionHandler.cs