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
- SiteMembershipCondition.cs
- StylusDownEventArgs.cs
- GridToolTip.cs
- BitmapEffectDrawing.cs
- odbcmetadatafactory.cs
- Thumb.cs
- ProfileModule.cs
- FileRegion.cs
- FactoryId.cs
- SR.cs
- StorageRoot.cs
- IntSecurity.cs
- ToolZone.cs
- KeysConverter.cs
- Vars.cs
- HebrewCalendar.cs
- WebPartMenu.cs
- BindingsCollection.cs
- AppDomainManager.cs
- SafePointer.cs
- ReadOnlyNameValueCollection.cs
- DataBoundControl.cs
- AssociationTypeEmitter.cs
- SafeSystemMetrics.cs
- Triangle.cs
- ExceptionUtil.cs
- XmlILModule.cs
- XmlDocumentSchema.cs
- Timer.cs
- SafeProcessHandle.cs
- SqlConnectionHelper.cs
- WindowsPen.cs
- Trigger.cs
- TreeChangeInfo.cs
- CollectionEditor.cs
- CodeDelegateInvokeExpression.cs
- DesignerHierarchicalDataSourceView.cs
- FrameworkContextData.cs
- WebResponse.cs
- WmiPutTraceRecord.cs
- ExceptionRoutedEventArgs.cs
- RtfControlWordInfo.cs
- ThreadInterruptedException.cs
- MessageSmuggler.cs
- SoapEnumAttribute.cs
- SpecialTypeDataContract.cs
- SystemParameters.cs
- ImplicitInputBrush.cs
- RegexCompiler.cs
- ExtendedTransformFactory.cs
- LogArchiveSnapshot.cs
- ConfigurationManagerInternalFactory.cs
- DataGridTextBox.cs
- TextEditorSpelling.cs
- ImageFormat.cs
- AttributeCollection.cs
- ExtensionElementCollection.cs
- JsonClassDataContract.cs
- PixelFormat.cs
- TimeSpanStorage.cs
- ServerIdentity.cs
- ButtonAutomationPeer.cs
- ProcessStartInfo.cs
- ListDictionary.cs
- TriggerActionCollection.cs
- DateTimeOffset.cs
- ClientUrlResolverWrapper.cs
- DesignerDataColumn.cs
- UniqueCodeIdentifierScope.cs
- DispatchChannelSink.cs
- DynamicUpdateCommand.cs
- GlyphInfoList.cs
- EncryptedPackageFilter.cs
- TextSimpleMarkerProperties.cs
- Point4DValueSerializer.cs
- ParameterToken.cs
- dataobject.cs
- TabOrder.cs
- ObjectHandle.cs
- X500Name.cs
- SrgsRuleRef.cs
- ConfigurationPermission.cs
- FormViewUpdateEventArgs.cs
- EntryPointNotFoundException.cs
- WorkflowInstanceSuspendedRecord.cs
- RuntimeConfig.cs
- HtmlTable.cs
- QilInvokeEarlyBound.cs
- XmlSchemaElement.cs
- ReadOnlyDictionary.cs
- TrackingDataItem.cs
- ScrollEventArgs.cs
- XmlArrayAttribute.cs
- DebugView.cs
- WebPartEditorOkVerb.cs
- DBCSCodePageEncoding.cs
- Hex.cs
- Interlocked.cs
- AnimationException.cs
- DbParameterCollectionHelper.cs