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
- ImplicitInputBrush.cs
- Configuration.cs
- XmlParserContext.cs
- QilReplaceVisitor.cs
- LifetimeServices.cs
- LinearGradientBrush.cs
- CodeLabeledStatement.cs
- LingerOption.cs
- ReferenceConverter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SortedList.cs
- DPTypeDescriptorContext.cs
- odbcmetadatacolumnnames.cs
- UnionQueryOperator.cs
- SoapObjectReader.cs
- BitStream.cs
- PathNode.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WindowsListViewItemStartMenu.cs
- DataServiceKeyAttribute.cs
- RegexStringValidator.cs
- XmlUtil.cs
- EncryptedPackageFilter.cs
- AssociationTypeEmitter.cs
- TextSpanModifier.cs
- DataObjectFieldAttribute.cs
- DataTemplate.cs
- UInt32Converter.cs
- Button.cs
- RuntimeHandles.cs
- BindingContext.cs
- CachingParameterInspector.cs
- CodeAttributeArgument.cs
- DateTimeConverter.cs
- DataGridViewDataErrorEventArgs.cs
- IssuedSecurityTokenParameters.cs
- Validator.cs
- DependencyPropertyHelper.cs
- AccessDataSource.cs
- ActivityBuilderXamlWriter.cs
- versioninfo.cs
- ToolStripContainer.cs
- GiveFeedbackEventArgs.cs
- Wildcard.cs
- SafeProcessHandle.cs
- StylusDownEventArgs.cs
- TagNameToTypeMapper.cs
- InvalidateEvent.cs
- InternalCompensate.cs
- OrderedEnumerableRowCollection.cs
- SchemaConstraints.cs
- ImageIndexConverter.cs
- CfgParser.cs
- xmlsaver.cs
- SmiXetterAccessMap.cs
- ExpandableObjectConverter.cs
- OleDbPropertySetGuid.cs
- UidPropertyAttribute.cs
- TemplatedMailWebEventProvider.cs
- BackStopAuthenticationModule.cs
- ItemList.cs
- Annotation.cs
- StronglyTypedResourceBuilder.cs
- MessageEncodingBindingElement.cs
- TraceSwitch.cs
- BamlLocalizer.cs
- GeometryGroup.cs
- PublishLicense.cs
- WebEventTraceProvider.cs
- BreakRecordTable.cs
- WebPartDisplayModeCancelEventArgs.cs
- XDeferredAxisSource.cs
- EmptyQuery.cs
- MatrixAnimationUsingPath.cs
- DSACryptoServiceProvider.cs
- TableRowCollection.cs
- HttpProfileBase.cs
- ProvidersHelper.cs
- MetadataSerializer.cs
- AutomationPropertyInfo.cs
- DataBoundControlAdapter.cs
- Descriptor.cs
- RequestBringIntoViewEventArgs.cs
- MessageTraceRecord.cs
- SemaphoreFullException.cs
- TextBoxLine.cs
- ProfileInfo.cs
- BitmapInitialize.cs
- SerializationException.cs
- VectorCollection.cs
- XmlSortKey.cs
- Processor.cs
- ContextStaticAttribute.cs
- mda.cs
- StdValidatorsAndConverters.cs
- ToolStripDropDown.cs
- ServiceReflector.cs
- EntityDataSourceState.cs
- ImageIndexConverter.cs
- PickBranchDesigner.xaml.cs