Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Markup / ParserHooks.cs / 1 / ParserHooks.cs
/****************************************************************************\ * * File: ParserHooks.cs * * Purpose: Callback at parse time for node processing * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Reflection; using System; using System.Xml; #if PBTCOMPILER namespace MS.Internal.Markup #else namespace System.Windows.Markup #endif { ////// Describes the action the parser is to take after it /// has called back to the ParserHooks /// internal enum ParserAction { ////// parser should do normal processing /// Normal, ////// Parser should not process this node. /// If the current node is an Element, skip the current node and all of its children /// If the current node is an attribute,skip to the next attribute /// Skip } ////// The base class for the parse time callbacks. /// ////// The localization team will use this under two scenarios /// 1. The Uid generation tool wants to know the different xaml nodes and their positions in a xaml file /// 2. Used to strip out the localization attributes during compilation to Baml /// internal abstract class ParserHooks { ////// Called by parser after it determines what node type for /// the XML Node and has tokenized the xml node content. /// ////// Node types are Resources, Code: Element Object, properties, events etc. /// The return value is a ParserAction value which indicates if the parser /// should: continue normal processing; skip this node and any children /// internal virtual ParserAction LoadNode(XamlNode tokenNode) { return ParserAction.Normal; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SmiTypedGetterSetter.cs
- AstTree.cs
- NetworkInformationPermission.cs
- SqlUnionizer.cs
- IApplicationTrustManager.cs
- _UriTypeConverter.cs
- HostingEnvironmentSection.cs
- ReferencedCollectionType.cs
- HttpResponseInternalWrapper.cs
- SchemeSettingElement.cs
- TimeSpanSecondsConverter.cs
- XamlFigureLengthSerializer.cs
- OleDbPermission.cs
- MultiPropertyDescriptorGridEntry.cs
- XmlNamespaceMappingCollection.cs
- ExcCanonicalXml.cs
- UndoManager.cs
- CatalogZoneDesigner.cs
- RowParagraph.cs
- DataStreamFromComStream.cs
- HttpRuntime.cs
- XmlSequenceWriter.cs
- WebPartVerb.cs
- ChainOfResponsibility.cs
- SoapFaultCodes.cs
- NavigateEvent.cs
- BamlStream.cs
- ConcurrentDictionary.cs
- ArgumentNullException.cs
- RegexReplacement.cs
- ConfigurationSectionGroup.cs
- NegatedCellConstant.cs
- LabelAutomationPeer.cs
- TypeDescriptionProvider.cs
- ObjectComplexPropertyMapping.cs
- KeyValueInternalCollection.cs
- AdPostCacheSubstitution.cs
- Parameter.cs
- CodeGenerator.cs
- WaitHandle.cs
- WebBrowserPermission.cs
- ToolStripItem.cs
- SoapFormatter.cs
- ChildDocumentBlock.cs
- TaiwanLunisolarCalendar.cs
- GenericAuthenticationEventArgs.cs
- EnterpriseServicesHelper.cs
- RefreshEventArgs.cs
- Message.cs
- XPathNodePointer.cs
- NetworkStream.cs
- HtmlControl.cs
- CqlLexer.cs
- DocumentViewerBaseAutomationPeer.cs
- TraceContextEventArgs.cs
- CultureMapper.cs
- CriticalHandle.cs
- MailAddressCollection.cs
- HostingPreferredMapPath.cs
- ZipArchive.cs
- WebPartZone.cs
- ILGenerator.cs
- SmiConnection.cs
- XmlSchemaAnnotation.cs
- ByteStack.cs
- Timer.cs
- UIElementParaClient.cs
- DrawListViewItemEventArgs.cs
- LayoutEngine.cs
- COM2Properties.cs
- compensatingcollection.cs
- PackWebRequestFactory.cs
- XmlSerializerImportOptions.cs
- TabControl.cs
- NonParentingControl.cs
- XsdDuration.cs
- SizeConverter.cs
- ListViewTableRow.cs
- DefaultHttpHandler.cs
- EncoderBestFitFallback.cs
- WebPartDeleteVerb.cs
- CommandDesigner.cs
- Vector.cs
- MultiSelectRootGridEntry.cs
- Fx.cs
- SQLDoubleStorage.cs
- SlotInfo.cs
- TypeSource.cs
- BitmapEffectDrawing.cs
- WebPartTransformerCollection.cs
- SymDocumentType.cs
- AuthenticationConfig.cs
- GenericPrincipal.cs
- CounterCreationDataCollection.cs
- ImageCodecInfoPrivate.cs
- TypeUtil.cs
- DESCryptoServiceProvider.cs
- ResXDataNode.cs
- EncoderFallback.cs
- LocatorBase.cs