Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / Dom / XmlNodeChangedEventArgs.cs / 1 / 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
- Win32KeyboardDevice.cs
- Light.cs
- ServiceDescription.cs
- TemplatedWizardStep.cs
- FormClosingEvent.cs
- WebPartEditorOkVerb.cs
- ThicknessAnimationUsingKeyFrames.cs
- ResetableIterator.cs
- ObjectDataSourceMethodEventArgs.cs
- MsmqProcessProtocolHandler.cs
- Switch.cs
- HttpCapabilitiesBase.cs
- InvariantComparer.cs
- ConfigurationManagerHelper.cs
- OutputCacheProfile.cs
- CompositeCollectionView.cs
- WpfWebRequestHelper.cs
- MouseGesture.cs
- UIElementParagraph.cs
- TextTreeTextBlock.cs
- DataControlLinkButton.cs
- Helper.cs
- InvalidDataException.cs
- DataGridToolTip.cs
- WebPartConnection.cs
- JsonCollectionDataContract.cs
- CookieParameter.cs
- BinarySerializer.cs
- LinqMaximalSubtreeNominator.cs
- LinkedResource.cs
- ListViewItemMouseHoverEvent.cs
- ADRoleFactoryConfiguration.cs
- AssertUtility.cs
- IteratorFilter.cs
- EntityProxyFactory.cs
- DataControlReferenceCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- Label.cs
- InfoCardUIAgent.cs
- NeutralResourcesLanguageAttribute.cs
- TreeView.cs
- Cursors.cs
- SelectedDatesCollection.cs
- TreeView.cs
- ServiceModelInstallComponent.cs
- DataControlExtensions.cs
- SimpleRecyclingCache.cs
- HijriCalendar.cs
- EventWaitHandleSecurity.cs
- DataServiceKeyAttribute.cs
- FormViewUpdatedEventArgs.cs
- TransactionChannel.cs
- EventListenerClientSide.cs
- RecognizerStateChangedEventArgs.cs
- FormViewModeEventArgs.cs
- DictionaryEntry.cs
- Exception.cs
- TraceHandler.cs
- WebPartConnectionsDisconnectVerb.cs
- EmbeddedMailObjectsCollection.cs
- HttpPostServerProtocol.cs
- ConversionHelper.cs
- SweepDirectionValidation.cs
- MediaContextNotificationWindow.cs
- PasswordTextContainer.cs
- MdImport.cs
- LinqMaximalSubtreeNominator.cs
- FolderBrowserDialog.cs
- DataContractSerializerOperationFormatter.cs
- GridLengthConverter.cs
- DecodeHelper.cs
- CustomCategoryAttribute.cs
- UnsignedPublishLicense.cs
- TreeNodeConverter.cs
- PopupRoot.cs
- ResXDataNode.cs
- Brush.cs
- EndOfStreamException.cs
- MethodRental.cs
- ClickablePoint.cs
- WindowsIPAddress.cs
- PolicyStatement.cs
- LinkButton.cs
- Rotation3DAnimation.cs
- SafeEventLogWriteHandle.cs
- SmtpSection.cs
- ComponentResourceKeyConverter.cs
- ListItemConverter.cs
- COAUTHIDENTITY.cs
- _SslSessionsCache.cs
- dbdatarecord.cs
- DataGridViewRowEventArgs.cs
- PropertyValueChangedEvent.cs
- LabelExpression.cs
- SchemaElement.cs
- QueryModel.cs
- InstanceHandleReference.cs
- OracleDateTime.cs
- DotExpr.cs
- FixedPageAutomationPeer.cs