in c# by reflection change resource file look like below:
using (ResourceWriter resourceWriter = new ResourceWriter(PathName))
{
foreach (var textItem in selectedText)
{
resourceWriter.AddResource(textItem.Id, textItem.Name);
}
}
a selectedText is List of Id and Name instead of name and value. when run test a destroy resource file and not opening.
Aucun commentaire:
Enregistrer un commentaire