mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
63 lines
987 B
C#
Executable File
63 lines
987 B
C#
Executable File
//
|
|
// System.CodeDom CodeAttachEventStatement Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) 2001 Ximian, Inc.
|
|
//
|
|
namespace System.CodeDom {
|
|
|
|
public class CodeAttachEventStatement : CodeStatement {
|
|
CodeExpression targetObject;
|
|
string eventName;
|
|
CodeExpression newListener;
|
|
|
|
public CodeAttachEventStatement ()
|
|
{
|
|
}
|
|
|
|
public CodeAttachEventStatement (CodeExpression targetObject,
|
|
string eventName,
|
|
CodeExpression newListener)
|
|
{
|
|
this.targetObject = targetObject;
|
|
this.eventName = eventName;
|
|
this.newListener = newListener;
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public string EventName {
|
|
get {
|
|
return eventName;
|
|
}
|
|
|
|
set {
|
|
eventName = value;
|
|
}
|
|
}
|
|
|
|
public CodeExpression NewListener {
|
|
get {
|
|
return newListener;
|
|
}
|
|
|
|
set {
|
|
newListener = value;
|
|
}
|
|
}
|
|
|
|
public CodeExpression TargetObject {
|
|
get {
|
|
return targetObject;
|
|
}
|
|
|
|
set {
|
|
targetObject = value;
|
|
}
|
|
}
|
|
}
|
|
}
|