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
- DataControlReference.cs
- CustomWebEventKey.cs
- QilGeneratorEnv.cs
- SrgsSubset.cs
- SafeRegistryHandle.cs
- ProvidersHelper.cs
- XmlSchemaInclude.cs
- WebProxyScriptElement.cs
- SymLanguageVendor.cs
- BindingRestrictions.cs
- RSAPKCS1SignatureFormatter.cs
- InternalPolicyElement.cs
- _SslState.cs
- AnnotationResource.cs
- ConfigWriter.cs
- ExceptionUtil.cs
- CommandHelper.cs
- MultipartIdentifier.cs
- Keyboard.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- ListControl.cs
- HtmlTableRow.cs
- ResourceKey.cs
- PromptStyle.cs
- SrgsDocument.cs
- XmlChildNodes.cs
- ApplyTemplatesAction.cs
- HScrollBar.cs
- CollectionViewSource.cs
- HotCommands.cs
- FixedPage.cs
- ConditionalBranch.cs
- IconHelper.cs
- GeometryGroup.cs
- BufferAllocator.cs
- ZoomPercentageConverter.cs
- DocumentGridContextMenu.cs
- LicenseManager.cs
- Invariant.cs
- SmiXetterAccessMap.cs
- GPPOINT.cs
- ScrollItemPatternIdentifiers.cs
- FunctionParameter.cs
- ReliableMessagingVersion.cs
- SqlComparer.cs
- ListViewSortEventArgs.cs
- CodeDirectionExpression.cs
- WsatConfiguration.cs
- SystemIcmpV6Statistics.cs
- RoutingUtilities.cs
- PersonalizationProviderHelper.cs
- ComponentResourceManager.cs
- ObjectStateManagerMetadata.cs
- MultiByteCodec.cs
- AsnEncodedData.cs
- RectangleHotSpot.cs
- Span.cs
- ResourceSet.cs
- JsonFormatWriterGenerator.cs
- ErrorsHelper.cs
- CallContext.cs
- Control.cs
- ParameterCollection.cs
- XdrBuilder.cs
- SeverityFilter.cs
- FileFormatException.cs
- TableLayoutSettings.cs
- WarningException.cs
- CqlParserHelpers.cs
- InputBindingCollection.cs
- TypeListConverter.cs
- TearOffProxy.cs
- Stroke2.cs
- CurrentChangingEventArgs.cs
- columnmapfactory.cs
- CodeTypeReferenceCollection.cs
- ApplicationDirectoryMembershipCondition.cs
- CommandBindingCollection.cs
- ExpandCollapseProviderWrapper.cs
- CompiledAction.cs
- EntityDesignPluralizationHandler.cs
- AmbientLight.cs
- PlainXmlSerializer.cs
- QueueProcessor.cs
- HtmlPageAdapter.cs
- ColumnWidthChangedEvent.cs
- DispatcherSynchronizationContext.cs
- TcpConnectionPoolSettings.cs
- SimpleParser.cs
- serverconfig.cs
- SafePEFileHandle.cs
- UrlPropertyAttribute.cs
- GuidConverter.cs
- XPathNodeHelper.cs
- TcpConnectionPoolSettings.cs
- CodePageEncoding.cs
- CompilerInfo.cs
- HybridDictionary.cs
- AtlasWeb.Designer.cs
- EmptyCollection.cs