c# - getting the CultureInfo from the existing ResourceSet -
i have resourceset use in code. works ok, because of users use rtl need know resourceset active one. sure happy if after code:
cultureinfo ci = cultureinfo.getcultureinfo(language); assembly localisationassembly = assembly.load("resources"); resourcemanager rm = new resourcemanager("resources.myresource", localisationassembly); resourceset rs = rm.getresourceset(ci, true, true);
i do:
cultureinfo ci2 = rs.getcultureinfo();
as @hans mentioned in comment, cannot done because resourceset not store information.
Comments
Post a Comment