public static IFileRequestCachedEntity LoadFile(string url, string onSuccess, ActionCallback <object> onProgress = null, IOfflineProvider offlineProvider = null, System.Nullable <bool> useArrayBuffer = null, ActionCallback <WebRequest, object> onError = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <IFileRequestCachedEntity>(
                entity => new IFileRequestCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Tools", "LoadFile" }, url, onSuccess, onProgress, offlineProvider, useArrayBuffer, onError
     }
                ));
 }
 public static HTMLImageElement LoadImage(string input, HTMLImageElement onLoad, ActionCallback <string, object> onError, IOfflineProvider offlineProvider, string mimeType = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <HTMLImageElement>(
                entity => new HTMLImageElement()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Tools", "LoadImage" }, input, onLoad, onError, offlineProvider, mimeType
     }
                ));
 }