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
- AuthenticateEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- DesignerHelpers.cs
- DetailsViewInsertedEventArgs.cs
- WebConfigurationHostFileChange.cs
- KnowledgeBase.cs
- StoryFragments.cs
- FormsAuthenticationCredentials.cs
- ToolboxItemFilterAttribute.cs
- NetNamedPipeSecurityMode.cs
- Utils.cs
- EntityStoreSchemaGenerator.cs
- ADConnectionHelper.cs
- ResourceReferenceExpressionConverter.cs
- XmlSchemaImport.cs
- StreamGeometryContext.cs
- AppDomainUnloadedException.cs
- EnumerationRangeValidationUtil.cs
- ContentPosition.cs
- serverconfig.cs
- PermissionListSet.cs
- PieceNameHelper.cs
- AsymmetricAlgorithm.cs
- EntityStoreSchemaGenerator.cs
- OpenTypeCommon.cs
- WrappedReader.cs
- BookmarkWorkItem.cs
- GetPageNumberCompletedEventArgs.cs
- CustomErrorCollection.cs
- unsafenativemethodsother.cs
- XmlNamespaceDeclarationsAttribute.cs
- DataObjectAttribute.cs
- XmlComplianceUtil.cs
- BoundsDrawingContextWalker.cs
- Function.cs
- GatewayIPAddressInformationCollection.cs
- WebBrowserContainer.cs
- SimpleWebHandlerParser.cs
- Int16.cs
- FixedSOMTable.cs
- Models.cs
- GestureRecognitionResult.cs
- ImageSource.cs
- EntityDataSourceWrapper.cs
- BamlTreeMap.cs
- TreeNodeEventArgs.cs
- LinkUtilities.cs
- XsltOutput.cs
- Encoder.cs
- AssemblyBuilderData.cs
- adornercollection.cs
- BasicDesignerLoader.cs
- PreviewKeyDownEventArgs.cs
- CopyAttributesAction.cs
- XmlDocumentViewSchema.cs
- LateBoundBitmapDecoder.cs
- TextParaClient.cs
- PseudoWebRequest.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- XPathAncestorIterator.cs
- SerializableAttribute.cs
- RadioButton.cs
- JsonFormatGeneratorStatics.cs
- SafeFileMappingHandle.cs
- PingOptions.cs
- ProcessModelInfo.cs
- ClientFormsIdentity.cs
- ECDiffieHellmanCng.cs
- CompilerTypeWithParams.cs
- SelfSignedCertificate.cs
- CompensationDesigner.cs
- CodeCompileUnit.cs
- XmlMapping.cs
- CheckBoxList.cs
- IncrementalHitTester.cs
- OracleInfoMessageEventArgs.cs
- ClientSideQueueItem.cs
- Renderer.cs
- CodeCastExpression.cs
- Parser.cs
- CanonicalXml.cs
- SimpleFileLog.cs
- UserPreferenceChangingEventArgs.cs
- FrameworkRichTextComposition.cs
- DisableDpiAwarenessAttribute.cs
- TextAction.cs
- ImageMap.cs
- StringUtil.cs
- CatalogZoneBase.cs
- PersonalizationAdministration.cs
- FontWeightConverter.cs
- SystemIPInterfaceStatistics.cs
- TextRangeSerialization.cs
- CustomWebEventKey.cs
- ToolStripContentPanelRenderEventArgs.cs
- ExtendedPropertyCollection.cs
- FreezableCollection.cs
- DataReaderContainer.cs
- DataSourceHelper.cs
- ThreadStaticAttribute.cs