Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeMethodInvokeExpression.cs / 1305376 / CodeMethodInvokeExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- UInt16Converter.cs
- TCPClient.cs
- shaperfactoryquerycachekey.cs
- MatrixKeyFrameCollection.cs
- __FastResourceComparer.cs
- LookupNode.cs
- DbUpdateCommandTree.cs
- HierarchicalDataSourceControl.cs
- XmlAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- LicenseManager.cs
- ProgressBarRenderer.cs
- WinFormsSecurity.cs
- EncodingConverter.cs
- TextComposition.cs
- FunctionUpdateCommand.cs
- EnterpriseServicesHelper.cs
- DocumentApplicationJournalEntryEventArgs.cs
- SingleConverter.cs
- KeyNotFoundException.cs
- SQLCharsStorage.cs
- PropertyOrder.cs
- ApplicationException.cs
- ObjectListDesigner.cs
- EdmTypeAttribute.cs
- DbParameterHelper.cs
- ToolStripCodeDomSerializer.cs
- DeviceContexts.cs
- DragDrop.cs
- LineInfo.cs
- SQLBinaryStorage.cs
- Style.cs
- UnorderedHashRepartitionStream.cs
- EastAsianLunisolarCalendar.cs
- VSWCFServiceContractGenerator.cs
- HttpServerVarsCollection.cs
- BrowserCapabilitiesCompiler.cs
- DataListItemEventArgs.cs
- EventLogEntry.cs
- DataPointer.cs
- Ref.cs
- CompensableActivity.cs
- AutomationIdentifierGuids.cs
- CustomAttributeFormatException.cs
- CSharpCodeProvider.cs
- WebPartManagerInternals.cs
- RectangleGeometry.cs
- Vector3DValueSerializer.cs
- VisualStateManager.cs
- StringBuilder.cs
- bindurihelper.cs
- SecurityDocument.cs
- SchemaImporterExtension.cs
- FilterFactory.cs
- ChannelManager.cs
- DataGridColumnReorderingEventArgs.cs
- TextPointer.cs
- ArrangedElementCollection.cs
- TextBounds.cs
- ListViewHitTestInfo.cs
- NumberSubstitution.cs
- ToolStripContainer.cs
- _AuthenticationState.cs
- ItemType.cs
- OdbcEnvironment.cs
- CheckBoxField.cs
- ObjectDataSourceView.cs
- SqlBinder.cs
- EntitySetRetriever.cs
- MimeObjectFactory.cs
- ToolStripDesignerAvailabilityAttribute.cs
- EmbeddedMailObjectCollectionEditor.cs
- XmlUtilWriter.cs
- XmlIgnoreAttribute.cs
- Graph.cs
- BinaryParser.cs
- mediaclock.cs
- SqlDataSourceView.cs
- SystemIPv4InterfaceProperties.cs
- TypeReference.cs
- WorkflowControlEndpoint.cs
- InvalidateEvent.cs
- HMACSHA512.cs
- SystemDiagnosticsSection.cs
- TileBrush.cs
- ServiceReference.cs
- WebServiceMethodData.cs
- control.ime.cs
- Base64Encoder.cs
- DesignerLoader.cs
- RichTextBox.cs
- SelectionItemProviderWrapper.cs
- HtmlGenericControl.cs
- TextBox.cs
- UpdatableWrapper.cs
- TrustManager.cs
- ApplicationSecurityInfo.cs
- exports.cs
- RemoteHelper.cs
- ComboBox.cs