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
- DataGridViewLinkCell.cs
- SoapEnumAttribute.cs
- SelfIssuedSamlTokenFactory.cs
- CaseInsensitiveHashCodeProvider.cs
- VerticalAlignConverter.cs
- Dynamic.cs
- WorkflowRuntimeEndpoint.cs
- ContainerUIElement3D.cs
- MetadataPropertyCollection.cs
- DocumentEventArgs.cs
- SqlLiftWhereClauses.cs
- CreateParams.cs
- WriteLine.cs
- DataBoundControl.cs
- GPRECT.cs
- SQLGuidStorage.cs
- ManifestResourceInfo.cs
- PackagePart.cs
- EditingMode.cs
- AuthorizationSection.cs
- ByeMessage11.cs
- SingleKeyFrameCollection.cs
- RelationHandler.cs
- LinkLabel.cs
- XmlAttribute.cs
- CmsInterop.cs
- DesignTimeVisibleAttribute.cs
- Help.cs
- DBCommand.cs
- SystemUnicastIPAddressInformation.cs
- IPAddressCollection.cs
- storepermissionattribute.cs
- HashMembershipCondition.cs
- WebPartTransformerAttribute.cs
- OutputCacheSettingsSection.cs
- ToolStripTextBox.cs
- XmlDocument.cs
- EmptyEnumerator.cs
- ParsedRoute.cs
- OutputScope.cs
- KeyValueSerializer.cs
- Vars.cs
- TypeToken.cs
- DataMemberListEditor.cs
- TreeViewImageKeyConverter.cs
- ConfigurationSettings.cs
- ProviderUtil.cs
- DataGridViewComboBoxColumn.cs
- LogStream.cs
- XmlCharCheckingWriter.cs
- GlyphRunDrawing.cs
- CacheMemory.cs
- LinkLabel.cs
- DescendantOverDescendantQuery.cs
- CompositeDataBoundControl.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TraceUtils.cs
- ErrorItem.cs
- DesignerSerializerAttribute.cs
- ByteStream.cs
- XmlWellformedWriter.cs
- EventDescriptor.cs
- DataConnectionHelper.cs
- Transaction.cs
- DisableDpiAwarenessAttribute.cs
- AuthStoreRoleProvider.cs
- MachineKeySection.cs
- BinaryHeap.cs
- MailAddressCollection.cs
- SqlParameterCollection.cs
- XmlTextReader.cs
- Model3DCollection.cs
- InternalCache.cs
- ExceptionRoutedEventArgs.cs
- Point3DCollectionValueSerializer.cs
- RegionInfo.cs
- NetworkCredential.cs
- DataGridCommandEventArgs.cs
- ListDictionaryInternal.cs
- PageFunction.cs
- ValuePattern.cs
- StandardToolWindows.cs
- AnimationClockResource.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ToolBarButton.cs
- XmlIlVisitor.cs
- LocalBuilder.cs
- Base64Stream.cs
- EmissiveMaterial.cs
- GridViewActionList.cs
- DictionaryEntry.cs
- UserControl.cs
- _KerberosClient.cs
- Marshal.cs
- SoapIgnoreAttribute.cs
- ReturnValue.cs
- DisplayNameAttribute.cs
- XmlKeywords.cs
- SortAction.cs
- PageAction.cs