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
- PropertyEmitterBase.cs
- ServicePoint.cs
- SchemaSetCompiler.cs
- RadioButtonPopupAdapter.cs
- EventsTab.cs
- CodeDelegateCreateExpression.cs
- WindowsListViewItemCheckBox.cs
- ValidationUtility.cs
- StringComparer.cs
- ClientScriptManagerWrapper.cs
- TextDecoration.cs
- ReachPageContentSerializerAsync.cs
- DelegateTypeInfo.cs
- SplitterEvent.cs
- PassportAuthenticationModule.cs
- CatalogPartChrome.cs
- KeyFrames.cs
- GroupItemAutomationPeer.cs
- MenuScrollingVisibilityConverter.cs
- GridViewRowEventArgs.cs
- mediapermission.cs
- CacheAxisQuery.cs
- AQNBuilder.cs
- unsafenativemethodstextservices.cs
- MachineKeyConverter.cs
- ProfileGroupSettingsCollection.cs
- BindingMAnagerBase.cs
- Int16Converter.cs
- ListBindableAttribute.cs
- TextElement.cs
- DispatcherFrame.cs
- ArgumentException.cs
- NavigationHelper.cs
- Timeline.cs
- ConfigurationValidatorAttribute.cs
- UserControlBuildProvider.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HtmlElementCollection.cs
- Path.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- HttpTransportManager.cs
- SamlDelegatingWriter.cs
- SafeEventLogWriteHandle.cs
- RequestDescription.cs
- GridViewCommandEventArgs.cs
- BindingExpressionUncommonField.cs
- DbDataReader.cs
- Point3DCollectionValueSerializer.cs
- ContractSearchPattern.cs
- TextPenaltyModule.cs
- UpdateProgress.cs
- XmlTypeAttribute.cs
- WarningException.cs
- CheckBoxAutomationPeer.cs
- SplashScreen.cs
- CompositeScriptReferenceEventArgs.cs
- BitmapPalette.cs
- SetState.cs
- SqlCacheDependency.cs
- Keywords.cs
- Region.cs
- XmlIlGenerator.cs
- LogReserveAndAppendState.cs
- DataGridViewCellConverter.cs
- CounterSample.cs
- CharacterShapingProperties.cs
- PerfCounters.cs
- ForeignConstraint.cs
- TypeLoader.cs
- ActivityBuilderHelper.cs
- TextCompositionManager.cs
- EventsTab.cs
- PrintDialogException.cs
- PreloadHost.cs
- ExpressionHelper.cs
- ListViewContainer.cs
- ListMarkerLine.cs
- ConfigurationException.cs
- MetabaseServerConfig.cs
- TagMapInfo.cs
- DataGridViewCellEventArgs.cs
- DBCSCodePageEncoding.cs
- CollectionBuilder.cs
- TdsParserStateObject.cs
- StringUtil.cs
- PersistenceMetadataNamespace.cs
- XmlSortKeyAccumulator.cs
- PolygonHotSpot.cs
- ConfigurationLocationCollection.cs
- FieldMetadata.cs
- TimeoutValidationAttribute.cs
- DataPointer.cs
- FormsAuthenticationModule.cs
- FieldTemplateUserControl.cs
- NameObjectCollectionBase.cs
- TypeDescriptionProvider.cs
- SafeNativeMethods.cs
- EdmError.cs
- FindCriteriaElement.cs
- ErrorProvider.cs