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
- ModuleBuilderData.cs
- PropertyKey.cs
- AuthorizationRule.cs
- ProcessHostMapPath.cs
- indexingfiltermarshaler.cs
- EntityProxyTypeInfo.cs
- MappingItemCollection.cs
- HtmlInputText.cs
- DataBoundControlAdapter.cs
- HttpCookie.cs
- DbConnectionStringCommon.cs
- HScrollProperties.cs
- EntityDataSourceWrapper.cs
- BitmapMetadata.cs
- PersistenceContext.cs
- NetworkCredential.cs
- Module.cs
- EndpointDiscoveryElement.cs
- RevocationPoint.cs
- BamlTreeNode.cs
- RowToParametersTransformer.cs
- IntegerValidatorAttribute.cs
- WebChannelFactory.cs
- _DigestClient.cs
- RelatedPropertyManager.cs
- NumberSubstitution.cs
- XhtmlBasicTextBoxAdapter.cs
- SamlEvidence.cs
- Geometry3D.cs
- Buffer.cs
- WindowsGraphicsCacheManager.cs
- TabControlCancelEvent.cs
- QilVisitor.cs
- PeerInvitationResponse.cs
- UriTemplateLiteralQueryValue.cs
- SystemResourceHost.cs
- ComplexTypeEmitter.cs
- WebPartTransformerCollection.cs
- SystemWebCachingSectionGroup.cs
- DataRelationCollection.cs
- DetailsViewCommandEventArgs.cs
- LinkLabelLinkClickedEvent.cs
- PTManager.cs
- ProgressBarAutomationPeer.cs
- GeneratedContractType.cs
- DataServiceQueryProvider.cs
- PointIndependentAnimationStorage.cs
- SR.Designer.cs
- Font.cs
- TextInfo.cs
- VirtualizedCellInfoCollection.cs
- UnsafeNativeMethods.cs
- SlotInfo.cs
- TextSearch.cs
- XamlTreeBuilderBamlRecordWriter.cs
- AuthenticationModuleElementCollection.cs
- CompositeScriptReference.cs
- OAVariantLib.cs
- FileChangeNotifier.cs
- SiteMapNodeCollection.cs
- BackStopAuthenticationModule.cs
- SqlNodeTypeOperators.cs
- _UriSyntax.cs
- SqlWebEventProvider.cs
- IsolatedStorage.cs
- SineEase.cs
- ToolZone.cs
- DiscoveryClientChannelBase.cs
- PixelShader.cs
- Int32AnimationUsingKeyFrames.cs
- FormsAuthenticationTicket.cs
- _ShellExpression.cs
- WaitHandle.cs
- DataControlPagerLinkButton.cs
- TextChange.cs
- RequestCachePolicy.cs
- CngUIPolicy.cs
- WebPartDisplayModeCollection.cs
- TransformedBitmap.cs
- filewebresponse.cs
- LoginCancelEventArgs.cs
- DesignerAttribute.cs
- NonParentingControl.cs
- PnrpPermission.cs
- DiscardableAttribute.cs
- XmlSerializationReader.cs
- RouteUrlExpressionBuilder.cs
- CharUnicodeInfo.cs
- TextServicesProperty.cs
- Pair.cs
- MeshGeometry3D.cs
- NotifyCollectionChangedEventArgs.cs
- OrCondition.cs
- NativeMethods.cs
- SqlDataSourceRefreshSchemaForm.cs
- Operators.cs
- WindowsTokenRoleProvider.cs
- EdmConstants.cs
- DesignBindingPicker.cs
- GradientStop.cs