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 / 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
- VectorValueSerializer.cs
- PeerCustomResolverSettings.cs
- RtfToken.cs
- SQLMembershipProvider.cs
- StorageMappingItemLoader.cs
- String.cs
- TrailingSpaceComparer.cs
- ProxyManager.cs
- GenerateDerivedKeyRequest.cs
- CodeSnippetExpression.cs
- SerialErrors.cs
- NativeMethods.cs
- COM2FontConverter.cs
- OdbcDataReader.cs
- Buffer.cs
- DoubleIndependentAnimationStorage.cs
- MessageBox.cs
- ScriptingWebServicesSectionGroup.cs
- DataGridLengthConverter.cs
- Variable.cs
- X500Name.cs
- CodeVariableReferenceExpression.cs
- DbConnectionClosed.cs
- ListViewSortEventArgs.cs
- Mutex.cs
- SqlStream.cs
- HttpHandlersInstallComponent.cs
- BaseComponentEditor.cs
- TemplateControlParser.cs
- StylusButtonCollection.cs
- ActiveDesignSurfaceEvent.cs
- XMLSyntaxException.cs
- SqlNotificationRequest.cs
- WindowsFont.cs
- Debug.cs
- TreeView.cs
- XsltCompileContext.cs
- DataServices.cs
- UnitySerializationHolder.cs
- FileReader.cs
- Compiler.cs
- AutoGeneratedField.cs
- MessageHeaderT.cs
- XmlDomTextWriter.cs
- RequestUriProcessor.cs
- DbXmlEnabledProviderManifest.cs
- GuidTagList.cs
- CardSpaceSelector.cs
- DecimalConverter.cs
- SafeCertificateContext.cs
- RegisteredArrayDeclaration.cs
- SID.cs
- Attribute.cs
- SqlConnectionPoolGroupProviderInfo.cs
- BitmapEncoder.cs
- SapiRecoContext.cs
- Html32TextWriter.cs
- IconEditor.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- SystemTcpConnection.cs
- DocumentGridContextMenu.cs
- OperationCanceledException.cs
- PersonalizationEntry.cs
- ResourceDescriptionAttribute.cs
- VersionPair.cs
- MessageContractAttribute.cs
- _ChunkParse.cs
- ZipFileInfo.cs
- StringCollection.cs
- UnsafeNativeMethods.cs
- FileDataSourceCache.cs
- DomNameTable.cs
- serverconfig.cs
- BufferedStream2.cs
- WebPartConnectionCollection.cs
- GridEntryCollection.cs
- PageParserFilter.cs
- MetadataException.cs
- SamlDoNotCacheCondition.cs
- MessageBox.cs
- RankException.cs
- precedingquery.cs
- FileChangesMonitor.cs
- RelatedPropertyManager.cs
- EndpointInfo.cs
- Stack.cs
- DSASignatureDeformatter.cs
- PageParser.cs
- PtsHelper.cs
- CorrelationManager.cs
- DebugManager.cs
- UIElement.cs
- HierarchicalDataSourceIDConverter.cs
- LoadMessageLogger.cs
- IndexedString.cs
- PackageStore.cs
- login.cs
- CompositeCollection.cs
- FileAuthorizationModule.cs
- UnaryOperationBinder.cs