| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- //
- // System.CodeDom CodeMethodInvokeExpression Class implementation
- //
- // Author:
- // Miguel de Icaza ([email protected])
- // Daniel Stodden ([email protected])
- //
- // (C) 2001 Ximian, Inc.
- //
- using System.Runtime.InteropServices;
- namespace System.CodeDom
- {
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeMethodReferenceExpression
- : CodeExpression
- {
- private string methodName;
- private CodeExpression targetObject;
-
- //
- // Constructors
- //
- public CodeMethodReferenceExpression ()
- {
- }
- public CodeMethodReferenceExpression (CodeExpression targetObject,
- string methodName)
- {
- this.targetObject = targetObject;
- this.methodName = methodName;
- }
- //
- // Properties
- //
- public string MethodName {
- get {
- return methodName;
- }
- set {
- methodName = value;
- }
- }
- public CodeExpression TargetObject {
- get {
- return targetObject;
- }
- set {
- targetObject = value;
- }
- }
- }
- }
|