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
- XmlILIndex.cs
- AsymmetricSecurityProtocol.cs
- RoleManagerEventArgs.cs
- ThreadStartException.cs
- SchemaImporter.cs
- AuditLogLocation.cs
- ManagedIStream.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- RadioButtonAutomationPeer.cs
- PreservationFileWriter.cs
- Menu.cs
- DataRelationCollection.cs
- FlowchartStart.xaml.cs
- InsufficientMemoryException.cs
- XPathChildIterator.cs
- XmlException.cs
- BrowserTree.cs
- ToolStripRendererSwitcher.cs
- VirtualPathUtility.cs
- XmlName.cs
- EventProxy.cs
- BindingValueChangedEventArgs.cs
- Pair.cs
- DataBindEngine.cs
- WebPartConnectionsCancelVerb.cs
- TraceContextEventArgs.cs
- PlanCompiler.cs
- EditorPartCollection.cs
- ProfileInfo.cs
- BindToObject.cs
- DataBindEngine.cs
- SerTrace.cs
- ProgressBarRenderer.cs
- TextRenderer.cs
- AssociationTypeEmitter.cs
- IsolationInterop.cs
- NetworkAddressChange.cs
- Misc.cs
- SHA512Managed.cs
- XmlSchemaObject.cs
- BaseInfoTable.cs
- FilterQuery.cs
- EventItfInfo.cs
- FixedSOMPage.cs
- DropDownHolder.cs
- EditCommandColumn.cs
- UncommonField.cs
- EntityDataSourceChangedEventArgs.cs
- UshortList2.cs
- LingerOption.cs
- AnonymousIdentificationSection.cs
- SecureStringHasher.cs
- EventWaitHandle.cs
- HttpDebugHandler.cs
- KeyTimeConverter.cs
- ProcessInputEventArgs.cs
- DelegateCompletionCallbackWrapper.cs
- BindingManagerDataErrorEventArgs.cs
- CodeDirectionExpression.cs
- Encoder.cs
- TextElement.cs
- ScriptReferenceBase.cs
- PopupControlService.cs
- SeparatorAutomationPeer.cs
- Pkcs7Signer.cs
- DockPatternIdentifiers.cs
- ReflectionHelper.cs
- DesignerForm.cs
- PrivilegedConfigurationManager.cs
- CodeIndexerExpression.cs
- SmiEventStream.cs
- DataControlCommands.cs
- QueryActivatableWorkflowsCommand.cs
- SymbolMethod.cs
- SymbolEqualComparer.cs
- HandleValueEditor.cs
- TypeResolver.cs
- TagElement.cs
- SHA1Managed.cs
- X509ThumbprintKeyIdentifierClause.cs
- SmiRecordBuffer.cs
- SessionParameter.cs
- ToggleButtonAutomationPeer.cs
- HierarchicalDataBoundControlAdapter.cs
- SerializerDescriptor.cs
- GcHandle.cs
- Rfc2898DeriveBytes.cs
- RoleManagerSection.cs
- ApplicationHost.cs
- BasicBrowserDialog.cs
- PathData.cs
- ObjectDataSourceFilteringEventArgs.cs
- DataRecord.cs
- WebPartVerb.cs
- BinaryObjectWriter.cs
- IDataContractSurrogate.cs
- ObservableCollection.cs
- QuotaThrottle.cs
- KeyInfo.cs
- ToolTipService.cs