Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the parameters to invoke the method with. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- HashCodeCombiner.cs
- PointLightBase.cs
- Vector3DAnimation.cs
- PageCodeDomTreeGenerator.cs
- UnsafeNativeMethods.cs
- OdbcInfoMessageEvent.cs
- UserControl.cs
- TextDecorationCollection.cs
- SelectedGridItemChangedEvent.cs
- SystemUnicastIPAddressInformation.cs
- FormClosingEvent.cs
- SecurityMode.cs
- LayoutInformation.cs
- TableCellCollection.cs
- ResourceWriter.cs
- DataGridToolTip.cs
- ComplexTypeEmitter.cs
- KeySplineConverter.cs
- FileDialogCustomPlacesCollection.cs
- DesignBindingEditor.cs
- SqlProfileProvider.cs
- EpmSourcePathSegment.cs
- MimeTypePropertyAttribute.cs
- NameValuePermission.cs
- ForeignConstraint.cs
- ChtmlTextWriter.cs
- HtmlInputRadioButton.cs
- ZipIOCentralDirectoryBlock.cs
- Rfc2898DeriveBytes.cs
- ITextView.cs
- ConsoleKeyInfo.cs
- _AuthenticationState.cs
- QilSortKey.cs
- BuildProvidersCompiler.cs
- Configuration.cs
- XmlComment.cs
- CommandField.cs
- TextEditorCopyPaste.cs
- GroupedContextMenuStrip.cs
- PropertyPanel.cs
- WebPartUserCapability.cs
- CheckBoxDesigner.cs
- UserControl.cs
- PowerModeChangedEventArgs.cs
- TiffBitmapDecoder.cs
- ServiceModelSectionGroup.cs
- Enum.cs
- Rules.cs
- SemaphoreSecurity.cs
- SendParametersContent.cs
- ConfigurationElementProperty.cs
- MergeLocalizationDirectives.cs
- TdsValueSetter.cs
- BinaryNode.cs
- LongValidator.cs
- ServicePoint.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- FormsAuthenticationEventArgs.cs
- LoginName.cs
- FreezableOperations.cs
- AffineTransform3D.cs
- ImageUrlEditor.cs
- XmlQuerySequence.cs
- ButtonFlatAdapter.cs
- querybuilder.cs
- RowType.cs
- UnsafeNativeMethods.cs
- ClusterRegistryConfigurationProvider.cs
- ObjectReaderCompiler.cs
- PrintDialog.cs
- TreeView.cs
- FileUpload.cs
- BinaryConverter.cs
- DbTypeMap.cs
- CodeBinaryOperatorExpression.cs
- FloaterParaClient.cs
- XsltQilFactory.cs
- UnknownWrapper.cs
- GridErrorDlg.cs
- MultilineStringConverter.cs
- CorrelationActionMessageFilter.cs
- QilPatternFactory.cs
- UntrustedRecipientException.cs
- DataServiceQueryOfT.cs
- ServiceDescriptions.cs
- EdmScalarPropertyAttribute.cs
- CloseCryptoHandleRequest.cs
- ExpandCollapsePattern.cs
- EntityDataSourceContextCreatedEventArgs.cs
- X509AsymmetricSecurityKey.cs
- SqlXml.cs
- MaskPropertyEditor.cs
- Preprocessor.cs
- UnsettableComboBox.cs
- localization.cs
- WpfPayload.cs
- CachedFontFace.cs
- SecurityContext.cs
- DiscoveryUtility.cs
- TextBreakpoint.cs