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
- ScrollViewerAutomationPeer.cs
- AutomationPeer.cs
- PagerSettings.cs
- SiteMapDataSource.cs
- DataGridParentRows.cs
- ImportContext.cs
- AccessDataSourceView.cs
- SubqueryTrackingVisitor.cs
- COMException.cs
- CommandField.cs
- SecureConversationSecurityTokenParameters.cs
- PolyBezierSegment.cs
- TreeIterator.cs
- HttpContextBase.cs
- MergeFailedEvent.cs
- TabControlEvent.cs
- ActiveXHelper.cs
- WebPartCancelEventArgs.cs
- unsafenativemethodstextservices.cs
- QilFactory.cs
- EventHandlersDesigner.cs
- TextServicesPropertyRanges.cs
- DrawingVisualDrawingContext.cs
- PaginationProgressEventArgs.cs
- PixelFormats.cs
- RelOps.cs
- ControlParameter.cs
- LinkButton.cs
- CodeTypeDelegate.cs
- NullNotAllowedCollection.cs
- PageAdapter.cs
- BackgroundWorker.cs
- DataGridTablesFactory.cs
- FilteredXmlReader.cs
- FileDialogCustomPlacesCollection.cs
- RegexParser.cs
- XmlSchemaValidationException.cs
- SqlTypesSchemaImporter.cs
- Request.cs
- SafeMILHandleMemoryPressure.cs
- InvokeMethodActivity.cs
- FormViewRow.cs
- Point4D.cs
- PathParser.cs
- SecurityAppliedMessage.cs
- HwndStylusInputProvider.cs
- StylusPointPropertyUnit.cs
- FacetDescription.cs
- UrlPath.cs
- AsyncResult.cs
- DataGridViewCellStyleChangedEventArgs.cs
- EntityDataSourceContextCreatedEventArgs.cs
- System.Data_BID.cs
- SubMenuStyleCollection.cs
- DetailsViewUpdatedEventArgs.cs
- ValidatorCollection.cs
- SystemNetworkInterface.cs
- Repeater.cs
- Set.cs
- DataExpression.cs
- Message.cs
- ExpressionConverter.cs
- TypedLocationWrapper.cs
- SignatureToken.cs
- HtmlFormAdapter.cs
- CFGGrammar.cs
- UTF8Encoding.cs
- LocatorPartList.cs
- DeferredElementTreeState.cs
- HtmlCalendarAdapter.cs
- BackgroundWorker.cs
- RuntimeIdentifierPropertyAttribute.cs
- HtmlInputHidden.cs
- PropertyPath.cs
- Validator.cs
- ValidationResults.cs
- DispatcherHooks.cs
- HtmlAnchor.cs
- ClientOptions.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- WebPartDeleteVerb.cs
- WindowsMenu.cs
- WaveHeader.cs
- Identity.cs
- Variant.cs
- RegistryPermission.cs
- QilExpression.cs
- ScriptHandlerFactory.cs
- WebPartHeaderCloseVerb.cs
- XmlSchemaCollection.cs
- UriTemplateVariableQueryValue.cs
- ObjectItemConventionAssemblyLoader.cs
- PageWrapper.cs
- AnchoredBlock.cs
- ActivityAction.cs
- TypefaceCollection.cs
- DbQueryCommandTree.cs
- ConfigPathUtility.cs
- NameScopePropertyAttribute.cs
- CodeParameterDeclarationExpressionCollection.cs