Пример #1
0
 public static Uri GetContentUri(this ControlFileItem item, MainControlFile controlData)
 {
     return(new Uri(controlData.RootUri, item.RelativeContentUrl));
 }
Пример #2
0
 public static IRelativeFilePath GetUnzippedFileName(this ControlFileItem item)
 {
     return(item.InstallPath.GetBrotherFileWithName(Path.GetFileNameWithoutExtension(item.InstallPath.FileNameWithoutExtension)));
 }