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

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -