Class.addMethod
void addMethod(alias Method)(string name = null) if (isCallable!Method) nothrowAdd a method to a Class.
Parameters
Method | The method |
name | The JSC name of the method or null to use the D method name (default) |
void addMethod(alias Method)(string name = null) if (isCallable!Method) nothrowAdd a method to a Class.
Method | The method |
name | The JSC name of the method or null to use the D method name (default) |