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
- WebMethodAttribute.cs
- PaginationProgressEventArgs.cs
- ReaderWriterLock.cs
- KernelTypeValidation.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Vector3D.cs
- SQLBinary.cs
- TreeBuilder.cs
- LocalizableResourceBuilder.cs
- ToolTip.cs
- LogWriteRestartAreaState.cs
- FrameSecurityDescriptor.cs
- CallId.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SqlBulkCopyColumnMapping.cs
- HandlerBase.cs
- UnaryExpression.cs
- CompareInfo.cs
- AnimationException.cs
- TreeNodeMouseHoverEvent.cs
- XsltArgumentList.cs
- sqlmetadatafactory.cs
- SecurityState.cs
- ComplexTypeEmitter.cs
- HitTestResult.cs
- DoubleAnimation.cs
- EmptyQuery.cs
- DesignerVerbCollection.cs
- XPathAxisIterator.cs
- SqlCrossApplyToCrossJoin.cs
- NameValueSectionHandler.cs
- SecurityContextSecurityToken.cs
- BasicAsyncResult.cs
- StructuralObject.cs
- CodeSnippetTypeMember.cs
- EventHandlerService.cs
- ChtmlCalendarAdapter.cs
- ADRoleFactoryConfiguration.cs
- DocumentPageHost.cs
- MultiByteCodec.cs
- DiagnosticTrace.cs
- HostingMessageProperty.cs
- CodeAttributeDeclarationCollection.cs
- StylusEditingBehavior.cs
- WebHttpDispatchOperationSelector.cs
- HtmlControlPersistable.cs
- HtmlForm.cs
- ProfileSettingsCollection.cs
- DefaultClaimSet.cs
- ClientData.cs
- TypedTableGenerator.cs
- UnsafeNativeMethods.cs
- LoginAutoFormat.cs
- ObjectParameterCollection.cs
- Soap12ProtocolReflector.cs
- UnaryNode.cs
- ModulesEntry.cs
- AsnEncodedData.cs
- VisualTreeHelper.cs
- CodeAttributeDeclaration.cs
- ProfileSection.cs
- HMACSHA512.cs
- BinaryParser.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- XmlDocumentSerializer.cs
- EditingMode.cs
- HttpDebugHandler.cs
- ServiceReflector.cs
- HelpProvider.cs
- BitmapSource.cs
- WebService.cs
- MsmqActivation.cs
- DateTime.cs
- DBCSCodePageEncoding.cs
- TablePatternIdentifiers.cs
- DataReaderContainer.cs
- ManagementScope.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- ToolStripItem.cs
- OleDbConnectionFactory.cs
- Simplifier.cs
- GacUtil.cs
- CodeCommentStatementCollection.cs
- CLSCompliantAttribute.cs
- Token.cs
- HebrewCalendar.cs
- HandlerMappingMemo.cs
- RolePrincipal.cs
- SystemInfo.cs
- mda.cs
- ExpressionBindings.cs
- KeyFrames.cs
- InvalidComObjectException.cs
- TextShapeableCharacters.cs
- TabPage.cs
- RawStylusInputCustomDataList.cs
- FontDriver.cs
- FixedSOMContainer.cs
- FillBehavior.cs
- LogFlushAsyncResult.cs