Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Markup / ParserHooks.cs / 1305600 / 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
- DataBindingCollectionEditor.cs
- X509IssuerSerialKeyIdentifierClause.cs
- StorageComplexPropertyMapping.cs
- IndexOutOfRangeException.cs
- IndexedEnumerable.cs
- ValidatedControlConverter.cs
- TCPClient.cs
- ProcessModelSection.cs
- CheckoutException.cs
- MergePropertyDescriptor.cs
- ZipIOExtraFieldZip64Element.cs
- XmlMembersMapping.cs
- SoapSchemaImporter.cs
- DelayedRegex.cs
- CodeVariableDeclarationStatement.cs
- thaishape.cs
- ResourceReferenceKeyNotFoundException.cs
- StackBuilderSink.cs
- Convert.cs
- InvariantComparer.cs
- DataSourceProvider.cs
- ContentIterators.cs
- NetworkInformationException.cs
- UnsettableComboBox.cs
- XmlElementAttributes.cs
- ExecutionContext.cs
- LogPolicy.cs
- MgmtResManager.cs
- xdrvalidator.cs
- FolderLevelBuildProvider.cs
- ProxyFragment.cs
- DataFormat.cs
- TextSelectionHighlightLayer.cs
- JsonFormatWriterGenerator.cs
- RectAnimationUsingKeyFrames.cs
- Root.cs
- EntityUtil.cs
- WindowsAuthenticationModule.cs
- FloaterParagraph.cs
- EventWaitHandleSecurity.cs
- GraphicsPathIterator.cs
- WorkflowIdleElement.cs
- Select.cs
- SystemWebExtensionsSectionGroup.cs
- DNS.cs
- ClientViaElement.cs
- PartitionedStreamMerger.cs
- PresentationTraceSources.cs
- CodeDOMProvider.cs
- MatrixTransform3D.cs
- XamlPointCollectionSerializer.cs
- DelegatingTypeDescriptionProvider.cs
- HMACSHA384.cs
- GeometryGroup.cs
- ClientData.cs
- EdmComplexTypeAttribute.cs
- RewritingPass.cs
- RightsManagementPermission.cs
- HtmlInputImage.cs
- FolderBrowserDialog.cs
- DesignRelationCollection.cs
- JournalNavigationScope.cs
- RepeatBehavior.cs
- basecomparevalidator.cs
- StrongName.cs
- BinaryWriter.cs
- HMAC.cs
- RootProfilePropertySettingsCollection.cs
- PropertyValueChangedEvent.cs
- ParenExpr.cs
- ISAPIWorkerRequest.cs
- FacetEnabledSchemaElement.cs
- ScrollItemProviderWrapper.cs
- RadioButtonPopupAdapter.cs
- HtmlWindowCollection.cs
- TableItemPatternIdentifiers.cs
- WorkflowPageSetupDialog.cs
- RegistrySecurity.cs
- ProxyWebPartConnectionCollection.cs
- RequestCache.cs
- SqlCacheDependencyDatabaseCollection.cs
- ContainerUtilities.cs
- IDispatchConstantAttribute.cs
- KeyFrames.cs
- DeferredReference.cs
- SiblingIterators.cs
- ControlIdConverter.cs
- DropShadowEffect.cs
- DataGridColumn.cs
- VectorConverter.cs
- HwndKeyboardInputProvider.cs
- AttachInfo.cs
- SqlDataSourceStatusEventArgs.cs
- RegionData.cs
- OperandQuery.cs
- ServiceManager.cs
- BrowserDefinitionCollection.cs
- SimpleRecyclingCache.cs
- SemanticTag.cs
- Ref.cs