Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- SchemaTypeEmitter.cs
- PolicyUtility.cs
- Empty.cs
- ZoneButton.cs
- SmtpNtlmAuthenticationModule.cs
- HandlerBase.cs
- ScriptRegistrationManager.cs
- ValidationResult.cs
- Oid.cs
- formatter.cs
- BindingValueChangedEventArgs.cs
- HelpEvent.cs
- XPathSelectionIterator.cs
- ConnectionStringSettingsCollection.cs
- SimpleFileLog.cs
- SmiGettersStream.cs
- IMembershipProvider.cs
- ObjectManager.cs
- PathNode.cs
- UInt32Converter.cs
- RuleConditionDialog.Designer.cs
- InvalidOleVariantTypeException.cs
- CalendarDataBindingHandler.cs
- StylusButtonCollection.cs
- TransformerConfigurationWizardBase.cs
- SwitchCase.cs
- IdnElement.cs
- BrowserDefinition.cs
- SubstitutionList.cs
- SettingsSavedEventArgs.cs
- HandledEventArgs.cs
- SharedHttpTransportManager.cs
- LoadGrammarCompletedEventArgs.cs
- Transform.cs
- MultiTrigger.cs
- TextWriterTraceListener.cs
- LogicalExpr.cs
- PropertyTabAttribute.cs
- BufferedGraphicsManager.cs
- SetterBase.cs
- EventMemberCodeDomSerializer.cs
- DrawingDrawingContext.cs
- SelectionPattern.cs
- RequestDescription.cs
- ArrayExtension.cs
- ConnectionOrientedTransportElement.cs
- ProcessThreadCollection.cs
- CroppedBitmap.cs
- AudioFormatConverter.cs
- EnterpriseServicesHelper.cs
- ObjectDataSourceFilteringEventArgs.cs
- XDRSchema.cs
- SmtpLoginAuthenticationModule.cs
- RetrieveVirtualItemEventArgs.cs
- ComponentSerializationService.cs
- PopOutPanel.cs
- UriParserTemplates.cs
- AdPostCacheSubstitution.cs
- StorageBasedPackageProperties.cs
- MarshalByValueComponent.cs
- TableProvider.cs
- WindowsImpersonationContext.cs
- List.cs
- ResolveNameEventArgs.cs
- LogRestartAreaEnumerator.cs
- TypefaceMap.cs
- QuadraticEase.cs
- DeploymentExceptionMapper.cs
- LoadRetryHandler.cs
- Console.cs
- TableItemStyle.cs
- ZipFileInfo.cs
- XPathNavigator.cs
- ResourceAssociationTypeEnd.cs
- TextRangeEditTables.cs
- ArraySegment.cs
- XPathParser.cs
- DataGridRowHeaderAutomationPeer.cs
- Stroke.cs
- BooleanExpr.cs
- DnsPermission.cs
- Helpers.cs
- AspNetHostingPermission.cs
- SignedPkcs7.cs
- MessageContractExporter.cs
- SiteMap.cs
- ExtractCollection.cs
- WebPartDisplayModeEventArgs.cs
- HttpHandlerActionCollection.cs
- XmlUtil.cs
- DllNotFoundException.cs
- LineSegment.cs
- MessageSmuggler.cs
- CustomPopupPlacement.cs
- ParameterToken.cs
- AuthenticatedStream.cs
- DesignerOptions.cs
- SafeProcessHandle.cs
- ObjectComplexPropertyMapping.cs
- UIElement3D.cs