Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SourceChangedEventArgs.cs
- _ProxyRegBlob.cs
- QueryHandler.cs
- CatalogPartChrome.cs
- ObjectQueryProvider.cs
- BuildResultCache.cs
- WebBrowser.cs
- Int64.cs
- PersonalizablePropertyEntry.cs
- FileReader.cs
- AspCompat.cs
- TypeConverterHelper.cs
- CustomAttribute.cs
- HttpResponse.cs
- unsafeIndexingFilterStream.cs
- Base64Encoder.cs
- IMembershipProvider.cs
- QuadraticEase.cs
- RecommendedAsConfigurableAttribute.cs
- RoutedPropertyChangedEventArgs.cs
- HttpRawResponse.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- Context.cs
- ProxyWebPart.cs
- CompiledXpathExpr.cs
- FactoryId.cs
- UnsafeNativeMethodsPenimc.cs
- DisableDpiAwarenessAttribute.cs
- BordersPage.cs
- DynamicMetaObjectBinder.cs
- BindingCollection.cs
- SynchronizationLockException.cs
- BamlLocalizableResource.cs
- UnrecognizedPolicyAssertionElement.cs
- AuthenticationModuleElement.cs
- HitTestParameters3D.cs
- AuthorizationSection.cs
- Throw.cs
- BrowserTree.cs
- Panel.cs
- ELinqQueryState.cs
- TemplateBindingExpressionConverter.cs
- HealthMonitoringSectionHelper.cs
- Catch.cs
- BitSet.cs
- recordstatescratchpad.cs
- Image.cs
- SplitterCancelEvent.cs
- HtmlImage.cs
- CharacterString.cs
- SolidColorBrush.cs
- RecognizerStateChangedEventArgs.cs
- TagMapCollection.cs
- ToolStripItemRenderEventArgs.cs
- Comparer.cs
- SimpleType.cs
- ProtocolException.cs
- securitymgrsite.cs
- LinkArea.cs
- HtmlUtf8RawTextWriter.cs
- ServerType.cs
- Visual3DCollection.cs
- Point3DAnimationUsingKeyFrames.cs
- ScrollEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- ClientSponsor.cs
- TreeViewDesigner.cs
- ContainerParagraph.cs
- ConfigXmlWhitespace.cs
- CollectionTypeElement.cs
- Metafile.cs
- DataRowView.cs
- ComponentResourceKey.cs
- ChineseLunisolarCalendar.cs
- MarkupCompilePass2.cs
- Mapping.cs
- DeploymentSection.cs
- TextViewBase.cs
- ValueType.cs
- ConfigsHelper.cs
- StylusPlugin.cs
- HtmlHistory.cs
- ZipIOExtraFieldPaddingElement.cs
- ExpressionCopier.cs
- StylusButton.cs
- EmptyEnumerator.cs
- odbcmetadatacollectionnames.cs
- ThumbAutomationPeer.cs
- TimeoutTimer.cs
- CompilerResults.cs
- Int32EqualityComparer.cs
- BeginEvent.cs
- StylusDownEventArgs.cs
- Point3DCollection.cs
- AxisAngleRotation3D.cs
- FormsAuthenticationUserCollection.cs
- _AcceptOverlappedAsyncResult.cs
- CompoundFileReference.cs
- CodeMethodReturnStatement.cs
- DummyDataSource.cs