Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeDelegateCreateExpression.cs / 1 / CodeDelegateCreateExpression.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 CodeDelegateCreateExpression : CodeExpression { private CodeTypeReference delegateType; private CodeExpression targetObject; private string methodName; ////// Represents a delegate creation expression. /// ////// public CodeDelegateCreateExpression() { } ////// Initializes a new instance of ///. /// /// public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { this.delegateType = delegateType; this.targetObject = targetObject; this.methodName = methodName; } ////// Initializes a new instance of ///. /// /// public CodeTypeReference DelegateType { get { if (delegateType == null) { delegateType = new CodeTypeReference(""); } return delegateType; } set { delegateType = value; } } ////// Gets or sets the delegate type. /// ////// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets the target object. /// ////// public string MethodName { get { return (methodName == null) ? string.Empty : methodName; } set { methodName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the method name. /// ///// 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 CodeDelegateCreateExpression : CodeExpression { private CodeTypeReference delegateType; private CodeExpression targetObject; private string methodName; ////// Represents a delegate creation expression. /// ////// public CodeDelegateCreateExpression() { } ////// Initializes a new instance of ///. /// /// public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { this.delegateType = delegateType; this.targetObject = targetObject; this.methodName = methodName; } ////// Initializes a new instance of ///. /// /// public CodeTypeReference DelegateType { get { if (delegateType == null) { delegateType = new CodeTypeReference(""); } return delegateType; } set { delegateType = value; } } ////// Gets or sets the delegate type. /// ////// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets the target object. /// ////// public string MethodName { get { return (methodName == null) ? string.Empty : methodName; } set { methodName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the method name. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeIdentifiers.cs
- ComponentResourceKey.cs
- Rect3DValueSerializer.cs
- DiscoveryMessageSequenceCD1.cs
- PartitionedDataSource.cs
- XNodeValidator.cs
- ProxyManager.cs
- ColumnClickEvent.cs
- DataReceivedEventArgs.cs
- CharacterBufferReference.cs
- OLEDB_Enum.cs
- ConnectionManager.cs
- TextEditorDragDrop.cs
- BitmapEffectInput.cs
- UTF8Encoding.cs
- SoapMessage.cs
- ActivationServices.cs
- ToggleButtonAutomationPeer.cs
- DependencyObjectType.cs
- NativeMethods.cs
- DomainUpDown.cs
- Script.cs
- ValidationError.cs
- SequenceNumber.cs
- CommandManager.cs
- TableRowCollection.cs
- PeerMaintainer.cs
- UnsafeNativeMethods.cs
- DataRowComparer.cs
- NonParentingControl.cs
- Viewport2DVisual3D.cs
- DynamicMethod.cs
- ThreadStaticAttribute.cs
- BulletedListDesigner.cs
- RenderDataDrawingContext.cs
- SingleStorage.cs
- SystemTcpStatistics.cs
- ExtractedStateEntry.cs
- UpdateManifestForBrowserApplication.cs
- DocobjHost.cs
- DependencyObjectPropertyDescriptor.cs
- EventMap.cs
- HandleScope.cs
- XmlSchemaValidationException.cs
- ElementUtil.cs
- EventLogEntry.cs
- DllNotFoundException.cs
- Paragraph.cs
- FlowDocumentReaderAutomationPeer.cs
- GeometryConverter.cs
- XhtmlTextWriter.cs
- SystemTcpStatistics.cs
- EncodingNLS.cs
- TrackingWorkflowEventArgs.cs
- BlockCollection.cs
- MenuItem.cs
- OleDbCommand.cs
- UInt16Storage.cs
- SQLMembershipProvider.cs
- FaultPropagationRecord.cs
- EventLogPermissionAttribute.cs
- SmiContextFactory.cs
- ListControl.cs
- PointConverter.cs
- EvidenceBase.cs
- WebPartConnectionsEventArgs.cs
- EntityDataSourceChangedEventArgs.cs
- TdsEnums.cs
- RemoteDebugger.cs
- RadialGradientBrush.cs
- InfoCardMetadataExchangeClient.cs
- ProfessionalColorTable.cs
- PriorityRange.cs
- HandlerWithFactory.cs
- ActiveXSite.cs
- XmlAttributeCollection.cs
- StringUtil.cs
- cookieexception.cs
- ConfigsHelper.cs
- SettingsSavedEventArgs.cs
- ToolStripOverflowButton.cs
- HyperLinkStyle.cs
- SafeArrayRankMismatchException.cs
- XmlNodeList.cs
- ComplexBindingPropertiesAttribute.cs
- RoutedEventConverter.cs
- SQLCharsStorage.cs
- Timeline.cs
- RegexCompilationInfo.cs
- Win32SafeHandles.cs
- HtmlHead.cs
- TableItemStyle.cs
- EventDrivenDesigner.cs
- XmlCodeExporter.cs
- StackSpiller.Bindings.cs
- RemotingException.cs
- HttpModuleAction.cs
- XmlSchema.cs
- DynamicMethod.cs
- File.cs