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
- XmlQueryCardinality.cs
- MimeTypePropertyAttribute.cs
- IDQuery.cs
- ByteStorage.cs
- SafeThreadHandle.cs
- ToolStripDropDownDesigner.cs
- MenuItem.cs
- TagPrefixCollection.cs
- SafeThemeHandle.cs
- NamespaceList.cs
- EventItfInfo.cs
- ITextView.cs
- DbConnectionPoolGroup.cs
- NetworkCredential.cs
- AutomationPropertyInfo.cs
- HostAdapter.cs
- XmlElementList.cs
- InputScope.cs
- DelegatingTypeDescriptionProvider.cs
- DependencyPropertyDescriptor.cs
- BitmapFrameDecode.cs
- TabControlCancelEvent.cs
- DataColumnCollection.cs
- CheckPair.cs
- CngAlgorithmGroup.cs
- DbProviderManifest.cs
- BitmapFrameEncode.cs
- ResourceDisplayNameAttribute.cs
- XmlAnyAttributeAttribute.cs
- Listbox.cs
- BindingUtils.cs
- GlobalItem.cs
- ActivityBindForm.Designer.cs
- StreamWriter.cs
- NetworkInformationPermission.cs
- TrackingStringDictionary.cs
- PropertyMetadata.cs
- DrawingGroup.cs
- Hash.cs
- SQLDoubleStorage.cs
- ReadWriteSpinLock.cs
- Matrix3DStack.cs
- Int16AnimationBase.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ImageFormat.cs
- Accessors.cs
- DataGridCommandEventArgs.cs
- DesignerTextBoxAdapter.cs
- _NestedMultipleAsyncResult.cs
- CodeExporter.cs
- XPathDescendantIterator.cs
- ICspAsymmetricAlgorithm.cs
- ProjectionPlanCompiler.cs
- CheckedPointers.cs
- PackagingUtilities.cs
- ChameleonKey.cs
- ExternalCalls.cs
- ListViewHitTestInfo.cs
- RegisteredDisposeScript.cs
- BindingNavigator.cs
- autovalidator.cs
- DataPager.cs
- WindowPattern.cs
- ContentElementCollection.cs
- Win32Native.cs
- ImageDesigner.cs
- HoistedLocals.cs
- _NegoStream.cs
- Base64Encoder.cs
- CookieHandler.cs
- PrintPreviewControl.cs
- Timeline.cs
- PasswordPropertyTextAttribute.cs
- Decorator.cs
- NullExtension.cs
- TraceHandlerErrorFormatter.cs
- DataColumnCollection.cs
- Message.cs
- ConsoleTraceListener.cs
- LostFocusEventManager.cs
- ScrollProviderWrapper.cs
- Calendar.cs
- ToolStripContentPanel.cs
- Misc.cs
- CodeIdentifier.cs
- hresults.cs
- DataKeyCollection.cs
- UnhandledExceptionEventArgs.cs
- VersionedStreamOwner.cs
- SchemaNamespaceManager.cs
- AdvancedBindingEditor.cs
- AttributeTableBuilder.cs
- StaticSiteMapProvider.cs
- DiscriminatorMap.cs
- SqlDependencyListener.cs
- _LocalDataStore.cs
- RawStylusInputCustomDataList.cs
- HttpFileCollection.cs
- UpDownBaseDesigner.cs
- DeviceContext2.cs