Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / _Events.cs / 1 / _Events.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System.IO; using System; using System.Collections; using System.ComponentModel; ////// /// public delegate void XmlAttributeEventHandler(object sender, XmlAttributeEventArgs e); ///[To be supplied.] ////// /// public class XmlAttributeEventArgs : EventArgs { object o; XmlAttribute attr; string qnames; int lineNumber; int linePosition; internal XmlAttributeEventArgs(XmlAttribute attr, int lineNumber, int linePosition, object o, string qnames) { this.attr = attr; this.o = o; this.qnames = qnames; this.lineNumber = lineNumber; this.linePosition = linePosition; } ///[To be supplied.] ////// /// public object ObjectBeingDeserialized { get { return o; } } ///[To be supplied.] ////// /// public XmlAttribute Attr { get { return attr; } } ///[To be supplied.] ////// /// public int LineNumber { get { return lineNumber; } } ////// Gets the current line number. /// ////// /// public int LinePosition { get { return linePosition; } } ////// Gets the current line position. /// ////// /// public string ExpectedAttributes { get { return qnames == null ? string.Empty : qnames; } } } ////// List the qnames of attributes expected in the current context. /// ///public delegate void XmlElementEventHandler(object sender, XmlElementEventArgs e); /// public class XmlElementEventArgs : EventArgs { object o; XmlElement elem; string qnames; int lineNumber; int linePosition; internal XmlElementEventArgs(XmlElement elem, int lineNumber, int linePosition, object o, string qnames) { this.elem = elem; this.o = o; this.qnames = qnames; this.lineNumber = lineNumber; this.linePosition = linePosition; } /// public object ObjectBeingDeserialized { get { return o; } } /// public XmlElement Element { get { return elem; } } /// public int LineNumber { get { return lineNumber; } } /// public int LinePosition { get { return linePosition; } } /// /// /// public string ExpectedElements { get { return qnames == null ? string.Empty : qnames; } } } ////// List of qnames of elements expected in the current context. /// ////// /// public delegate void XmlNodeEventHandler(object sender, XmlNodeEventArgs e); ///[To be supplied.] ////// /// public class XmlNodeEventArgs : EventArgs { object o; XmlNode xmlNode; int lineNumber; int linePosition; internal XmlNodeEventArgs(XmlNode xmlNode, int lineNumber, int linePosition, object o) { this.o = o; this.xmlNode = xmlNode; this.lineNumber = lineNumber; this.linePosition = linePosition; } ///[To be supplied.] ////// /// public object ObjectBeingDeserialized { get { return o; } } ///[To be supplied.] ////// /// public XmlNodeType NodeType { get { return xmlNode.NodeType; } } ///[To be supplied.] ////// /// public string Name { get { return xmlNode.Name; } } ///[To be supplied.] ////// /// public string LocalName { get { return xmlNode.LocalName; } } ///[To be supplied.] ////// /// public string NamespaceURI { get { return xmlNode.NamespaceURI; } } ///[To be supplied.] ////// /// public string Text { get { return xmlNode.Value; } } ///[To be supplied.] ////// /// public int LineNumber { get { return lineNumber; } } ////// Gets the current line number. /// ////// /// public int LinePosition { get { return linePosition; } } } ////// Gets the current line position. /// ///public delegate void UnreferencedObjectEventHandler(object sender, UnreferencedObjectEventArgs e); /// public class UnreferencedObjectEventArgs : EventArgs { object o; string id; /// public UnreferencedObjectEventArgs(object o, string id) { this.o = o; this.id = id; } /// public object UnreferencedObject { get { return o; } } /// public string UnreferencedId { get { return id; } } } } // 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
- EditorPartCollection.cs
- QueryConverter.cs
- ConfigurationPropertyCollection.cs
- ObjectDataSourceFilteringEventArgs.cs
- FileFormatException.cs
- TemplateBuilder.cs
- DesignerTransaction.cs
- WebServiceData.cs
- XmlText.cs
- XmlElementList.cs
- XmlSchemaElement.cs
- IndicFontClient.cs
- OracleSqlParser.cs
- BuildProvider.cs
- DetailsViewActionList.cs
- _LazyAsyncResult.cs
- TextParagraphCache.cs
- _SSPISessionCache.cs
- VersionValidator.cs
- HtmlTableRowCollection.cs
- OrderByBuilder.cs
- ContourSegment.cs
- ReachPageContentCollectionSerializer.cs
- DataBindingCollection.cs
- CompareValidator.cs
- IPHostEntry.cs
- ButtonBaseAdapter.cs
- LinearGradientBrush.cs
- BatchStream.cs
- SectionInformation.cs
- OverrideMode.cs
- ExpressionReplacer.cs
- ISFClipboardData.cs
- TreeNodeCollection.cs
- TranslateTransform.cs
- Ops.cs
- TracedNativeMethods.cs
- OleDbMetaDataFactory.cs
- SQLInt16.cs
- PrintPreviewGraphics.cs
- BitStack.cs
- NavigateEvent.cs
- CommonDialog.cs
- Line.cs
- PolicyManager.cs
- Int32RectConverter.cs
- ExtenderHelpers.cs
- SchemaDeclBase.cs
- FontConverter.cs
- AssemblyInfo.cs
- IdentityReference.cs
- HttpRequestCacheValidator.cs
- DataGridViewColumnConverter.cs
- DragEvent.cs
- TemplateXamlParser.cs
- util.cs
- HttpBrowserCapabilitiesBase.cs
- ParseElementCollection.cs
- XslTransformFileEditor.cs
- DelegateTypeInfo.cs
- SymbolType.cs
- HostingEnvironmentException.cs
- DataRecord.cs
- Stroke2.cs
- DebuggerAttributes.cs
- ClientBuildManager.cs
- WizardPanelChangingEventArgs.cs
- HwndProxyElementProvider.cs
- followingquery.cs
- ConsoleKeyInfo.cs
- CodeDefaultValueExpression.cs
- ByteConverter.cs
- StorageMappingItemLoader.cs
- SweepDirectionValidation.cs
- SoapHttpTransportImporter.cs
- ArrayWithOffset.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ClientSettingsStore.cs
- EnumMember.cs
- ValidationRule.cs
- BuiltInPermissionSets.cs
- PassportAuthenticationModule.cs
- DataRecord.cs
- WpfWebRequestHelper.cs
- NotCondition.cs
- TreeViewImageGenerator.cs
- wgx_commands.cs
- AutomationElementIdentifiers.cs
- DescriptionAttribute.cs
- safesecurityhelperavalon.cs
- SqlTriggerContext.cs
- DbConnectionHelper.cs
- RectangleHotSpot.cs
- VectorCollection.cs
- ExpressionVisitor.cs
- _NegoState.cs
- ConnectionInterfaceCollection.cs
- MouseButtonEventArgs.cs
- AuthenticationModulesSection.cs
- Math.cs