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
- EntityDataSourceContextCreatedEventArgs.cs
- HttpModule.cs
- EventLogEntry.cs
- DesignerAttribute.cs
- StrongName.cs
- SecureStringHasher.cs
- AssociationTypeEmitter.cs
- HttpDigestClientElement.cs
- TracePayload.cs
- CodeCommentStatement.cs
- AppDomainAttributes.cs
- webeventbuffer.cs
- XPathAncestorIterator.cs
- CodeChecksumPragma.cs
- ADConnectionHelper.cs
- AdPostCacheSubstitution.cs
- StructuredType.cs
- ShadowGlyph.cs
- CodeStatement.cs
- CachedPathData.cs
- KeyboardDevice.cs
- CngKeyCreationParameters.cs
- SqlProfileProvider.cs
- AutoGeneratedField.cs
- NameValuePair.cs
- DurableServiceAttribute.cs
- StylusButtonCollection.cs
- XmlMemberMapping.cs
- NotConverter.cs
- VectorKeyFrameCollection.cs
- HwndHost.cs
- RenderTargetBitmap.cs
- UnsafeNativeMethods.cs
- SiteOfOriginContainer.cs
- DataKey.cs
- BatchStream.cs
- XmlSchemaAttributeGroupRef.cs
- LayoutUtils.cs
- XPathEmptyIterator.cs
- XmlSchemaExporter.cs
- StatusBarItemAutomationPeer.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- GridView.cs
- Random.cs
- MD5CryptoServiceProvider.cs
- XmlSchemaObject.cs
- CompressionTransform.cs
- LocalClientSecuritySettingsElement.cs
- DnsEndpointIdentity.cs
- ConnectionManagementElementCollection.cs
- BamlResourceContent.cs
- SoundPlayer.cs
- BinaryMethodMessage.cs
- RightsManagementEncryptedStream.cs
- SchemaImporterExtensionElement.cs
- DataContractFormatAttribute.cs
- MULTI_QI.cs
- BinHexDecoder.cs
- PasswordBox.cs
- EqualityComparer.cs
- OdbcStatementHandle.cs
- Binding.cs
- RequestResizeEvent.cs
- HtmlTitle.cs
- TypeLibConverter.cs
- MessageBox.cs
- SinglePageViewer.cs
- MaskedTextBoxTextEditorDropDown.cs
- ProfessionalColors.cs
- PassportAuthentication.cs
- MyContact.cs
- DescendentsWalkerBase.cs
- OperandQuery.cs
- CheckBoxPopupAdapter.cs
- TreeNodeStyleCollection.cs
- AttributeProviderAttribute.cs
- RijndaelManagedTransform.cs
- SchemaAttDef.cs
- TreeNodeMouseHoverEvent.cs
- SearchExpression.cs
- OutOfProcStateClientManager.cs
- HtmlInputCheckBox.cs
- DBSchemaRow.cs
- AudioLevelUpdatedEventArgs.cs
- BuildProvider.cs
- RelatedView.cs
- ProfileGroupSettings.cs
- DefaultExpression.cs
- FlowDocumentReaderAutomationPeer.cs
- StackOverflowException.cs
- AdapterDictionary.cs
- prompt.cs
- WorkflowRuntimeServiceElement.cs
- QuinticEase.cs
- CurrentChangedEventManager.cs
- EventProviderWriter.cs
- GeometryHitTestParameters.cs
- X509CertificateValidator.cs
- Point3DCollection.cs
- DrawListViewSubItemEventArgs.cs