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
- ScriptReferenceEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CorrelationManager.cs
- ExecutionEngineException.cs
- OutputCacheSettings.cs
- SizeLimitedCache.cs
- ServiceTimeoutsElement.cs
- DropDownList.cs
- TextElementCollectionHelper.cs
- XmlEntity.cs
- SimplePropertyEntry.cs
- DataGridColumnEventArgs.cs
- DataGridCaption.cs
- TaskCanceledException.cs
- SuppressMessageAttribute.cs
- TraversalRequest.cs
- BrowserDefinitionCollection.cs
- MarkupObject.cs
- QuaternionConverter.cs
- SizeChangedInfo.cs
- ProcessDesigner.cs
- RectConverter.cs
- httpserverutility.cs
- SpeechAudioFormatInfo.cs
- EditorPartChrome.cs
- TraceContextRecord.cs
- ProtocolImporter.cs
- Main.cs
- ConfigurationElement.cs
- TabletCollection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ToolStripItem.cs
- DocumentReferenceCollection.cs
- GenerateScriptTypeAttribute.cs
- ToolStripControlHost.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ConfigXmlReader.cs
- CodeTypeMember.cs
- WindowInteropHelper.cs
- EntityRecordInfo.cs
- RawStylusSystemGestureInputReport.cs
- ReaderWriterLockSlim.cs
- TextChange.cs
- XmlRootAttribute.cs
- ToolBarButton.cs
- EventDescriptorCollection.cs
- Random.cs
- ToolBarOverflowPanel.cs
- HttpFileCollection.cs
- ButtonFieldBase.cs
- PackWebResponse.cs
- PrtCap_Reader.cs
- ChannelManager.cs
- Exceptions.cs
- RIPEMD160Managed.cs
- DrawingGroup.cs
- BitmapEffectState.cs
- JavaScriptObjectDeserializer.cs
- SignatureToken.cs
- ImageClickEventArgs.cs
- RoutedCommand.cs
- WindowsFormsHostAutomationPeer.cs
- FileReader.cs
- SettingsSection.cs
- ErrorHandler.cs
- ObjectStorage.cs
- PropertyGeneratedEventArgs.cs
- Emitter.cs
- Solver.cs
- CommandBindingCollection.cs
- ThreadStaticAttribute.cs
- WebPartZoneBase.cs
- LoginCancelEventArgs.cs
- XmlSerializer.cs
- HostedTransportConfigurationManager.cs
- HatchBrush.cs
- SystemIPGlobalProperties.cs
- Matrix3D.cs
- Container.cs
- StyleCollectionEditor.cs
- ExcCanonicalXml.cs
- SetterBase.cs
- MtomMessageEncoder.cs
- SqlConnectionString.cs
- CustomLineCap.cs
- PlainXmlWriter.cs
- DefaultEventAttribute.cs
- DesignerSerializationManager.cs
- MemberDomainMap.cs
- HtmlElementEventArgs.cs
- Int64KeyFrameCollection.cs
- WindowsHyperlink.cs
- PolicyException.cs
- DPTypeDescriptorContext.cs
- WebBrowser.cs
- TypeHelpers.cs
- _BaseOverlappedAsyncResult.cs
- CqlQuery.cs
- _SpnDictionary.cs
- GeneralTransform3DCollection.cs