Ejemplo 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);
     }
 }
Ejemplo 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);
     }
 }