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
- TemplateManager.cs
- AuthenticationModulesSection.cs
- InputGestureCollection.cs
- PassportPrincipal.cs
- ResourcePart.cs
- OperationAbortedException.cs
- DelegatingTypeDescriptionProvider.cs
- ErrorHandler.cs
- RectangleGeometry.cs
- Splitter.cs
- ExpressionBuilderCollection.cs
- DynamicRendererThreadManager.cs
- StringUtil.cs
- InputProcessorProfiles.cs
- RenderingBiasValidation.cs
- BinHexEncoding.cs
- CodeRegionDirective.cs
- DataDocumentXPathNavigator.cs
- ImageCodecInfoPrivate.cs
- XmlCharacterData.cs
- BrowserCapabilitiesCodeGenerator.cs
- SaveFileDialog.cs
- ResXResourceReader.cs
- ComponentEditorPage.cs
- TextElementAutomationPeer.cs
- TableItemStyle.cs
- OperatingSystem.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- KerberosSecurityTokenProvider.cs
- FullTextBreakpoint.cs
- ActivityExecutorOperation.cs
- PathNode.cs
- GridEntry.cs
- sortedlist.cs
- DoubleAnimationClockResource.cs
- PrimaryKeyTypeConverter.cs
- ConnectionStringsExpressionBuilder.cs
- DefaultAssemblyResolver.cs
- ObjectIDGenerator.cs
- WebCategoryAttribute.cs
- FilterQueryOptionExpression.cs
- IDReferencePropertyAttribute.cs
- EntityContainerEmitter.cs
- SchemaSetCompiler.cs
- X509ChainElement.cs
- SizeFConverter.cs
- OracleDateTime.cs
- MetadataItemSerializer.cs
- FileDialog_Vista_Interop.cs
- WSFederationHttpBinding.cs
- DataObjectFieldAttribute.cs
- PreservationFileReader.cs
- XPathNodeInfoAtom.cs
- AnnotationComponentManager.cs
- FtpWebRequest.cs
- DetailsViewModeEventArgs.cs
- SessionEndedEventArgs.cs
- DomNameTable.cs
- StylusCollection.cs
- UnknownBitmapDecoder.cs
- OperationContractGenerationContext.cs
- RootProjectionNode.cs
- XmlElementCollection.cs
- TemplateBindingExtension.cs
- HashSetDebugView.cs
- ElementFactory.cs
- ToolStripContentPanelRenderEventArgs.cs
- ExceptionHandler.cs
- OperationResponse.cs
- HelpProvider.cs
- DesignerRegion.cs
- DataTrigger.cs
- NeutralResourcesLanguageAttribute.cs
- PathGradientBrush.cs
- StringResourceManager.cs
- DropShadowEffect.cs
- DependencyObject.cs
- UrlAuthorizationModule.cs
- WindowsStartMenu.cs
- InteropAutomationProvider.cs
- webeventbuffer.cs
- XmlWellformedWriter.cs
- WaitHandleCannotBeOpenedException.cs
- MDIControlStrip.cs
- _ChunkParse.cs
- QuaternionAnimation.cs
- ReferentialConstraint.cs
- AnnotationHighlightLayer.cs
- XmlSchemaValidator.cs
- KeyboardNavigation.cs
- IProvider.cs
- ConnectionPoolManager.cs
- InertiaTranslationBehavior.cs
- IDReferencePropertyAttribute.cs
- XmlSchemaRedefine.cs
- xml.cs
- FrameAutomationPeer.cs
- ObjectDataSourceChooseTypePanel.cs
- GuidTagList.cs
- GetWinFXPath.cs