Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersistenceParticipant.cs
- Package.cs
- ProcessHostConfigUtils.cs
- HttpServerUtilityWrapper.cs
- DataObjectEventArgs.cs
- ResXResourceReader.cs
- CalendarTable.cs
- InvalidOperationException.cs
- FixUpCollection.cs
- MetadataArtifactLoaderFile.cs
- DataSourceGroupCollection.cs
- Size.cs
- CmsInterop.cs
- TransactionManager.cs
- SoapObjectReader.cs
- TraceContext.cs
- WindowsFormsLinkLabel.cs
- StrokeNodeOperations2.cs
- OdbcStatementHandle.cs
- LinqDataSourceHelper.cs
- CharUnicodeInfo.cs
- Tuple.cs
- Switch.cs
- SettingsAttributeDictionary.cs
- DeadCharTextComposition.cs
- EntityClassGenerator.cs
- XslTransform.cs
- Helper.cs
- X509PeerCertificateAuthenticationElement.cs
- TableTextElementCollectionInternal.cs
- SafeArrayTypeMismatchException.cs
- KeyTimeConverter.cs
- DocumentPageViewAutomationPeer.cs
- CheckedListBox.cs
- ColorContextHelper.cs
- ConnectorDragDropGlyph.cs
- DbParameterHelper.cs
- Thread.cs
- ExpressionParser.cs
- ResourceDictionaryCollection.cs
- DataListCommandEventArgs.cs
- ProgressBar.cs
- AppDomainProtocolHandler.cs
- GenericsInstances.cs
- ApplicationSettingsBase.cs
- HtmlInputSubmit.cs
- FlowDocumentScrollViewer.cs
- PropertyFilterAttribute.cs
- ChannelBuilder.cs
- DiscoveryClientReferences.cs
- ComboBox.cs
- ErrorItem.cs
- DataExchangeServiceBinder.cs
- PersistenceIOParticipant.cs
- ServiceDescriptionContext.cs
- AssemblyHash.cs
- NotSupportedException.cs
- XamlParser.cs
- ToolStripManager.cs
- SqlDelegatedTransaction.cs
- WebBrowserContainer.cs
- UrlMappingsModule.cs
- FixedDocumentSequencePaginator.cs
- FragmentQueryProcessor.cs
- BmpBitmapDecoder.cs
- GridItem.cs
- TimeSpanSecondsConverter.cs
- FixedSOMSemanticBox.cs
- TextEditorTyping.cs
- PackageDigitalSignature.cs
- WorkflowApplicationEventArgs.cs
- MembershipUser.cs
- EntityViewGenerator.cs
- AssemblyAttributesGoHere.cs
- OleDbConnectionInternal.cs
- SynchronizationContextHelper.cs
- DesignerDataSchemaClass.cs
- HtmlUtf8RawTextWriter.cs
- StrokeSerializer.cs
- TextServicesPropertyRanges.cs
- EntityCommandCompilationException.cs
- UshortList2.cs
- WorkflowDesigner.cs
- Cursor.cs
- GeneratedCodeAttribute.cs
- ReferentialConstraint.cs
- IApplicationTrustManager.cs
- DispatcherObject.cs
- SecurityElement.cs
- ImageKeyConverter.cs
- GuidelineSet.cs
- XmlSchemaDatatype.cs
- CellPartitioner.cs
- XmlHierarchyData.cs
- EntityDataSourceColumn.cs
- ComponentCodeDomSerializer.cs
- ObjectComplexPropertyMapping.cs
- PseudoWebRequest.cs
- DataGridViewSelectedColumnCollection.cs
- TransactionState.cs