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
- SourceLineInfo.cs
- MessagePartDescriptionCollection.cs
- AccessKeyManager.cs
- TCPClient.cs
- CanonicalizationDriver.cs
- SerializerWriterEventHandlers.cs
- ConfigXmlAttribute.cs
- DataSet.cs
- XmlQueryStaticData.cs
- ExtendedPropertyDescriptor.cs
- Point4DConverter.cs
- CodeSnippetExpression.cs
- MembershipValidatePasswordEventArgs.cs
- COMException.cs
- CodeDirectiveCollection.cs
- TransformedBitmap.cs
- RuntimeCompatibilityAttribute.cs
- SystemParameters.cs
- ToolStripTemplateNode.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- QueueProcessor.cs
- XmlConverter.cs
- Serializer.cs
- StringCollection.cs
- GlobalItem.cs
- PageBreakRecord.cs
- AsyncOperation.cs
- ModuleBuilder.cs
- TempFiles.cs
- KnownBoxes.cs
- DictionaryKeyPropertyAttribute.cs
- MasterPageCodeDomTreeGenerator.cs
- Debugger.cs
- DataGridLinkButton.cs
- ObjectNavigationPropertyMapping.cs
- DocumentCollection.cs
- XmlSchemaComplexContentExtension.cs
- InternalsVisibleToAttribute.cs
- SafeNativeMethods.cs
- ZeroOpNode.cs
- ToolStripDropDownDesigner.cs
- DateTimePickerDesigner.cs
- NotImplementedException.cs
- Manipulation.cs
- DataSourceXmlSerializationAttribute.cs
- ControlCommandSet.cs
- Automation.cs
- TimeManager.cs
- TypeSchema.cs
- ConfigurationElementCollection.cs
- ISessionStateStore.cs
- HttpModule.cs
- StrokeIntersection.cs
- ListSortDescription.cs
- SignatureDescription.cs
- Identity.cs
- SliderAutomationPeer.cs
- PaperSource.cs
- FontUnitConverter.cs
- FilterableAttribute.cs
- CaseExpr.cs
- OracleParameterBinding.cs
- DataGridCellAutomationPeer.cs
- DrawListViewColumnHeaderEventArgs.cs
- DataMisalignedException.cs
- XmlReader.cs
- EventLogConfiguration.cs
- SignatureDescription.cs
- DataGridDesigner.cs
- SystemColorTracker.cs
- OrCondition.cs
- LinkAreaEditor.cs
- CellQuery.cs
- EventMap.cs
- MatrixAnimationUsingPath.cs
- DataSourceXmlTextReader.cs
- SqlFlattener.cs
- XmlSiteMapProvider.cs
- IdleTimeoutMonitor.cs
- InlineUIContainer.cs
- ComponentCommands.cs
- DirectoryRedirect.cs
- WebBrowsableAttribute.cs
- BindingGroup.cs
- ParserHooks.cs
- StrongNameIdentityPermission.cs
- FileEnumerator.cs
- ValidationSummary.cs
- StylusPointPropertyUnit.cs
- HorizontalAlignConverter.cs
- DataListAutoFormat.cs
- SubqueryTrackingVisitor.cs
- Popup.cs
- DisplayNameAttribute.cs
- PropertyMapper.cs
- SQlBooleanStorage.cs
- TypeValidationEventArgs.cs
- ComplexType.cs
- ServiceNameElement.cs
- ellipse.cs