Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- MobileUserControl.cs
- ELinqQueryState.cs
- ExtentKey.cs
- ToolStripRendererSwitcher.cs
- Nodes.cs
- odbcmetadatacolumnnames.cs
- MarkedHighlightComponent.cs
- ParseElement.cs
- Span.cs
- XmlWrappingWriter.cs
- AnalyzedTree.cs
- OletxResourceManager.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- XmlCharType.cs
- StateValidator.cs
- ActionItem.cs
- ConvertEvent.cs
- WebPartHeaderCloseVerb.cs
- ElementNotAvailableException.cs
- RichTextBoxConstants.cs
- ObjectSecurity.cs
- Sentence.cs
- StsCommunicationException.cs
- ColumnMapVisitor.cs
- WebPartUserCapability.cs
- TagMapCollection.cs
- StrokeNodeOperations2.cs
- DataControlFieldCell.cs
- CodeDOMUtility.cs
- XPathParser.cs
- XPathNavigatorReader.cs
- DataGridViewRowsAddedEventArgs.cs
- XmlIlGenerator.cs
- ParenthesizePropertyNameAttribute.cs
- BasicHttpSecurityElement.cs
- BitmapEffectDrawing.cs
- CookieProtection.cs
- CodeGeneratorOptions.cs
- WsdlParser.cs
- WindowsBrush.cs
- DataSvcMapFileSerializer.cs
- HttpModuleAction.cs
- ResponseStream.cs
- Debug.cs
- CompiledIdentityConstraint.cs
- ProxyHwnd.cs
- BlurBitmapEffect.cs
- CapiSymmetricAlgorithm.cs
- SafeCryptoHandles.cs
- HelloMessage11.cs
- TargetInvocationException.cs
- KeyTimeConverter.cs
- VectorAnimation.cs
- DrawingImage.cs
- SqlParameterCollection.cs
- SerializationSectionGroup.cs
- EntityContainer.cs
- HttpCacheVaryByContentEncodings.cs
- RunWorkerCompletedEventArgs.cs
- RadioButtonList.cs
- ToolStripDropDownButton.cs
- SortKey.cs
- ManagedIStream.cs
- FloaterBaseParaClient.cs
- PeerNameRecordCollection.cs
- TraceSource.cs
- InteropAutomationProvider.cs
- ProfileBuildProvider.cs
- ConnectionPoolManager.cs
- ContainsRowNumberChecker.cs
- EventDescriptorCollection.cs
- InteropBitmapSource.cs
- ObjectDisposedException.cs
- FloatAverageAggregationOperator.cs
- OutputCacheProfile.cs
- ProviderCollection.cs
- SiteMapNodeItemEventArgs.cs
- TempFiles.cs
- SerialPort.cs
- ItemsPresenter.cs
- TransformerConfigurationWizardBase.cs
- WebScriptEnablingBehavior.cs
- WorkflowPersistenceService.cs
- ConditionBrowserDialog.cs
- TemplateBindingExtensionConverter.cs
- SmtpNtlmAuthenticationModule.cs
- TraceListener.cs
- FaultHandlingFilter.cs
- ValidationPropertyAttribute.cs
- ConversionHelper.cs
- ServiceCredentialsSecurityTokenManager.cs
- DefaultObjectMappingItemCollection.cs
- XmlHierarchicalEnumerable.cs
- GAC.cs
- WhitespaceReader.cs
- ConfigurationFileMap.cs
- PropertyValueChangedEvent.cs
- ToolStripSeparatorRenderEventArgs.cs
- ObjectTag.cs
- RichListBox.cs