Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaintValueEventArgs.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PcmConverter.cs
- FixedElement.cs
- AuthenticationManager.cs
- SkinBuilder.cs
- UiaCoreApi.cs
- WorkflowApplicationTerminatedException.cs
- XmlStrings.cs
- FormatterConverter.cs
- NonValidatingSecurityTokenAuthenticator.cs
- DataGridCaption.cs
- returneventsaver.cs
- DecimalKeyFrameCollection.cs
- QilGenerator.cs
- RootBuilder.cs
- AutomationPatternInfo.cs
- MenuItemStyle.cs
- HtmlTitle.cs
- UIElement.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- AuthorizationRuleCollection.cs
- StatusBarItem.cs
- LookupNode.cs
- InternalConfigEventArgs.cs
- ClientData.cs
- FileChangesMonitor.cs
- SimpleLine.cs
- MeshGeometry3D.cs
- GridViewUpdatedEventArgs.cs
- FormParameter.cs
- PickBranch.cs
- PartialCachingAttribute.cs
- DecoderExceptionFallback.cs
- UidManager.cs
- TreeNodeCollection.cs
- Guid.cs
- BitmapEffectvisualstate.cs
- While.cs
- AssemblyInfo.cs
- bidPrivateBase.cs
- SendParametersContent.cs
- SoapAttributeAttribute.cs
- ListMarkerLine.cs
- QilBinary.cs
- Model3D.cs
- CodeStatement.cs
- DataControlLinkButton.cs
- PriorityItem.cs
- SetStateDesigner.cs
- PartBasedPackageProperties.cs
- SQLDateTime.cs
- StateChangeEvent.cs
- DrawingCollection.cs
- HostedTransportConfigurationManager.cs
- OracleDataAdapter.cs
- SqlClientWrapperSmiStreamChars.cs
- ChangePasswordDesigner.cs
- DataGridViewCellValueEventArgs.cs
- KeyInterop.cs
- TypeToken.cs
- CollectionViewGroupInternal.cs
- XmlFormatExtensionPrefixAttribute.cs
- InternalBufferManager.cs
- ColumnTypeConverter.cs
- CheckBoxField.cs
- XmlValidatingReaderImpl.cs
- DiscoveryRequestHandler.cs
- NamespaceList.cs
- SwitchLevelAttribute.cs
- StyleSheet.cs
- DataGridViewElement.cs
- ToolBarDesigner.cs
- Context.cs
- SelectionWordBreaker.cs
- ToolStripItemImageRenderEventArgs.cs
- TextAutomationPeer.cs
- PropertyPath.cs
- EntityDataSourceStatementEditorForm.cs
- RowCache.cs
- SafeSecurityHandles.cs
- TabControlAutomationPeer.cs
- ImmutableDispatchRuntime.cs
- DataBinder.cs
- IndexedString.cs
- ComponentEditorForm.cs
- PeerNameRecordCollection.cs
- ReadOnlyMetadataCollection.cs
- CfgParser.cs
- updatecommandorderer.cs
- Peer.cs
- APCustomTypeDescriptor.cs
- InternalCache.cs
- SafeUserTokenHandle.cs
- MetaColumn.cs
- _ConnectOverlappedAsyncResult.cs
- ResourcePart.cs
- CodeGeneratorOptions.cs
- WindowsGraphics.cs
- CallbackHandler.cs