Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeDelegateCreateExpression.cs / 1305376 / CodeDelegateCreateExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- WindowCollection.cs
- PropertyCondition.cs
- OdbcDataReader.cs
- XmlNamedNodeMap.cs
- FontStyles.cs
- XPathExpr.cs
- HttpCacheVaryByContentEncodings.cs
- XNodeNavigator.cs
- NavigationHelper.cs
- CapabilitiesAssignment.cs
- WindowsAltTab.cs
- FixedSOMGroup.cs
- OLEDB_Enum.cs
- CalendarData.cs
- BinaryFormatter.cs
- DataGridViewCellStyleConverter.cs
- EditableLabelControl.cs
- XmlSchemaSimpleType.cs
- CodeBlockBuilder.cs
- MaskInputRejectedEventArgs.cs
- CompilationLock.cs
- ManagedIStream.cs
- ISO2022Encoding.cs
- EditingCommands.cs
- MissingManifestResourceException.cs
- Span.cs
- UserControlParser.cs
- HttpModule.cs
- AssemblyBuilderData.cs
- FlowDocumentView.cs
- CodeCompiler.cs
- HtmlProps.cs
- Rect3DConverter.cs
- CmsInterop.cs
- TdsEnums.cs
- XmlILConstructAnalyzer.cs
- EditBehavior.cs
- LinearKeyFrames.cs
- WindowsToolbarItemAsMenuItem.cs
- GridToolTip.cs
- MessagePropertyFilter.cs
- StructuralCache.cs
- LZCodec.cs
- AddingNewEventArgs.cs
- WebPartDeleteVerb.cs
- XmlSchemaCollection.cs
- CaseKeyBox.xaml.cs
- FrameworkElement.cs
- BlobPersonalizationState.cs
- DataBindingCollection.cs
- MessageProtectionOrder.cs
- SHA512.cs
- SeparatorAutomationPeer.cs
- EventDescriptorCollection.cs
- AssemblyAttributesGoHere.cs
- SqlGenericUtil.cs
- InvocationExpression.cs
- _SSPIWrapper.cs
- DesignTableCollection.cs
- ListView.cs
- DataProtection.cs
- UIHelper.cs
- TextServicesHost.cs
- XPathPatternBuilder.cs
- WebPartVerb.cs
- TextRenderer.cs
- TrustManagerPromptUI.cs
- GenerateScriptTypeAttribute.cs
- LinqExpressionNormalizer.cs
- ConfigXmlWhitespace.cs
- ContextMarshalException.cs
- CuspData.cs
- SystemIPGlobalStatistics.cs
- SparseMemoryStream.cs
- StrongNameUtility.cs
- SqlErrorCollection.cs
- WebResourceUtil.cs
- TagNameToTypeMapper.cs
- HierarchicalDataTemplate.cs
- DragEvent.cs
- RunInstallerAttribute.cs
- Control.cs
- LinearGradientBrush.cs
- CodeParameterDeclarationExpressionCollection.cs
- PlaceHolder.cs
- XmlSchemaSimpleContentRestriction.cs
- CountdownEvent.cs
- WmlCalendarAdapter.cs
- VisemeEventArgs.cs
- RecipientInfo.cs
- TypeBuilderInstantiation.cs
- JumpTask.cs
- ScriptingProfileServiceSection.cs
- ResourceKey.cs
- HandleCollector.cs
- SelectionWordBreaker.cs
- DesignTimeParseData.cs
- ArrayItemValue.cs
- MutexSecurity.cs
- MouseGestureValueSerializer.cs