Context.getClass
Class getClass(T)() nothrowTemplate to get a JSC Class from a context.
Parameters
T | The class type |
Returns
The JSC Class or null if none registered for the given D class type
Class getClass(string name) nothrowTemplate to get a JSC Class from a context by the name that it was registered with (the same as the D class name if not specified on registration).
Parameters
name | The name of the JSC Class that was registered |
Returns
The JSC Class or null if not found