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
- TextPenaltyModule.cs
- DateTimeStorage.cs
- Activator.cs
- StandardCommands.cs
- HtmlAnchor.cs
- MessageQueueKey.cs
- NamespaceInfo.cs
- SBCSCodePageEncoding.cs
- CommonObjectSecurity.cs
- DataControlFieldTypeEditor.cs
- ArgumentOutOfRangeException.cs
- SQLInt32Storage.cs
- XmlSchemaImporter.cs
- ModelPerspective.cs
- KeyGestureConverter.cs
- CheckBox.cs
- EpmCustomContentWriterNodeData.cs
- CaseStatementSlot.cs
- ReflectionTypeLoadException.cs
- ResourceSetExpression.cs
- DataBoundLiteralControl.cs
- DecimalConverter.cs
- PreloadedPackages.cs
- ClientBuildManager.cs
- SQLInt64.cs
- DuplicateWaitObjectException.cs
- RoleBoolean.cs
- DispatchChannelSink.cs
- FixedSOMImage.cs
- PowerModeChangedEventArgs.cs
- Utils.cs
- _Rfc2616CacheValidators.cs
- EndpointBehaviorElementCollection.cs
- TraceContext.cs
- EntityProxyTypeInfo.cs
- ConfigurationException.cs
- SignedXmlDebugLog.cs
- DbParameterHelper.cs
- GridErrorDlg.cs
- InternalsVisibleToAttribute.cs
- SoapTypeAttribute.cs
- TreeViewHitTestInfo.cs
- HttpModuleAction.cs
- HtmlInputReset.cs
- XmlFormatWriterGenerator.cs
- BamlStream.cs
- InputScopeNameConverter.cs
- GradientSpreadMethodValidation.cs
- SoapEnumAttribute.cs
- SupportsEventValidationAttribute.cs
- ValidatedControlConverter.cs
- MissingMethodException.cs
- RoleGroup.cs
- Html32TextWriter.cs
- VisualBasicHelper.cs
- NameValueConfigurationElement.cs
- SafeHandle.cs
- ClientBuildManagerCallback.cs
- TagPrefixAttribute.cs
- InvalidProgramException.cs
- datacache.cs
- Stroke2.cs
- SafeArrayTypeMismatchException.cs
- RegexReplacement.cs
- SqlStatistics.cs
- Vector.cs
- TypeDelegator.cs
- XPathSelfQuery.cs
- ProcessThreadDesigner.cs
- SqlMethodCallConverter.cs
- VerificationException.cs
- OutputCacheProviderCollection.cs
- UnicodeEncoding.cs
- HtmlWindow.cs
- ListItem.cs
- XmlResolver.cs
- URLIdentityPermission.cs
- Compiler.cs
- ToolStripSplitButton.cs
- DataControlFieldsEditor.cs
- CompositeControl.cs
- PackageRelationshipCollection.cs
- FactoryRecord.cs
- ExpressionDumper.cs
- PageFunction.cs
- CharConverter.cs
- XmlArrayItemAttributes.cs
- UnsafeNativeMethods.cs
- CodeTypeDeclarationCollection.cs
- ApplicationServiceHelper.cs
- wgx_commands.cs
- LineBreak.cs
- RegexCharClass.cs
- DataControlFieldCell.cs
- ApplicationBuildProvider.cs
- QilUnary.cs
- EntityDataSourceContextCreatedEventArgs.cs
- FtpRequestCacheValidator.cs
- TriggerActionCollection.cs
- Geometry3D.cs