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
- DataGridTemplateColumn.cs
- MachineKeyConverter.cs
- AuthStoreRoleProvider.cs
- DeadCharTextComposition.cs
- SecurityTokenException.cs
- WebServiceErrorEvent.cs
- Delay.cs
- SpinLock.cs
- FileSecurity.cs
- SystemNetHelpers.cs
- HtmlSelect.cs
- AnimationStorage.cs
- SimpleRecyclingCache.cs
- ServiceReference.cs
- ColorTransformHelper.cs
- TCEAdapterGenerator.cs
- TabControl.cs
- InstallerTypeAttribute.cs
- nulltextcontainer.cs
- AttributeCollection.cs
- FunctionMappingTranslator.cs
- Manipulation.cs
- WebPart.cs
- ResourcePart.cs
- NotifyInputEventArgs.cs
- DiffuseMaterial.cs
- StorageMappingItemLoader.cs
- ExpressionReplacer.cs
- Transform.cs
- AccessDataSource.cs
- ReachPageContentCollectionSerializer.cs
- ClientType.cs
- MobileRedirect.cs
- ObjectStateEntryDbDataRecord.cs
- PartEditor.cs
- RenderData.cs
- EncryptedXml.cs
- PropertyHelper.cs
- DataBindingExpressionBuilder.cs
- ComplexPropertyEntry.cs
- SynchronizedDispatch.cs
- Comparer.cs
- FrameworkElementAutomationPeer.cs
- Visual.cs
- ScrollViewerAutomationPeer.cs
- DeviceFilterEditorDialog.cs
- PeerTransportBindingElement.cs
- SubpageParaClient.cs
- RegistrySecurity.cs
- FontStyles.cs
- PeerTransportListenAddressValidator.cs
- ImmutableClientRuntime.cs
- IdentityValidationException.cs
- _AutoWebProxyScriptWrapper.cs
- ValueUtilsSmi.cs
- RadioButtonList.cs
- GlobalizationSection.cs
- SelectionList.cs
- GridViewDeletedEventArgs.cs
- HybridObjectCache.cs
- EventDriven.cs
- OverrideMode.cs
- NameObjectCollectionBase.cs
- PowerModeChangedEventArgs.cs
- TreeNodeStyle.cs
- KeyValuePairs.cs
- CalendarDateRangeChangingEventArgs.cs
- COM2EnumConverter.cs
- PreservationFileWriter.cs
- RootBrowserWindowAutomationPeer.cs
- InProcStateClientManager.cs
- IntSecurity.cs
- TypeAccessException.cs
- Variable.cs
- SmtpFailedRecipientException.cs
- CompiledQueryCacheEntry.cs
- NavigationProgressEventArgs.cs
- GridViewUpdatedEventArgs.cs
- TableItemStyle.cs
- TrackBarDesigner.cs
- CookieHandler.cs
- parserscommon.cs
- DesignerActionVerbItem.cs
- SizeChangedEventArgs.cs
- Soap.cs
- DrawingCollection.cs
- MetadataPropertyCollection.cs
- BrushValueSerializer.cs
- SoapFormatter.cs
- DrawingGroupDrawingContext.cs
- DataRow.cs
- SQLDateTimeStorage.cs
- DataSourceXmlSerializer.cs
- DataBoundControlDesigner.cs
- AsyncOperationManager.cs
- PagesSection.cs
- StringKeyFrameCollection.cs
- HtmlDocument.cs
- TextContainerHelper.cs
- CompilationLock.cs