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
- DetailsViewUpdatedEventArgs.cs
- HttpCachePolicyElement.cs
- DetailsViewUpdatedEventArgs.cs
- LinqDataSourceStatusEventArgs.cs
- RTTrackingProfile.cs
- DirectoryObjectSecurity.cs
- OperationContractAttribute.cs
- ResourceDescriptionAttribute.cs
- NameValueConfigurationElement.cs
- CodeGroup.cs
- GeometryCollection.cs
- ItemContainerProviderWrapper.cs
- BuildManager.cs
- SettingsProperty.cs
- MultilineStringEditor.cs
- OdbcConnection.cs
- ControlBuilder.cs
- RijndaelCryptoServiceProvider.cs
- UInt32Converter.cs
- WorkflowPersistenceService.cs
- BitmapCodecInfo.cs
- RegionInfo.cs
- CodeTypeDelegate.cs
- DrawingContext.cs
- SqlFunctions.cs
- HttpRuntime.cs
- HtmlProps.cs
- ManifestSignatureInformation.cs
- ObjectQuery.cs
- RegexGroupCollection.cs
- StringFormat.cs
- figurelength.cs
- GroupJoinQueryOperator.cs
- NativeRightsManagementAPIsStructures.cs
- SchemaNames.cs
- AsymmetricKeyExchangeDeformatter.cs
- PersonalizationStateInfo.cs
- InputLanguageProfileNotifySink.cs
- BitmapImage.cs
- ControlDesignerState.cs
- XMLDiffLoader.cs
- PageWrapper.cs
- EpmTargetTree.cs
- TrustManagerMoreInformation.cs
- SqlWorkflowInstanceStoreLock.cs
- Brushes.cs
- OptimalTextSource.cs
- DPTypeDescriptorContext.cs
- _ListenerAsyncResult.cs
- PointCollection.cs
- WebAdminConfigurationHelper.cs
- WindowsTreeView.cs
- TextRangeBase.cs
- LocalBuilder.cs
- ListView.cs
- OdbcFactory.cs
- EventLevel.cs
- FindCriteriaApril2005.cs
- AuthStoreRoleProvider.cs
- TaiwanLunisolarCalendar.cs
- RunInstallerAttribute.cs
- ResourceAttributes.cs
- FlowDocumentPage.cs
- HttpWebRequest.cs
- SpanIndex.cs
- ButtonBase.cs
- SqlUDTStorage.cs
- CodeVariableDeclarationStatement.cs
- CommandBinding.cs
- CallbackTimeoutsElement.cs
- ColumnCollectionEditor.cs
- DependencyProperty.cs
- coordinatorfactory.cs
- BlockCollection.cs
- _SslState.cs
- SqlDependencyListener.cs
- SmiRecordBuffer.cs
- NumericUpDown.cs
- DynamicValidatorEventArgs.cs
- StreamInfo.cs
- recordstate.cs
- SqlCacheDependencyDatabaseCollection.cs
- StylusEventArgs.cs
- GridViewHeaderRowPresenter.cs
- QualifierSet.cs
- OrderByBuilder.cs
- Annotation.cs
- ErrorHandlerFaultInfo.cs
- ScrollEventArgs.cs
- Adorner.cs
- XmlSchemaValidator.cs
- SqlEnums.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ServiceDescriptionSerializer.cs
- NameValuePermission.cs
- CapabilitiesState.cs
- FamilyCollection.cs
- MetaTableHelper.cs
- PkcsUtils.cs
- TypedDataSourceCodeGenerator.cs