Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / MetadataPropertyvalue.cs / 1 / MetadataPropertyvalue.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....],[....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Data.Common; using System.Diagnostics; using System.Reflection; 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; internal object GetValue() { return _propertyInfo.GetValue(_item, new object[] { }); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....],[....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Data.Common; using System.Diagnostics; using System.Reflection; 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; 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
- Boolean.cs
- CodeTypeParameterCollection.cs
- NonSerializedAttribute.cs
- XmlSerializerNamespaces.cs
- AssemblyCacheEntry.cs
- XmlSignatureProperties.cs
- SqlPersonalizationProvider.cs
- SequenceQuery.cs
- AssemblyAssociatedContentFileAttribute.cs
- TraceSource.cs
- DATA_BLOB.cs
- SolidBrush.cs
- XhtmlTextWriter.cs
- MenuItem.cs
- OleDbEnumerator.cs
- ToolBarOverflowPanel.cs
- SystemColorTracker.cs
- AppDomainFactory.cs
- DeferredTextReference.cs
- DrawingContextWalker.cs
- ProfileService.cs
- ListCollectionView.cs
- SchemaCollectionPreprocessor.cs
- Array.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ParsedAttributeCollection.cs
- UserControlDocumentDesigner.cs
- TriggerBase.cs
- SqlParameter.cs
- TextRunCacheImp.cs
- AstTree.cs
- SequenceRangeCollection.cs
- ContentElement.cs
- DropSource.cs
- Html32TextWriter.cs
- SessionEndedEventArgs.cs
- DocumentOutline.cs
- TextAutomationPeer.cs
- _emptywebproxy.cs
- DocumentOrderComparer.cs
- ProcessModelInfo.cs
- TemplateControlCodeDomTreeGenerator.cs
- WindowsSecurityTokenAuthenticator.cs
- CharUnicodeInfo.cs
- SQLString.cs
- XmlSerializerNamespaces.cs
- securestring.cs
- AsyncCodeActivity.cs
- SafeBitVector32.cs
- FigureHelper.cs
- InteropAutomationProvider.cs
- ActionFrame.cs
- SyndicationFeedFormatter.cs
- SamlAuthorityBinding.cs
- SqlBuilder.cs
- CornerRadiusConverter.cs
- CleanUpVirtualizedItemEventArgs.cs
- UnsafePeerToPeerMethods.cs
- PresentationUIStyleResources.cs
- BitmapEffectGeneralTransform.cs
- Int16AnimationUsingKeyFrames.cs
- DrawListViewColumnHeaderEventArgs.cs
- CursorConverter.cs
- ProcessHostMapPath.cs
- SynchronizedInputHelper.cs
- ComponentGuaranteesAttribute.cs
- IDispatchConstantAttribute.cs
- OneOf.cs
- TemplatePagerField.cs
- HostedHttpRequestAsyncResult.cs
- AbstractSvcMapFileLoader.cs
- EdmToObjectNamespaceMap.cs
- SqlUtils.cs
- KeyboardDevice.cs
- MergeLocalizationDirectives.cs
- DependencyPropertyHelper.cs
- TabItemAutomationPeer.cs
- SkinBuilder.cs
- InputLanguageEventArgs.cs
- NGCPageContentCollectionSerializerAsync.cs
- X509RawDataKeyIdentifierClause.cs
- DynamicArgumentDialog.cs
- CollectionView.cs
- TraceSection.cs
- Overlapped.cs
- Calendar.cs
- MsmqInputChannelBase.cs
- ElementProxy.cs
- XmlIlGenerator.cs
- CompilerWrapper.cs
- CodeIterationStatement.cs
- TypeConverterHelper.cs
- OutputScope.cs
- ColumnMapTranslator.cs
- RayHitTestParameters.cs
- WebHostUnsafeNativeMethods.cs
- OperationPerformanceCounters.cs
- Accessible.cs
- PeerCollaborationPermission.cs
- GuidTagList.cs