Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodePropertyReferenceExpression.cs / 1 / CodePropertyReferenceExpression.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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
- MergeFilterQuery.cs
- SpecularMaterial.cs
- RsaSecurityTokenAuthenticator.cs
- JsonWriterDelegator.cs
- ScriptingProfileServiceSection.cs
- remotingproxy.cs
- XmlDomTextWriter.cs
- ControlParameter.cs
- GenericEnumConverter.cs
- ModelItemDictionaryImpl.cs
- InternalConfirm.cs
- DataRowCollection.cs
- XmlWrappingReader.cs
- ClaimTypeElement.cs
- DBAsyncResult.cs
- UnSafeCharBuffer.cs
- Point3DValueSerializer.cs
- X509Certificate.cs
- InvalidProgramException.cs
- WebPartPersonalization.cs
- WasHostedComPlusFactory.cs
- CodeMemberMethod.cs
- HttpRequestCacheValidator.cs
- GlyphShapingProperties.cs
- XmlDigitalSignatureProcessor.cs
- KnownTypeHelper.cs
- RegionInfo.cs
- BulletChrome.cs
- LeftCellWrapper.cs
- TreeIterators.cs
- CachedTypeface.cs
- EdmValidator.cs
- XmlDictionary.cs
- MLangCodePageEncoding.cs
- ReturnEventArgs.cs
- _NegoStream.cs
- PolicyAssertionCollection.cs
- Enlistment.cs
- RelatedImageListAttribute.cs
- PropertyRecord.cs
- TimeSpanSecondsConverter.cs
- FacetValueContainer.cs
- InputBinder.cs
- LinkLabelLinkClickedEvent.cs
- SingleAnimationBase.cs
- HttpCacheParams.cs
- PaginationProgressEventArgs.cs
- TextTreeText.cs
- EntityDataSourceContextCreatedEventArgs.cs
- SHA256.cs
- DictionaryBase.cs
- Ticks.cs
- XmlSchemaDocumentation.cs
- XmlSchemaSimpleTypeList.cs
- DataReceivedEventArgs.cs
- Listener.cs
- SessionSwitchEventArgs.cs
- sitestring.cs
- PointAnimationUsingPath.cs
- SHA384.cs
- XD.cs
- MetadataPropertyCollection.cs
- Stackframe.cs
- ObjectComplexPropertyMapping.cs
- ObjectSecurity.cs
- _CommandStream.cs
- SigningCredentials.cs
- CodePageUtils.cs
- QueryStringParameter.cs
- GeometryModel3D.cs
- AssertUtility.cs
- NavigationProperty.cs
- ScriptIgnoreAttribute.cs
- CodeRemoveEventStatement.cs
- ViewPort3D.cs
- XmlQueryOutput.cs
- PrePrepareMethodAttribute.cs
- TextRangeProviderWrapper.cs
- Point4D.cs
- InputQueueChannelAcceptor.cs
- WebService.cs
- XmlSubtreeReader.cs
- AppSettingsExpressionBuilder.cs
- documentation.cs
- COM2Enum.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ColorAnimationUsingKeyFrames.cs
- DataGridColumnFloatingHeader.cs
- ToolStripStatusLabel.cs
- ZipIOLocalFileDataDescriptor.cs
- TypeElement.cs
- DetailsViewPagerRow.cs
- FrameworkElement.cs
- SqlDataSourceQuery.cs
- ContextMenu.cs
- URLMembershipCondition.cs
- Action.cs
- GetTokenRequest.cs
- DCSafeHandle.cs
- TypeForwardedToAttribute.cs