Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- DBNull.cs
- TypeConverterAttribute.cs
- ProfileService.cs
- Menu.cs
- AssemblyAttributes.cs
- XmlSerializationWriter.cs
- SignatureDescription.cs
- EdmToObjectNamespaceMap.cs
- ReflectPropertyDescriptor.cs
- LinqDataSourceEditData.cs
- Fonts.cs
- DynamicDiscoSearcher.cs
- Assert.cs
- Pointer.cs
- EdgeModeValidation.cs
- Invariant.cs
- DataGridColumn.cs
- MinimizableAttributeTypeConverter.cs
- WindowsListViewItemCheckBox.cs
- ConnectivityStatus.cs
- ColorConvertedBitmapExtension.cs
- HashHelper.cs
- Identity.cs
- mda.cs
- CompositeControl.cs
- BinarySecretKeyIdentifierClause.cs
- AnnotationHighlightLayer.cs
- MethodSet.cs
- FormsIdentity.cs
- LinearQuaternionKeyFrame.cs
- StringInfo.cs
- BoundPropertyEntry.cs
- LeafCellTreeNode.cs
- ContentValidator.cs
- WebHttpBindingElement.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ContextMenuAutomationPeer.cs
- Context.cs
- JoinGraph.cs
- MarshalDirectiveException.cs
- WsdlInspector.cs
- X509Certificate.cs
- WaitForChangedResult.cs
- QuadraticBezierSegment.cs
- WebDescriptionAttribute.cs
- NullableFloatMinMaxAggregationOperator.cs
- SecurityUtils.cs
- Version.cs
- WinFormsSecurity.cs
- DbParameterHelper.cs
- UnsafeNativeMethods.cs
- InternalConfigSettingsFactory.cs
- RewritingValidator.cs
- PeerObject.cs
- Buffer.cs
- StorageEndPropertyMapping.cs
- SyndicationDeserializer.cs
- AccessText.cs
- ReferencedAssembly.cs
- XmlReflectionMember.cs
- Pkcs7Signer.cs
- CachedPathData.cs
- AmbientLight.cs
- Deflater.cs
- Int32Rect.cs
- HighlightOverlayGlyph.cs
- ConditionalAttribute.cs
- ImpersonationContext.cs
- ClickablePoint.cs
- HtmlTableCell.cs
- CommandEventArgs.cs
- GridSplitter.cs
- OracleString.cs
- Predicate.cs
- ResourcePool.cs
- XmlIgnoreAttribute.cs
- BinaryParser.cs
- HideDisabledControlAdapter.cs
- EntitySetBase.cs
- QueryPageSettingsEventArgs.cs
- UserControl.cs
- PathNode.cs
- HttpStreamMessage.cs
- CommandLineParser.cs
- Bitmap.cs
- Cursor.cs
- UpdatePanelTriggerCollection.cs
- MethodAccessException.cs
- RuleRef.cs
- ScriptManager.cs
- TileBrush.cs
- WebPartEditVerb.cs
- TabletDeviceInfo.cs
- DragDeltaEventArgs.cs
- WebPartConnection.cs
- SafeFileMapViewHandle.cs
- XsdDataContractExporter.cs
- StrongNamePublicKeyBlob.cs
- IssuanceLicense.cs
- RadioButtonAutomationPeer.cs