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
- MimeBasePart.cs
- ImageMap.cs
- MultilineStringConverter.cs
- ReadingWritingEntityEventArgs.cs
- SqlClientPermission.cs
- StylusButton.cs
- XmlBufferReader.cs
- Array.cs
- TypeElement.cs
- TextSelectionProcessor.cs
- Page.cs
- ThemeDictionaryExtension.cs
- DesigntimeLicenseContextSerializer.cs
- SeekStoryboard.cs
- BinaryConverter.cs
- DependentList.cs
- AddInServer.cs
- LOSFormatter.cs
- _AuthenticationState.cs
- FontResourceCache.cs
- ImageKeyConverter.cs
- ProgressBarHighlightConverter.cs
- TypeResolver.cs
- XmlArrayItemAttribute.cs
- BidOverLoads.cs
- BuildProviderCollection.cs
- IdentityNotMappedException.cs
- ThreadStaticAttribute.cs
- RTLAwareMessageBox.cs
- GraphicsState.cs
- AsymmetricCryptoHandle.cs
- ProxyWebPartManagerDesigner.cs
- WindowVisualStateTracker.cs
- PersonalizablePropertyEntry.cs
- HttpPostedFile.cs
- BaseAsyncResult.cs
- TreeViewImageKeyConverter.cs
- GridViewColumn.cs
- EndPoint.cs
- EndpointPerformanceCounters.cs
- FormDesigner.cs
- FormView.cs
- ServiceOperationWrapper.cs
- FixedSOMTableRow.cs
- PasswordRecoveryAutoFormat.cs
- CompModSwitches.cs
- StringExpressionSet.cs
- RegexWorker.cs
- FilterQuery.cs
- SoapClientMessage.cs
- SQLBinaryStorage.cs
- Point3DAnimation.cs
- TimeSpanSecondsConverter.cs
- HttpCacheVaryByContentEncodings.cs
- Char.cs
- InnerItemCollectionView.cs
- PrinterSettings.cs
- HtmlDocument.cs
- CommandBinding.cs
- MULTI_QI.cs
- TracedNativeMethods.cs
- Profiler.cs
- OdbcRowUpdatingEvent.cs
- Int64AnimationUsingKeyFrames.cs
- XmlAnyElementAttributes.cs
- ImmutableObjectAttribute.cs
- _SecureChannel.cs
- BaseConfigurationRecord.cs
- DynamicPropertyReader.cs
- DataGridViewCellPaintingEventArgs.cs
- PageRanges.cs
- URLAttribute.cs
- UserControl.cs
- EntityContainerRelationshipSetEnd.cs
- QueryReaderSettings.cs
- WindowsListViewItemCheckBox.cs
- ExpressionPrefixAttribute.cs
- KeyValueInternalCollection.cs
- mda.cs
- SequentialUshortCollection.cs
- GlobalEventManager.cs
- FieldNameLookup.cs
- WindowPattern.cs
- CacheAxisQuery.cs
- Rotation3D.cs
- ErrorTableItemStyle.cs
- EventHandlersStore.cs
- DefaultProfileManager.cs
- XmlAttribute.cs
- WindowsSysHeader.cs
- BinaryConverter.cs
- CodeArrayIndexerExpression.cs
- HtmlForm.cs
- RawStylusInputReport.cs
- DES.cs
- TreeNodeClickEventArgs.cs
- CompressStream.cs
- ControlType.cs
- DynamicValueConverter.cs
- MsmqBindingFilter.cs