예제 #1
0
        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);
        }
예제 #2
0
        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);
        }