mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
68 lines
1022 B
C#
Executable File
68 lines
1022 B
C#
Executable File
//
|
|
// System.CodeDom CodeDelegateCreateExpression Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) 2001 Ximian, Inc.
|
|
//
|
|
|
|
namespace System.CodeDom {
|
|
|
|
[Serializable]
|
|
public class CodeDelegateCreateExpression : CodeExpression {
|
|
string delegateType, methodName;
|
|
CodeExpression targetObject;
|
|
|
|
//
|
|
// Constructors
|
|
//
|
|
public CodeDelegateCreateExpression (string delegateType,
|
|
CodeExpression targetObject,
|
|
string methodName)
|
|
{
|
|
this.delegateType = delegateType;
|
|
this.targetObject = targetObject;
|
|
this.methodName = methodName;
|
|
}
|
|
|
|
public CodeDelegateCreateExpression ()
|
|
{
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
|
|
public string DelegateType {
|
|
get {
|
|
return delegateType;
|
|
}
|
|
|
|
set {
|
|
delegateType = value;
|
|
}
|
|
}
|
|
|
|
string MethodName {
|
|
get {
|
|
return methodName;
|
|
}
|
|
|
|
set {
|
|
methodName = value;
|
|
}
|
|
}
|
|
|
|
CodeExpression TargetObject {
|
|
get {
|
|
return targetObject;
|
|
}
|
|
|
|
set {
|
|
targetObject = value;
|
|
}
|
|
}
|
|
}
|
|
}
|