Code:
/ 4.0 / 4.0 / 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. /// ///// // //----------------------------------------------------------------------------- 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
- RtfToXamlLexer.cs
- DriveNotFoundException.cs
- Site.cs
- Int64AnimationUsingKeyFrames.cs
- DataMemberFieldConverter.cs
- RootBrowserWindowProxy.cs
- AssemblySettingAttributes.cs
- MenuItemBindingCollection.cs
- StoreConnection.cs
- SQLInt32.cs
- DATA_BLOB.cs
- ProfileBuildProvider.cs
- InheritanceAttribute.cs
- StoragePropertyMapping.cs
- EventTrigger.cs
- DataGridViewCellEventArgs.cs
- UnsettableComboBox.cs
- DataAdapter.cs
- VectorConverter.cs
- IPEndPoint.cs
- TableStyle.cs
- DataExpression.cs
- DataRowView.cs
- FirstMatchCodeGroup.cs
- LifetimeServices.cs
- DictionarySectionHandler.cs
- MarkupCompilePass1.cs
- XmlExceptionHelper.cs
- Sql8ExpressionRewriter.cs
- BStrWrapper.cs
- Int16Converter.cs
- PerformanceCounterCategory.cs
- BitmapEditor.cs
- EndEvent.cs
- GridViewRowPresenter.cs
- Canvas.cs
- ItemType.cs
- TraceHwndHost.cs
- ValueChangedEventManager.cs
- SafeReversePInvokeHandle.cs
- NamespaceQuery.cs
- __Error.cs
- JsonWriter.cs
- regiisutil.cs
- HuffmanTree.cs
- StorageAssociationSetMapping.cs
- ObfuscateAssemblyAttribute.cs
- MenuCommandService.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- DataRowCollection.cs
- CustomErrorsSection.cs
- WebBaseEventKeyComparer.cs
- SqlReferenceCollection.cs
- ChannelServices.cs
- StoryFragments.cs
- BitmapVisualManager.cs
- NativeMethods.cs
- SoapFormatter.cs
- DataGridViewTextBoxCell.cs
- CodeAssignStatement.cs
- XmlILAnnotation.cs
- SetterBase.cs
- DrawingContext.cs
- SocketManager.cs
- RoamingStoreFileUtility.cs
- CapabilitiesPattern.cs
- EventLogStatus.cs
- TextElementEnumerator.cs
- formatstringdialog.cs
- RoutedPropertyChangedEventArgs.cs
- Object.cs
- DataControlImageButton.cs
- _FixedSizeReader.cs
- SqlNodeAnnotation.cs
- SkipStoryboardToFill.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- PkcsMisc.cs
- MetadataArtifactLoader.cs
- DrawItemEvent.cs
- ObjectDataSourceChooseTypePanel.cs
- SessionStateSection.cs
- CfgRule.cs
- XmlSubtreeReader.cs
- GridLength.cs
- ProcessHostFactoryHelper.cs
- ContentDesigner.cs
- OrderedDictionaryStateHelper.cs
- SerialStream.cs
- SafeNativeMethods.cs
- DefaultSection.cs
- MasterPage.cs
- MatrixCamera.cs
- ExtendedPropertyDescriptor.cs
- Quaternion.cs
- HandlerMappingMemo.cs
- WorkflowExecutor.cs
- OleDbParameterCollection.cs
- PropertyEmitterBase.cs
- SoapSchemaImporter.cs
- RuntimeVariablesExpression.cs