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
- StrokeFIndices.cs
- XmlSerializer.cs
- webproxy.cs
- Single.cs
- OleDbCommand.cs
- SqlNodeTypeOperators.cs
- RegisteredArrayDeclaration.cs
- SqlAliasesReferenced.cs
- CancellationState.cs
- panel.cs
- XmlChildNodes.cs
- ServiceNameElementCollection.cs
- EventHandlingScope.cs
- TextFormatter.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- IImplicitResourceProvider.cs
- CombinedGeometry.cs
- WSHttpBinding.cs
- TextSearch.cs
- DataBoundControl.cs
- ConfigurationStrings.cs
- PackageDigitalSignatureManager.cs
- MimeTypeAttribute.cs
- ToolBar.cs
- WindowsAuthenticationModule.cs
- DictionarySectionHandler.cs
- ExtentCqlBlock.cs
- Oid.cs
- ValidationResult.cs
- CodeArrayCreateExpression.cs
- SendKeys.cs
- DigestTraceRecordHelper.cs
- DbProviderManifest.cs
- CornerRadiusConverter.cs
- OutOfMemoryException.cs
- AsymmetricKeyExchangeDeformatter.cs
- ProtectedConfiguration.cs
- EncoderFallback.cs
- VariableAction.cs
- OleAutBinder.cs
- DigitShape.cs
- TextOutput.cs
- VScrollProperties.cs
- BooleanFacetDescriptionElement.cs
- XNodeSchemaApplier.cs
- WebPartAddingEventArgs.cs
- JumpItem.cs
- CmsInterop.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- StreamAsIStream.cs
- MediaSystem.cs
- MessageDescriptionCollection.cs
- XsltCompileContext.cs
- CapabilitiesAssignment.cs
- TagMapInfo.cs
- SamlSecurityToken.cs
- ListenerAdaptersInstallComponent.cs
- WebPartConnectionCollection.cs
- ConfigurationSchemaErrors.cs
- DesignerActionItemCollection.cs
- WebProxyScriptElement.cs
- IssuedTokenServiceCredential.cs
- SettingsAttributes.cs
- SeekStoryboard.cs
- BinarySerializer.cs
- PrivateFontCollection.cs
- MsmqMessageSerializationFormat.cs
- ArrangedElementCollection.cs
- ListControlBoundActionList.cs
- EventBuilder.cs
- DoubleLinkList.cs
- StartUpEventArgs.cs
- DbConnectionPoolCounters.cs
- BuildDependencySet.cs
- MissingManifestResourceException.cs
- SqlWebEventProvider.cs
- BufferedReceiveManager.cs
- SharedMemory.cs
- QilValidationVisitor.cs
- EndpointNotFoundException.cs
- TreeViewBindingsEditor.cs
- EncoderParameters.cs
- ChannelFactory.cs
- AuditLogLocation.cs
- _AutoWebProxyScriptHelper.cs
- InternalConfigConfigurationFactory.cs
- LogSwitch.cs
- DropShadowBitmapEffect.cs
- DesignerSelectionListAdapter.cs
- Tuple.cs
- DatatypeImplementation.cs
- ToolStripItemImageRenderEventArgs.cs
- RuntimeConfigLKG.cs
- ChannelManager.cs
- DataViewListener.cs
- XmlHierarchicalDataSourceView.cs
- BasicHttpSecurityElement.cs
- MembershipValidatePasswordEventArgs.cs
- AmbiguousMatchException.cs
- SqlReorderer.cs