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
- CodeGroup.cs
- ResourceBinder.cs
- Triangle.cs
- WindowsIdentity.cs
- CodeLabeledStatement.cs
- CollectionContainer.cs
- _StreamFramer.cs
- BinaryConverter.cs
- TextEditorLists.cs
- ImageFormatConverter.cs
- GeneratedCodeAttribute.cs
- Soap12ServerProtocol.cs
- XmlSchemaNotation.cs
- ControlBuilderAttribute.cs
- PropertyTab.cs
- RegexGroup.cs
- LazyTextWriterCreator.cs
- ScriptServiceAttribute.cs
- Size3DConverter.cs
- SafeHandle.cs
- SByteStorage.cs
- ValidationErrorEventArgs.cs
- CompensationHandlingFilter.cs
- Rotation3DAnimationBase.cs
- DispatcherSynchronizationContext.cs
- ProxyDataContractResolver.cs
- ReadOnlyCollectionBase.cs
- SystemIPInterfaceProperties.cs
- ExceptionTrace.cs
- CounterCreationData.cs
- IntegerValidator.cs
- StrongNamePublicKeyBlob.cs
- SafeThemeHandle.cs
- AutomationEventArgs.cs
- DataServiceKeyAttribute.cs
- ScrollChrome.cs
- MediaElementAutomationPeer.cs
- PrimitiveRenderer.cs
- TrustLevelCollection.cs
- Directory.cs
- TraceHwndHost.cs
- UnsafeNativeMethods.cs
- Mapping.cs
- BatchServiceHost.cs
- SqlResolver.cs
- PartialCachingAttribute.cs
- ColumnClickEvent.cs
- XmlSerializerSection.cs
- ExtractedStateEntry.cs
- WindowsFormsSectionHandler.cs
- CodeDesigner.cs
- ConstrainedDataObject.cs
- SemaphoreFullException.cs
- BidPrivateBase.cs
- ToolboxItemAttribute.cs
- VisualBasicValue.cs
- XomlCompiler.cs
- RelationalExpressions.cs
- PackWebRequestFactory.cs
- SafeNativeMethods.cs
- ZipArchive.cs
- SyndicationPerson.cs
- ProcessStartInfo.cs
- GetIndexBinder.cs
- SimplePropertyEntry.cs
- HierarchicalDataSourceControl.cs
- BuilderInfo.cs
- PackWebRequestFactory.cs
- TextSimpleMarkerProperties.cs
- DependencyPropertyKind.cs
- URLString.cs
- QueryExpression.cs
- ElementHostPropertyMap.cs
- _UriTypeConverter.cs
- LogSwitch.cs
- Propagator.JoinPropagator.cs
- BinaryObjectInfo.cs
- ExpressionTable.cs
- ContextMenuAutomationPeer.cs
- GeneralTransform3DGroup.cs
- TableItemPattern.cs
- HttpProfileGroupBase.cs
- ListBoxItem.cs
- shaperfactory.cs
- SqlMethods.cs
- BulletChrome.cs
- ScriptingScriptResourceHandlerSection.cs
- SchemaImporterExtensionElementCollection.cs
- DataPagerFieldCollection.cs
- LayoutEvent.cs
- SessionStateModule.cs
- LogStore.cs
- DrawListViewColumnHeaderEventArgs.cs
- RadioButton.cs
- CommandDesigner.cs
- contentDescriptor.cs
- HijriCalendar.cs
- MulticastNotSupportedException.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ConversionContext.cs