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
- BindingElement.cs
- ParseChildrenAsPropertiesAttribute.cs
- TableLayoutPanelCodeDomSerializer.cs
- DataGridViewColumn.cs
- XsdBuildProvider.cs
- DesignerDataRelationship.cs
- PropertyIDSet.cs
- DirectoryObjectSecurity.cs
- XsltException.cs
- LightweightEntityWrapper.cs
- ProviderUtil.cs
- ConfigViewGenerator.cs
- ClrProviderManifest.cs
- _ProxyChain.cs
- Thumb.cs
- RoleService.cs
- SvcMapFile.cs
- _OSSOCK.cs
- JsonReaderWriterFactory.cs
- DataSourceCache.cs
- StaticResourceExtension.cs
- IImplicitResourceProvider.cs
- PropertyGridCommands.cs
- Bits.cs
- OdbcConnectionHandle.cs
- ObjectComplexPropertyMapping.cs
- FrameworkReadOnlyPropertyMetadata.cs
- UnionQueryOperator.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- XmlSchemaAnyAttribute.cs
- OutOfProcStateClientManager.cs
- TableRowCollection.cs
- MatcherBuilder.cs
- HwndSource.cs
- DataException.cs
- TagPrefixInfo.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- SqlMethods.cs
- TransformConverter.cs
- SqlBuffer.cs
- Span.cs
- FloatAverageAggregationOperator.cs
- XmlSchemaExternal.cs
- DbProviderFactories.cs
- UIAgentRequest.cs
- FormViewPagerRow.cs
- CompareValidator.cs
- MessageHeaderDescription.cs
- TemplateKeyConverter.cs
- PageFunction.cs
- _HTTPDateParse.cs
- SqlInternalConnectionTds.cs
- TextRunProperties.cs
- ZoneMembershipCondition.cs
- HostingPreferredMapPath.cs
- WindowVisualStateTracker.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- RootAction.cs
- FusionWrap.cs
- CompositeActivityValidator.cs
- BaseTemplateBuildProvider.cs
- Parameter.cs
- _PooledStream.cs
- SkipStoryboardToFill.cs
- AssociationTypeEmitter.cs
- FontStretches.cs
- DefaultPropertyAttribute.cs
- InlineCollection.cs
- Merger.cs
- Assert.cs
- ManagedWndProcTracker.cs
- Size3DValueSerializer.cs
- WebBrowserUriTypeConverter.cs
- _DigestClient.cs
- HttpListenerException.cs
- ResourceReader.cs
- DataSourceControl.cs
- AnimationStorage.cs
- RadioButtonFlatAdapter.cs
- ConnectionManagementElement.cs
- JapaneseLunisolarCalendar.cs
- Int32Animation.cs
- EventRoute.cs
- SchemaAttDef.cs
- KeyNotFoundException.cs
- InstancePersistenceCommand.cs
- DataBoundControlHelper.cs
- ContentPresenter.cs
- AssertFilter.cs
- EntitySet.cs
- EntityDataSourceEntityTypeFilterItem.cs
- BaseHashHelper.cs
- PatternMatcher.cs
- PageSetupDialog.cs
- RtfControlWordInfo.cs
- OperationDescription.cs
- StylusEventArgs.cs
- WorkflowRuntimeServiceElementCollection.cs
- InputLanguage.cs
- Rotation3D.cs