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
- UriSectionData.cs
- HttpStreamMessage.cs
- XPathNavigatorReader.cs
- DataGridViewCell.cs
- SimpleRecyclingCache.cs
- NullableDoubleSumAggregationOperator.cs
- SystemResourceKey.cs
- CustomValidator.cs
- MatrixTransform.cs
- Int64AnimationUsingKeyFrames.cs
- TextBoxDesigner.cs
- TableCell.cs
- ThicknessKeyFrameCollection.cs
- EtwTrace.cs
- ProvidersHelper.cs
- versioninfo.cs
- MediaCommands.cs
- ExpressionParser.cs
- Propagator.Evaluator.cs
- CacheOutputQuery.cs
- Win32PrintDialog.cs
- DrawingImage.cs
- JoinTreeSlot.cs
- EntitySetBaseCollection.cs
- ClientSideProviderDescription.cs
- TextWriter.cs
- coordinatorfactory.cs
- InputBinder.cs
- FragmentQueryKB.cs
- AutomationPeer.cs
- DesignerHelpers.cs
- RequestStatusBarUpdateEventArgs.cs
- OdbcConnectionStringbuilder.cs
- NetworkCredential.cs
- BoundColumn.cs
- SafeFileMappingHandle.cs
- IFlowDocumentViewer.cs
- SqlTypeConverter.cs
- DataGridViewComboBoxColumn.cs
- DoubleSumAggregationOperator.cs
- ProfileBuildProvider.cs
- _RequestCacheProtocol.cs
- StringCollection.cs
- XsltSettings.cs
- BodyGlyph.cs
- XmlIgnoreAttribute.cs
- DataGridViewRowConverter.cs
- CommandLineParser.cs
- WebServiceErrorEvent.cs
- FieldTemplateFactory.cs
- XmlNamespaceMappingCollection.cs
- RangeBaseAutomationPeer.cs
- RuntimeConfigLKG.cs
- CommentAction.cs
- ProtocolElementCollection.cs
- ILGenerator.cs
- StyleBamlTreeBuilder.cs
- XmlEventCache.cs
- WebPartConnectionsEventArgs.cs
- RuleProcessor.cs
- followingquery.cs
- IdentityNotMappedException.cs
- DefaultParameterValueAttribute.cs
- CancelEventArgs.cs
- AuthenticationModuleElement.cs
- AppearanceEditorPart.cs
- KerberosSecurityTokenAuthenticator.cs
- EtwTrackingBehaviorElement.cs
- JsonObjectDataContract.cs
- QueueSurrogate.cs
- DashStyles.cs
- SmiMetaData.cs
- SqlRetyper.cs
- DataGridBoundColumn.cs
- DBParameter.cs
- RedBlackList.cs
- SingleConverter.cs
- DataGridDetailsPresenter.cs
- ZipIOExtraFieldElement.cs
- TableLayoutCellPaintEventArgs.cs
- AppDomainAttributes.cs
- HostingEnvironmentWrapper.cs
- WebPartConnectionsDisconnectVerb.cs
- Filter.cs
- validationstate.cs
- ContextBase.cs
- NavigatingCancelEventArgs.cs
- RadioButtonRenderer.cs
- AndCondition.cs
- SqlBuilder.cs
- EventRecord.cs
- WebConfigurationHost.cs
- ViewBox.cs
- Exceptions.cs
- FontUnit.cs
- ComponentDispatcherThread.cs
- XamlReaderConstants.cs
- WebSysDefaultValueAttribute.cs
- SecurityUtils.cs
- CategoryValueConverter.cs