Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or sets the method name. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PermissionRequestEvidence.cs
- AsyncCompletedEventArgs.cs
- UriTemplateMatch.cs
- BitSet.cs
- SplineKeyFrames.cs
- ActivityWithResultValueSerializer.cs
- Tablet.cs
- HtmlMobileTextWriter.cs
- MsmqProcessProtocolHandler.cs
- PropertyItem.cs
- ListViewGroupItemCollection.cs
- HMACMD5.cs
- FontUnitConverter.cs
- AssemblyAttributesGoHere.cs
- WebSysDisplayNameAttribute.cs
- Context.cs
- TrustManager.cs
- TableRowCollection.cs
- VirtualizingStackPanel.cs
- HttpListenerRequest.cs
- PersonalizableAttribute.cs
- MimeTypeAttribute.cs
- FontDialog.cs
- XmlProcessingInstruction.cs
- XslUrlEditor.cs
- PartialList.cs
- ScrollBarAutomationPeer.cs
- EtwTrace.cs
- CompiledIdentityConstraint.cs
- ToolStripMenuItemCodeDomSerializer.cs
- PersonalizationProviderHelper.cs
- DesignTimeParseData.cs
- Decoder.cs
- XmlWhitespace.cs
- Vector3DValueSerializer.cs
- CodeCatchClause.cs
- ToolStripPanelDesigner.cs
- UseAttributeSetsAction.cs
- TraceSwitch.cs
- ColorDialog.cs
- OneOfTypeConst.cs
- PackagingUtilities.cs
- FontDifferentiator.cs
- StrongNameIdentityPermission.cs
- ActivityMetadata.cs
- Serializer.cs
- XmlSerializationGeneratedCode.cs
- BaseValidator.cs
- ExpressionQuoter.cs
- IteratorDescriptor.cs
- processwaithandle.cs
- ListControl.cs
- Misc.cs
- DataChangedEventManager.cs
- DbSetClause.cs
- StateElementCollection.cs
- ClientApiGenerator.cs
- AmbiguousMatchException.cs
- MarkupCompilePass2.cs
- WebPartAddingEventArgs.cs
- Vector3DCollectionConverter.cs
- CodeAttributeDeclaration.cs
- UIElement.cs
- XmlCDATASection.cs
- XmlAttributeCollection.cs
- TypeBuilderInstantiation.cs
- EncryptedData.cs
- dbdatarecord.cs
- RemotingConfiguration.cs
- MDIClient.cs
- TextRenderer.cs
- BidPrivateBase.cs
- SoapMessage.cs
- SID.cs
- WebPartConnectionsConfigureVerb.cs
- UIElement3DAutomationPeer.cs
- ColorTransformHelper.cs
- SystemNetHelpers.cs
- MSHTMLHostUtil.cs
- InternalBase.cs
- FlowDocumentView.cs
- DocobjHost.cs
- AutoResetEvent.cs
- DesignerOptionService.cs
- SimpleRecyclingCache.cs
- ComboBoxAutomationPeer.cs
- SystemWebCachingSectionGroup.cs
- ResourceDisplayNameAttribute.cs
- WindowPatternIdentifiers.cs
- odbcmetadatacolumnnames.cs
- CatalogZoneAutoFormat.cs
- EpmSyndicationContentSerializer.cs
- TypeToken.cs
- IPPacketInformation.cs
- StringExpressionSet.cs
- AppDomain.cs
- FileAuthorizationModule.cs
- GeneralTransformCollection.cs
- ApplicationContext.cs
- UrlMappingsSection.cs