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
- CommandBindingCollection.cs
- FormViewUpdateEventArgs.cs
- DataChangedEventManager.cs
- DataSourceControl.cs
- FamilyCollection.cs
- StagingAreaInputItem.cs
- WebPartDisplayModeCancelEventArgs.cs
- DataBoundControlHelper.cs
- WebAdminConfigurationHelper.cs
- ComboBoxDesigner.cs
- CultureData.cs
- FilterException.cs
- QueryReaderSettings.cs
- ObjectQuery.cs
- Types.cs
- DrawListViewItemEventArgs.cs
- HttpEncoderUtility.cs
- InputElement.cs
- RedBlackList.cs
- PaperSource.cs
- HotCommands.cs
- OleStrCAMarshaler.cs
- _UncName.cs
- PersonalizationStateInfoCollection.cs
- PopupRoot.cs
- LoadedOrUnloadedOperation.cs
- ConfigXmlSignificantWhitespace.cs
- sqlstateclientmanager.cs
- Signature.cs
- TargetControlTypeAttribute.cs
- FixedSOMImage.cs
- LinkedList.cs
- PictureBox.cs
- Fonts.cs
- DependentList.cs
- Tokenizer.cs
- EdmToObjectNamespaceMap.cs
- TrustLevel.cs
- PointValueSerializer.cs
- TextEffect.cs
- StrongName.cs
- OleAutBinder.cs
- DbConnectionPoolIdentity.cs
- CodeVariableDeclarationStatement.cs
- SignatureResourceHelper.cs
- ResolveNameEventArgs.cs
- ScriptingAuthenticationServiceSection.cs
- InvariantComparer.cs
- TreeViewDataItemAutomationPeer.cs
- UpdateTracker.cs
- Logging.cs
- TextBounds.cs
- CompareInfo.cs
- FlowLayoutSettings.cs
- SelectedDatesCollection.cs
- RequestQueryProcessor.cs
- Track.cs
- MarkupCompiler.cs
- XmlHierarchicalDataSourceView.cs
- MetadataCollection.cs
- ScopeElement.cs
- RootBrowserWindowProxy.cs
- Helper.cs
- LassoSelectionBehavior.cs
- XpsFixedPageReaderWriter.cs
- PropertiesTab.cs
- BitmapFrameDecode.cs
- filewebrequest.cs
- ContextStaticAttribute.cs
- ChangePassword.cs
- AVElementHelper.cs
- ImageCollectionCodeDomSerializer.cs
- RtfControlWordInfo.cs
- EdmEntityTypeAttribute.cs
- KoreanLunisolarCalendar.cs
- BuildResultCache.cs
- FaultDescription.cs
- TypeBuilder.cs
- MailMessageEventArgs.cs
- SplashScreenNativeMethods.cs
- EventHandlerList.cs
- ChildTable.cs
- UrlAuthorizationModule.cs
- DesignParameter.cs
- WebPartTransformerAttribute.cs
- ListArgumentProvider.cs
- CatalogUtil.cs
- ReplacementText.cs
- TextLine.cs
- ObjectManager.cs
- ThemeInfoAttribute.cs
- HttpRawResponse.cs
- TextParagraph.cs
- EpmCustomContentWriterNodeData.cs
- DistinctQueryOperator.cs
- DiscardableAttribute.cs
- FileEnumerator.cs
- WbmpConverter.cs
- WeakRefEnumerator.cs
- codemethodreferenceexpression.cs