Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RangeValuePattern.cs
- OleDbMetaDataFactory.cs
- RoleGroup.cs
- ExpressionBindings.cs
- DaylightTime.cs
- SimpleHandlerFactory.cs
- HopperCache.cs
- SQLGuidStorage.cs
- OverflowException.cs
- PageEventArgs.cs
- SynchronizedDispatch.cs
- XmlCharType.cs
- ConfigXmlAttribute.cs
- ExceptQueryOperator.cs
- TextEditorParagraphs.cs
- FilterableAttribute.cs
- DisplayNameAttribute.cs
- DataException.cs
- HttpResponseInternalWrapper.cs
- SourceElementsCollection.cs
- XPathDocumentBuilder.cs
- StringUtil.cs
- Permission.cs
- SymLanguageVendor.cs
- DataControlButton.cs
- CollectionChange.cs
- figurelength.cs
- XmlObjectSerializerReadContextComplex.cs
- XslCompiledTransform.cs
- GiveFeedbackEventArgs.cs
- MultipleViewPattern.cs
- BaseValidator.cs
- ApplicationSettingsBase.cs
- PermissionSetTriple.cs
- ObjectNotFoundException.cs
- SqlDataSourceSelectingEventArgs.cs
- ProvideValueServiceProvider.cs
- CommandBindingCollection.cs
- BuildProviderAppliesToAttribute.cs
- CategoryState.cs
- AsymmetricSignatureFormatter.cs
- CodeNamespace.cs
- OdbcParameter.cs
- DataMember.cs
- InkCollectionBehavior.cs
- TagPrefixAttribute.cs
- SqlBuilder.cs
- BufferedWebEventProvider.cs
- ValidationException.cs
- SqlCommandSet.cs
- HttpCacheVary.cs
- ContainerActivationHelper.cs
- MatrixIndependentAnimationStorage.cs
- ScrollData.cs
- DisplayToken.cs
- InputScopeAttribute.cs
- ACE.cs
- PropertyDescriptor.cs
- Privilege.cs
- DoubleAnimationClockResource.cs
- UnauthorizedWebPart.cs
- TlsSspiNegotiation.cs
- Span.cs
- MultilineStringConverter.cs
- HttpHandlersSection.cs
- SafeFileMappingHandle.cs
- CollectionBase.cs
- TextEditor.cs
- TableLayoutStyle.cs
- SynchronizingStream.cs
- NamespaceList.cs
- TrackingAnnotationCollection.cs
- HuffModule.cs
- WmlLiteralTextAdapter.cs
- JumpList.cs
- BrowserCapabilitiesFactory.cs
- RangeValuePattern.cs
- NativeMethods.cs
- ProxyWebPartConnectionCollection.cs
- WebHttpDispatchOperationSelector.cs
- PropertyInformation.cs
- FormsAuthenticationTicket.cs
- DisplayInformation.cs
- APCustomTypeDescriptor.cs
- PropertyReference.cs
- _HeaderInfoTable.cs
- EntityDataSourceChangingEventArgs.cs
- StrokeCollectionDefaultValueFactory.cs
- PlatformNotSupportedException.cs
- TreeViewCancelEvent.cs
- IntellisenseTextBox.designer.cs
- ImpersonationContext.cs
- CryptographicAttribute.cs
- IgnorePropertiesAttribute.cs
- SQLString.cs
- BreakRecordTable.cs
- AnimationLayer.cs
- CollectionViewSource.cs
- LinkLabel.cs
- DataListDesigner.cs