Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeMethodInvokeExpression.cs / 1 / CodeMethodInvokeExpression.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 CodeMethodInvokeExpression : CodeExpression { private CodeMethodReferenceExpression method; private CodeExpressionCollection parameters = new CodeExpressionCollection(); ////// Represents an /// expression to invoke a method, to be called on a given target. /// ////// public CodeMethodInvokeExpression() { } ////// Initializes a new instance of ///. /// /// public CodeMethodInvokeExpression(CodeMethodReferenceExpression method, params CodeExpression[] parameters) { this.method = method; Parameters.AddRange(parameters); } ////// Initializes a new instance of ///using the specified target object, method name /// and parameters. /// /// public CodeMethodInvokeExpression(CodeExpression targetObject, string methodName, params CodeExpression[] parameters) { this.method = new CodeMethodReferenceExpression(targetObject, methodName); Parameters.AddRange(parameters); } ///[To be supplied.] ////// public CodeMethodReferenceExpression Method { get { if (method == null) { method = new CodeMethodReferenceExpression(); } return method; } set { method = value; } } ////// Gets or sets the name of the method to invoke. /// ////// public CodeExpressionCollection Parameters { get { return parameters; } } } }/// Gets or sets /// the parameters to invoke the method with. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObsoleteAttribute.cs
- DocumentXPathNavigator.cs
- PreviewKeyDownEventArgs.cs
- _SecureChannel.cs
- SnapshotChangeTrackingStrategy.cs
- ContentPlaceHolder.cs
- XmlSchemaDatatype.cs
- ToolboxService.cs
- FieldBuilder.cs
- DesignerActionUI.cs
- PenThreadWorker.cs
- BitmapEncoder.cs
- Registry.cs
- HttpConfigurationSystem.cs
- HwndProxyElementProvider.cs
- SafeCryptContextHandle.cs
- VBCodeProvider.cs
- Synchronization.cs
- TextBoxBase.cs
- DataControlCommands.cs
- PlacementWorkspace.cs
- DNS.cs
- LoginCancelEventArgs.cs
- MetadataCache.cs
- RemoteWebConfigurationHostStream.cs
- DataBinding.cs
- ConnectionManagementElement.cs
- HttpWriter.cs
- AttachedAnnotation.cs
- SchemaMerger.cs
- InheritanceContextChangedEventManager.cs
- AutomationPattern.cs
- LinqDataSourceValidationException.cs
- TargetInvocationException.cs
- ClientProxyGenerator.cs
- RenderingEventArgs.cs
- MappingModelBuildProvider.cs
- SecurityToken.cs
- basecomparevalidator.cs
- InvokePatternIdentifiers.cs
- PropertyCondition.cs
- FixedElement.cs
- CTreeGenerator.cs
- IntegerValidatorAttribute.cs
- FontStretchConverter.cs
- RawTextInputReport.cs
- sqlnorm.cs
- SQLInt32.cs
- ProcessProtocolHandler.cs
- EmptyEnumerable.cs
- GetReadStreamResult.cs
- AssertSection.cs
- CurrentChangingEventManager.cs
- AddInIpcChannel.cs
- TypeNameParser.cs
- Lasso.cs
- XsltException.cs
- TemplateComponentConnector.cs
- PlanCompilerUtil.cs
- RectAnimation.cs
- WebHttpDispatchOperationSelectorData.cs
- User.cs
- CookieParameter.cs
- DataGridViewColumnCollectionDialog.cs
- UrlMapping.cs
- HtmlToClrEventProxy.cs
- ImageClickEventArgs.cs
- HtmlInputRadioButton.cs
- PtsContext.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SoapExtensionReflector.cs
- GenericPrincipal.cs
- ViewEvent.cs
- MenuItemCollectionEditor.cs
- TraceLevelStore.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- LambdaExpression.cs
- UnsettableComboBox.cs
- OracleCommandBuilder.cs
- SoundPlayerAction.cs
- GlyphRunDrawing.cs
- ChannelPool.cs
- TypeConverter.cs
- SqlTransaction.cs
- Hashtable.cs
- NTAccount.cs
- Point3DValueSerializer.cs
- ConfigurationElementProperty.cs
- ResourceExpressionBuilder.cs
- BigInt.cs
- AssemblyHelper.cs
- ToolStrip.cs
- DataGridItemAutomationPeer.cs
- SQLCharsStorage.cs
- CharacterMetricsDictionary.cs
- Image.cs
- TTSEvent.cs
- KeyProperty.cs
- HoistedLocals.cs
- XamlSerializer.cs