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
- XmlSerializerFaultFormatter.cs
- SerializerProvider.cs
- CodeNamespaceImport.cs
- LinkLabel.cs
- UseLicense.cs
- PatternMatchRules.cs
- IgnoreDataMemberAttribute.cs
- RsaSecurityToken.cs
- CompositeCollectionView.cs
- PassportAuthenticationEventArgs.cs
- BinaryConverter.cs
- BookmarkUndoUnit.cs
- DocumentsTrace.cs
- TargetControlTypeAttribute.cs
- ManifestResourceInfo.cs
- CurrentChangingEventArgs.cs
- SchemaEntity.cs
- TextUtf8RawTextWriter.cs
- PriorityQueue.cs
- WebPartCollection.cs
- MobileUITypeEditor.cs
- ToolTipAutomationPeer.cs
- CompressStream.cs
- TagPrefixInfo.cs
- TableSectionStyle.cs
- ConfigurationConverterBase.cs
- XmlSerializerSection.cs
- MimeImporter.cs
- OrderByQueryOptionExpression.cs
- InfoCardTraceRecord.cs
- CurrentChangingEventManager.cs
- RijndaelManaged.cs
- PersonalizationAdministration.cs
- TempFiles.cs
- UniqueIdentifierService.cs
- WebPartMenu.cs
- SspiSecurityTokenParameters.cs
- TextTreeTextNode.cs
- DataGridViewRowStateChangedEventArgs.cs
- UnauthorizedAccessException.cs
- TypeBinaryExpression.cs
- Rotation3D.cs
- AutomationPropertyInfo.cs
- SpeechAudioFormatInfo.cs
- UserControlBuildProvider.cs
- ToolStripButton.cs
- XmlName.cs
- HttpContextWrapper.cs
- UpdateCommand.cs
- Rect3DValueSerializer.cs
- HtmlInputPassword.cs
- sqlpipe.cs
- EdmSchemaAttribute.cs
- SmiEventSink_Default.cs
- GridViewCellAutomationPeer.cs
- Transform.cs
- SmiRecordBuffer.cs
- StringPropertyBuilder.cs
- Triangle.cs
- HtmlGenericControl.cs
- DataSysAttribute.cs
- TypeContext.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XsltFunctions.cs
- DbUpdateCommandTree.cs
- WebPartEditVerb.cs
- Parameter.cs
- TextTrailingWordEllipsis.cs
- ScopedKnownTypes.cs
- _SSPIWrapper.cs
- OpacityConverter.cs
- ChineseLunisolarCalendar.cs
- UrlMappingsModule.cs
- Byte.cs
- NaturalLanguageHyphenator.cs
- Operator.cs
- SystemTcpStatistics.cs
- NetworkStream.cs
- BaseCAMarshaler.cs
- SQLInt16Storage.cs
- TypeDependencyAttribute.cs
- input.cs
- StatusBarDesigner.cs
- IgnorePropertiesAttribute.cs
- CodeTryCatchFinallyStatement.cs
- RandomNumberGenerator.cs
- KeyedCollection.cs
- CommandEventArgs.cs
- EntityDataSourceWrapperCollection.cs
- DllNotFoundException.cs
- SatelliteContractVersionAttribute.cs
- Typography.cs
- CodeAttributeDeclaration.cs
- PasswordBox.cs
- XPathAncestorIterator.cs
- Pair.cs
- GeometryModel3D.cs
- SwitchElementsCollection.cs
- DataGridState.cs
- HttpHandlerActionCollection.cs