Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / MetadataPropertyvalue.cs / 1599186 / MetadataPropertyvalue.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Data.Common; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; 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; [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] 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
- NullableDoubleMinMaxAggregationOperator.cs
- TextLine.cs
- ListViewPagedDataSource.cs
- IPAddress.cs
- StateMachineWorkflow.cs
- TypeToken.cs
- TextBox.cs
- XmlSchemaSet.cs
- StopStoryboard.cs
- ChameleonKey.cs
- SettingsPropertyIsReadOnlyException.cs
- OutputCacheProfile.cs
- HelpInfo.cs
- ExceptionHandler.cs
- DataTemplateKey.cs
- Atom10FeedFormatter.cs
- InstanceHandleReference.cs
- SecurityAppliedMessage.cs
- TypeBuilderInstantiation.cs
- Geometry.cs
- DesignerActionGlyph.cs
- ExpressionBuilderContext.cs
- _AutoWebProxyScriptEngine.cs
- AdornerPresentationContext.cs
- StateWorkerRequest.cs
- PenContexts.cs
- EntityCommand.cs
- ContainerVisual.cs
- TableSectionStyle.cs
- MessageSmuggler.cs
- AsymmetricSignatureFormatter.cs
- BamlWriter.cs
- NumberSubstitution.cs
- XmlnsCompatibleWithAttribute.cs
- NativeMethodsOther.cs
- ManualResetEvent.cs
- FontUnitConverter.cs
- IImplicitResourceProvider.cs
- ScriptModule.cs
- CanExecuteRoutedEventArgs.cs
- UDPClient.cs
- Pair.cs
- Decorator.cs
- Misc.cs
- XpsResourceDictionary.cs
- FormatPage.cs
- XmlIterators.cs
- XmlObjectSerializerWriteContext.cs
- CompressedStack.cs
- PageStatePersister.cs
- KeySpline.cs
- InvalidOperationException.cs
- PriorityQueue.cs
- ObjectItemCollection.cs
- AccessViolationException.cs
- ExcludePathInfo.cs
- RubberbandSelector.cs
- LinqDataSourceView.cs
- DistributedTransactionPermission.cs
- PrePrepareMethodAttribute.cs
- BitVec.cs
- MailDefinition.cs
- FieldBuilder.cs
- DeviceFiltersSection.cs
- OdbcParameter.cs
- StyleCollection.cs
- OrderedDictionary.cs
- FormsAuthenticationUser.cs
- TextTreePropertyUndoUnit.cs
- ResXResourceSet.cs
- Trace.cs
- OleDbStruct.cs
- EmptyImpersonationContext.cs
- Floater.cs
- HostingPreferredMapPath.cs
- WmlValidatorAdapter.cs
- StringAnimationUsingKeyFrames.cs
- UserControlParser.cs
- WindowsToolbarAsMenu.cs
- SourceLocationProvider.cs
- sitestring.cs
- ControlCollection.cs
- EdmProperty.cs
- ToolStripDesigner.cs
- InstanceStoreQueryResult.cs
- AsyncParams.cs
- MsdtcClusterUtils.cs
- Vector3DCollectionValueSerializer.cs
- PhysicalAddress.cs
- NamespaceList.cs
- SafeViewOfFileHandle.cs
- ScaleTransform.cs
- MethodImplAttribute.cs
- NullableIntMinMaxAggregationOperator.cs
- HelpKeywordAttribute.cs
- Vector3DAnimationUsingKeyFrames.cs
- DriveInfo.cs
- FocusTracker.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SymbolEqualComparer.cs