internal Log(int pluginNumber, Log.Callback log) { if (log == null) throw new ArgumentNullException("log"); this.pluginNumber = pluginNumber; this.log = log; }
internal Log(int pluginNumber, Log.Callback log) { if (log == null) { throw new ArgumentNullException("log"); } this.pluginNumber = pluginNumber; this.log = log; }
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); }