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
- ContainerActivationHelper.cs
- TextEndOfParagraph.cs
- ResourceExpressionBuilder.cs
- SoapCodeExporter.cs
- HebrewNumber.cs
- GenericXmlSecurityTokenAuthenticator.cs
- LogExtent.cs
- Table.cs
- XmlTextReaderImplHelpers.cs
- XmlAttribute.cs
- FrameworkContentElement.cs
- EntityDataSourceReferenceGroup.cs
- DynamicEndpointElement.cs
- BezierSegment.cs
- WrappedIUnknown.cs
- Site.cs
- TimeEnumHelper.cs
- ThemeInfoAttribute.cs
- DispatchOperation.cs
- SettingsSavedEventArgs.cs
- BindingCompleteEventArgs.cs
- ExpressionBindings.cs
- ToolStripHighContrastRenderer.cs
- Module.cs
- TypeRestriction.cs
- ServiceOperationInvoker.cs
- FactoryMaker.cs
- Environment.cs
- Storyboard.cs
- ToolTipAutomationPeer.cs
- HtmlTableCellCollection.cs
- WindowsGrip.cs
- DbParameterCollection.cs
- XmlCountingReader.cs
- RegexTypeEditor.cs
- GenericEnumerator.cs
- WeakReadOnlyCollection.cs
- AppDomainManager.cs
- TextBoxBaseDesigner.cs
- CollectionChangedEventManager.cs
- Container.cs
- OdbcConnectionStringbuilder.cs
- CodeExpressionStatement.cs
- TreeNode.cs
- RenderingBiasValidation.cs
- PriorityBinding.cs
- SimpleApplicationHost.cs
- UIntPtr.cs
- InfoCardArgumentException.cs
- ListViewCommandEventArgs.cs
- CustomAttributeBuilder.cs
- ResourceManagerWrapper.cs
- HtmlTitle.cs
- ComboBoxAutomationPeer.cs
- HtmlForm.cs
- IgnoreSection.cs
- AttributeCollection.cs
- EntityViewContainer.cs
- HttpListenerException.cs
- LineBreakRecord.cs
- NavigationEventArgs.cs
- baseshape.cs
- _SSPIWrapper.cs
- Timer.cs
- CrossSiteScriptingValidation.cs
- BaseValidator.cs
- Attribute.cs
- SaveFileDialog.cs
- PropertyBuilder.cs
- WebEvents.cs
- ManipulationStartedEventArgs.cs
- UserInitiatedNavigationPermission.cs
- TimeoutException.cs
- TextTreeRootTextBlock.cs
- AdornedElementPlaceholder.cs
- ServiceInfo.cs
- MetadataElement.cs
- ResourceReader.cs
- IndexingContentUnit.cs
- CustomMenuItemCollection.cs
- PickBranchDesigner.xaml.cs
- GenericRootAutomationPeer.cs
- WorkerRequest.cs
- WebPartChrome.cs
- HttpHandlersSection.cs
- UnsafeNativeMethods.cs
- ReadWriteObjectLock.cs
- Matrix3DConverter.cs
- StringUtil.cs
- listitem.cs
- EntityContainerEmitter.cs
- ReplyChannelAcceptor.cs
- DrawListViewColumnHeaderEventArgs.cs
- XmlSchemaObjectTable.cs
- OutputCacheSettings.cs
- CaseInsensitiveHashCodeProvider.cs
- Int16Animation.cs
- EventTrigger.cs
- MetadataUtil.cs
- AppDomainAttributes.cs