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
- ComplexPropertyEntry.cs
- EntityWithChangeTrackerStrategy.cs
- ExternalDataExchangeService.cs
- BitSet.cs
- PinnedBufferMemoryStream.cs
- BookmarkWorkItem.cs
- OpCellTreeNode.cs
- RenderData.cs
- DataGridPageChangedEventArgs.cs
- CompiledRegexRunner.cs
- GridLength.cs
- SubclassTypeValidator.cs
- PickBranchDesigner.xaml.cs
- DrawingVisualDrawingContext.cs
- streamingZipPartStream.cs
- Update.cs
- Authorization.cs
- ClrPerspective.cs
- RewritingPass.cs
- RuleValidation.cs
- TrackBarRenderer.cs
- ManagementScope.cs
- PropertyInfoSet.cs
- GridErrorDlg.cs
- CodeSnippetCompileUnit.cs
- ExpressionServices.cs
- DecoderBestFitFallback.cs
- COM2ExtendedBrowsingHandler.cs
- DeclarativeCatalogPart.cs
- RtfControlWordInfo.cs
- EventBuilder.cs
- AssemblyUtil.cs
- DecimalKeyFrameCollection.cs
- PartDesigner.cs
- SimpleRecyclingCache.cs
- AttributeQuery.cs
- PersonalizableAttribute.cs
- DynamicResourceExtension.cs
- CacheMode.cs
- SpAudioStreamWrapper.cs
- CellParaClient.cs
- HtmlLink.cs
- OrderedDictionaryStateHelper.cs
- DesignerActionMethodItem.cs
- DebuggerService.cs
- EraserBehavior.cs
- _NegoStream.cs
- StyleCollection.cs
- BasicCommandTreeVisitor.cs
- CuspData.cs
- MenuItem.cs
- DecoderBestFitFallback.cs
- ComponentManagerBroker.cs
- SystemIPInterfaceStatistics.cs
- DuplicateContext.cs
- ClientUriBehavior.cs
- EndOfStreamException.cs
- RegexBoyerMoore.cs
- BlurBitmapEffect.cs
- FamilyTypeface.cs
- MultipartIdentifier.cs
- WebInvokeAttribute.cs
- UnrecognizedPolicyAssertionElement.cs
- TriState.cs
- HostingEnvironmentSection.cs
- BindingNavigator.cs
- RelatedView.cs
- COM2IDispatchConverter.cs
- BitmapEffectInputData.cs
- XmlSchemaAll.cs
- ChineseLunisolarCalendar.cs
- PerformanceCounterCategory.cs
- RemoteWebConfigurationHostServer.cs
- ViewCellSlot.cs
- ContentValidator.cs
- RijndaelManagedTransform.cs
- FilterQueryOptionExpression.cs
- Identifier.cs
- IntSecurity.cs
- DefaultTextStore.cs
- FixedNode.cs
- BitHelper.cs
- SessionChannels.cs
- BinaryFormatterWriter.cs
- WeakReferenceList.cs
- SymbolEqualComparer.cs
- TextEditorSelection.cs
- LayoutEditorPart.cs
- NameNode.cs
- Base64Encoder.cs
- ListBoxItemAutomationPeer.cs
- AdjustableArrowCap.cs
- MasterPage.cs
- WebPartPersonalization.cs
- ItemContainerGenerator.cs
- XPathNodePointer.cs
- XmlPreloadedResolver.cs
- BindingListCollectionView.cs
- DataGridSortCommandEventArgs.cs
- XmlSerializerFactory.cs