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
- ActionFrame.cs
- TypeUsageBuilder.cs
- infer.cs
- SqlGenericUtil.cs
- Menu.cs
- AppDomainFactory.cs
- Focus.cs
- ImageMap.cs
- ObsoleteAttribute.cs
- MobileResource.cs
- StylusEditingBehavior.cs
- DetailsViewCommandEventArgs.cs
- Helper.cs
- ModelFunction.cs
- SQLDecimal.cs
- Transaction.cs
- WindowShowOrOpenTracker.cs
- WebBrowser.cs
- Rijndael.cs
- ToolStripMenuItem.cs
- ProtocolElement.cs
- OledbConnectionStringbuilder.cs
- XmlLoader.cs
- ConvertersCollection.cs
- ExternalDataExchangeService.cs
- DataGridViewAccessibleObject.cs
- ToolStripItemCollection.cs
- NullableDecimalSumAggregationOperator.cs
- Stack.cs
- ClientRoleProvider.cs
- StdValidatorsAndConverters.cs
- StatusBarPanelClickEvent.cs
- SecurityTokenProvider.cs
- RawStylusInput.cs
- RenderDataDrawingContext.cs
- ActivityInterfaces.cs
- DelegateBodyWriter.cs
- TextShapeableCharacters.cs
- XmlDocumentFragment.cs
- xmlsaver.cs
- EntityModelSchemaGenerator.cs
- SoapRpcMethodAttribute.cs
- PublishLicense.cs
- Configuration.cs
- WebPartTransformerAttribute.cs
- TabItemWrapperAutomationPeer.cs
- WindowsRebar.cs
- Region.cs
- ViewService.cs
- Vector.cs
- Button.cs
- PassportAuthenticationModule.cs
- ContextQuery.cs
- _FtpDataStream.cs
- CodeVariableDeclarationStatement.cs
- TypefaceMetricsCache.cs
- SqlBooleanMismatchVisitor.cs
- AnnouncementEventArgs.cs
- GradientStop.cs
- SQLBoolean.cs
- ItemContainerPattern.cs
- BindToObject.cs
- PasswordPropertyTextAttribute.cs
- MetafileHeaderWmf.cs
- UnsafePeerToPeerMethods.cs
- UserControlFileEditor.cs
- MemoryRecordBuffer.cs
- MsmqReceiveParameters.cs
- ClientTargetCollection.cs
- Size3D.cs
- SiteMapDataSourceView.cs
- TypedCompletedAsyncResult.cs
- DatagridviewDisplayedBandsData.cs
- Error.cs
- ReferenceSchema.cs
- EmissiveMaterial.cs
- UnmanagedMarshal.cs
- ExtendedProtectionPolicyTypeConverter.cs
- VersionedStreamOwner.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- XPathDocument.cs
- RelationshipConstraintValidator.cs
- NativeMethods.cs
- OutputCacheSection.cs
- RijndaelManaged.cs
- SpellCheck.cs
- TraceSection.cs
- ConfigurationException.cs
- GreenMethods.cs
- PropertyEmitter.cs
- PKCS1MaskGenerationMethod.cs
- CodeAttributeDeclaration.cs
- TabletDevice.cs
- DesignerFrame.cs
- SeverityFilter.cs
- StorageInfo.cs
- HostedHttpTransportManager.cs
- EntityConnection.cs
- CryptoApi.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs