public override ExecuteResult Open(TotalCommanderWindow window, ref string link) { if (window == null) { throw new ArgumentNullException("window"); } var account = new Account(accountManager, string.Empty).Initialize(Context); if (account.CreateFolder()) { window.Refresh(); } return(ExecuteResult.OK); }
public override ExecuteResult Open(TotalCommanderWindow window, ref string link) { if (window == null) { throw new ArgumentNullException("window"); } var bucket = new Bucket(string.Empty).Initialize(Context, S3Service); if (bucket.CreateFolder()) { window.Refresh(); } return(ExecuteResult.OK); }