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
- MetabaseSettingsIis7.cs
- TextShapeableCharacters.cs
- RectangleHotSpot.cs
- ControlBuilder.cs
- AppLevelCompilationSectionCache.cs
- AsymmetricKeyExchangeDeformatter.cs
- DataMember.cs
- ConditionedDesigner.cs
- EmbeddedMailObject.cs
- ReaderContextStackData.cs
- SHA1CryptoServiceProvider.cs
- ActivationArguments.cs
- CodeNamespaceCollection.cs
- WebReferenceOptions.cs
- ToolStripDropTargetManager.cs
- FullTrustAssembly.cs
- CounterSample.cs
- DataBindEngine.cs
- ProcessModule.cs
- SkinIDTypeConverter.cs
- ProcessHost.cs
- DataGridAddNewRow.cs
- MetaModel.cs
- AdCreatedEventArgs.cs
- ConvertersCollection.cs
- PrintPreviewDialog.cs
- TableItemProviderWrapper.cs
- OdbcParameter.cs
- PropertyInformationCollection.cs
- GenericTypeParameterBuilder.cs
- XmlSchemaInclude.cs
- OdbcDataReader.cs
- OperationDescriptionCollection.cs
- EntityFunctions.cs
- KeyedCollection.cs
- DetailsViewModeEventArgs.cs
- ProfileServiceManager.cs
- safex509handles.cs
- QueryRewriter.cs
- DataObject.cs
- FormatException.cs
- HttpListenerResponse.cs
- basecomparevalidator.cs
- RootContext.cs
- ContentOperations.cs
- WebPartUtil.cs
- ExecutedRoutedEventArgs.cs
- ActionNotSupportedException.cs
- UserControlParser.cs
- ListViewEditEventArgs.cs
- DoubleAnimationClockResource.cs
- ScrollBarAutomationPeer.cs
- ProfileInfo.cs
- Condition.cs
- TransformValueSerializer.cs
- TypeUsageBuilder.cs
- RealProxy.cs
- ProviderSettingsCollection.cs
- LayoutEngine.cs
- PrivacyNoticeBindingElement.cs
- SvcMapFileLoader.cs
- newinstructionaction.cs
- LeftCellWrapper.cs
- SortedList.cs
- Viewport3DAutomationPeer.cs
- XmlWrappingReader.cs
- MsdtcWrapper.cs
- ToolBar.cs
- IndexingContentUnit.cs
- XhtmlBasicTextBoxAdapter.cs
- DocumentStream.cs
- DataKeyCollection.cs
- OdbcReferenceCollection.cs
- PointConverter.cs
- InvariantComparer.cs
- CqlLexerHelpers.cs
- XPathNodeHelper.cs
- InternalMappingException.cs
- BooleanProjectedSlot.cs
- Style.cs
- SqlCommandBuilder.cs
- WebControl.cs
- Size.cs
- CaseExpr.cs
- HtmlControlAdapter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XmlDataLoader.cs
- NullReferenceException.cs
- ContentPlaceHolder.cs
- SettingsProviderCollection.cs
- SharedDp.cs
- HMACSHA384.cs
- CatalogZoneAutoFormat.cs
- TextEditorTables.cs
- CookieProtection.cs
- HttpWebResponse.cs
- ComPersistableTypeElement.cs
- DriveInfo.cs
- WorkflowEnvironment.cs
- Run.cs