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
- AnimatedTypeHelpers.cs
- TextBoxRenderer.cs
- TimelineGroup.cs
- SymDocumentType.cs
- MouseWheelEventArgs.cs
- PlatformNotSupportedException.cs
- WebCodeGenerator.cs
- Aggregates.cs
- ContainerParagraph.cs
- FilterQuery.cs
- DebugView.cs
- NamedPermissionSet.cs
- ObjectViewFactory.cs
- ClientOptions.cs
- Base64Decoder.cs
- BrowserCapabilitiesCodeGenerator.cs
- CodeMethodInvokeExpression.cs
- SvcMapFileSerializer.cs
- CapacityStreamGeometryContext.cs
- Stacktrace.cs
- ShapingEngine.cs
- XmlDataSource.cs
- SqlDependencyUtils.cs
- JsonObjectDataContract.cs
- ElementNotEnabledException.cs
- ApplicationInfo.cs
- PtsCache.cs
- DetailsViewInsertEventArgs.cs
- TextOnlyOutput.cs
- PropertyPathWorker.cs
- ParserContext.cs
- ProjectedSlot.cs
- DefaultValueAttribute.cs
- RightsManagementInformation.cs
- Int16AnimationBase.cs
- ProxyGenerationError.cs
- configsystem.cs
- TlsSspiNegotiation.cs
- TransformGroup.cs
- SoapWriter.cs
- ExtensionFile.cs
- RecordBuilder.cs
- AsyncPostBackTrigger.cs
- IPEndPointCollection.cs
- EditorPart.cs
- XpsSerializerWriter.cs
- Form.cs
- DataControlReferenceCollection.cs
- DataObject.cs
- CompiledRegexRunnerFactory.cs
- DayRenderEvent.cs
- ReadOnlyCollectionBase.cs
- HandlerWithFactory.cs
- BinaryWriter.cs
- XPathDocumentIterator.cs
- HttpCachePolicyElement.cs
- ValidationResult.cs
- SingleAnimationBase.cs
- IISUnsafeMethods.cs
- StoreAnnotationsMap.cs
- RoutingService.cs
- TrackingStringDictionary.cs
- WebServiceData.cs
- CodeBlockBuilder.cs
- AstTree.cs
- Array.cs
- SqlCommand.cs
- HelpExampleGenerator.cs
- TraceRecord.cs
- Thickness.cs
- FlowNode.cs
- DockPanel.cs
- EpmTargetTree.cs
- WindowsGraphics.cs
- Matrix3DValueSerializer.cs
- SystemWebSectionGroup.cs
- TextViewBase.cs
- SelectionListDesigner.cs
- SecurityUniqueId.cs
- AsyncResult.cs
- StringFormat.cs
- MetadataUtilsSmi.cs
- WsatTransactionInfo.cs
- PeerTransportSecurityElement.cs
- MethodImplAttribute.cs
- sqlstateclientmanager.cs
- MatrixCamera.cs
- Vars.cs
- GACMembershipCondition.cs
- IsolatedStorageException.cs
- SpellerStatusTable.cs
- DesignSurfaceEvent.cs
- TriggerActionCollection.cs
- HttpRuntime.cs
- PointCollectionConverter.cs
- ResourcesChangeInfo.cs
- SignerInfo.cs
- EnvironmentPermission.cs
- ApplicationServicesHostFactory.cs
- X509Utils.cs