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
- VideoDrawing.cs
- TextTreeExtractElementUndoUnit.cs
- Executor.cs
- unsafeIndexingFilterStream.cs
- MetadataItemCollectionFactory.cs
- RetriableClipboard.cs
- __TransparentProxy.cs
- AtomEntry.cs
- FilterElement.cs
- Helpers.cs
- RegexFCD.cs
- SqlClientWrapperSmiStream.cs
- SerialReceived.cs
- CharacterHit.cs
- QuaternionAnimationUsingKeyFrames.cs
- MonthChangedEventArgs.cs
- MeasureItemEvent.cs
- TripleDES.cs
- NumberFormatter.cs
- StyleSelector.cs
- DataContract.cs
- ToolStripLabel.cs
- ObfuscationAttribute.cs
- MethodExpr.cs
- HtmlInputControl.cs
- MachineKeyConverter.cs
- AssociationType.cs
- JournalNavigationScope.cs
- HostSecurityManager.cs
- StringArrayConverter.cs
- ScrollData.cs
- CancellationState.cs
- TypeToStringValueConverter.cs
- BrowserCapabilitiesFactoryBase.cs
- AssociationType.cs
- DataGridViewSelectedCellCollection.cs
- GridViewCellAutomationPeer.cs
- HandlerFactoryWrapper.cs
- OracleException.cs
- OutputScopeManager.cs
- FloaterBaseParagraph.cs
- BigInt.cs
- WebPartHeaderCloseVerb.cs
- BufferedReadStream.cs
- TranslateTransform.cs
- ConstNode.cs
- LinqMaximalSubtreeNominator.cs
- SqlBulkCopyColumnMapping.cs
- FormClosedEvent.cs
- CellQuery.cs
- TextOnlyOutput.cs
- ObjectSecurity.cs
- DataProtection.cs
- XmlTextWriter.cs
- KeyGestureValueSerializer.cs
- XslCompiledTransform.cs
- RemoteWebConfigurationHostStream.cs
- XmlBinaryReader.cs
- MonthChangedEventArgs.cs
- Content.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SQLInt32.cs
- ClassGenerator.cs
- XmlQueryRuntime.cs
- DataRowChangeEvent.cs
- SecurityState.cs
- XomlDesignerLoader.cs
- DrawingVisualDrawingContext.cs
- FormViewDeleteEventArgs.cs
- Vector3DAnimation.cs
- Expression.DebuggerProxy.cs
- SingleSelectRootGridEntry.cs
- SelectionRangeConverter.cs
- Type.cs
- UICuesEvent.cs
- AsymmetricCryptoHandle.cs
- XmlAttribute.cs
- ThreadStaticAttribute.cs
- UnicastIPAddressInformationCollection.cs
- XamlWriterExtensions.cs
- PlatformNotSupportedException.cs
- XmlNamespaceMapping.cs
- ClonableStack.cs
- initElementDictionary.cs
- StylusEventArgs.cs
- WebBrowserProgressChangedEventHandler.cs
- SecurityChannelListener.cs
- DataSourceNameHandler.cs
- DropShadowBitmapEffect.cs
- ColorBlend.cs
- COSERVERINFO.cs
- DataGridColumnCollectionEditor.cs
- RepeatEnumerable.cs
- DropSource.cs
- UnSafeCharBuffer.cs
- WriteFileContext.cs
- WebZoneDesigner.cs
- ThemeInfoAttribute.cs
- ActivityExecutionWorkItem.cs
- SemanticTag.cs