Esempio n. 1
0
 public static FigmaBundle FromDirectoryPath(string fullPath)
 {
     try {
         var bundle = new FigmaBundle();
         bundle.Load(fullPath);
         return(bundle);
     } catch (Exception ex) {
         Console.WriteLine(ex);
         //not a bundle
         return(null);
     }
 }
Esempio n. 2
0
 public static FigmaBundle FromDirectoryPath(string fullPath)
 {
     try {
         var bundle = new FigmaBundle();
         bundle.Load(fullPath);
         return(bundle);
     } catch (Exception ex) {
         LoggingService.LogError("[FIGMA] Error", ex);
         //not a bundle
         return(null);
     }
 }