Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ExpressionNode.cs
- MessageQueueAccessControlEntry.cs
- HtmlFormWrapper.cs
- StubHelpers.cs
- XmlWhitespace.cs
- Events.cs
- BasicHttpMessageSecurityElement.cs
- DataGridTable.cs
- XamlSerializer.cs
- SqlTriggerAttribute.cs
- RuntimeHelpers.cs
- RegisteredExpandoAttribute.cs
- MiniMapControl.xaml.cs
- RbTree.cs
- NetStream.cs
- DirectoryGroupQuery.cs
- XmlDocumentViewSchema.cs
- WebEventTraceProvider.cs
- hwndwrapper.cs
- CodeCastExpression.cs
- TemplateEditingService.cs
- NavigationProgressEventArgs.cs
- WebPartMenu.cs
- SchemaComplexType.cs
- LicenseContext.cs
- Canvas.cs
- WebResponse.cs
- RoleService.cs
- DiagnosticTrace.cs
- WebConfigurationFileMap.cs
- PrimitiveType.cs
- XamlStream.cs
- ExecutionContext.cs
- XmlSchemaSimpleContent.cs
- FontWeight.cs
- Win32SafeHandles.cs
- MailAddressCollection.cs
- DataGridViewBand.cs
- SerialStream.cs
- SetterBaseCollection.cs
- HasActivatableWorkflowEvent.cs
- ClientSponsor.cs
- VScrollBar.cs
- MailAddress.cs
- EnumerableCollectionView.cs
- Graphics.cs
- ListViewDeleteEventArgs.cs
- XmlCodeExporter.cs
- HighContrastHelper.cs
- ChannelServices.cs
- User.cs
- XmlEncodedRawTextWriter.cs
- LicenseManager.cs
- CursorConverter.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- PropertyGeneratedEventArgs.cs
- PageCache.cs
- BufferedGraphicsContext.cs
- RootBuilder.cs
- HMACSHA384.cs
- EntityException.cs
- TextEditorLists.cs
- RightsManagementUser.cs
- SingleAnimationUsingKeyFrames.cs
- PageParser.cs
- NativeCppClassAttribute.cs
- VirtualPathUtility.cs
- AnimationClock.cs
- ListCollectionView.cs
- ListViewPagedDataSource.cs
- XPathDocumentIterator.cs
- TransformerInfoCollection.cs
- CacheEntry.cs
- UriTemplateTrieNode.cs
- FormsAuthentication.cs
- Internal.cs
- RuntimeResourceSet.cs
- IISMapPath.cs
- NamespaceEmitter.cs
- FormViewPagerRow.cs
- DrawingServices.cs
- Math.cs
- RelationshipFixer.cs
- StrokeCollection.cs
- BuildResult.cs
- SoapHeaders.cs
- StringToken.cs
- DataDocumentXPathNavigator.cs
- NamespaceListProperty.cs
- ContentControl.cs
- RadialGradientBrush.cs
- HttpClientCredentialType.cs
- XmlElement.cs
- PageCodeDomTreeGenerator.cs
- PasswordRecovery.cs
- ProcessModelInfo.cs
- Matrix.cs
- ColorTransform.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- DataGridViewRowErrorTextNeededEventArgs.cs