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
- GestureRecognitionResult.cs
- TreeNodeSelectionProcessor.cs
- GacUtil.cs
- SchemaTableOptionalColumn.cs
- UniqueContractNameValidationBehavior.cs
- SqlConnectionPoolGroupProviderInfo.cs
- PartitionedStreamMerger.cs
- SafeIUnknown.cs
- NameTable.cs
- GridEntryCollection.cs
- ObjectPersistData.cs
- SecurityTokenParameters.cs
- RecognizerBase.cs
- METAHEADER.cs
- ConcatQueryOperator.cs
- DesignerForm.cs
- InlineCollection.cs
- ProtocolsSection.cs
- FrameDimension.cs
- HashHelper.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ReflectionPermission.cs
- NativeCompoundFileAPIs.cs
- Bold.cs
- ObjectDataSourceMethodEditor.cs
- PersonalizationStateInfoCollection.cs
- ServiceOperationInfoTypeConverter.cs
- Style.cs
- UrlAuthFailedErrorFormatter.cs
- Models.cs
- SubclassTypeValidatorAttribute.cs
- RouteCollection.cs
- EventLogger.cs
- WebPartEditorOkVerb.cs
- ScaleTransform3D.cs
- XAMLParseException.cs
- AudioLevelUpdatedEventArgs.cs
- XmlReader.cs
- SystemUnicastIPAddressInformation.cs
- Authorization.cs
- DataGridHeaderBorder.cs
- TreeViewImageGenerator.cs
- DataGridViewCellStateChangedEventArgs.cs
- WorkflowDurableInstance.cs
- ButtonChrome.cs
- FixedSOMFixedBlock.cs
- TableCellsCollectionEditor.cs
- ProfessionalColors.cs
- StatusBarPanel.cs
- XmlAttributeProperties.cs
- ButtonFlatAdapter.cs
- BamlRecords.cs
- SerializationAttributes.cs
- HMACRIPEMD160.cs
- SingleAnimation.cs
- StatusBarDrawItemEvent.cs
- UnauthorizedAccessException.cs
- TdsParserSessionPool.cs
- QuaternionConverter.cs
- HtmlTable.cs
- XmlParser.cs
- TextTreeUndo.cs
- SmtpTransport.cs
- Component.cs
- Visual3DCollection.cs
- WebServiceHandlerFactory.cs
- ProviderConnectionPointCollection.cs
- DPCustomTypeDescriptor.cs
- WebServiceFaultDesigner.cs
- GridViewSortEventArgs.cs
- MouseBinding.cs
- InternalTypeHelper.cs
- DataGridViewRowEventArgs.cs
- CompilationUtil.cs
- TextBox.cs
- Int64Animation.cs
- ListViewItemCollectionEditor.cs
- newinstructionaction.cs
- EventManager.cs
- JsonClassDataContract.cs
- RbTree.cs
- ActivityCodeDomSerializer.cs
- GZipObjectSerializer.cs
- DesignerOptionService.cs
- ListenerChannelContext.cs
- ClaimTypeRequirement.cs
- Single.cs
- ReadOnlyDataSourceView.cs
- DocumentApplicationState.cs
- AttributeAction.cs
- BlurBitmapEffect.cs
- Triangle.cs
- SelectedDatesCollection.cs
- EntityProviderFactory.cs
- NoPersistProperty.cs
- WebPartZoneBase.cs
- ColumnCollection.cs
- BufferedGenericXmlSecurityToken.cs
- FontDialog.cs
- NullableFloatSumAggregationOperator.cs