internal Request(int pluginNumber, string pluginName, Request.Callback request)
        {
            if (request == null) throw new ArgumentNullException("request");

            this.pluginNumber = pluginNumber;
            this.pluginName = pluginName;
            this.request = request;
        }
 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;
 }
        void ITotalCommanderWfxPlugin.Init(int pluginNumber, Progress progress, Log log, Request request)
        {
            PluginNumber = pluginNumber;
            Progress = progress;
            Log = log;
            Request = request;

            Initialize();
        }