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
- IUnknownConstantAttribute.cs
- Scalars.cs
- Point3D.cs
- Stacktrace.cs
- Pkcs9Attribute.cs
- CatalogPart.cs
- ActivityDesignerHighlighter.cs
- TreeViewImageIndexConverter.cs
- PerformanceCounterManager.cs
- RecognitionEventArgs.cs
- SuppressMessageAttribute.cs
- ServiceManager.cs
- CompositeFontFamily.cs
- TailCallAnalyzer.cs
- TrackingWorkflowEventArgs.cs
- MenuItem.cs
- LayoutEditorPart.cs
- FamilyMap.cs
- RuntimeConfig.cs
- TransactionTraceIdentifier.cs
- ContextMarshalException.cs
- EmbeddedObject.cs
- WinInet.cs
- MappingModelBuildProvider.cs
- HashMembershipCondition.cs
- DataRow.cs
- PolicyLevel.cs
- DesignDataSource.cs
- EdmProviderManifest.cs
- RSAPKCS1SignatureFormatter.cs
- PointLightBase.cs
- HeaderCollection.cs
- AssemblyInfo.cs
- EntitySqlException.cs
- CreateSequence.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Vector3DConverter.cs
- TextViewDesigner.cs
- SqlDataSourceFilteringEventArgs.cs
- DescriptionAttribute.cs
- NullPackagingPolicy.cs
- SortedSetDebugView.cs
- XamlReader.cs
- ProjectionAnalyzer.cs
- DrawingGroup.cs
- HMACSHA512.cs
- StylusCollection.cs
- NativeMethods.cs
- SqlStream.cs
- ServiceChannelProxy.cs
- Condition.cs
- WebHttpBinding.cs
- PriorityRange.cs
- ScriptModule.cs
- FixedTextContainer.cs
- SimpleExpression.cs
- AtomMaterializer.cs
- InternalDispatchObject.cs
- ConnectionManagementElementCollection.cs
- WebPartsPersonalizationAuthorization.cs
- ScriptManagerProxy.cs
- NetworkInterface.cs
- Itemizer.cs
- FacetDescriptionElement.cs
- FieldMetadata.cs
- HMACRIPEMD160.cs
- GeometryConverter.cs
- XPathBinder.cs
- DataGridTextBoxColumn.cs
- Int64Storage.cs
- EdmError.cs
- PartialCachingAttribute.cs
- TokenBasedSetEnumerator.cs
- SingleSelectRootGridEntry.cs
- ProviderConnectionPoint.cs
- DesignerAttribute.cs
- ExtendedPropertyCollection.cs
- ConditionCollection.cs
- XmlSchemaAll.cs
- PersistChildrenAttribute.cs
- VideoDrawing.cs
- HttpServerVarsCollection.cs
- PKCS1MaskGenerationMethod.cs
- DependencyPropertyConverter.cs
- FrameworkElement.cs
- InheritanceContextHelper.cs
- CodeMemberProperty.cs
- DesignTimeValidationFeature.cs
- DataObjectPastingEventArgs.cs
- PageMediaType.cs
- Label.cs
- SessionPageStatePersister.cs
- WebPartConnectionCollection.cs
- SqlUtils.cs
- MethodBuilder.cs
- EventDescriptor.cs
- CodeIdentifiers.cs
- TextEditorSpelling.cs
- BindingGroup.cs
- UriWriter.cs