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
- TimeSpan.cs
- DoubleMinMaxAggregationOperator.cs
- SqlDataSourceQueryEditor.cs
- SqlFunctionAttribute.cs
- ZipIOExtraFieldZip64Element.cs
- CacheDict.cs
- CustomCategoryAttribute.cs
- Table.cs
- LogEntryHeaderDeserializer.cs
- WithStatement.cs
- HyperlinkAutomationPeer.cs
- AutomationPropertyInfo.cs
- RectAnimationUsingKeyFrames.cs
- CustomAttributeBuilder.cs
- odbcmetadatacollectionnames.cs
- PtsContext.cs
- Model3D.cs
- AspCompat.cs
- SqlNodeAnnotations.cs
- ParentQuery.cs
- TcpHostedTransportConfiguration.cs
- DataGridCellItemAutomationPeer.cs
- LiteralSubsegment.cs
- WebProxyScriptElement.cs
- EmptyQuery.cs
- PostBackTrigger.cs
- FixedSOMPageConstructor.cs
- DataColumnMappingCollection.cs
- ShutDownListener.cs
- PeerCollaboration.cs
- EditingMode.cs
- VisualBrush.cs
- InternalConfigRoot.cs
- CaretElement.cs
- ForEachAction.cs
- Scripts.cs
- Region.cs
- ByteAnimationBase.cs
- XmlUnspecifiedAttribute.cs
- StorageInfo.cs
- AspNetSynchronizationContext.cs
- CustomLineCap.cs
- CollectionTypeElement.cs
- Animatable.cs
- DataGridViewRowPrePaintEventArgs.cs
- AnnotationAdorner.cs
- CalendarModeChangedEventArgs.cs
- EventHandlerList.cs
- SynchronizedInputProviderWrapper.cs
- ScrollChrome.cs
- EmptyEnumerable.cs
- DbFunctionCommandTree.cs
- AudioBase.cs
- RoleManagerEventArgs.cs
- ProfileGroupSettingsCollection.cs
- Metadata.cs
- TogglePatternIdentifiers.cs
- SetStoryboardSpeedRatio.cs
- ConfigXmlAttribute.cs
- DummyDataSource.cs
- WebControlParameterProxy.cs
- PageSettings.cs
- Point3DAnimationUsingKeyFrames.cs
- ScriptResourceHandler.cs
- XmlAutoDetectWriter.cs
- PtsHelper.cs
- SoapConverter.cs
- ButtonRenderer.cs
- QueueProcessor.cs
- DebugView.cs
- HttpDebugHandler.cs
- CapabilitiesSection.cs
- CheckedPointers.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- XPathSelectionIterator.cs
- HttpHandlersSection.cs
- NavigationProperty.cs
- StyleModeStack.cs
- ObjectConverter.cs
- AttributeQuery.cs
- PresentationTraceSources.cs
- WebServiceHandlerFactory.cs
- ProcessModule.cs
- _PooledStream.cs
- TemplateControlParser.cs
- figurelengthconverter.cs
- Operand.cs
- SafeIUnknown.cs
- RandomNumberGenerator.cs
- EncodingFallbackAwareXmlTextWriter.cs
- DelegateSerializationHolder.cs
- PkcsUtils.cs
- CodeExpressionCollection.cs
- DecimalConverter.cs
- Facet.cs
- WorkItem.cs
- XamlVector3DCollectionSerializer.cs
- SafeUserTokenHandle.cs
- PresentationTraceSources.cs
- ContainerCodeDomSerializer.cs