internal Progress(int pluginNumber, Progress.Callback progress) { if (progress == null) throw new ArgumentNullException("progress"); this.pluginNumber = pluginNumber; this.progress = progress; }
internal Progress(int pluginNumber, Progress.Callback progress) { if (progress == null) { throw new ArgumentNullException("progress"); } this.pluginNumber = pluginNumber; this.progress = progress; }
public static void SetProcessDataProcW(IntPtr archive, Progress.Callback callback) { try { Plugin.SetProgress(archive, new Progress(callback)); } catch (Exception ex) { ProcessUnhandledException(ex); } }
public static Int32 FsInit(Int32 number, Progress.Callback progress, Log.Callback log, Request.Callback request) { try { pluginNumber = number; Plugin.Init( number, new Progress(number, progress), new Log(number, log), new Request(number, Plugin.PluginName, request) ); } catch (Exception ex) { UnhandledError(ex); } return(0); }
public static void SetProcessDataProcW(IntPtr archive, Progress.Callback callback) { Plugin.SetProgress(archive, new Progress(callback)); }