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
- MergePropertyDescriptor.cs
- SessionStateUtil.cs
- GeneralTransform2DTo3DTo2D.cs
- MarkedHighlightComponent.cs
- FilterElement.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- Script.cs
- WCFModelStrings.Designer.cs
- XslVisitor.cs
- DictionaryBase.cs
- KeyGesture.cs
- MappedMetaModel.cs
- VisualStyleRenderer.cs
- MessageBox.cs
- XmlSchemaComplexType.cs
- QueryableDataSourceView.cs
- Bezier.cs
- ActivityXRefConverter.cs
- PropertyInformation.cs
- RadioButton.cs
- ToolStripItemEventArgs.cs
- MultiAsyncResult.cs
- InvalidPropValue.cs
- XmlEntityReference.cs
- OutKeywords.cs
- ButtonChrome.cs
- ParameterModifier.cs
- StringCollection.cs
- ErasingStroke.cs
- AuthStoreRoleProvider.cs
- SessionIDManager.cs
- ExplicitDiscriminatorMap.cs
- DbConnectionStringCommon.cs
- EntityDataSourceViewSchema.cs
- WeakReferenceKey.cs
- LinkedList.cs
- CutCopyPasteHelper.cs
- ExpressionBindings.cs
- COM2IPerPropertyBrowsingHandler.cs
- GPPOINTF.cs
- DbModificationCommandTree.cs
- ConfigsHelper.cs
- MD5.cs
- OleDbException.cs
- SeverityFilter.cs
- UnsafeNativeMethods.cs
- ProfileInfo.cs
- TCEAdapterGenerator.cs
- InputScope.cs
- SafePEFileHandle.cs
- Encoder.cs
- XmlReflectionMember.cs
- GeneralTransform2DTo3DTo2D.cs
- Iis7Helper.cs
- TaskHelper.cs
- SymmetricAlgorithm.cs
- PointLight.cs
- _ProxyChain.cs
- GlobalEventManager.cs
- EventWaitHandle.cs
- UpDownBase.cs
- TypedReference.cs
- BindingNavigator.cs
- TemplateControl.cs
- __ComObject.cs
- LicFileLicenseProvider.cs
- ComplexType.cs
- ProbeRequestResponseAsyncResult.cs
- Point4D.cs
- WindowsRegion.cs
- ObjectListGeneralPage.cs
- AutomationPatternInfo.cs
- TypeRestriction.cs
- ExtensionSimplifierMarkupObject.cs
- BitmapEffectInput.cs
- ThreadStaticAttribute.cs
- URLIdentityPermission.cs
- ObjectDataSourceSelectingEventArgs.cs
- ErasingStroke.cs
- GridViewColumn.cs
- ETagAttribute.cs
- DesignTimeTemplateParser.cs
- WorkflowView.cs
- MultipleViewPattern.cs
- HttpHeaderCollection.cs
- SemanticResultValue.cs
- ComponentFactoryHelpers.cs
- HostSecurityManager.cs
- StaticSiteMapProvider.cs
- Random.cs
- followingquery.cs
- SqlCacheDependencySection.cs
- ProjectionPathSegment.cs
- LogicalTreeHelper.cs
- SqlCommandSet.cs
- ScriptDescriptor.cs
- UnionCodeGroup.cs
- RepeaterCommandEventArgs.cs
- PagePropertiesChangingEventArgs.cs
- FloaterParagraph.cs