From 8c1af0634dcc8c9f4fde988b7d81d1948d6f1667 Mon Sep 17 00:00:00 2001 From: ZGGSONG Date: Fri, 10 Dec 2021 15:43:51 +0800 Subject: [PATCH] sort --- S3Demo/{Model => Helper}/BucketModel.cs | 2 +- S3Demo/{Run.cs => Program.cs} | 11 +---------- S3Demo/S3Demo.csproj | 4 ++-- 3 files changed, 4 insertions(+), 13 deletions(-) rename S3Demo/{Model => Helper}/BucketModel.cs (99%) rename S3Demo/{Run.cs => Program.cs} (97%) diff --git a/S3Demo/Model/BucketModel.cs b/S3Demo/Helper/BucketModel.cs similarity index 99% rename from S3Demo/Model/BucketModel.cs rename to S3Demo/Helper/BucketModel.cs index be5f307..bbdf225 100644 --- a/S3Demo/Model/BucketModel.cs +++ b/S3Demo/Helper/BucketModel.cs @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -namespace S3Demo.Model +namespace S3Demo.Helper { // This example uses the AWS SDK for .NET to check isExist the Amazon Simple Storage // Service (Amazon S3) buckets belonging to the default account. This code diff --git a/S3Demo/Run.cs b/S3Demo/Program.cs similarity index 97% rename from S3Demo/Run.cs rename to S3Demo/Program.cs index ecf50eb..e6c8857 100644 --- a/S3Demo/Run.cs +++ b/S3Demo/Program.cs @@ -1,21 +1,12 @@ using System; using System.IO; -using Newtonsoft.Json; -using Amazon; -using Amazon.Runtime; -using Amazon.S3; -using S3Demo.Model; using S3Demo.Model.Uploader; -using Ksat.Supplyment.Library.Model; -using Ksat.Supplyment.Library.Uploader; -using Ksat.Supplyment.Library.Model.Uploader; -using System.Threading.Tasks; using System.Threading; using System.Linq; namespace S3Demo { - public class Run + public class Program { private static string[] paths = { @"D:\ClientDir" }; private static string suffix = "*.png"; diff --git a/S3Demo/S3Demo.csproj b/S3Demo/S3Demo.csproj index 2a633e0..f79c0fb 100644 --- a/S3Demo/S3Demo.csproj +++ b/S3Demo/S3Demo.csproj @@ -82,7 +82,7 @@ - + @@ -91,7 +91,7 @@ - +