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 @@ - +