Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or sets the method name. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UrlPath.cs
- ExpressionWriter.cs
- CultureInfoConverter.cs
- ExpressionNode.cs
- DetailsViewCommandEventArgs.cs
- PrintPreviewControl.cs
- ByteAnimationUsingKeyFrames.cs
- TimeSpanSecondsConverter.cs
- CreateUserWizardStep.cs
- EmbeddedMailObjectsCollection.cs
- HttpRequestTraceRecord.cs
- DbSetClause.cs
- AnimationException.cs
- TabControlAutomationPeer.cs
- OpenTypeLayout.cs
- DataGridItem.cs
- RMEnrollmentPage1.cs
- DecimalFormatter.cs
- cryptoapiTransform.cs
- VariableModifiersHelper.cs
- IgnoreSectionHandler.cs
- Rfc2898DeriveBytes.cs
- DBPropSet.cs
- ComplexBindingPropertiesAttribute.cs
- GeneratedView.cs
- SymDocumentType.cs
- SafeLibraryHandle.cs
- HttpContextBase.cs
- HtmlShim.cs
- TextRunCache.cs
- NewExpression.cs
- Util.cs
- XslAst.cs
- VisualBrush.cs
- LineGeometry.cs
- Random.cs
- CellPartitioner.cs
- DBCommand.cs
- Panel.cs
- PostBackOptions.cs
- QueryOperationResponseOfT.cs
- RestHandler.cs
- IconEditor.cs
- XmlEncodedRawTextWriter.cs
- EditorBrowsableAttribute.cs
- BamlCollectionHolder.cs
- CompatibleIComparer.cs
- TextCollapsingProperties.cs
- Attributes.cs
- Axis.cs
- DataSourceHelper.cs
- EventLogger.cs
- InputLanguageEventArgs.cs
- ViewSimplifier.cs
- DesignerActionUI.cs
- ConfigurationStrings.cs
- LabelDesigner.cs
- MethodExpression.cs
- MemberBinding.cs
- NameValueFileSectionHandler.cs
- TraceProvider.cs
- IISMapPath.cs
- DateTimeConverter.cs
- RectAnimationUsingKeyFrames.cs
- ModifierKeysValueSerializer.cs
- TagPrefixCollection.cs
- PaperSource.cs
- ModelUIElement3D.cs
- MD5.cs
- SqlInternalConnectionTds.cs
- CodeConstructor.cs
- IsolatedStorageFileStream.cs
- QilPatternVisitor.cs
- InputScopeManager.cs
- MobileControl.cs
- NativeMethods.cs
- XmlSortKey.cs
- FixedSOMTextRun.cs
- RouteParametersHelper.cs
- DataGridHeaderBorder.cs
- ToolStripButton.cs
- SqlRemoveConstantOrderBy.cs
- CanExecuteRoutedEventArgs.cs
- FilterableAttribute.cs
- TextBoxRenderer.cs
- SamlAction.cs
- SrgsSubset.cs
- SiteOfOriginPart.cs
- Int32.cs
- ResXResourceWriter.cs
- DocumentEventArgs.cs
- NavigationProgressEventArgs.cs
- ImageAutomationPeer.cs
- BlurEffect.cs
- MaskedTextProvider.cs
- TraceSection.cs
- figurelengthconverter.cs
- DataGridToolTip.cs
- SqlDelegatedTransaction.cs
- UIHelper.cs