Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / _Events.cs / 1305376 / _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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContextMenu.cs
- PersonalizationProvider.cs
- Win32Native.cs
- StrokeIntersection.cs
- BuildResultCache.cs
- PrivilegedConfigurationManager.cs
- ComplusTypeValidator.cs
- DrawingGroup.cs
- ExternalFile.cs
- WebCategoryAttribute.cs
- LocalFileSettingsProvider.cs
- FactoryGenerator.cs
- SByte.cs
- SafeNativeMethods.cs
- Rijndael.cs
- UrlPropertyAttribute.cs
- ListViewTableCell.cs
- DynamicValueConverter.cs
- CodePropertyReferenceExpression.cs
- validation.cs
- CharEnumerator.cs
- FunctionQuery.cs
- BaseInfoTable.cs
- ResourcePart.cs
- StringUtil.cs
- GlyphRunDrawing.cs
- OperandQuery.cs
- NullableBoolConverter.cs
- DesignUtil.cs
- ValidatorCompatibilityHelper.cs
- securestring.cs
- TransactedBatchContext.cs
- Literal.cs
- HttpServerProtocol.cs
- XXXOnTypeBuilderInstantiation.cs
- CellParaClient.cs
- ShimAsPublicXamlType.cs
- Int16KeyFrameCollection.cs
- DataGridState.cs
- ExpressionBuilderContext.cs
- MenuTracker.cs
- FontCollection.cs
- ProxyWebPart.cs
- NamespaceEmitter.cs
- PlaceHolder.cs
- DataFieldCollectionEditor.cs
- CollectionChangeEventArgs.cs
- WebAdminConfigurationHelper.cs
- DataServiceQueryException.cs
- SharedPerformanceCounter.cs
- DataDesignUtil.cs
- QueryPageSettingsEventArgs.cs
- WindowsStatusBar.cs
- OdbcEnvironmentHandle.cs
- CodeDomDesignerLoader.cs
- RootBrowserWindow.cs
- CodeAttributeArgumentCollection.cs
- TreeNodeCollection.cs
- ManagedIStream.cs
- GlyphRun.cs
- MergeFilterQuery.cs
- RemotingAttributes.cs
- CodeConditionStatement.cs
- TransactedBatchingElement.cs
- RIPEMD160.cs
- RelationshipType.cs
- OdbcHandle.cs
- SoapMessage.cs
- TextTreeInsertElementUndoUnit.cs
- QueryContinueDragEventArgs.cs
- Roles.cs
- MultiPageTextView.cs
- SizeF.cs
- SqlOuterApplyReducer.cs
- AppliedDeviceFiltersDialog.cs
- _ProxyRegBlob.cs
- diagnosticsswitches.cs
- DataRowChangeEvent.cs
- OperationFormatUse.cs
- PageParserFilter.cs
- DynamicUpdateCommand.cs
- SiteMapPath.cs
- TemplateComponentConnector.cs
- RIPEMD160.cs
- LoadRetryStrategyFactory.cs
- ParseHttpDate.cs
- RadioButtonList.cs
- WebPartDeleteVerb.cs
- IdentityManager.cs
- StructuralObject.cs
- InputGestureCollection.cs
- StrokeNode.cs
- WinInetCache.cs
- PropertyGridView.cs
- ConfigViewGenerator.cs
- ShaderEffect.cs
- FixedSOMPage.cs
- Processor.cs
- JavaScriptObjectDeserializer.cs
- FileSecurity.cs