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
- DataServicePagingProviderWrapper.cs
- PersonalizablePropertyEntry.cs
- CompositeControl.cs
- WindowsEditBoxRange.cs
- ServiceErrorHandler.cs
- ParserStreamGeometryContext.cs
- DataGridViewRowPostPaintEventArgs.cs
- WebPartDisplayModeEventArgs.cs
- LogicalMethodInfo.cs
- WizardDesigner.cs
- MonitoringDescriptionAttribute.cs
- RangeValuePatternIdentifiers.cs
- ProxyHwnd.cs
- PeerNameRecord.cs
- ColumnMapTranslator.cs
- XmlMtomReader.cs
- _UriSyntax.cs
- ProxyWebPartManager.cs
- DefaultWorkflowLoaderService.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- COM2Properties.cs
- AnimationException.cs
- HtmlMeta.cs
- AutomationPropertyInfo.cs
- HatchBrush.cs
- CodeAssignStatement.cs
- ProgressBarBrushConverter.cs
- EntityEntry.cs
- ExecutionContext.cs
- RadioButton.cs
- DependencyPropertyValueSerializer.cs
- Method.cs
- ListBox.cs
- XmlWriter.cs
- XmlBaseWriter.cs
- BlurEffect.cs
- ToolStripMenuItem.cs
- clipboard.cs
- TemplatedControlDesigner.cs
- PasswordBox.cs
- Trigger.cs
- StopRoutingHandler.cs
- WorkflowApplicationAbortedException.cs
- SchemaNames.cs
- IndexedString.cs
- OptionUsage.cs
- HtmlImage.cs
- ExpressionTextBoxAutomationPeer.cs
- WebPartChrome.cs
- ConnectionOrientedTransportManager.cs
- RectangleGeometry.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- TextRenderer.cs
- HScrollProperties.cs
- ResolveNameEventArgs.cs
- SystemTcpStatistics.cs
- InfoCardSchemas.cs
- LayoutExceptionEventArgs.cs
- HttpContext.cs
- EntityCommand.cs
- SizeF.cs
- SecurityProtocolFactory.cs
- X509RecipientCertificateServiceElement.cs
- TemplateBindingExpressionConverter.cs
- RestHandler.cs
- MessageQueuePermissionEntryCollection.cs
- ControlType.cs
- UserPreferenceChangingEventArgs.cs
- SqlDataSourceConfigureSelectPanel.cs
- SqlRemoveConstantOrderBy.cs
- SqlUserDefinedTypeAttribute.cs
- ThreadExceptionDialog.cs
- ResXResourceWriter.cs
- List.cs
- TrackingValidationObjectDictionary.cs
- Message.cs
- _Rfc2616CacheValidators.cs
- WindowsGraphicsCacheManager.cs
- BitmapEffectvisualstate.cs
- VirtualPath.cs
- AssertFilter.cs
- Rect.cs
- TraceUtils.cs
- WebPartConnectionsCloseVerb.cs
- ProfileSettings.cs
- EdmPropertyAttribute.cs
- HttpCachePolicy.cs
- BuildProviderAppliesToAttribute.cs
- TypeBuilderInstantiation.cs
- SocketAddress.cs
- FontWeights.cs
- xmlfixedPageInfo.cs
- DataGridView.cs
- PropertyEntry.cs
- SerializationInfoEnumerator.cs
- FontWeights.cs
- UICuesEvent.cs
- CloseCollectionAsyncResult.cs
- OdbcParameterCollection.cs
- ModuleConfigurationInfo.cs