Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DesignerView.xaml.cs
- OdbcReferenceCollection.cs
- BindingExpression.cs
- WizardStepBase.cs
- XmlMapping.cs
- InstanceView.cs
- UIElementHelper.cs
- XPathScanner.cs
- SuppressIldasmAttribute.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SqlWorkflowInstanceStoreLock.cs
- safelinkcollection.cs
- StrokeNodeEnumerator.cs
- Line.cs
- ResourceType.cs
- IdnElement.cs
- TargetFrameworkAttribute.cs
- BitmapEffectInput.cs
- GlyphElement.cs
- TextElement.cs
- XmlDocument.cs
- XamlPoint3DCollectionSerializer.cs
- PerfService.cs
- ExpressionConverter.cs
- AsymmetricKeyExchangeFormatter.cs
- ReadOnlyTernaryTree.cs
- ConnectionPoint.cs
- ReferenceCountedObject.cs
- BmpBitmapEncoder.cs
- PolicyValidationException.cs
- ProcessModelInfo.cs
- RoutingChannelExtension.cs
- DefaultPropertiesToSend.cs
- PropertyManager.cs
- ProtectedProviderSettings.cs
- EdgeModeValidation.cs
- XmlSchemaImport.cs
- HtmlTable.cs
- FloatUtil.cs
- SmtpReplyReaderFactory.cs
- ObjectRef.cs
- ResourcesChangeInfo.cs
- ApplicationServiceManager.cs
- XmlReaderDelegator.cs
- FieldDescriptor.cs
- httpapplicationstate.cs
- Size.cs
- CodeDelegateCreateExpression.cs
- AutoSizeToolBoxItem.cs
- Bezier.cs
- updatecommandorderer.cs
- ScriptManagerProxy.cs
- DBPropSet.cs
- SchemaImporterExtension.cs
- NetCodeGroup.cs
- FrameworkObject.cs
- ColumnMap.cs
- XmlSchemaProviderAttribute.cs
- GlobalEventManager.cs
- SurrogateSelector.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ComplexType.cs
- EditCommandColumn.cs
- InvalidComObjectException.cs
- RadioButton.cs
- DataGridViewCellCancelEventArgs.cs
- EventsTab.cs
- ObjectCloneHelper.cs
- DbConnectionPoolIdentity.cs
- PropertyOverridesDialog.cs
- _HelperAsyncResults.cs
- XmlSerializerFactory.cs
- SerializationInfo.cs
- BuiltInExpr.cs
- HtmlControl.cs
- GACIdentityPermission.cs
- ToolBarButton.cs
- DesignTableCollection.cs
- GatewayDefinition.cs
- AppModelKnownContentFactory.cs
- EncoderReplacementFallback.cs
- UnSafeCharBuffer.cs
- CharacterShapingProperties.cs
- DataObjectAttribute.cs
- DataGridToolTip.cs
- DtdParser.cs
- ChannelServices.cs
- NetTcpSectionData.cs
- NetworkInformationPermission.cs
- XslTransformFileEditor.cs
- Triplet.cs
- FrameAutomationPeer.cs
- DispatcherObject.cs
- DefaultValueTypeConverter.cs
- SetState.cs
- RemoteWebConfigurationHost.cs
- XmlSchemaObject.cs
- XamlSerializerUtil.cs
- Error.cs