Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / TextEvent.cs / 1305376 / 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
- ConfigurationSectionGroup.cs
- DataTableReader.cs
- UniformGrid.cs
- GPStream.cs
- BooleanToVisibilityConverter.cs
- _DomainName.cs
- SqlFacetAttribute.cs
- AuthenticationModulesSection.cs
- Rect3DValueSerializer.cs
- sitestring.cs
- RestHandler.cs
- HostTimeoutsElement.cs
- DesignOnlyAttribute.cs
- NameValueFileSectionHandler.cs
- TreeViewAutomationPeer.cs
- DragDeltaEventArgs.cs
- SmtpReplyReaderFactory.cs
- UserThread.cs
- Vector3DConverter.cs
- PropertyCollection.cs
- SelectingProviderEventArgs.cs
- BitmapEffectInputData.cs
- _SSPIWrapper.cs
- CreateBookmarkScope.cs
- SelectionEditor.cs
- Formatter.cs
- LabelDesigner.cs
- ISAPIWorkerRequest.cs
- CallbackHandler.cs
- Viewport2DVisual3D.cs
- TemplatedAdorner.cs
- TextTreeNode.cs
- Pointer.cs
- PreviewPageInfo.cs
- UpdateTracker.cs
- IisTraceListener.cs
- StaticExtensionConverter.cs
- AssemblyHash.cs
- StorageFunctionMapping.cs
- DataGridViewImageColumn.cs
- SessionEndingEventArgs.cs
- CompositionAdorner.cs
- InternalConfigSettingsFactory.cs
- EventSource.cs
- TextContainerChangedEventArgs.cs
- Gdiplus.cs
- StyleCollection.cs
- CodeChecksumPragma.cs
- XD.cs
- BroadcastEventHelper.cs
- ControllableStoryboardAction.cs
- securitycriticaldata.cs
- BaseTemplateBuildProvider.cs
- ZipIOBlockManager.cs
- Region.cs
- SqlEnums.cs
- OuterGlowBitmapEffect.cs
- SiteOfOriginPart.cs
- DataServiceQueryOfT.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- BaseCollection.cs
- HebrewNumber.cs
- nulltextnavigator.cs
- KnownColorTable.cs
- DiscoveryProxy.cs
- ListViewTableCell.cs
- ProfileGroupSettingsCollection.cs
- DataGridLinkButton.cs
- HMACSHA1.cs
- NameTable.cs
- DetailsViewCommandEventArgs.cs
- CacheAxisQuery.cs
- QuerySetOp.cs
- UrlAuthorizationModule.cs
- DataServiceExpressionVisitor.cs
- SQLBytes.cs
- CodeGen.cs
- RegexParser.cs
- SlipBehavior.cs
- XmlNodeComparer.cs
- SystemResourceHost.cs
- MailBnfHelper.cs
- SafeHandles.cs
- PartialCachingControl.cs
- QueryInterceptorAttribute.cs
- FormClosingEvent.cs
- ApplicationTrust.cs
- SurrogateDataContract.cs
- TextDecorationCollection.cs
- cache.cs
- MultiView.cs
- PropertyDescriptorComparer.cs
- RangeContentEnumerator.cs
- HighlightComponent.cs
- SslStream.cs
- RequestQueryProcessor.cs
- Matrix3DStack.cs
- XmlnsCache.cs
- NominalTypeEliminator.cs
- BitmapEffectGeneralTransform.cs