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
- EventBookmark.cs
- GridViewUpdatedEventArgs.cs
- Crc32Helper.cs
- Vector3DConverter.cs
- FileDialog.cs
- ArithmeticException.cs
- WindowsTokenRoleProvider.cs
- TimeSpanConverter.cs
- VerificationException.cs
- ControlPropertyNameConverter.cs
- ZoneMembershipCondition.cs
- MultiView.cs
- MimeMultiPart.cs
- Main.cs
- AtomicFile.cs
- SHA256Managed.cs
- TrackingLocationCollection.cs
- ServiceRouteHandler.cs
- ComEventsMethod.cs
- InputLanguageProfileNotifySink.cs
- EncoderNLS.cs
- TreeViewDataItemAutomationPeer.cs
- Comparer.cs
- AxisAngleRotation3D.cs
- SortExpressionBuilder.cs
- QilStrConcat.cs
- MenuItemStyleCollection.cs
- OdbcCommandBuilder.cs
- NumericPagerField.cs
- MenuItemStyleCollectionEditor.cs
- DictionaryItemsCollection.cs
- propertytag.cs
- Math.cs
- XmlTextReader.cs
- EllipseGeometry.cs
- LinkLabel.cs
- DeferredRunTextReference.cs
- NotifyInputEventArgs.cs
- ModuleBuilder.cs
- InstanceCreationEditor.cs
- WindowShowOrOpenTracker.cs
- ShimAsPublicXamlType.cs
- DateTimeOffsetStorage.cs
- InputBindingCollection.cs
- ResXResourceWriter.cs
- BezierSegment.cs
- NetworkAddressChange.cs
- BufferedOutputAsyncStream.cs
- NavigatorInput.cs
- CrossContextChannel.cs
- PropertyIDSet.cs
- Size.cs
- BasicCellRelation.cs
- ChangesetResponse.cs
- MimeMapping.cs
- AttachInfo.cs
- HMACSHA256.cs
- FontUnit.cs
- InheritedPropertyChangedEventArgs.cs
- LocalizableAttribute.cs
- PermissionSetEnumerator.cs
- CustomValidator.cs
- SystemUdpStatistics.cs
- Nodes.cs
- XmlMessageFormatter.cs
- XmlAnyElementAttribute.cs
- GroupBoxRenderer.cs
- BufferedWebEventProvider.cs
- LinkLabelLinkClickedEvent.cs
- HandlerFactoryCache.cs
- MessageHeaderAttribute.cs
- DataBinding.cs
- SafeMILHandle.cs
- ToolStripSplitStackLayout.cs
- SpanIndex.cs
- PenContext.cs
- DataGridDesigner.cs
- VarInfo.cs
- ArrayList.cs
- SchemaImporterExtensionsSection.cs
- XPathMessageFilterTable.cs
- XPathAncestorQuery.cs
- ALinqExpressionVisitor.cs
- DataControlFieldCell.cs
- SimpleBitVector32.cs
- MdImport.cs
- MenuItemBindingCollection.cs
- SelectionListDesigner.cs
- BCLDebug.cs
- ToolboxItemCollection.cs
- Selector.cs
- AudioStateChangedEventArgs.cs
- PolyLineSegment.cs
- SqlFlattener.cs
- FixedPageStructure.cs
- OrderedDictionaryStateHelper.cs
- HtmlPageAdapter.cs
- TransactionOptions.cs
- GeneralTransform3D.cs
- _Connection.cs