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
- IconHelper.cs
- _CommandStream.cs
- UInt16Storage.cs
- SimpleApplicationHost.cs
- AspProxy.cs
- SqlClientWrapperSmiStreamChars.cs
- TableNameAttribute.cs
- IsolatedStorageFilePermission.cs
- EntityClassGenerator.cs
- XmlWriter.cs
- InheritedPropertyChangedEventArgs.cs
- TraceSection.cs
- RsaSecurityTokenAuthenticator.cs
- MetabaseSettings.cs
- Win32MouseDevice.cs
- DatePicker.cs
- WpfXamlLoader.cs
- HttpsHostedTransportConfiguration.cs
- BamlReader.cs
- RSAOAEPKeyExchangeDeformatter.cs
- CodeParameterDeclarationExpressionCollection.cs
- VerificationAttribute.cs
- ControlAdapter.cs
- RegisteredScript.cs
- CustomErrorsSectionWrapper.cs
- WmlMobileTextWriter.cs
- PropertyRef.cs
- XDRSchema.cs
- DuplexSecurityProtocolFactory.cs
- XmlTypeAttribute.cs
- CollectionViewGroupRoot.cs
- IndexedGlyphRun.cs
- OleDbErrorCollection.cs
- EntityReference.cs
- Stream.cs
- FilteredSchemaElementLookUpTable.cs
- StorageInfo.cs
- UnitySerializationHolder.cs
- Bitmap.cs
- WindowsTooltip.cs
- UriScheme.cs
- DataGridToolTip.cs
- ApplicationCommands.cs
- GetRecipientListRequest.cs
- SystemIPAddressInformation.cs
- XmlCompatibilityReader.cs
- Query.cs
- Random.cs
- Pair.cs
- PropertyConverter.cs
- DataGridViewAutoSizeModeEventArgs.cs
- OleDbCommand.cs
- RIPEMD160Managed.cs
- SafeFileHandle.cs
- CurrentChangingEventManager.cs
- KeyGestureConverter.cs
- TextBoxAutoCompleteSourceConverter.cs
- HtmlAnchor.cs
- HScrollProperties.cs
- CodeDOMProvider.cs
- DomainUpDown.cs
- DomNameTable.cs
- TreeViewDataItemAutomationPeer.cs
- TranslateTransform.cs
- ValueSerializerAttribute.cs
- XmlEncodedRawTextWriter.cs
- FormView.cs
- cryptoapiTransform.cs
- IIS7WorkerRequest.cs
- StrokeNodeEnumerator.cs
- RenderDataDrawingContext.cs
- GrammarBuilderRuleRef.cs
- CanonicalFontFamilyReference.cs
- CircleHotSpot.cs
- CodeTypeParameterCollection.cs
- CodeGeneratorOptions.cs
- ImageKeyConverter.cs
- NonBatchDirectoryCompiler.cs
- BezierSegment.cs
- RepeatButtonAutomationPeer.cs
- Model3DGroup.cs
- _HelperAsyncResults.cs
- SiteMapSection.cs
- ExecutionPropertyManager.cs
- DecimalAnimationUsingKeyFrames.cs
- ProtectedProviderSettings.cs
- PhonemeEventArgs.cs
- path.cs
- EntityCommand.cs
- OdbcUtils.cs
- MimeReturn.cs
- ListViewEditEventArgs.cs
- NumericUpDownAcceleration.cs
- MessageQueuePermissionAttribute.cs
- GetWinFXPath.cs
- ObjectManager.cs
- MethodAccessException.cs
- AdPostCacheSubstitution.cs
- PathFigureCollectionConverter.cs
- Nodes.cs