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
- PageThemeParser.cs
- RulePatternOps.cs
- CreateUserWizard.cs
- SynchronizedDispatch.cs
- ConfigurationStrings.cs
- PerformanceCounterPermissionAttribute.cs
- SplitterCancelEvent.cs
- Shape.cs
- EventProviderWriter.cs
- WindowsEditBoxRange.cs
- WinEventTracker.cs
- MissingMemberException.cs
- HMAC.cs
- Number.cs
- CustomWebEventKey.cs
- XmlILIndex.cs
- ListBindingConverter.cs
- ProfileSettingsCollection.cs
- DependencyPropertyHelper.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- SliderAutomationPeer.cs
- LoadItemsEventArgs.cs
- MethodBuilder.cs
- EdmConstants.cs
- Int64Converter.cs
- SchemaDeclBase.cs
- DataGridViewRowHeaderCell.cs
- OleDbPropertySetGuid.cs
- ProgressBar.cs
- CompModSwitches.cs
- ListViewCommandEventArgs.cs
- Certificate.cs
- HtmlButton.cs
- Matrix3DConverter.cs
- VisualStyleInformation.cs
- HwndAppCommandInputProvider.cs
- InstanceDataCollection.cs
- TimeoutStream.cs
- TakeOrSkipQueryOperator.cs
- DefaultPropertyAttribute.cs
- VarRemapper.cs
- ImageButton.cs
- Expression.DebuggerProxy.cs
- BitmapDecoder.cs
- TableCell.cs
- safemediahandle.cs
- EventPrivateKey.cs
- ResourceDictionary.cs
- COM2TypeInfoProcessor.cs
- UnsafeNativeMethodsPenimc.cs
- NullReferenceException.cs
- PointHitTestParameters.cs
- Vector3DCollectionConverter.cs
- QueryParameter.cs
- DispatcherExceptionEventArgs.cs
- MouseEvent.cs
- PrivilegedConfigurationManager.cs
- CustomSignedXml.cs
- MemoryPressure.cs
- CheckBoxPopupAdapter.cs
- PartialCachingAttribute.cs
- DesignerSerializationVisibilityAttribute.cs
- NullableLongSumAggregationOperator.cs
- BitmapInitialize.cs
- ActiveXContainer.cs
- BooleanAnimationBase.cs
- BaseProcessor.cs
- GlobalItem.cs
- EditorZoneBase.cs
- AssociationTypeEmitter.cs
- HtmlForm.cs
- ModuleElement.cs
- GifBitmapEncoder.cs
- DataGridViewSelectedCellCollection.cs
- HttpModulesSection.cs
- ObjectParameterCollection.cs
- ListenerAdapterBase.cs
- TypeValidationEventArgs.cs
- ParameterBuilder.cs
- SizeKeyFrameCollection.cs
- AppSettingsReader.cs
- BulletedListEventArgs.cs
- TreeNodeSelectionProcessor.cs
- BrowsableAttribute.cs
- DataPagerFieldItem.cs
- ContentPosition.cs
- FixedDSBuilder.cs
- BuildResult.cs
- RequestContext.cs
- Documentation.cs
- StdValidatorsAndConverters.cs
- StylusButtonCollection.cs
- WebReference.cs
- OrderedDictionaryStateHelper.cs
- TdsParserStateObject.cs
- SimpleWorkerRequest.cs
- WebConfigurationFileMap.cs
- SerialErrors.cs
- Panel.cs
- complextypematerializer.cs