Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / MetadataPropertyvalue.cs / 1599186 / MetadataPropertyvalue.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Data.Common; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; namespace System.Data.Metadata.Edm { ////// Class representing a metadata property on an item. Supports /// redirection from MetadataProperty instance to item property value. /// internal sealed class MetadataPropertyValue { internal MetadataPropertyValue(PropertyInfo propertyInfo, MetadataItem item) { Debug.Assert(null != propertyInfo); Debug.Assert(null != item); _propertyInfo = propertyInfo; _item = item; } private PropertyInfo _propertyInfo; private MetadataItem _item; [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] internal object GetValue() { return _propertyInfo.GetValue(_item, new object[] { }); } } } // 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
- WebRequestModuleElement.cs
- EmbeddedMailObjectsCollection.cs
- followingsibling.cs
- DecimalConstantAttribute.cs
- ExtentCqlBlock.cs
- XPathNodeInfoAtom.cs
- ContentElement.cs
- ToolStripDropDownClosingEventArgs.cs
- AnchoredBlock.cs
- ImageEditor.cs
- TrackingLocation.cs
- DbMetaDataFactory.cs
- SecureStringHasher.cs
- CollectionView.cs
- DesignerSerializationOptionsAttribute.cs
- PropertyGrid.cs
- ConnectionStringSettings.cs
- InvalidAsynchronousStateException.cs
- ExpressionNode.cs
- XMLUtil.cs
- QueryPageSettingsEventArgs.cs
- ConditionalBranch.cs
- DataBindingCollectionConverter.cs
- StatusStrip.cs
- GlyphTypeface.cs
- DesignBindingConverter.cs
- ChildChangedEventArgs.cs
- ToolStripItemImageRenderEventArgs.cs
- XmlSchemaDocumentation.cs
- ServiceDescriptionSerializer.cs
- BehaviorService.cs
- TextRangeEditLists.cs
- ActivityPreviewDesigner.cs
- DataServices.cs
- Attributes.cs
- DataGridColumn.cs
- WasAdminWrapper.cs
- RawStylusActions.cs
- HMACSHA384.cs
- ObjectManager.cs
- SystemTcpConnection.cs
- NavigationProgressEventArgs.cs
- RadioButtonPopupAdapter.cs
- DesignTimeData.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- GPPOINTF.cs
- Floater.cs
- ClientFormsIdentity.cs
- QuaternionRotation3D.cs
- MetadataResolver.cs
- KeyNotFoundException.cs
- Quaternion.cs
- AnonymousIdentificationSection.cs
- PropertiesTab.cs
- DataGridViewRowPrePaintEventArgs.cs
- LassoHelper.cs
- HtmlGenericControl.cs
- DrawingState.cs
- XPathDocumentNavigator.cs
- RootBrowserWindowAutomationPeer.cs
- Utils.cs
- FontResourceCache.cs
- ObjectDataSourceMethodEventArgs.cs
- TreeView.cs
- Misc.cs
- Misc.cs
- BitmapDownload.cs
- TableAutomationPeer.cs
- nulltextcontainer.cs
- XPathEmptyIterator.cs
- SecurityCriticalDataForSet.cs
- TrustManagerPromptUI.cs
- HttpInputStream.cs
- EventSetter.cs
- LocalValueEnumerator.cs
- ListView.cs
- MemberAssignment.cs
- SingleObjectCollection.cs
- CodeDirectoryCompiler.cs
- NegotiateStream.cs
- MessageQueuePermissionEntry.cs
- StreamWriter.cs
- Rect.cs
- MailAddress.cs
- Misc.cs
- BaseCAMarshaler.cs
- TimerEventSubscriptionCollection.cs
- ExeContext.cs
- ContentPlaceHolder.cs
- AssemblyAttributesGoHere.cs
- ObjectResult.cs
- TargetInvocationException.cs
- ToolboxItemImageConverter.cs
- ChineseLunisolarCalendar.cs
- SelectionChangedEventArgs.cs
- CodeNamespaceCollection.cs
- ClickablePoint.cs
- KeyInterop.cs
- SplitterPanelDesigner.cs
- CacheAxisQuery.cs