在C#中,当我想将构造函数链接在一起时,我会这样做......
public class OperationMacro : GeneratePropertyMacro {
public OperationMacro() : base("Operation") {
//Whatever else I need to do...
}
}
Boo中的等效语法是什么?
答案 0 :(得分:3)
找到它(很遗憾,codehaus网站有点狡猾)
class JobMacro(GeneratePropertyMacro):
public def constructor():
super("ThisIsTheJobName")