Hi All,
Early, to get Module Id from Prefs object I used something like this:
var prefs = new Prefs(__MODULE_ID__);
....
....
//if i need to get module id I can get it from my prefs object, like
this:
var moduleId = prefs.Z; //field Z contains module id;
Today, I found out my app didn't work becase now moduleId I can get
using prefs.U field.
Sure, I refactored my code to avoid this problem at all. I don't use
prefs to get module id passed in constructor. Now, I only use
substituted value directly.
But it's still interesting, how can i get module id from Prefs object
directly?
Thanks,
Dmitry