Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the method name. /// ///// 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; } } } } // 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
- FixedHyperLink.cs
- RowVisual.cs
- SqlClientFactory.cs
- RawStylusInput.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SparseMemoryStream.cs
- QueryInterceptorAttribute.cs
- PixelFormat.cs
- ResourceManager.cs
- IProvider.cs
- DefaultValueTypeConverter.cs
- IPEndPoint.cs
- TokenizerHelper.cs
- HandlerMappingMemo.cs
- SQLDoubleStorage.cs
- Color.cs
- SocketElement.cs
- IdnMapping.cs
- ToolStripContentPanel.cs
- DependencyObjectProvider.cs
- DictionaryTraceRecord.cs
- DefaultValueAttribute.cs
- MailWebEventProvider.cs
- OracleDataAdapter.cs
- CaseInsensitiveOrdinalStringComparer.cs
- HttpContext.cs
- CodeTypeReferenceCollection.cs
- APCustomTypeDescriptor.cs
- Ipv6Element.cs
- DecimalAnimationUsingKeyFrames.cs
- RC2CryptoServiceProvider.cs
- DataGridParentRows.cs
- CellNormalizer.cs
- NotifyParentPropertyAttribute.cs
- CustomActivityDesigner.cs
- SqlDataSourceEnumerator.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- TraceRecord.cs
- AxHost.cs
- CodeGenerator.cs
- StorageEntityTypeMapping.cs
- Behavior.cs
- DesignSurfaceManager.cs
- SmtpNtlmAuthenticationModule.cs
- SyntaxCheck.cs
- ButtonPopupAdapter.cs
- AppDomain.cs
- SystemColors.cs
- Soap12ProtocolImporter.cs
- InternalBase.cs
- AsyncPostBackErrorEventArgs.cs
- OleDbWrapper.cs
- FormsAuthenticationModule.cs
- InputLangChangeEvent.cs
- OperationFormatter.cs
- IgnoreSectionHandler.cs
- DataTemplateSelector.cs
- String.cs
- TimeSpanConverter.cs
- EditorAttributeInfo.cs
- SettingsContext.cs
- ChannelSinkStacks.cs
- _WinHttpWebProxyDataBuilder.cs
- EntityDataSourceStatementEditor.cs
- ConfigurationSection.cs
- WindowsMenu.cs
- WebPartConnectionCollection.cs
- DataBoundControlAdapter.cs
- MissingFieldException.cs
- MDIWindowDialog.cs
- ExceptionRoutedEventArgs.cs
- TransformPattern.cs
- ProfileSection.cs
- ConditionChanges.cs
- BuildProviderCollection.cs
- AssemblyEvidenceFactory.cs
- SessionStateModule.cs
- ParameterReplacerVisitor.cs
- Emitter.cs
- VectorConverter.cs
- SynchronizationContext.cs
- MissingSatelliteAssemblyException.cs
- XmlJsonReader.cs
- DeferredSelectedIndexReference.cs
- MiniLockedBorderGlyph.cs
- GiveFeedbackEventArgs.cs
- _SingleItemRequestCache.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- TriggerActionCollection.cs
- HttpCookieCollection.cs
- HttpCachePolicyElement.cs
- ProtocolsConfigurationEntry.cs
- ListControl.cs
- SQLConvert.cs
- Part.cs
- TitleStyle.cs
- GridViewColumnCollection.cs
- NamedObject.cs
- NumberFormatter.cs
- ISAPIRuntime.cs