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
- DataGridViewRowPostPaintEventArgs.cs
- Exceptions.cs
- BaseComponentEditor.cs
- _FtpControlStream.cs
- Accessible.cs
- DeleteHelper.cs
- LifetimeServices.cs
- Enum.cs
- TextEditorThreadLocalStore.cs
- ListBoxChrome.cs
- SQLMembershipProvider.cs
- ObjectDataSourceSelectingEventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- CachedFontFamily.cs
- CustomAttributeBuilder.cs
- TextServicesLoader.cs
- TraceContextRecord.cs
- StrokeIntersection.cs
- WorkBatch.cs
- Section.cs
- DesignerLoader.cs
- HtmlTernaryTree.cs
- ProcessModule.cs
- ADConnectionHelper.cs
- XXXInfos.cs
- AutomationFocusChangedEventArgs.cs
- ValidationRule.cs
- LateBoundBitmapDecoder.cs
- SynchronizedDispatch.cs
- ValidateNames.cs
- SqlCommandSet.cs
- DataGridrowEditEndingEventArgs.cs
- WebException.cs
- Int64Animation.cs
- AttributedMetaModel.cs
- ZipPackagePart.cs
- DataViewManager.cs
- BindableAttribute.cs
- TemplateBindingExpressionConverter.cs
- ProviderSettings.cs
- Point.cs
- Publisher.cs
- Array.cs
- GlobalItem.cs
- BitmapDecoder.cs
- FormViewUpdatedEventArgs.cs
- SelectedCellsCollection.cs
- WorkflowQueueInfo.cs
- PeerEndPoint.cs
- NumberEdit.cs
- CategoriesDocument.cs
- BamlTreeMap.cs
- ExpressionConverter.cs
- HttpCapabilitiesSectionHandler.cs
- EditBehavior.cs
- DataGridPageChangedEventArgs.cs
- SqlInfoMessageEvent.cs
- CompModSwitches.cs
- TemplateParser.cs
- Msec.cs
- ScaleTransform3D.cs
- XmlSchemaType.cs
- ButtonBaseAutomationPeer.cs
- RegexRunner.cs
- ListBase.cs
- WeakEventTable.cs
- ActivationServices.cs
- AppDomainProtocolHandler.cs
- CapabilitiesUse.cs
- CellParagraph.cs
- FloaterParaClient.cs
- JsonFormatWriterGenerator.cs
- XmlDesigner.cs
- Evaluator.cs
- ContractValidationHelper.cs
- UserPreference.cs
- WebPartRestoreVerb.cs
- ServiceMetadataExtension.cs
- IQueryable.cs
- TimeZone.cs
- SecurityIdentifierElement.cs
- HyperLinkStyle.cs
- VisualProxy.cs
- ControlCollection.cs
- XmlValueConverter.cs
- WebUtility.cs
- SuppressMergeCheckAttribute.cs
- HttpHandlerAction.cs
- FormsIdentity.cs
- SqlDataSourceCustomCommandEditor.cs
- PerformanceCounterPermissionEntry.cs
- SiteMapHierarchicalDataSourceView.cs
- WebRequestModulesSection.cs
- BrushMappingModeValidation.cs
- RegexRunner.cs
- ImageListStreamer.cs
- CqlQuery.cs
- EncryptedData.cs
- SplayTreeNode.cs
- VirtualDirectoryMapping.cs