Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the parameters to invoke the method with. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- SignatureGenerator.cs
- HttpBrowserCapabilitiesWrapper.cs
- SingleSelectRootGridEntry.cs
- ProcessStartInfo.cs
- GraphicsContainer.cs
- HyperLinkStyle.cs
- Error.cs
- Hex.cs
- PartialTrustHelpers.cs
- TemplateNameScope.cs
- FolderBrowserDialog.cs
- QueryParameter.cs
- CompressedStack.cs
- GlobalItem.cs
- AutomationAttributeInfo.cs
- TextDecorationCollection.cs
- ChannelManager.cs
- SendDesigner.xaml.cs
- ContentWrapperAttribute.cs
- NativeMethods.cs
- AnnotationComponentManager.cs
- ContentPlaceHolder.cs
- SqlBinder.cs
- MenuItemBindingCollection.cs
- BaseInfoTable.cs
- PropertyDescriptorCollection.cs
- Point3D.cs
- DataRecordInternal.cs
- Config.cs
- InkCanvasFeedbackAdorner.cs
- WebReferencesBuildProvider.cs
- HttpCookie.cs
- UpdateException.cs
- AppSecurityManager.cs
- SqlGenericUtil.cs
- CallbackHandler.cs
- ClientUrlResolverWrapper.cs
- XmlSignatureProperties.cs
- TextBoxAutomationPeer.cs
- AttributedMetaModel.cs
- BuildManagerHost.cs
- SrgsRuleRef.cs
- KnownColorTable.cs
- OleDbInfoMessageEvent.cs
- Padding.cs
- ServiceOperationInfoTypeConverter.cs
- EntityClientCacheKey.cs
- MultiAsyncResult.cs
- OleDbDataReader.cs
- DataGridItemCollection.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ToolStripSplitButton.cs
- ShutDownListener.cs
- DataColumn.cs
- FontInfo.cs
- ResourceFallbackManager.cs
- XmlResolver.cs
- objectresult_tresulttype.cs
- TextSpan.cs
- DropDownList.cs
- MetaModel.cs
- MetadataPropertyAttribute.cs
- PauseStoryboard.cs
- WriteStateInfoBase.cs
- Attributes.cs
- ToolStripPanelRenderEventArgs.cs
- BitmapSizeOptions.cs
- FileLevelControlBuilderAttribute.cs
- UIAgentMonitorHandle.cs
- SimpleTextLine.cs
- SqlBulkCopyColumnMapping.cs
- CloseSequence.cs
- XmlCharacterData.cs
- ControlBindingsConverter.cs
- Baml2006Reader.cs
- XmlDocumentSchema.cs
- WebPartAuthorizationEventArgs.cs
- WindowsListBox.cs
- DynamicPropertyHolder.cs
- Typography.cs
- ProtocolsConfiguration.cs
- TextBlockAutomationPeer.cs
- AttributeCollection.cs
- DocumentCollection.cs
- CurrentChangedEventManager.cs
- CommonDialog.cs
- PackWebRequest.cs
- ParamArrayAttribute.cs
- ProviderSettingsCollection.cs
- SecurityTokenInclusionMode.cs
- ContentOperations.cs
- WmlTextViewAdapter.cs
- XPathConvert.cs
- TextTreeDeleteContentUndoUnit.cs
- HttpWebResponse.cs
- XmlCodeExporter.cs
- SwitchCase.cs
- OleDbParameter.cs
- PrintDialogException.cs
- ProviderConnectionPoint.cs