Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ControlBindingsConverter.cs
- MethodMessage.cs
- AspNetSynchronizationContext.cs
- WrapPanel.cs
- HttpModulesSection.cs
- PointF.cs
- ActiveXMessageFormatter.cs
- RawTextInputReport.cs
- StateChangeEvent.cs
- CodePageEncoding.cs
- SqlEnums.cs
- TypeLibConverter.cs
- DesignerSerializationOptionsAttribute.cs
- SocketException.cs
- ParallelTimeline.cs
- CodeFieldReferenceExpression.cs
- MiniCustomAttributeInfo.cs
- LoginView.cs
- RegistryPermission.cs
- MemberAssignmentAnalysis.cs
- TreeNodeConverter.cs
- DataGridItemEventArgs.cs
- SqlCacheDependencyDatabaseCollection.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- AndCondition.cs
- LocalizabilityAttribute.cs
- __FastResourceComparer.cs
- PositiveTimeSpanValidatorAttribute.cs
- KerberosSecurityTokenProvider.cs
- CustomAttributeFormatException.cs
- CroppedBitmap.cs
- XmlSignatureManifest.cs
- CommonServiceBehaviorElement.cs
- AttributeEmitter.cs
- PackageRelationshipCollection.cs
- AssociationType.cs
- HyperLinkStyle.cs
- MaxMessageSizeStream.cs
- DocumentSignatureManager.cs
- CopyNodeSetAction.cs
- PtsPage.cs
- ListBoxAutomationPeer.cs
- CodeLabeledStatement.cs
- CodeSubDirectory.cs
- LongValidatorAttribute.cs
- LicenseException.cs
- MappingMetadataHelper.cs
- RowType.cs
- RepeaterItemEventArgs.cs
- DataServiceQueryOfT.cs
- securitycriticaldataClass.cs
- AttributeAction.cs
- FormsAuthenticationUserCollection.cs
- SqlTrackingQuery.cs
- SafeRightsManagementQueryHandle.cs
- XD.cs
- PagesChangedEventArgs.cs
- DictionaryKeyPropertyAttribute.cs
- DifferencingCollection.cs
- ColumnReorderedEventArgs.cs
- XmlChildNodes.cs
- _BaseOverlappedAsyncResult.cs
- Script.cs
- SecurityRuntime.cs
- HashCodeCombiner.cs
- BuilderPropertyEntry.cs
- ScrollViewer.cs
- DataService.cs
- Brush.cs
- SettingsPropertyValue.cs
- UnitySerializationHolder.cs
- DelegateSerializationHolder.cs
- DataGridItemAutomationPeer.cs
- SafeMemoryMappedFileHandle.cs
- XamlFilter.cs
- EncoderParameter.cs
- Floater.cs
- DetailsViewModeEventArgs.cs
- NameNode.cs
- OletxDependentTransaction.cs
- StringSorter.cs
- CheckBoxRenderer.cs
- DBPropSet.cs
- TextDocumentView.cs
- StateItem.cs
- BamlMapTable.cs
- PersistChildrenAttribute.cs
- RegexMatch.cs
- ImageSource.cs
- Query.cs
- XsltArgumentList.cs
- TreeNode.cs
- Dispatcher.cs
- ConfigurationSectionGroupCollection.cs
- ImageAutomationPeer.cs
- ButtonChrome.cs
- DefaultTextStore.cs
- PhonemeEventArgs.cs
- TextMarkerSource.cs
- WindowsRebar.cs