Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ReadingWritingEntityEventArgs.cs / 1305376 / ReadingWritingEntityEventArgs.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Event args for the event fired during reading or writing of
// an entity serialization/deserialization
//
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System;
using System.Diagnostics;
using System.Xml.Linq;
///
/// Event args for the event fired during reading or writing of
/// an entity serialization/deserialization
///
public sealed class ReadingWritingEntityEventArgs : EventArgs
{
/// The entity being (de)serialized
private object entity;
/// The ATOM entry data to/from the network
private XElement data;
///
/// Constructor
///
/// The entity being (de)serialized
/// The ATOM entry data to/from the network
internal ReadingWritingEntityEventArgs(object entity, XElement data)
{
this.entity = entity;
this.data = data;
}
/// The entity being (de)serialized
public object Entity
{
get { return this.entity; }
}
/// The ATOM entry data to/from the network
public XElement Data
{
[DebuggerStepThrough]
get { return this.data; }
}
}
}
// 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
- OverrideMode.cs
- TextRange.cs
- SoapFormatter.cs
- BigInt.cs
- SqlReorderer.cs
- sqlser.cs
- XmlBindingWorker.cs
- WeakReference.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ShapeTypeface.cs
- SqlDataSourceSelectingEventArgs.cs
- WebPartDisplayModeCancelEventArgs.cs
- safelink.cs
- EntitySet.cs
- rsa.cs
- XmlDownloadManager.cs
- DmlSqlGenerator.cs
- XmlQueryOutput.cs
- MsmqInputChannel.cs
- Span.cs
- BufferModeSettings.cs
- ConnectionStringsExpressionEditor.cs
- TextLineResult.cs
- HtmlContainerControl.cs
- SmtpLoginAuthenticationModule.cs
- SecurityIdentifierElementCollection.cs
- DataSourceXmlTextReader.cs
- OutOfMemoryException.cs
- OleDbSchemaGuid.cs
- EncodingNLS.cs
- ToolStripManager.cs
- safemediahandle.cs
- FocusWithinProperty.cs
- SystemInformation.cs
- CustomAttributeBuilder.cs
- Aggregates.cs
- Int32AnimationUsingKeyFrames.cs
- WebBrowsableAttribute.cs
- IndentedWriter.cs
- HashAlgorithm.cs
- Membership.cs
- TypeDependencyAttribute.cs
- Geometry.cs
- CompositeFontFamily.cs
- CompilerWrapper.cs
- CqlIdentifiers.cs
- OdbcTransaction.cs
- XsltInput.cs
- DataContractJsonSerializer.cs
- AppearanceEditorPart.cs
- Int32AnimationBase.cs
- AuthenticationModuleElement.cs
- Visitors.cs
- TimeManager.cs
- XmlSchemaAll.cs
- TextRangeBase.cs
- Int64Animation.cs
- ServicePointManager.cs
- HTMLTextWriter.cs
- EdmFunction.cs
- TransformedBitmap.cs
- ItemsControl.cs
- OleCmdHelper.cs
- ObjectQuery.cs
- documentsequencetextview.cs
- XamlPoint3DCollectionSerializer.cs
- ScalarOps.cs
- RewritingProcessor.cs
- TemplateInstanceAttribute.cs
- SocketStream.cs
- IndexedGlyphRun.cs
- WebUtil.cs
- TreeViewImageIndexConverter.cs
- DoWorkEventArgs.cs
- DoubleKeyFrameCollection.cs
- IncomingWebResponseContext.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- WebChannelFactory.cs
- SpeechRecognizer.cs
- ObjectDataSourceFilteringEventArgs.cs
- CounterCreationData.cs
- COM2PropertyDescriptor.cs
- WizardStepBase.cs
- XMLUtil.cs
- GroupLabel.cs
- EventLogLink.cs
- SweepDirectionValidation.cs
- TransactionInterop.cs
- SafeNativeMethods.cs
- SoapAttributeAttribute.cs
- ExceptionWrapper.cs
- TemplateComponentConnector.cs
- MaterialGroup.cs
- ContextQuery.cs
- SHA256Managed.cs
- ElementUtil.cs
- ResourceWriter.cs
- InvokeHandlers.cs
- ViewCellRelation.cs
- StreamWriter.cs