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
- MemberRelationshipService.cs
- PrimitiveXmlSerializers.cs
- ReachPrintTicketSerializer.cs
- ParameterElement.cs
- SystemColors.cs
- TextRangeEdit.cs
- DefaultPropertyAttribute.cs
- FormsAuthenticationModule.cs
- DesignerAttribute.cs
- TabletDeviceInfo.cs
- DbDataReader.cs
- ByteStreamMessageEncodingElement.cs
- HwndSourceParameters.cs
- HttpServerVarsCollection.cs
- EntityContainer.cs
- ClassDataContract.cs
- ScriptingProfileServiceSection.cs
- XmlnsDefinitionAttribute.cs
- TextWriterEngine.cs
- EntityException.cs
- LookupBindingPropertiesAttribute.cs
- SystemIPAddressInformation.cs
- CompilerWrapper.cs
- IdentityNotMappedException.cs
- DrawingContext.cs
- MbpInfo.cs
- DesignSurfaceEvent.cs
- prompt.cs
- SmiRecordBuffer.cs
- CalendarDay.cs
- TabletDevice.cs
- EventSinkHelperWriter.cs
- ResXBuildProvider.cs
- ToolStripSettings.cs
- ParserExtension.cs
- QilXmlReader.cs
- _UncName.cs
- ComplexPropertyEntry.cs
- OpenTypeCommon.cs
- WebPartTracker.cs
- XmlNodeChangedEventArgs.cs
- StorageRoot.cs
- TabletDeviceInfo.cs
- MenuBindingsEditor.cs
- CodeSnippetStatement.cs
- CalendarSelectionChangedEventArgs.cs
- Utils.cs
- SchemaDeclBase.cs
- PropertyRecord.cs
- HtmlPhoneCallAdapter.cs
- PerspectiveCamera.cs
- SafeLibraryHandle.cs
- DropSource.cs
- ObjectFullSpanRewriter.cs
- CompilerWrapper.cs
- XmlWrappingReader.cs
- ToolStripSeparatorRenderEventArgs.cs
- TempFiles.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- SafeBitVector32.cs
- BaseTypeViewSchema.cs
- UseLicense.cs
- MobileSysDescriptionAttribute.cs
- UniqueIdentifierService.cs
- ContextMenu.cs
- AssemblyCollection.cs
- ToolStripSplitStackLayout.cs
- StorageMappingItemLoader.cs
- RelationshipEndCollection.cs
- DataBindingCollection.cs
- XmlObjectSerializerWriteContextComplex.cs
- PrintingPermission.cs
- Wizard.cs
- DbCommandTree.cs
- Lasso.cs
- GACIdentityPermission.cs
- CultureInfoConverter.cs
- StreamResourceInfo.cs
- DateTimeFormatInfoScanner.cs
- MediaPlayerState.cs
- NativeMethods.cs
- BamlReader.cs
- SqlProfileProvider.cs
- DesignBindingConverter.cs
- PropertyGridView.cs
- ServiceDescriptionReflector.cs
- DataGridViewSelectedCellCollection.cs
- WebBrowserUriTypeConverter.cs
- Transform3DGroup.cs
- WebMessageEncodingBindingElement.cs
- XmlStringTable.cs
- SQLGuid.cs
- Emitter.cs
- ThrowHelper.cs
- SqlCommandBuilder.cs
- RowToParametersTransformer.cs
- Point3DKeyFrameCollection.cs
- PaperSource.cs
- UIElement3D.cs
- InnerItemCollectionView.cs