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
- Thread.cs
- _ListenerRequestStream.cs
- PerformanceCounterPermissionEntryCollection.cs
- SafeNativeMemoryHandle.cs
- PublisherIdentityPermission.cs
- EngineSite.cs
- KeyNotFoundException.cs
- IdentityNotMappedException.cs
- AuthenticatedStream.cs
- DataComponentGenerator.cs
- LocatorGroup.cs
- ScrollViewer.cs
- HttpFormatExtensions.cs
- BaseInfoTable.cs
- ContextMenuStrip.cs
- ToolStripControlHost.cs
- SoapReflectionImporter.cs
- SqlGenericUtil.cs
- Comparer.cs
- XamlStyleSerializer.cs
- State.cs
- FrameworkElementFactory.cs
- XamlTemplateSerializer.cs
- NameValueFileSectionHandler.cs
- WeakReferenceEnumerator.cs
- _UriSyntax.cs
- RowSpanVector.cs
- PagedDataSource.cs
- VerificationException.cs
- OleDbException.cs
- AsyncPostBackTrigger.cs
- DataGridViewCheckBoxCell.cs
- EventHandlerList.cs
- Rotation3DAnimation.cs
- XmlSchemas.cs
- RegexTree.cs
- FontSizeConverter.cs
- Timer.cs
- EventLogRecord.cs
- StateMachineExecutionState.cs
- DrawingContextWalker.cs
- LogLogRecord.cs
- ConfigXmlAttribute.cs
- CheckBoxList.cs
- DataBoundControlHelper.cs
- ThreadInterruptedException.cs
- WindowsFormsSynchronizationContext.cs
- ZipIORawDataFileBlock.cs
- XmlNavigatorStack.cs
- RoleManagerModule.cs
- DesignerForm.cs
- SwitchAttribute.cs
- UserNamePasswordClientCredential.cs
- LayoutInformation.cs
- ConnectionPoolRegistry.cs
- ObsoleteAttribute.cs
- InfoCardTrace.cs
- StylusPointProperties.cs
- LinqDataSourceInsertEventArgs.cs
- XmlNodeList.cs
- SqlBulkCopyColumnMappingCollection.cs
- ExternalFile.cs
- _HTTPDateParse.cs
- InheritanceAttribute.cs
- WebServiceData.cs
- SatelliteContractVersionAttribute.cs
- IsolatedStorageFile.cs
- AdjustableArrowCap.cs
- CodeTypeOfExpression.cs
- ReturnValue.cs
- SerializationStore.cs
- SessionParameter.cs
- HostingEnvironment.cs
- BooleanSwitch.cs
- ServiceModelEnumValidatorAttribute.cs
- TextServicesDisplayAttributePropertyRanges.cs
- BitmapFrameEncode.cs
- AdornerHitTestResult.cs
- BitmapDecoder.cs
- PropertyChangedEventArgs.cs
- SimpleBitVector32.cs
- uribuilder.cs
- ExceptQueryOperator.cs
- RemoteWebConfigurationHostStream.cs
- PrintingPermissionAttribute.cs
- DiscoveryDocumentSearchPattern.cs
- EdmMember.cs
- Int64Storage.cs
- SingleObjectCollection.cs
- SslStream.cs
- Polygon.cs
- UiaCoreApi.cs
- EdmValidator.cs
- SplineQuaternionKeyFrame.cs
- WindowsSolidBrush.cs
- MonikerBuilder.cs
- RequestCache.cs
- MultiSelector.cs
- ClassicBorderDecorator.cs
- FillRuleValidation.cs