Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodePropertyReferenceExpression.cs / 1305376 / CodePropertyReferenceExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodePropertyReferenceExpression : CodeExpression { private CodeExpression targetObject; private string propertyName; private CodeExpressionCollection parameters = new CodeExpressionCollection(); ////// Represents a reference to a property. /// ////// public CodePropertyReferenceExpression() { } ////// Initializes a new instance of ///. /// /// public CodePropertyReferenceExpression(CodeExpression targetObject, string propertyName) { TargetObject = targetObject; PropertyName = propertyName; } ////// Initializes a new instance of ///using the specified target object and property /// name. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// The target object containing the property this ///references. /// /// public string PropertyName { get { return (propertyName == null) ? string.Empty : propertyName; } set { propertyName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The name of the property to reference. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodePropertyReferenceExpression : CodeExpression { private CodeExpression targetObject; private string propertyName; private CodeExpressionCollection parameters = new CodeExpressionCollection(); ////// Represents a reference to a property. /// ////// public CodePropertyReferenceExpression() { } ////// Initializes a new instance of ///. /// /// public CodePropertyReferenceExpression(CodeExpression targetObject, string propertyName) { TargetObject = targetObject; PropertyName = propertyName; } ////// Initializes a new instance of ///using the specified target object and property /// name. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// The target object containing the property this ///references. /// /// public string PropertyName { get { return (propertyName == null) ? string.Empty : propertyName; } set { propertyName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The name of the property to reference. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- KeyFrames.cs
- TextBoxBase.cs
- Utility.cs
- DataListItem.cs
- ClientApiGenerator.cs
- BooleanConverter.cs
- SrgsNameValueTag.cs
- XmlQueryOutput.cs
- SingleKeyFrameCollection.cs
- HelpFileFileNameEditor.cs
- CodeIterationStatement.cs
- TypeExtension.cs
- BamlBinaryReader.cs
- KeyGesture.cs
- ProxyOperationRuntime.cs
- NewItemsContextMenuStrip.cs
- SQLCharsStorage.cs
- Subtree.cs
- MtomMessageEncodingElement.cs
- WebControlAdapter.cs
- VisualStyleTypesAndProperties.cs
- PreviewPageInfo.cs
- ServiceOperationParameter.cs
- PlatformNotSupportedException.cs
- StyleBamlTreeBuilder.cs
- ToolStripDropDownClosingEventArgs.cs
- SocketElement.cs
- Fx.cs
- AssemblyBuilderData.cs
- ResourceDefaultValueAttribute.cs
- ResourceDictionaryCollection.cs
- SqlDataAdapter.cs
- TextAdaptor.cs
- ViewManager.cs
- ThreadStaticAttribute.cs
- MatrixTransform.cs
- WebPartDisplayModeEventArgs.cs
- SchemaConstraints.cs
- ReadOnlyDataSourceView.cs
- ParallelEnumerableWrapper.cs
- AssemblyBuilderData.cs
- __ComObject.cs
- DocumentSequenceHighlightLayer.cs
- GraphicsPathIterator.cs
- AnimatedTypeHelpers.cs
- QuerySafeNavigator.cs
- XmlComplianceUtil.cs
- ToolStripPanelSelectionBehavior.cs
- ByteKeyFrameCollection.cs
- XmlSchemaChoice.cs
- ModelPropertyImpl.cs
- ConfigurationValidatorAttribute.cs
- SystemColorTracker.cs
- HtmlTextArea.cs
- XmlSchemaParticle.cs
- EdmItemError.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CodeTypeMember.cs
- TextEditor.cs
- ContainerUIElement3D.cs
- Matrix3DValueSerializer.cs
- IdentifierCollection.cs
- TextElementEnumerator.cs
- DESCryptoServiceProvider.cs
- SqlDependencyUtils.cs
- XsltQilFactory.cs
- TextViewSelectionProcessor.cs
- ReferenceEqualityComparer.cs
- RectIndependentAnimationStorage.cs
- InkCanvasInnerCanvas.cs
- WindowsGraphics2.cs
- ObjectAnimationBase.cs
- ModelUtilities.cs
- TextInfo.cs
- RelatedCurrencyManager.cs
- MenuItem.cs
- ReadOnlyDictionary.cs
- SQLByte.cs
- CellTreeSimplifier.cs
- PenContexts.cs
- StoreAnnotationsMap.cs
- PenThreadPool.cs
- BooleanAnimationBase.cs
- CategoryNameCollection.cs
- ChtmlPageAdapter.cs
- BindingMAnagerBase.cs
- OperationCanceledException.cs
- ListViewSortEventArgs.cs
- DataGridCell.cs
- ToolStripScrollButton.cs
- ModelItemImpl.cs
- CreateUserErrorEventArgs.cs
- EntryWrittenEventArgs.cs
- OrderedDictionary.cs
- KeyboardEventArgs.cs
- InstanceNormalEvent.cs
- SynchronizationContext.cs
- DispatcherHooks.cs
- ShutDownListener.cs
- ClientSideQueueItem.cs