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
- ScriptHandlerFactory.cs
- ResizingMessageFilter.cs
- ADConnectionHelper.cs
- TrustSection.cs
- FtpRequestCacheValidator.cs
- AudioDeviceOut.cs
- Model3D.cs
- Events.cs
- SettingsSection.cs
- KeyProperty.cs
- ExceptionUtility.cs
- BasePattern.cs
- TreeNodeCollection.cs
- DesignTimeXamlWriter.cs
- CodeMemberEvent.cs
- TextEditorCopyPaste.cs
- SystemWebExtensionsSectionGroup.cs
- DesignerTextBoxAdapter.cs
- XPathDocumentIterator.cs
- Parameter.cs
- HttpWebResponse.cs
- BatchParser.cs
- DispatcherEventArgs.cs
- LinkedList.cs
- DataGridItemEventArgs.cs
- FastEncoder.cs
- LinkedList.cs
- NestPullup.cs
- WebBrowserHelper.cs
- DbBuffer.cs
- InteropAutomationProvider.cs
- TemplatedMailWebEventProvider.cs
- ExtensionQuery.cs
- WebPartMenu.cs
- SudsWriter.cs
- StylesEditorDialog.cs
- MenuBindingsEditorForm.cs
- PasswordPropertyTextAttribute.cs
- XmlDataLoader.cs
- CreateUserWizard.cs
- UnsafeNativeMethods.cs
- TextParaClient.cs
- DrawingImage.cs
- SystemWebCachingSectionGroup.cs
- TextTrailingWordEllipsis.cs
- TypeUtil.cs
- FormatterServices.cs
- OLEDB_Enum.cs
- CaseInsensitiveComparer.cs
- COAUTHINFO.cs
- SourceItem.cs
- FontFamilyConverter.cs
- HttpCacheVaryByContentEncodings.cs
- DbXmlEnabledProviderManifest.cs
- MouseCaptureWithinProperty.cs
- Win32SafeHandles.cs
- ConfigurationFileMap.cs
- ReachPageContentSerializerAsync.cs
- DataControlButton.cs
- ObjectSet.cs
- Button.cs
- UnaryQueryOperator.cs
- RepeatBehavior.cs
- XmlAttributeHolder.cs
- SapiInterop.cs
- SHA1CryptoServiceProvider.cs
- UnsafeNativeMethods.cs
- M3DUtil.cs
- WinFormsComponentEditor.cs
- EntityDataSourceContainerNameConverter.cs
- ColorBlend.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- AutomationPropertyInfo.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- AlternateView.cs
- Frame.cs
- Vector3DAnimationBase.cs
- XmlIgnoreAttribute.cs
- RawMouseInputReport.cs
- RSACryptoServiceProvider.cs
- XamlStream.cs
- _IPv4Address.cs
- WinCategoryAttribute.cs
- HttpSessionStateBase.cs
- COM2PictureConverter.cs
- WindowsEditBox.cs
- RadioButtonPopupAdapter.cs
- InternalResources.cs
- EntitySet.cs
- ProgressBarHighlightConverter.cs
- SqlMetaData.cs
- DeviceFilterDictionary.cs
- SqlTransaction.cs
- _LocalDataStore.cs
- DataException.cs
- Literal.cs
- UTF32Encoding.cs
- HwndAppCommandInputProvider.cs
- ProfileSection.cs
- DbDataSourceEnumerator.cs