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
- Canvas.cs
- CodeDirectionExpression.cs
- SvcMapFileSerializer.cs
- HandledEventArgs.cs
- Path.cs
- TemplateXamlTreeBuilder.cs
- Color.cs
- TriggerBase.cs
- ValidatedMobileControlConverter.cs
- DBSqlParserColumn.cs
- LockRecursionException.cs
- ToolStripContainerActionList.cs
- HostingPreferredMapPath.cs
- TcpClientChannel.cs
- XmlDataSource.cs
- SafeFileHandle.cs
- Range.cs
- CommonProperties.cs
- XmlSchemaSimpleTypeRestriction.cs
- Int16Animation.cs
- SerializationObjectManager.cs
- ReferentialConstraintRoleElement.cs
- SqlAliasesReferenced.cs
- Point4DValueSerializer.cs
- CompilerCollection.cs
- HttpListenerException.cs
- ExtensionSimplifierMarkupObject.cs
- SeverityFilter.cs
- ArrayMergeHelper.cs
- OleDbMetaDataFactory.cs
- ExternalCalls.cs
- TypedDataSetSchemaImporterExtension.cs
- RuntimeHelpers.cs
- SmtpDigestAuthenticationModule.cs
- TableLayoutCellPaintEventArgs.cs
- DbProviderConfigurationHandler.cs
- InternalBase.cs
- EtwProvider.cs
- DataTableExtensions.cs
- ContainerUIElement3D.cs
- FeatureSupport.cs
- IntegerValidator.cs
- EventItfInfo.cs
- KeyedCollection.cs
- XPathDocumentNavigator.cs
- ParallelLoopState.cs
- GregorianCalendarHelper.cs
- Encoder.cs
- TextModifier.cs
- SamlAction.cs
- StrokeRenderer.cs
- MessageEventSubscriptionService.cs
- IApplicationTrustManager.cs
- HuffCodec.cs
- CallbackHandler.cs
- ResolveMatchesMessage11.cs
- DesignTimeDataBinding.cs
- XmlReaderSettings.cs
- PostBackTrigger.cs
- HttpFileCollection.cs
- ListViewItem.cs
- ObjectHandle.cs
- DynamicVirtualDiscoSearcher.cs
- ConfigurationValues.cs
- MasterPage.cs
- DataBinder.cs
- QueryContinueDragEventArgs.cs
- QueryRelOp.cs
- HuffmanTree.cs
- DetailsView.cs
- Token.cs
- Configuration.cs
- AlternateView.cs
- EllipticalNodeOperations.cs
- EntityDataSourceQueryBuilder.cs
- IteratorDescriptor.cs
- Int32Storage.cs
- WorkflowDesignerMessageFilter.cs
- GlobalizationAssembly.cs
- ObjRef.cs
- OutputCacheProfile.cs
- ContainerSelectorBehavior.cs
- ShaperBuffers.cs
- RegexStringValidatorAttribute.cs
- DiscoveryDocumentLinksPattern.cs
- FontCacheLogic.cs
- ConfigurationStrings.cs
- FontEmbeddingManager.cs
- CommandEventArgs.cs
- BindingCollection.cs
- TextAnchor.cs
- TypefaceCollection.cs
- SystemWebCachingSectionGroup.cs
- PaintValueEventArgs.cs
- TextRunTypographyProperties.cs
- WindowsListView.cs
- Misc.cs
- CapabilitiesState.cs
- WindowsClaimSet.cs
- OrderedDictionary.cs