Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / AvtEvent.cs / 1305376 / AvtEvent.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; using System.Text; internal sealed class AvtEvent : TextEvent { private int key; public AvtEvent(int key) { Debug.Assert(key != Compiler.InvalidQueryKey); this.key = key; } public override bool Output(Processor processor, ActionFrame frame) { Debug.Assert(key != Compiler.InvalidQueryKey); return processor.TextEvent(processor.EvaluateString(frame, this.key)); } public override string Evaluate(Processor processor, ActionFrame frame) { return processor.EvaluateString(frame, this.key); } } } // 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; using System.Text; internal sealed class AvtEvent : TextEvent { private int key; public AvtEvent(int key) { Debug.Assert(key != Compiler.InvalidQueryKey); this.key = key; } public override bool Output(Processor processor, ActionFrame frame) { Debug.Assert(key != Compiler.InvalidQueryKey); return processor.TextEvent(processor.EvaluateString(frame, this.key)); } public override string Evaluate(Processor processor, ActionFrame frame) { return processor.EvaluateString(frame, this.key); } } } // 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
- ColorConverter.cs
- SqlNodeAnnotation.cs
- PackageProperties.cs
- EntityDataSourceContextCreatedEventArgs.cs
- Pair.cs
- ClientSideQueueItem.cs
- IndexOutOfRangeException.cs
- DataGridPagerStyle.cs
- ProviderManager.cs
- OdbcCommandBuilder.cs
- ProcessInfo.cs
- Int32RectConverter.cs
- PropertyManager.cs
- XmlSchemaComplexContent.cs
- ProvideValueServiceProvider.cs
- AsyncCompletedEventArgs.cs
- DocumentReference.cs
- WebControlsSection.cs
- Models.cs
- SamlAssertion.cs
- PopupControlService.cs
- DataGridViewRowsRemovedEventArgs.cs
- CategoryAttribute.cs
- IsolatedStorageFilePermission.cs
- HttpResponseHeader.cs
- __Filters.cs
- FamilyTypeface.cs
- GraphicsPath.cs
- CacheVirtualItemsEvent.cs
- Byte.cs
- PolicyException.cs
- WebPartEventArgs.cs
- ObjectHandle.cs
- ListBox.cs
- MessagePartProtectionMode.cs
- ToolStripContentPanel.cs
- remotingproxy.cs
- OletxCommittableTransaction.cs
- FieldTemplateUserControl.cs
- PropertyPathConverter.cs
- InputBindingCollection.cs
- RangeValueProviderWrapper.cs
- MapPathBasedVirtualPathProvider.cs
- FeatureAttribute.cs
- FileStream.cs
- AssemblyInfo.cs
- Stopwatch.cs
- StoreAnnotationsMap.cs
- RouteParameter.cs
- FixedDocumentPaginator.cs
- BitmapEffectInputConnector.cs
- XmlnsCache.cs
- ToolStripControlHost.cs
- XmlDataSource.cs
- LogEntryHeaderv1Deserializer.cs
- DependencyProperty.cs
- SupportsEventValidationAttribute.cs
- DesignerAttribute.cs
- CodeExporter.cs
- RequestQueue.cs
- InputScope.cs
- FormsAuthenticationConfiguration.cs
- GenericTextProperties.cs
- TerminatorSinks.cs
- RestHandler.cs
- ControlPropertyNameConverter.cs
- InitializationEventAttribute.cs
- OdbcReferenceCollection.cs
- TypeConverterAttribute.cs
- GenericXmlSecurityToken.cs
- DataServiceEntityAttribute.cs
- ContextMenu.cs
- SerializationFieldInfo.cs
- EdmRelationshipRoleAttribute.cs
- RijndaelManagedTransform.cs
- TemplateColumn.cs
- PathSegment.cs
- XamlTypeMapper.cs
- UndoManager.cs
- OracleConnectionString.cs
- DataGridToolTip.cs
- NameTable.cs
- LabelDesigner.cs
- Point4DValueSerializer.cs
- ElementsClipboardData.cs
- SqlCharStream.cs
- shaperfactoryquerycacheentry.cs
- SecurityTokenRequirement.cs
- SuppressIldasmAttribute.cs
- ChameleonKey.cs
- WebServiceFault.cs
- RuntimeConfigLKG.cs
- DefaultHttpHandler.cs
- Mutex.cs
- Timer.cs
- NetworkInformationException.cs
- BinaryMethodMessage.cs
- DataPagerFieldCommandEventArgs.cs
- SystemIcons.cs
- OlePropertyStructs.cs