Beispiel #1
0
 public static Uri GetResourceUri(Assembly assembly, string path)
 {
     return(new Uri(string.Format("{0}/{1};component/{2}", "pack://application:,,,", AssemblyHelper.GetPartialName(assembly), path)));
 }