Code:
/ 4.0 / 4.0 / 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. /// ///// // //----------------------------------------------------------------------------- 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
- FormsAuthenticationUser.cs
- AuthenticationException.cs
- ByteStorage.cs
- WebRequest.cs
- SetStoryboardSpeedRatio.cs
- ServiceBehaviorElementCollection.cs
- DesignerDataStoredProcedure.cs
- complextypematerializer.cs
- CultureNotFoundException.cs
- RuntimeConfig.cs
- ResourcePool.cs
- MediaElement.cs
- BasicExpressionVisitor.cs
- WindowsRichEditRange.cs
- HtmlValidatorAdapter.cs
- SqlProviderServices.cs
- Graphics.cs
- Button.cs
- ViewCellRelation.cs
- ResolveRequestResponseAsyncResult.cs
- FacetChecker.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- _AutoWebProxyScriptHelper.cs
- ImageAnimator.cs
- DateTime.cs
- ManipulationInertiaStartingEventArgs.cs
- DesignerSelectionListAdapter.cs
- RuntimeResourceSet.cs
- XmlQueryCardinality.cs
- XmlSchemaComplexContent.cs
- XmlSchemaProviderAttribute.cs
- VisualStyleTypesAndProperties.cs
- DataGridViewLayoutData.cs
- CompiledQuery.cs
- Crypto.cs
- ExceptionUtil.cs
- ScrollBarAutomationPeer.cs
- SchemaImporterExtension.cs
- XmlException.cs
- StateRuntime.cs
- RouteItem.cs
- CatalogZoneDesigner.cs
- StatusBar.cs
- ListChangedEventArgs.cs
- ReferencedAssembly.cs
- ProxyAssemblyNotLoadedException.cs
- AllMembershipCondition.cs
- SecurityNegotiationException.cs
- HotCommands.cs
- EventOpcode.cs
- CompiledRegexRunner.cs
- SystemEvents.cs
- ServiceModelExtensionCollectionElement.cs
- LoopExpression.cs
- ReplacementText.cs
- AndMessageFilter.cs
- Int32Converter.cs
- DataServiceKeyAttribute.cs
- ViewStateModeByIdAttribute.cs
- SecurityAccessDeniedException.cs
- RayMeshGeometry3DHitTestResult.cs
- ServiceTimeoutsElement.cs
- SQLInt64.cs
- KnownTypeHelper.cs
- FontFaceLayoutInfo.cs
- RuntimeConfigLKG.cs
- CounterCreationData.cs
- DataTableCollection.cs
- ECDiffieHellmanCngPublicKey.cs
- SafeLocalMemHandle.cs
- FragmentQueryProcessor.cs
- SQLInt64Storage.cs
- FreezableOperations.cs
- CodeDirectoryCompiler.cs
- SID.cs
- XsdValidatingReader.cs
- MenuItemCollection.cs
- PathData.cs
- WindowsStatusBar.cs
- WebPartZoneBase.cs
- Compiler.cs
- NativeWrapper.cs
- UrlPath.cs
- EntityAdapter.cs
- RegistrySecurity.cs
- PluralizationServiceUtil.cs
- DataError.cs
- DecimalAnimation.cs
- DataFormat.cs
- MasterPageBuildProvider.cs
- DataTableTypeConverter.cs
- DialogResultConverter.cs
- ProtocolImporter.cs
- TypedRowHandler.cs
- MediaContextNotificationWindow.cs
- OlePropertyStructs.cs
- Schema.cs
- ArrayTypeMismatchException.cs
- StructuralCache.cs
- CheckoutException.cs