Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- LookupBindingPropertiesAttribute.cs
- DoubleAverageAggregationOperator.cs
- TableLayoutStyle.cs
- TakeOrSkipQueryOperator.cs
- FixedSOMPageConstructor.cs
- EncryptedKey.cs
- NotFiniteNumberException.cs
- DesignerActionItem.cs
- ResolveMatchesMessage11.cs
- Encoder.cs
- RecognizerInfo.cs
- FontInfo.cs
- OdbcError.cs
- BoundField.cs
- _RegBlobWebProxyDataBuilder.cs
- UdpChannelFactory.cs
- XmlSchemaSimpleType.cs
- Adorner.cs
- ServicePoint.cs
- CodeArrayCreateExpression.cs
- TcpAppDomainProtocolHandler.cs
- Material.cs
- ConfigurationStrings.cs
- SafeNativeMethods.cs
- XsdDuration.cs
- DataGridViewLayoutData.cs
- TextServicesDisplayAttribute.cs
- MessageQueueException.cs
- RotateTransform.cs
- PropertyMappingExceptionEventArgs.cs
- ExtendedPropertyDescriptor.cs
- FilterableAttribute.cs
- IOException.cs
- MobileUserControlDesigner.cs
- ProcessProtocolHandler.cs
- XmlSchemas.cs
- UnsafeNativeMethods.cs
- WebPartDescription.cs
- DispatchWrapper.cs
- DocobjHost.cs
- InfoCardAsymmetricCrypto.cs
- XsltArgumentList.cs
- AdapterDictionary.cs
- TrackBarRenderer.cs
- StrokeFIndices.cs
- PageAdapter.cs
- Int16KeyFrameCollection.cs
- HtmlPanelAdapter.cs
- ScriptRegistrationManager.cs
- StreamGeometry.cs
- XmlSerializationGeneratedCode.cs
- MultiBindingExpression.cs
- MsmqNonTransactedPoisonHandler.cs
- ScopedKnownTypes.cs
- SqlBinder.cs
- SecureEnvironment.cs
- AdjustableArrowCap.cs
- BrowserCapabilitiesCompiler.cs
- XmlHierarchicalEnumerable.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- WebPartDisplayModeCancelEventArgs.cs
- Tile.cs
- login.cs
- MouseButton.cs
- DataBindingCollection.cs
- RegexCompiler.cs
- SessionChannels.cs
- SettingsPropertyCollection.cs
- ListViewAutomationPeer.cs
- OutOfMemoryException.cs
- XmlDataSourceView.cs
- ResourceCodeDomSerializer.cs
- CompositeActivityDesigner.cs
- InstanceHandleReference.cs
- ToolStripLabel.cs
- SqlDataSourceAdvancedOptionsForm.cs
- Scalars.cs
- PersonalizationDictionary.cs
- DisableDpiAwarenessAttribute.cs
- ListControl.cs
- SchemaEntity.cs
- DrawingImage.cs
- CharAnimationUsingKeyFrames.cs
- MiniCustomAttributeInfo.cs
- GACIdentityPermission.cs
- InkCanvasSelectionAdorner.cs
- BulletedListEventArgs.cs
- DataExchangeServiceBinder.cs
- OptimalTextSource.cs
- ToolStripRendererSwitcher.cs
- EventSourceCreationData.cs
- DashStyle.cs
- ExtensibleSyndicationObject.cs
- DeploymentSection.cs
- XamlSerializerUtil.cs
- WmfPlaceableFileHeader.cs
- RSAPKCS1KeyExchangeFormatter.cs
- odbcmetadatacollectionnames.cs
- Substitution.cs
- xsdvalidator.cs