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
- XmlCDATASection.cs
- WebBrowser.cs
- DictionaryTraceRecord.cs
- DataSourceDesigner.cs
- SecurityHeaderElementInferenceEngine.cs
- UniqueIdentifierService.cs
- WorkflowRuntime.cs
- HostingEnvironmentSection.cs
- AuditLogLocation.cs
- XmlSchemaObjectCollection.cs
- PathFigureCollectionConverter.cs
- Int32RectValueSerializer.cs
- SelectedDatesCollection.cs
- Image.cs
- MethodExpression.cs
- ServiceDesigner.cs
- QualificationDataItem.cs
- EventLogEntry.cs
- SizeChangedEventArgs.cs
- CorrelationRequestContext.cs
- DataGridViewCellLinkedList.cs
- RegexWriter.cs
- FontStyle.cs
- CompilerGlobalScopeAttribute.cs
- CustomTokenProvider.cs
- StdValidatorsAndConverters.cs
- FrameworkObject.cs
- UrlMappingsSection.cs
- LineServices.cs
- InheritedPropertyChangedEventArgs.cs
- XPathConvert.cs
- PropertyChangedEventManager.cs
- MsmqTransportReceiveParameters.cs
- TableParaClient.cs
- QueryResponse.cs
- FontDifferentiator.cs
- DbConnectionFactory.cs
- Substitution.cs
- Int16.cs
- SiteMapDataSource.cs
- XsltContext.cs
- XmlToDatasetMap.cs
- RefreshEventArgs.cs
- LoginCancelEventArgs.cs
- ClientApiGenerator.cs
- TypeDependencyAttribute.cs
- DesignTable.cs
- DefaultObjectMappingItemCollection.cs
- PlatformNotSupportedException.cs
- ApplicationInfo.cs
- SamlAction.cs
- ConnectionStringsSection.cs
- PackWebRequest.cs
- PrivilegedConfigurationManager.cs
- VScrollBar.cs
- WebPartExportVerb.cs
- StateMachineWorkflow.cs
- SocketElement.cs
- Select.cs
- PrintController.cs
- HighContrastHelper.cs
- xamlnodes.cs
- GraphicsContainer.cs
- RelationshipManager.cs
- DataGridRow.cs
- HttpsTransportBindingElement.cs
- RelationshipEndMember.cs
- TranslateTransform.cs
- CellParagraph.cs
- Tokenizer.cs
- HideDisabledControlAdapter.cs
- TextBoxAutoCompleteSourceConverter.cs
- FlowSwitch.cs
- CutCopyPasteHelper.cs
- PathSegment.cs
- FlagPanel.cs
- BinaryQueryOperator.cs
- StrongNameIdentityPermission.cs
- BinHexDecoder.cs
- GenericWebPart.cs
- Thumb.cs
- XmlDocumentSerializer.cs
- SecureUICommand.cs
- CryptoApi.cs
- Matrix3DStack.cs
- ServiceDefaults.cs
- _RegBlobWebProxyDataBuilder.cs
- WorkflowExecutor.cs
- MailFileEditor.cs
- XmlMtomWriter.cs
- MultiPageTextView.cs
- CustomErrorCollection.cs
- ReflectionTypeLoadException.cs
- ResourceReader.cs
- PageSetupDialog.cs
- TypeDelegator.cs
- ApplicationServicesHostFactory.cs
- XslTransform.cs
- WpfWebRequestHelper.cs
- securitycriticaldata.cs