0
je le code suivant:Comment mettre en cache IEnumerable var
XDocument xResponse = XDocument.Parse(strXMLResponse);
var vMyData = from xmyInfo in xResponse.Descendants("Result").Elements("item")
select new myProporties
{
strmyInfo1 = ((string)xmyInfo .Element("el1")).Trim(),
strmyInfo2 = ((string)xmyInfo .Element("el2")).Trim(),
strmyInfo3 = (string)xAudioinfo.Element("el3")
};
Maintenant, je veux mettre en cache la dépendance à l'égard vMyData ayant strXMLResponse.
Merci
Commentaires?! ..... –