예제 #1
0
 private ResourceData CreateResourceData(FilePath filePath, string projectFilePath)
 {
     if (projectFilePath != null)
     {
         return(new ResourceData(EnumResourceType.MarkedSubImage, (string)ResourceItem.GetRelativePath(filePath), (string)(FilePath)Path.ChangeExtension((string)ResourceItem.GetRelativePath((FilePath)projectFilePath), ".plist")));
     }
     return(base.CreateResourceData(filePath));
 }
예제 #2
0
 protected virtual ResourceData CreateResourceData(FilePath filePath)
 {
     return(new ResourceData((string)ResourceItem.GetRelativePath(filePath)));
 }