Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EventManager.cs
- TableLayoutPanelCellPosition.cs
- ColorBuilder.cs
- DurationConverter.cs
- XmlAttributeAttribute.cs
- NamedPermissionSet.cs
- SignalGate.cs
- HandleScope.cs
- FileLevelControlBuilderAttribute.cs
- PeerToPeerException.cs
- PeerObject.cs
- EmptyControlCollection.cs
- MessageSecurityVersion.cs
- ClaimSet.cs
- CacheMemory.cs
- WebPartDescriptionCollection.cs
- CancellationTokenRegistration.cs
- ExeConfigurationFileMap.cs
- HostedBindingBehavior.cs
- MetadataHelper.cs
- ClientSideQueueItem.cs
- OleDbEnumerator.cs
- TextProviderWrapper.cs
- HtmlElementCollection.cs
- TypedElement.cs
- KeySplineConverter.cs
- OutgoingWebResponseContext.cs
- XmlUnspecifiedAttribute.cs
- DataRowCollection.cs
- ImageAttributes.cs
- SamlAuthenticationClaimResource.cs
- Rotation3DAnimation.cs
- XmlBaseReader.cs
- streamingZipPartStream.cs
- HostingPreferredMapPath.cs
- TagMapCollection.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PrimitiveSchema.cs
- StrokeCollectionDefaultValueFactory.cs
- DataSourceCache.cs
- WorkflowLayouts.cs
- OrthographicCamera.cs
- SqlTriggerAttribute.cs
- SyndicationElementExtensionCollection.cs
- EncryptedKey.cs
- OleDbPermission.cs
- ToolStripButton.cs
- TextDataBindingHandler.cs
- SQlBooleanStorage.cs
- RadioButtonStandardAdapter.cs
- SqlAliasesReferenced.cs
- DrawingGroupDrawingContext.cs
- PagerSettings.cs
- DisplayNameAttribute.cs
- SerializableAuthorizationContext.cs
- StackSpiller.Bindings.cs
- XMLSchema.cs
- CommandDevice.cs
- TrackingProfileManager.cs
- ResXFileRef.cs
- BinaryUtilClasses.cs
- SqlTypesSchemaImporter.cs
- NumericUpDownAccelerationCollection.cs
- SingleTagSectionHandler.cs
- AsynchronousChannel.cs
- SequentialWorkflowRootDesigner.cs
- CodeExpressionCollection.cs
- ScrollChrome.cs
- OdbcReferenceCollection.cs
- XPathScanner.cs
- ToolStripItemRenderEventArgs.cs
- CategoryGridEntry.cs
- ConfigPathUtility.cs
- CodeDirectoryCompiler.cs
- ServiceReference.cs
- SvcMapFile.cs
- ReversePositionQuery.cs
- KeyValueSerializer.cs
- XPathQilFactory.cs
- ExceptionRoutedEventArgs.cs
- CachingHintValidation.cs
- AttributeParameterInfo.cs
- ProgressBarRenderer.cs
- XmlSchemaAnnotation.cs
- TextReader.cs
- Literal.cs
- BitmapPalette.cs
- SafeBitVector32.cs
- ProcessingInstructionAction.cs
- XpsFilter.cs
- HttpApplication.cs
- CatalogPart.cs
- SByte.cs
- Variant.cs
- MethodAccessException.cs
- HeaderUtility.cs
- WindowsSysHeader.cs
- TemplatingOptionsDialog.cs
- PropertyGroupDescription.cs
- ElementFactory.cs