mirror of https://github.com/abpframework/abp.git
31 changed files with 46 additions and 59 deletions
@ -1,6 +1,6 @@ |
|||||
using System.Threading; |
using System.Threading; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Containers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public static class BlobContainerFactoryExtensions |
public static class BlobContainerFactoryExtensions |
||||
{ |
{ |
||||
@ -1,9 +1,8 @@ |
|||||
using System.IO; |
using System.IO; |
||||
using System.Threading; |
using System.Threading; |
||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
using Volo.Abp.BlobStoring.Providers; |
|
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Containers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobContainerToProviderAdapter : IBlobContainer |
public class BlobContainerToProviderAdapter : IBlobContainer |
||||
{ |
{ |
||||
@ -1,8 +1,7 @@ |
|||||
using System.Threading; |
using System.Threading; |
||||
using JetBrains.Annotations; |
using JetBrains.Annotations; |
||||
using Volo.Abp.BlobStoring.Containers; |
|
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public abstract class BlobProviderArgs |
public abstract class BlobProviderArgs |
||||
{ |
{ |
||||
@ -1,8 +1,7 @@ |
|||||
using System.Threading; |
using System.Threading; |
||||
using JetBrains.Annotations; |
using JetBrains.Annotations; |
||||
using Volo.Abp.BlobStoring.Containers; |
|
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobProviderDeleteArgs : BlobProviderArgs |
public class BlobProviderDeleteArgs : BlobProviderArgs |
||||
{ |
{ |
||||
@ -1,8 +1,7 @@ |
|||||
using System.Threading; |
using System.Threading; |
||||
using JetBrains.Annotations; |
using JetBrains.Annotations; |
||||
using Volo.Abp.BlobStoring.Containers; |
|
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobProviderExistsArgs : BlobProviderArgs |
public class BlobProviderExistsArgs : BlobProviderArgs |
||||
{ |
{ |
||||
@ -1,8 +1,7 @@ |
|||||
using System.Threading; |
using System.Threading; |
||||
using JetBrains.Annotations; |
using JetBrains.Annotations; |
||||
using Volo.Abp.BlobStoring.Containers; |
|
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobProviderGetArgs : BlobProviderArgs |
public class BlobProviderGetArgs : BlobProviderArgs |
||||
{ |
{ |
||||
@ -1,9 +1,8 @@ |
|||||
using System.IO; |
using System.IO; |
||||
using System.Threading; |
using System.Threading; |
||||
using JetBrains.Annotations; |
using JetBrains.Annotations; |
||||
using Volo.Abp.BlobStoring.Containers; |
|
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobProviderSaveArgs |
public class BlobProviderSaveArgs |
||||
{ |
{ |
||||
@ -1,4 +1,4 @@ |
|||||
namespace Volo.Abp.BlobStoring.Containers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
[BlobContainerName("Default")] |
[BlobContainerName("Default")] |
||||
public class DefaultContainer |
public class DefaultContainer |
||||
@ -1,6 +1,6 @@ |
|||||
using System.Threading; |
using System.Threading; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Containers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public interface IBlobContainerFactory |
public interface IBlobContainerFactory |
||||
{ |
{ |
||||
@ -1,7 +1,7 @@ |
|||||
using System.IO; |
using System.IO; |
||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public interface IBlobProvider |
public interface IBlobProvider |
||||
{ |
{ |
||||
@ -1,11 +1,10 @@ |
|||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
using NSubstitute; |
using NSubstitute; |
||||
using Volo.Abp.BlobStoring.Containers.TestObjects; |
using Volo.Abp.BlobStoring.Fakes; |
||||
using Volo.Abp.BlobStoring.Providers; |
using Volo.Abp.BlobStoring.TestObjects; |
||||
using Volo.Abp.BlobStoring.Providers.Fakes; |
|
||||
using Xunit; |
using Xunit; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Containers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobContainerFactory_Tests : AbpBlobStoringTestBase |
public class BlobContainerFactory_Tests : AbpBlobStoringTestBase |
||||
{ |
{ |
||||
@ -1,8 +1,8 @@ |
|||||
using Shouldly; |
using Shouldly; |
||||
using Volo.Abp.BlobStoring.Containers.TestObjects; |
using Volo.Abp.BlobStoring.TestObjects; |
||||
using Xunit; |
using Xunit; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Containers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobContainerNameAttribute_Tests |
public class BlobContainerNameAttribute_Tests |
||||
{ |
{ |
||||
@ -1,8 +1,8 @@ |
|||||
using Shouldly; |
using Shouldly; |
||||
using Volo.Abp.BlobStoring.Containers.TestObjects; |
using Volo.Abp.BlobStoring.TestObjects; |
||||
using Xunit; |
using Xunit; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Containers |
namespace Volo.Abp.BlobStoring |
||||
{ |
{ |
||||
public class BlobContainer_Injection_Tests : AbpBlobStoringTestBase |
public class BlobContainer_Injection_Tests : AbpBlobStoringTestBase |
||||
{ |
{ |
||||
@ -1,7 +0,0 @@ |
|||||
namespace Volo.Abp.BlobStoring.Containers.TestObjects |
|
||||
{ |
|
||||
public class TestContainer1 |
|
||||
{ |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,7 +0,0 @@ |
|||||
namespace Volo.Abp.BlobStoring.Containers.TestObjects |
|
||||
{ |
|
||||
public class TestContainer3 |
|
||||
{ |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,7 +1,7 @@ |
|||||
using System.IO; |
using System.IO; |
||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers.Fakes |
namespace Volo.Abp.BlobStoring.Fakes |
||||
{ |
{ |
||||
public class FakeBlobProvider1 : IBlobProvider |
public class FakeBlobProvider1 : IBlobProvider |
||||
{ |
{ |
||||
@ -1,7 +1,7 @@ |
|||||
using System.IO; |
using System.IO; |
||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
|
|
||||
namespace Volo.Abp.BlobStoring.Providers.Fakes |
namespace Volo.Abp.BlobStoring.Fakes |
||||
{ |
{ |
||||
public class FakeBlobProvider2 : IBlobProvider |
public class FakeBlobProvider2 : IBlobProvider |
||||
{ |
{ |
||||
@ -0,0 +1,7 @@ |
|||||
|
namespace Volo.Abp.BlobStoring.TestObjects |
||||
|
{ |
||||
|
public class TestContainer1 |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
@ -1,4 +1,4 @@ |
|||||
namespace Volo.Abp.BlobStoring.Containers.TestObjects |
namespace Volo.Abp.BlobStoring.TestObjects |
||||
{ |
{ |
||||
[BlobContainerName("Test2")] |
[BlobContainerName("Test2")] |
||||
public class TestContainer2 |
public class TestContainer2 |
||||
@ -0,0 +1,7 @@ |
|||||
|
namespace Volo.Abp.BlobStoring.TestObjects |
||||
|
{ |
||||
|
public class TestContainer3 |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue