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
- SQLBytesStorage.cs
- ButtonFlatAdapter.cs
- WsdlEndpointConversionContext.cs
- Clipboard.cs
- CellQuery.cs
- UserControl.cs
- DateRangeEvent.cs
- SubclassTypeValidator.cs
- FileUpload.cs
- Span.cs
- CharacterHit.cs
- Util.cs
- MailWriter.cs
- SqlDelegatedTransaction.cs
- UserControl.cs
- WebColorConverter.cs
- SystemParameters.cs
- PathTooLongException.cs
- WebEventTraceProvider.cs
- _HeaderInfo.cs
- XmlDocumentSerializer.cs
- ConfigurationFileMap.cs
- ColorConvertedBitmapExtension.cs
- HttpServerUtilityBase.cs
- EnvironmentPermission.cs
- CheckBoxField.cs
- MulticastOption.cs
- DataTableReaderListener.cs
- XhtmlBasicPageAdapter.cs
- SQLSingle.cs
- GeometryGroup.cs
- FileVersion.cs
- VectorKeyFrameCollection.cs
- ObjectSecurityT.cs
- XmlILOptimizerVisitor.cs
- PageClientProxyGenerator.cs
- RequiredFieldValidator.cs
- OperandQuery.cs
- InputScope.cs
- WindowsStreamSecurityBindingElement.cs
- OpenTypeCommon.cs
- DigestTraceRecordHelper.cs
- DesignerDataTable.cs
- InheritanceContextChangedEventManager.cs
- OdbcConnectionOpen.cs
- CodeMethodInvokeExpression.cs
- StateMachine.cs
- Mappings.cs
- SqlInternalConnectionTds.cs
- ThreadAbortException.cs
- ImageCodecInfoPrivate.cs
- OpCodes.cs
- ProgressBarBrushConverter.cs
- EnumUnknown.cs
- Viewport3DAutomationPeer.cs
- CollectionDataContractAttribute.cs
- RequestCachePolicy.cs
- BoolExpressionVisitors.cs
- TextDecorationCollectionConverter.cs
- FlagsAttribute.cs
- ObjectRef.cs
- EllipseGeometry.cs
- designeractionbehavior.cs
- OleDbSchemaGuid.cs
- X509Certificate.cs
- DependencyPropertyAttribute.cs
- SqlFacetAttribute.cs
- ComponentCommands.cs
- SqlDeflator.cs
- UInt64Storage.cs
- IsolationInterop.cs
- QuaternionValueSerializer.cs
- UrlUtility.cs
- ProgressBar.cs
- TracedNativeMethods.cs
- LineSegment.cs
- RealizationDrawingContextWalker.cs
- WorkflowOperationBehavior.cs
- PrimitiveSchema.cs
- EvidenceBase.cs
- FormatSettings.cs
- TrustLevelCollection.cs
- SoapCodeExporter.cs
- ResourceCategoryAttribute.cs
- ClientUrlResolverWrapper.cs
- DisplayInformation.cs
- EntityConnection.cs
- PageParserFilter.cs
- CodeNamespaceImportCollection.cs
- PropertyTabChangedEvent.cs
- KerberosReceiverSecurityToken.cs
- RootBuilder.cs
- OleDbPropertySetGuid.cs
- _ScatterGatherBuffers.cs
- DrawingGroup.cs
- Triplet.cs
- HorizontalAlignConverter.cs
- Baml2006KeyRecord.cs
- TextElementCollection.cs
- XmlDomTextWriter.cs