Code:
/ DotNET / DotNET / 8.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
- Polygon.cs
- AssemblyLoader.cs
- SystemBrushes.cs
- DocumentPageTextView.cs
- MetadataItem_Static.cs
- WorkerRequest.cs
- VoiceObjectToken.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- Constants.cs
- ExpressionBinding.cs
- DrawItemEvent.cs
- UserControl.cs
- XmlIgnoreAttribute.cs
- ClassGenerator.cs
- ProfileModule.cs
- DocumentPageView.cs
- HybridDictionary.cs
- _LazyAsyncResult.cs
- CompatibleComparer.cs
- BitmapCodecInfoInternal.cs
- TextFormatter.cs
- AssemblyAttributes.cs
- InternalsVisibleToAttribute.cs
- FontEmbeddingManager.cs
- SqlNodeAnnotations.cs
- CollaborationHelperFunctions.cs
- _LazyAsyncResult.cs
- XamlSerializerUtil.cs
- SecurityState.cs
- CoTaskMemSafeHandle.cs
- SecurityCriticalDataForSet.cs
- CodeEntryPointMethod.cs
- IncomingWebRequestContext.cs
- FloaterBaseParaClient.cs
- UnsafeNativeMethods.cs
- XPathAncestorQuery.cs
- OverlappedAsyncResult.cs
- SqlUtils.cs
- GroupBoxRenderer.cs
- GlobalizationSection.cs
- DiscriminatorMap.cs
- SqlDelegatedTransaction.cs
- DocumentReference.cs
- XmlSerializerSection.cs
- PlainXmlSerializer.cs
- bindurihelper.cs
- XmlLanguage.cs
- DecimalAnimation.cs
- DataSourceControlBuilder.cs
- MTConfigUtil.cs
- EntityWrapperFactory.cs
- SqlParameterCollection.cs
- UpdateProgress.cs
- BatchParser.cs
- WsdlImporterElementCollection.cs
- PartialCachingControl.cs
- SizeKeyFrameCollection.cs
- BindingExpressionUncommonField.cs
- ResXResourceReader.cs
- HotSpotCollection.cs
- ZipPackage.cs
- EditorPartCollection.cs
- HyperLinkField.cs
- LicenseException.cs
- PathGradientBrush.cs
- SoapIncludeAttribute.cs
- FlowDocumentReader.cs
- CheckBox.cs
- SchemaLookupTable.cs
- PopupControlService.cs
- FacetDescriptionElement.cs
- EdmComplexTypeAttribute.cs
- ChameleonKey.cs
- UTF8Encoding.cs
- IisTraceListener.cs
- DatatypeImplementation.cs
- ISAPIApplicationHost.cs
- ProviderSettings.cs
- WindowsClientElement.cs
- AttributeQuery.cs
- FileReader.cs
- SecurityRuntime.cs
- DataGridViewAccessibleObject.cs
- DispatcherSynchronizationContext.cs
- XmlIlGenerator.cs
- SafeNativeMethods.cs
- UIElement.cs
- CallSiteHelpers.cs
- XmlLangPropertyAttribute.cs
- ListControlStringCollectionEditor.cs
- BezierSegment.cs
- TextParentUndoUnit.cs
- OverlappedAsyncResult.cs
- StrokeNodeOperations.cs
- FontStretchConverter.cs
- NavigationPropertyEmitter.cs
- DescendantOverDescendantQuery.cs
- RoutedEvent.cs
- LockCookie.cs
- DetailsViewPageEventArgs.cs