Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeDelegateCreateExpression.cs / 1305376 / CodeDelegateCreateExpression.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 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. /// ///// // //----------------------------------------------------------------------------- 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 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
- HelloMessageApril2005.cs
- ServiceNotStartedException.cs
- ScrollChrome.cs
- ThreadAbortException.cs
- ExpressionBuilder.cs
- DataViewListener.cs
- ToolStripStatusLabel.cs
- MethodCallTranslator.cs
- ZipArchive.cs
- TypeGeneratedEventArgs.cs
- FontDifferentiator.cs
- NoClickablePointException.cs
- PrintEvent.cs
- CultureInfo.cs
- BinaryReader.cs
- BindStream.cs
- SingleKeyFrameCollection.cs
- RbTree.cs
- webclient.cs
- ContentFileHelper.cs
- ListViewItem.cs
- NetSectionGroup.cs
- CanonicalXml.cs
- PcmConverter.cs
- NodeLabelEditEvent.cs
- DBConnectionString.cs
- SiteMapNodeItemEventArgs.cs
- FragmentNavigationEventArgs.cs
- AssemblyAttributesGoHere.cs
- GeneralTransform3DGroup.cs
- WebReferenceOptions.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- AuthenticateEventArgs.cs
- RemotingConfiguration.cs
- CipherData.cs
- CellParaClient.cs
- ObfuscationAttribute.cs
- CredentialManagerDialog.cs
- MediaElement.cs
- InfoCardClaimCollection.cs
- Int32RectValueSerializer.cs
- FileNotFoundException.cs
- PauseStoryboard.cs
- CompoundFileReference.cs
- XhtmlBasicPanelAdapter.cs
- FrameworkContentElement.cs
- DataKey.cs
- oledbmetadatacolumnnames.cs
- ApplicationTrust.cs
- PropertyMapper.cs
- TransformerConfigurationWizardBase.cs
- SqlCharStream.cs
- HorizontalAlignConverter.cs
- WebResponse.cs
- DirectoryInfo.cs
- MailHeaderInfo.cs
- LoadedOrUnloadedOperation.cs
- Binding.cs
- DataGridColumn.cs
- OdbcConnectionHandle.cs
- XmlDocumentSerializer.cs
- RegistryPermission.cs
- documentsequencetextview.cs
- SmtpMail.cs
- TableProviderWrapper.cs
- EntityCommandCompilationException.cs
- FileRecordSequenceCompletedAsyncResult.cs
- FileDialogCustomPlacesCollection.cs
- QueryContinueDragEventArgs.cs
- OneWayElement.cs
- ClonableStack.cs
- HybridDictionary.cs
- DNS.cs
- DesignerAdapterUtil.cs
- XPathBuilder.cs
- unsafenativemethodsother.cs
- SerialReceived.cs
- UnmanagedBitmapWrapper.cs
- SecurityDescriptor.cs
- SelectionRangeConverter.cs
- StatusBarPanelClickEvent.cs
- RankException.cs
- XmlnsCache.cs
- ZipIOModeEnforcingStream.cs
- ButtonPopupAdapter.cs
- ProxyWebPartManager.cs
- Root.cs
- CapabilitiesUse.cs
- ConfigurationLockCollection.cs
- PropagatorResult.cs
- CallbackTimeoutsElement.cs
- ModulesEntry.cs
- Int32Collection.cs
- CacheMemory.cs
- HuffmanTree.cs
- SecurityToken.cs
- Window.cs
- XmlSchemaAnnotated.cs
- Panel.cs
- FormatConvertedBitmap.cs