示例#1
0
 /// <summary>
 /// Create a new instance of DecompressionPresenter for the given view.
 /// </summary>
 /// <param name="view">The view to create the presenter for.</param>
 /// <returns>A new DecompressionPresenter instance.</returns>
 public DecompressionPresenter CreateDecompressionPresenter(IDecompressionView view)
 {
     var presenter = kernel.Get<DecompressionPresenter>();
     presenter.View = view;
     return presenter;
 }
示例#2
0
 public DecompressCommand(IDecompressionView view, string inputfilename, string outputfilename)
 {
     this.view = view;
     this.inputfilename = inputfilename;
     this.outputfilename = outputfilename;
 }