Code:
/ FX-1434 / FX-1434 / 1.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
- MessageProperties.cs
- CanExecuteRoutedEventArgs.cs
- CollectionConverter.cs
- XmlSchemaElement.cs
- EntityDataSourceUtil.cs
- UpdatePanel.cs
- CodeGeneratorOptions.cs
- XmlAttributeProperties.cs
- SiteMapPath.cs
- ModelItemDictionaryImpl.cs
- XmlBinaryReader.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- StructuralType.cs
- SqlRewriteScalarSubqueries.cs
- MtomMessageEncoder.cs
- FixedDocument.cs
- HostingPreferredMapPath.cs
- SafeNativeMethods.cs
- DataGridViewUtilities.cs
- HtmlInputCheckBox.cs
- Parameter.cs
- CodeIndexerExpression.cs
- RangeBaseAutomationPeer.cs
- dtdvalidator.cs
- RawStylusInputReport.cs
- DeflateStream.cs
- RijndaelManaged.cs
- BinaryMethodMessage.cs
- WindowShowOrOpenTracker.cs
- VisualBrush.cs
- TrackingProfileDeserializationException.cs
- ProxyAttribute.cs
- PieceNameHelper.cs
- DetailsViewRow.cs
- AsymmetricSignatureDeformatter.cs
- BoundsDrawingContextWalker.cs
- QueryHandler.cs
- ComplexTypeEmitter.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ExpressionBuilderCollection.cs
- InvokeHandlers.cs
- FormViewInsertedEventArgs.cs
- CmsInterop.cs
- XmlUtil.cs
- Constants.cs
- VisualBrush.cs
- EndpointIdentityExtension.cs
- RectangleGeometry.cs
- Assert.cs
- DataGridViewUtilities.cs
- ViewStateException.cs
- LambdaCompiler.Address.cs
- HttpWebRequestElement.cs
- RuleAttributes.cs
- ButtonBase.cs
- XmlSchemaDocumentation.cs
- ContentOperations.cs
- SynchronizedInputHelper.cs
- Misc.cs
- RegexRunner.cs
- ResourcePermissionBaseEntry.cs
- AppSettingsReader.cs
- HttpCacheParams.cs
- ZipIOFileItemStream.cs
- ResourcesGenerator.cs
- Highlights.cs
- Matrix3D.cs
- Vector3DAnimationBase.cs
- ActiveXHelper.cs
- LoadItemsEventArgs.cs
- XmlDataLoader.cs
- SByte.cs
- DefaultPrintController.cs
- PersistenceTypeAttribute.cs
- TraceSwitch.cs
- Atom10FeedFormatter.cs
- MasterPage.cs
- Crc32Helper.cs
- IndentedWriter.cs
- DependencyObjectCodeDomSerializer.cs
- AssociationSetEnd.cs
- PKCS1MaskGenerationMethod.cs
- WmlCommandAdapter.cs
- ErrorInfoXmlDocument.cs
- RelatedImageListAttribute.cs
- StatusBarPanel.cs
- InputScopeConverter.cs
- ListView.cs
- RegexFCD.cs
- SQLDouble.cs
- IImplicitResourceProvider.cs
- HttpException.cs
- StrokeSerializer.cs
- InspectionWorker.cs
- FileLevelControlBuilderAttribute.cs
- IgnoreSectionHandler.cs
- SynchronousReceiveBehavior.cs
- SessionViewState.cs
- ToolStripContentPanelDesigner.cs
- ProtocolsConfigurationHandler.cs