Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or sets the method name. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HijriCalendar.cs
- GenerateHelper.cs
- WebPartDisplayModeCancelEventArgs.cs
- Tokenizer.cs
- WebHostUnsafeNativeMethods.cs
- Errors.cs
- IncrementalHitTester.cs
- ExpressionCopier.cs
- SignatureDescription.cs
- SqlDataSourceEnumerator.cs
- UnionCodeGroup.cs
- storepermissionattribute.cs
- PeerContact.cs
- XmlnsPrefixAttribute.cs
- SqlFormatter.cs
- CodeMethodReturnStatement.cs
- ListParaClient.cs
- AssertHelper.cs
- jithelpers.cs
- TableLayoutColumnStyleCollection.cs
- ProjectionCamera.cs
- XmlBinaryWriter.cs
- ClientBuildManager.cs
- SessionSwitchEventArgs.cs
- SmiXetterAccessMap.cs
- ArraySet.cs
- DataGridRow.cs
- ProfilePropertySettingsCollection.cs
- DetailsView.cs
- ParallelActivityDesigner.cs
- BamlRecords.cs
- DataException.cs
- ElementProxy.cs
- CountAggregationOperator.cs
- PackagePartCollection.cs
- DragCompletedEventArgs.cs
- UserNamePasswordServiceCredential.cs
- Asn1IntegerConverter.cs
- Point4DValueSerializer.cs
- RenderDataDrawingContext.cs
- _DigestClient.cs
- FormsAuthenticationUserCollection.cs
- AlgoModule.cs
- DBConnection.cs
- versioninfo.cs
- FixedPage.cs
- SubqueryRules.cs
- PathSegmentCollection.cs
- RangeValuePatternIdentifiers.cs
- OneToOneMappingSerializer.cs
- TypedReference.cs
- TakeQueryOptionExpression.cs
- Mappings.cs
- MissingSatelliteAssemblyException.cs
- BufferedGraphicsContext.cs
- StdRegProviderWrapper.cs
- HtmlInputText.cs
- CategoryAttribute.cs
- SafeRightsManagementHandle.cs
- DataPagerFieldItem.cs
- FrameworkTemplate.cs
- EndPoint.cs
- SoapAttributeAttribute.cs
- TraceContext.cs
- PropertyEntry.cs
- DesignerForm.cs
- ByteConverter.cs
- SecurityUniqueId.cs
- Rss20ItemFormatter.cs
- CodePageUtils.cs
- SeparatorAutomationPeer.cs
- Pair.cs
- CacheMemory.cs
- EncodingInfo.cs
- WebColorConverter.cs
- CheckBoxAutomationPeer.cs
- SystemIPInterfaceStatistics.cs
- SerializationAttributes.cs
- RtfNavigator.cs
- InheritanceContextHelper.cs
- RepeaterItem.cs
- TemplateXamlParser.cs
- VectorAnimationUsingKeyFrames.cs
- TypeDelegator.cs
- PageAsyncTaskManager.cs
- UrlAuthorizationModule.cs
- XmlWrappingWriter.cs
- XmlBaseWriter.cs
- ChainedAsyncResult.cs
- SqlDataSourceRefreshSchemaForm.cs
- ShaderRenderModeValidation.cs
- BinaryOperationBinder.cs
- PrimitiveSchema.cs
- FileUtil.cs
- XpsPackagingPolicy.cs
- GPPOINTF.cs
- InfoCardProofToken.cs
- PhysicalOps.cs
- XmlHierarchicalEnumerable.cs
- DataSourceProvider.cs