private static CreateAttributionTemplate ( ) : void | ||
Résultat | void |
private static void CreateAttributionTemplate()
{
#if SILVERLIGHT
_attributionTemplate = System.Windows.Markup.XamlReader.Load(template) as DataTemplate;
#else
System.IO.MemoryStream stream = new System.IO.MemoryStream(
System.Text.Encoding.UTF8.GetBytes(template));
_attributionTemplate = System.Windows.Markup.XamlReader.Load(stream) as DataTemplate;
#endif
}