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
- SqlRewriteScalarSubqueries.cs
- WsiProfilesElement.cs
- StoreAnnotationsMap.cs
- DesignerAutoFormat.cs
- CLRBindingWorker.cs
- SurrogateEncoder.cs
- OleCmdHelper.cs
- InternalSafeNativeMethods.cs
- XNodeValidator.cs
- Process.cs
- TextBoxView.cs
- TextTrailingCharacterEllipsis.cs
- ContextConfiguration.cs
- basenumberconverter.cs
- TagPrefixInfo.cs
- XmlSchemaComplexContentRestriction.cs
- Properties.cs
- ToolBarButtonClickEvent.cs
- NullableDecimalAverageAggregationOperator.cs
- _ProxyRegBlob.cs
- ItemCollection.cs
- MetaModel.cs
- EditorAttribute.cs
- CodeSnippetStatement.cs
- ChannelEndpointElementCollection.cs
- Stack.cs
- PresentationTraceSources.cs
- MetadataItemEmitter.cs
- MgmtResManager.cs
- SamlAdvice.cs
- DataKeyPropertyAttribute.cs
- TextClipboardData.cs
- Normalization.cs
- ThicknessAnimation.cs
- NumberFormatInfo.cs
- SchemaTableColumn.cs
- SupportsEventValidationAttribute.cs
- IItemContainerGenerator.cs
- StringWriter.cs
- MetadataSource.cs
- QueryOperator.cs
- BaseDataListPage.cs
- SqlException.cs
- DrawingContext.cs
- WebScriptMetadataFormatter.cs
- ScriptControlDescriptor.cs
- ScriptDescriptor.cs
- ExecutionPropertyManager.cs
- ImageFormatConverter.cs
- ListCollectionView.cs
- SamlSubject.cs
- BitmapInitialize.cs
- DataGridRow.cs
- contentDescriptor.cs
- DbConnectionStringBuilder.cs
- WebHttpBehavior.cs
- ObjectReferenceStack.cs
- PatternMatcher.cs
- DecoderExceptionFallback.cs
- WorkflowRuntime.cs
- ButtonBaseAdapter.cs
- SecurityPolicyVersion.cs
- ReflectionTypeLoadException.cs
- DocComment.cs
- ItemCollection.cs
- Debug.cs
- _WebProxyDataBuilder.cs
- SecurityRuntime.cs
- ISessionStateStore.cs
- BindingOperations.cs
- SqlParameterizer.cs
- ConvertEvent.cs
- QuaternionRotation3D.cs
- PropertyBuilder.cs
- QuaternionAnimationBase.cs
- SQLBoolean.cs
- EntityClientCacheEntry.cs
- DataGridViewCell.cs
- PageAdapter.cs
- securitycriticaldataformultiplegetandset.cs
- ControlPaint.cs
- XsltException.cs
- IdleTimeoutMonitor.cs
- PickBranch.cs
- SourceCollection.cs
- XmlSerializerSection.cs
- OutOfMemoryException.cs
- ToolboxBitmapAttribute.cs
- _MultipleConnectAsync.cs
- log.cs
- UserNameSecurityToken.cs
- ProfileModule.cs
- XmlnsCompatibleWithAttribute.cs
- SiteMapHierarchicalDataSourceView.cs
- InputBuffer.cs
- CfgParser.cs
- SoapMessage.cs
- DataServiceHost.cs
- XmlLinkedNode.cs
- IIS7UserPrincipal.cs