Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Dom / XmlNodeChangedEventArgs.cs / 1305376 / XmlNodeChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml {
public class XmlNodeChangedEventArgs : EventArgs {
private XmlNodeChangedAction action;
private XmlNode node;
private XmlNode oldParent;
private XmlNode newParent;
private string oldValue;
private string newValue;
public XmlNodeChangedEventArgs( XmlNode node, XmlNode oldParent, XmlNode newParent, string oldValue, string newValue, XmlNodeChangedAction action ) {
this.node = node;
this.oldParent = oldParent;
this.newParent = newParent;
this.action = action;
this.oldValue = oldValue;
this.newValue = newValue;
}
public XmlNodeChangedAction Action { get { return action; } }
public XmlNode Node { get { return node; } }
public XmlNode OldParent { get { return oldParent; } }
public XmlNode NewParent { get { return newParent; } }
public string OldValue { get { return oldValue; } }
public string NewValue { get { return newValue; } }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml {
public class XmlNodeChangedEventArgs : EventArgs {
private XmlNodeChangedAction action;
private XmlNode node;
private XmlNode oldParent;
private XmlNode newParent;
private string oldValue;
private string newValue;
public XmlNodeChangedEventArgs( XmlNode node, XmlNode oldParent, XmlNode newParent, string oldValue, string newValue, XmlNodeChangedAction action ) {
this.node = node;
this.oldParent = oldParent;
this.newParent = newParent;
this.action = action;
this.oldValue = oldValue;
this.newValue = newValue;
}
public XmlNodeChangedAction Action { get { return action; } }
public XmlNode Node { get { return node; } }
public XmlNode OldParent { get { return oldParent; } }
public XmlNode NewParent { get { return newParent; } }
public string OldValue { get { return oldValue; } }
public string NewValue { get { return newValue; } }
}
}
// 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
- DataGridViewComboBoxCell.cs
- METAHEADER.cs
- XmlSchemaSimpleType.cs
- ValidatedControlConverter.cs
- WebService.cs
- TableItemStyle.cs
- Screen.cs
- XamlWriter.cs
- StylusPointProperty.cs
- Partitioner.cs
- _NetworkingPerfCounters.cs
- ParagraphResult.cs
- precedingquery.cs
- COM2FontConverter.cs
- BindingContext.cs
- ToolStripContainer.cs
- SystemParameters.cs
- SchemaCollectionCompiler.cs
- ImageListUtils.cs
- XmlSchemaImporter.cs
- DetailsViewDesigner.cs
- AuthenticationSection.cs
- SendKeys.cs
- Timer.cs
- PeerName.cs
- ProtocolsConfiguration.cs
- DeviceContext2.cs
- TextMessageEncodingBindingElement.cs
- SchemaTypeEmitter.cs
- SchemaAttDef.cs
- FixUpCollection.cs
- VersionedStreamOwner.cs
- DbCommandDefinition.cs
- GeneralTransform2DTo3D.cs
- StyleBamlRecordReader.cs
- ListBoxItemAutomationPeer.cs
- MinimizableAttributeTypeConverter.cs
- CreateUserErrorEventArgs.cs
- SqlNode.cs
- BamlVersionHeader.cs
- filewebrequest.cs
- SharedConnectionInfo.cs
- ConfigurationSectionCollection.cs
- MdiWindowListItemConverter.cs
- TreeViewItemAutomationPeer.cs
- OleDbParameter.cs
- AdPostCacheSubstitution.cs
- SafeRsaProviderHandle.cs
- SystemBrushes.cs
- ExpandedWrapper.cs
- TypeInitializationException.cs
- WindowsTokenRoleProvider.cs
- RequestUriProcessor.cs
- AutoGeneratedField.cs
- XmlDomTextWriter.cs
- RenderingEventArgs.cs
- SocketInformation.cs
- ComponentManagerBroker.cs
- WmlLabelAdapter.cs
- EventArgs.cs
- HtmlSelect.cs
- CompositionCommandSet.cs
- HttpModuleAction.cs
- newitemfactory.cs
- DBSchemaTable.cs
- CircleHotSpot.cs
- HotCommands.cs
- TreeWalkHelper.cs
- FieldMetadata.cs
- AsyncPostBackTrigger.cs
- MissingSatelliteAssemblyException.cs
- LogicalExpressionTypeConverter.cs
- DesignOnlyAttribute.cs
- BindingSource.cs
- ComPersistableTypeElement.cs
- CollectionViewGroupInternal.cs
- COM2PropertyDescriptor.cs
- HttpAsyncResult.cs
- SplineQuaternionKeyFrame.cs
- DataGridViewCellCancelEventArgs.cs
- SqlParameterCollection.cs
- HtmlControlDesigner.cs
- PreviewPageInfo.cs
- HelpEvent.cs
- Separator.cs
- BaseParser.cs
- HttpHandlerActionCollection.cs
- ObjectResult.cs
- WebControl.cs
- SiteMapNode.cs
- Win32Exception.cs
- compensatingcollection.cs
- ServiceProviders.cs
- SqlDataSourceWizardForm.cs
- CustomValidator.cs
- BindingExpression.cs
- XamlVector3DCollectionSerializer.cs
- StickyNote.cs
- ComMethodElementCollection.cs
- DocumentScope.cs