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
- EntityContainer.cs
- XMLDiffLoader.cs
- XmlAttributeAttribute.cs
- WebPartVerb.cs
- TableLayoutCellPaintEventArgs.cs
- OdbcHandle.cs
- MissingFieldException.cs
- BufferedGraphicsContext.cs
- ProxyGenerationError.cs
- DoubleStorage.cs
- ToolbarAUtomationPeer.cs
- DataObjectFieldAttribute.cs
- MarkupCompilePass1.cs
- BufferedOutputStream.cs
- RegionInfo.cs
- _LazyAsyncResult.cs
- Input.cs
- VoiceChangeEventArgs.cs
- MutableAssemblyCacheEntry.cs
- CommandField.cs
- AQNBuilder.cs
- WorkflowFileItem.cs
- AutoScrollExpandMessageFilter.cs
- CompiledIdentityConstraint.cs
- Oid.cs
- CriticalHandle.cs
- TranslateTransform3D.cs
- OrderByExpression.cs
- DefaultMemberAttribute.cs
- ChangePassword.cs
- XamlDesignerSerializationManager.cs
- SystemDropShadowChrome.cs
- SecurityRuntime.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TabletDeviceInfo.cs
- WmlFormAdapter.cs
- CompoundFileStorageReference.cs
- FontClient.cs
- StrongNameIdentityPermission.cs
- DataGridItemCollection.cs
- BaseParaClient.cs
- ClientSettingsSection.cs
- SafeEventLogWriteHandle.cs
- SignedXml.cs
- HandoffBehavior.cs
- CategoryGridEntry.cs
- ArrayMergeHelper.cs
- securitymgrsite.cs
- MatrixTransform.cs
- PathSegmentCollection.cs
- PropertyExpression.cs
- TransportListener.cs
- ProcessStartInfo.cs
- ResourceCategoryAttribute.cs
- ConstantSlot.cs
- CommandHelper.cs
- SafeNativeMethodsMilCoreApi.cs
- SqlStatistics.cs
- DependencyPropertyKind.cs
- SqlXmlStorage.cs
- CacheMode.cs
- CoreChannel.cs
- ListItemCollection.cs
- PerfService.cs
- SQLResource.cs
- X500Name.cs
- SmiMetaDataProperty.cs
- FontStyles.cs
- PathFigureCollection.cs
- PropertyEmitter.cs
- PointCollectionValueSerializer.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- Context.cs
- CurrencyWrapper.cs
- ClientBuildManager.cs
- ResXResourceSet.cs
- LinqDataSourceEditData.cs
- XmlC14NWriter.cs
- SizeConverter.cs
- XmlComment.cs
- Base64Decoder.cs
- DataGridViewCheckBoxCell.cs
- CompilerGeneratedAttribute.cs
- ZipIOLocalFileBlock.cs
- Rules.cs
- PackageRelationshipCollection.cs
- XmlArrayItemAttribute.cs
- KeyTimeConverter.cs
- DataGridViewCellLinkedList.cs
- TransformConverter.cs
- MessageBox.cs
- XmlAttributes.cs
- ToolStripGripRenderEventArgs.cs
- BaseUriHelper.cs
- InternalSafeNativeMethods.cs
- Parsers.cs
- ListBase.cs
- BindingCollectionElement.cs
- PolygonHotSpot.cs
- ToolStripItemDataObject.cs