Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeMethodInvokeExpression.cs / 1305376 / CodeMethodInvokeExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- TrackingDataItemValue.cs
- DataListComponentEditor.cs
- GenerateHelper.cs
- WindowsGraphicsWrapper.cs
- ObjectListFieldsPage.cs
- ToolStripMenuItem.cs
- CompositionAdorner.cs
- HttpCookieCollection.cs
- HashHelper.cs
- UriPrefixTable.cs
- BoundsDrawingContextWalker.cs
- ExistsInCollection.cs
- SignatureToken.cs
- ChannelEndpointElementCollection.cs
- CustomSignedXml.cs
- BuildProvider.cs
- Relationship.cs
- RightsManagementSuppressedStream.cs
- InternalConfigSettingsFactory.cs
- BitmapData.cs
- SerializerProvider.cs
- InvalidTimeZoneException.cs
- UnmanagedMemoryStream.cs
- AtomServiceDocumentSerializer.cs
- RenamedEventArgs.cs
- NativeMethods.cs
- FormViewModeEventArgs.cs
- peernodestatemanager.cs
- Selector.cs
- FindCriteria11.cs
- CmsInterop.cs
- StartUpEventArgs.cs
- BaseDataList.cs
- AsmxEndpointPickerExtension.cs
- ProfileService.cs
- XhtmlBasicPageAdapter.cs
- RandomNumberGenerator.cs
- StylusCaptureWithinProperty.cs
- Perspective.cs
- UnsafeNativeMethods.cs
- PrintEvent.cs
- ComponentResourceKey.cs
- DesignerCategoryAttribute.cs
- ValidationEventArgs.cs
- ThrowHelper.cs
- CLSCompliantAttribute.cs
- CrossSiteScriptingValidation.cs
- NextPreviousPagerField.cs
- DataGridViewBand.cs
- ModelTreeEnumerator.cs
- FindCriteriaCD1.cs
- CodeTypeParameter.cs
- GenericParameterDataContract.cs
- ZipIOFileItemStream.cs
- ThreadAbortException.cs
- HttpResponse.cs
- Pool.cs
- EntityConnectionStringBuilder.cs
- ValueHandle.cs
- TextPointerBase.cs
- XmlUrlResolver.cs
- TransformGroup.cs
- sqlcontext.cs
- IgnoreFileBuildProvider.cs
- DbParameterCollectionHelper.cs
- RegexNode.cs
- HashCodeCombiner.cs
- WebEventTraceProvider.cs
- ScrollableControl.cs
- GenericQueueSurrogate.cs
- XmlSerializableServices.cs
- CompiledRegexRunnerFactory.cs
- SQLInt64Storage.cs
- ApplyTemplatesAction.cs
- HttpDebugHandler.cs
- UnsupportedPolicyOptionsException.cs
- XPathConvert.cs
- WarningException.cs
- XmlSchemaSimpleType.cs
- wgx_render.cs
- SchemaNamespaceManager.cs
- IncrementalHitTester.cs
- ServiceDeploymentInfo.cs
- ToolStripControlHost.cs
- SmtpMail.cs
- SoapSchemaExporter.cs
- EditCommandColumn.cs
- HTMLTagNameToTypeMapper.cs
- TraceInternal.cs
- Trace.cs
- DecimalSumAggregationOperator.cs
- DeferredSelectedIndexReference.cs
- Imaging.cs
- MatrixAnimationBase.cs
- SizeAnimationClockResource.cs
- SystemIPInterfaceStatistics.cs
- UInt16Converter.cs
- SQLMoney.cs
- TransformGroup.cs
- DetailsViewUpdateEventArgs.cs