Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- PropertyExpression.cs
- XmlSchemaChoice.cs
- IPEndPointCollection.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- streamingZipPartStream.cs
- PKCS1MaskGenerationMethod.cs
- DataTemplate.cs
- Overlapped.cs
- ToolStripItemGlyph.cs
- ColorTransformHelper.cs
- FreeFormPanel.cs
- StorageMappingItemCollection.cs
- ResourceReferenceExpression.cs
- Int32Rect.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- HtmlTableRow.cs
- AtomContentProperty.cs
- LabelAutomationPeer.cs
- IpcPort.cs
- InputLanguageManager.cs
- _AutoWebProxyScriptHelper.cs
- UpdateRecord.cs
- COM2TypeInfoProcessor.cs
- MarginsConverter.cs
- WebPartDeleteVerb.cs
- TemplateControlCodeDomTreeGenerator.cs
- util.cs
- SqlStatistics.cs
- ContextQuery.cs
- ToolStripSystemRenderer.cs
- ZipFileInfo.cs
- WasAdminWrapper.cs
- GridSplitter.cs
- FunctionMappingTranslator.cs
- Utilities.cs
- CompoundFileReference.cs
- CompilationRelaxations.cs
- FrameworkElementFactory.cs
- Emitter.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- SiteMapHierarchicalDataSourceView.cs
- CodePageUtils.cs
- FacetEnabledSchemaElement.cs
- ExtendedPropertyDescriptor.cs
- RIPEMD160Managed.cs
- EventLogger.cs
- recordstate.cs
- ArrayConverter.cs
- AxWrapperGen.cs
- TraceUtility.cs
- SelectedDatesCollection.cs
- IdentityManager.cs
- ApplicationException.cs
- ReadOnlyTernaryTree.cs
- GridViewRow.cs
- DataViewSetting.cs
- TextSpan.cs
- SiteMapPath.cs
- FontCollection.cs
- Operand.cs
- prompt.cs
- SmtpTransport.cs
- EntityDataSourceContainerNameItem.cs
- DataGridItemAttachedStorage.cs
- EUCJPEncoding.cs
- EditBehavior.cs
- DoubleCollection.cs
- RequestCacheManager.cs
- ValidationHelper.cs
- ClientEventManager.cs
- ReadOnlyCollection.cs
- XPathException.cs
- XmlDocument.cs
- RijndaelCryptoServiceProvider.cs
- CombinedGeometry.cs
- _ListenerResponseStream.cs
- EncryptedKeyIdentifierClause.cs
- FreezableDefaultValueFactory.cs
- FactoryRecord.cs
- NodeLabelEditEvent.cs
- ContainsRowNumberChecker.cs
- OutputCache.cs
- SingleAnimationUsingKeyFrames.cs
- SqlDataReaderSmi.cs
- XmlSchemaCollection.cs
- QilNode.cs
- ObjectAnimationBase.cs
- BindingValueChangedEventArgs.cs
- RelationshipEntry.cs
- ILGenerator.cs
- TemplatingOptionsDialog.cs
- DockPanel.cs
- ValidationError.cs
- ProfileService.cs
- EntityCommand.cs
- EllipseGeometry.cs
- OutputCacheProfileCollection.cs
- PinnedBufferMemoryStream.cs
- SuppressMergeCheckAttribute.cs
- Cell.cs