Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataTransferEventArgs.cs
- EmissiveMaterial.cs
- DataGridViewCellConverter.cs
- RoutedEventValueSerializer.cs
- COM2ComponentEditor.cs
- FontInfo.cs
- EncodingTable.cs
- ViewStateException.cs
- TagNameToTypeMapper.cs
- CompensationDesigner.cs
- RegexNode.cs
- NavigationEventArgs.cs
- DoubleLink.cs
- HttpContext.cs
- WebEventTraceProvider.cs
- SqlDataReaderSmi.cs
- Hashtable.cs
- WriteLineDesigner.xaml.cs
- DbTypeMap.cs
- UIntPtr.cs
- BaseServiceProvider.cs
- RtfToken.cs
- TextBreakpoint.cs
- LinqDataSourceUpdateEventArgs.cs
- DesignerTransactionCloseEvent.cs
- ClientProxyGenerator.cs
- Module.cs
- ConfigXmlWhitespace.cs
- TimelineGroup.cs
- Shared.cs
- ParamArrayAttribute.cs
- DnsEndPoint.cs
- InfoCardRSACryptoProvider.cs
- CommandHelper.cs
- ProjectionPruner.cs
- TextParaLineResult.cs
- PopupEventArgs.cs
- StringUtil.cs
- FrameworkElementFactoryMarkupObject.cs
- PtsCache.cs
- ContourSegment.cs
- WebBrowserHelper.cs
- TrackingAnnotationCollection.cs
- XmlSchemaAnnotated.cs
- figurelengthconverter.cs
- LinkConverter.cs
- TypeName.cs
- ExtendedPropertyDescriptor.cs
- ServiceOperationInfoTypeConverter.cs
- PasswordBoxAutomationPeer.cs
- Themes.cs
- WebMethodAttribute.cs
- webclient.cs
- FixedSOMLineCollection.cs
- WindowsAuthenticationModule.cs
- WebPart.cs
- TextHidden.cs
- PositiveTimeSpanValidator.cs
- TextBoxDesigner.cs
- GlyphCache.cs
- ConfigurationElementProperty.cs
- XmlReflectionMember.cs
- MD5.cs
- RotationValidation.cs
- TimelineGroup.cs
- TextParaClient.cs
- ObjectSet.cs
- DataGridBoundColumn.cs
- XPathDescendantIterator.cs
- AQNBuilder.cs
- RectangleGeometry.cs
- TextInfo.cs
- CharacterString.cs
- SelectionBorderGlyph.cs
- FontWeightConverter.cs
- GeometryCombineModeValidation.cs
- EventBuilder.cs
- DependencyPropertyConverter.cs
- SymbolEqualComparer.cs
- ThreadStaticAttribute.cs
- DataPagerField.cs
- SystemInformation.cs
- SiteMapNodeItemEventArgs.cs
- SqlRewriteScalarSubqueries.cs
- DiscoveryClientDuplexChannel.cs
- VariantWrapper.cs
- QilLoop.cs
- DragCompletedEventArgs.cs
- GroupStyle.cs
- DataServiceQuery.cs
- HelpInfo.cs
- PreviewKeyDownEventArgs.cs
- DBParameter.cs
- ParenthesizePropertyNameAttribute.cs
- StateDesigner.LayoutSelectionGlyph.cs
- ButtonBaseAutomationPeer.cs
- ParseChildrenAsPropertiesAttribute.cs
- FilteredXmlReader.cs
- MetadataArtifactLoaderComposite.cs
- UIElementPropertyUndoUnit.cs