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
- CatalogPartChrome.cs
- SrgsGrammar.cs
- AssociationSet.cs
- VScrollBar.cs
- BasicExpandProvider.cs
- Parallel.cs
- DecoderFallbackWithFailureFlag.cs
- FormsAuthenticationModule.cs
- AddInContractAttribute.cs
- DataControlFieldCollection.cs
- ArraySegment.cs
- CompilationSection.cs
- DynamicDataRoute.cs
- TextRunProperties.cs
- ProgressBar.cs
- UrlMappingsModule.cs
- PasswordTextNavigator.cs
- DynamicMethod.cs
- SmtpFailedRecipientException.cs
- EnlistmentState.cs
- EpmTargetPathSegment.cs
- x509store.cs
- TwoPhaseCommitProxy.cs
- NotFiniteNumberException.cs
- TreeNodeBinding.cs
- OdbcEnvironmentHandle.cs
- DoWorkEventArgs.cs
- ProviderCommandInfoUtils.cs
- BinaryObjectReader.cs
- Nullable.cs
- Size3DValueSerializer.cs
- PersonalizableAttribute.cs
- CompletedAsyncResult.cs
- IisTraceWebEventProvider.cs
- Win32KeyboardDevice.cs
- EventPropertyMap.cs
- FileLoadException.cs
- WinEventTracker.cs
- WS2007FederationHttpBinding.cs
- Int64Converter.cs
- QuestionEventArgs.cs
- SByteStorage.cs
- ColorDialog.cs
- WorkflowHostingResponseContext.cs
- Propagator.JoinPropagator.cs
- Stroke.cs
- xmlsaver.cs
- HttpTransportSecurityElement.cs
- EventMappingSettingsCollection.cs
- ListBoxItemAutomationPeer.cs
- DynamicValidatorEventArgs.cs
- WebBrowsableAttribute.cs
- SerialReceived.cs
- DataObject.cs
- DBPropSet.cs
- TimeManager.cs
- Binding.cs
- SizeAnimation.cs
- CredentialCache.cs
- RedirectionProxy.cs
- LinearGradientBrush.cs
- StylusPointPropertyId.cs
- PointIndependentAnimationStorage.cs
- Hashtable.cs
- AQNBuilder.cs
- StatusBarItem.cs
- MeasurementDCInfo.cs
- XmlCustomFormatter.cs
- SystemShuttingDownException.cs
- XmlWrappingReader.cs
- PassportPrincipal.cs
- _LoggingObject.cs
- VisualTreeHelper.cs
- ShapeTypeface.cs
- RuntimeConfigLKG.cs
- EdmError.cs
- MobileResource.cs
- loginstatus.cs
- TextServicesCompartmentEventSink.cs
- listitem.cs
- VerticalAlignConverter.cs
- propertytag.cs
- DeferredElementTreeState.cs
- StructuredProperty.cs
- DataGridViewComboBoxCell.cs
- AlphaSortedEnumConverter.cs
- PersonalizationStateInfo.cs
- NonSerializedAttribute.cs
- DetailsViewPagerRow.cs
- ExceptionUtil.cs
- ToolStripGrip.cs
- ProvidePropertyAttribute.cs
- SafeLibraryHandle.cs
- PropertyGeneratedEventArgs.cs
- QueuePathDialog.cs
- TableLayoutRowStyleCollection.cs
- SecureStringHasher.cs
- DetailsViewRowCollection.cs
- KeyInterop.cs
- FrameAutomationPeer.cs