예제 #1
0
 public MethodDefinition(string name, BehaviorMethodDelegate body)
     : this(null, name, body)
 {
 }
예제 #2
0
 public MethodDefinition(string className, string name, BehaviorMethodDelegate body)
 {
     InnerDeclaredClass = className;
     InnerName = name;
     InnerBody = body;
 }
예제 #3
0
 protected virtual void SetBody(BehaviorMethodDelegate body)
 {
     if (!CheckReadOnlyScheme())
         InnerBody = body;
 }