As in here
http://msdn.microsoft.com/en-us/library/ms535874(v=vs.85).aspx
Might want to consider adding an export feature to allow constants to be
exported as values so we can add this class for better readability.
[JsType(Export=false)]
class XMLHttpRequestReadyState
{
...
[JsConst(ExportToValue=true)]
const AllDatReceived = 4
}
so C# code can read
if (req.readyState == XMLHttpRequestReadyState.AllDatReceived) {...}
and JS code will read:
if (req.readyState == 4)) {...}
Either way possible values for all enums would help if they appear in XmlComments
Original issue reported on code.google.com by giladkhen@gmail.com on 1 Jun 2011 at 2:54
Original issue reported on code.google.com by
giladkhen@gmail.com
on 1 Jun 2011 at 2:54