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
- HotCommands.cs
- ApplicationServicesHostFactory.cs
- Model3DCollection.cs
- WebPartDeleteVerb.cs
- ConstraintManager.cs
- XmlNodeChangedEventArgs.cs
- FileIOPermission.cs
- ObjectQuery_EntitySqlExtensions.cs
- TempEnvironment.cs
- ToolBar.cs
- StringFormat.cs
- adornercollection.cs
- RightsManagementInformation.cs
- HtmlElement.cs
- MSAAWinEventWrap.cs
- DotAtomReader.cs
- RequestUriProcessor.cs
- OpCellTreeNode.cs
- CultureTable.cs
- SqlFileStream.cs
- TextEditorSpelling.cs
- ContainerSelectorActiveEvent.cs
- BezierSegment.cs
- OdbcConnectionOpen.cs
- StatusBar.cs
- SqlDataSourceEnumerator.cs
- RecognitionEventArgs.cs
- XPathNavigatorKeyComparer.cs
- SizeF.cs
- DbConnectionFactory.cs
- Point.cs
- BehaviorEditorPart.cs
- PeerObject.cs
- TextReader.cs
- DbConnectionPoolGroupProviderInfo.cs
- StdRegProviderWrapper.cs
- ConstructorNeedsTagAttribute.cs
- HttpModuleCollection.cs
- UserControl.cs
- TrustManagerMoreInformation.cs
- CryptoHelper.cs
- FlowStep.cs
- EdmToObjectNamespaceMap.cs
- RowBinding.cs
- SingleKeyFrameCollection.cs
- StaticResourceExtension.cs
- ItemList.cs
- IssuedTokensHeader.cs
- SafeNativeMethods.cs
- EventData.cs
- VisualProxy.cs
- BamlLocalizationDictionary.cs
- SqlParameterizer.cs
- EntityAdapter.cs
- PageClientProxyGenerator.cs
- CallbackHandler.cs
- DataGridViewColumnCollectionEditor.cs
- SortedDictionary.cs
- Screen.cs
- BamlLocalizer.cs
- DefaultWorkflowLoaderService.cs
- DEREncoding.cs
- HttpRuntime.cs
- KeyedCollection.cs
- Positioning.cs
- CompilerErrorCollection.cs
- TreeIterator.cs
- DbConnectionOptions.cs
- DispatcherTimer.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- DistributedTransactionPermission.cs
- SmiConnection.cs
- webclient.cs
- FloatUtil.cs
- DBBindings.cs
- Error.cs
- EmptyReadOnlyDictionaryInternal.cs
- RefreshPropertiesAttribute.cs
- Visitor.cs
- DataBindingExpressionBuilder.cs
- AsyncContentLoadedEventArgs.cs
- ToolStripSeparatorRenderEventArgs.cs
- _emptywebproxy.cs
- BitmapEffectInput.cs
- ImageCollectionEditor.cs
- BamlLocalizationDictionary.cs
- MobileControlsSectionHelper.cs
- EntityDataSourceWrapper.cs
- DataRow.cs
- DropDownList.cs
- PolicyException.cs
- DataTemplateSelector.cs
- TypeTypeConverter.cs
- MulticastDelegate.cs
- ProfileService.cs
- ClosableStream.cs
- ExtentJoinTreeNode.cs
- XmlWrappingReader.cs
- SymLanguageType.cs
- ColumnMapCopier.cs