mirror of https://github.com/abpframework/abp.git
9 changed files with 99 additions and 8 deletions
@ -0,0 +1,7 @@ |
|||
namespace Volo.Abp.BackgroundWorkers |
|||
{ |
|||
public class BackgroundWorkerOptions |
|||
{ |
|||
public bool IsEnabled { get; set; } |
|||
} |
|||
} |
|||
@ -1,7 +1,17 @@ |
|||
namespace Volo.Abp |
|||
using System; |
|||
using JetBrains.Annotations; |
|||
|
|||
namespace Volo.Abp |
|||
{ |
|||
public class ApplicationShutdownContext |
|||
{ |
|||
public IServiceProvider ServiceProvider { get; } |
|||
|
|||
public ApplicationShutdownContext([NotNull] IServiceProvider serviceProvider) |
|||
{ |
|||
Check.NotNull(serviceProvider, nameof(serviceProvider)); |
|||
|
|||
ServiceProvider = serviceProvider; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,20 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
|
|||
<PropertyGroup> |
|||
<TargetFramework>netcoreapp2.1</TargetFramework> |
|||
<AssemblyName>Volo.Abp.BackgroundJobs.Tests</AssemblyName> |
|||
<PackageId>Volo.Abp.BackgroundJobs.Tests</PackageId> |
|||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> |
|||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> |
|||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
|||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
|||
<RootNamespace /> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<ProjectReference Include="..\..\src\Volo.Abp.BackgroundJobs\Volo.Abp.BackgroundJobs.csproj" /> |
|||
<ProjectReference Include="..\AbpTestBase\AbpTestBase.csproj" /> |
|||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" /> |
|||
</ItemGroup> |
|||
|
|||
</Project> |
|||
@ -0,0 +1,7 @@ |
|||
namespace Volo.Abp.BackgroundJobs |
|||
{ |
|||
public class Class1 |
|||
{ |
|||
|
|||
} |
|||
} |
|||
Loading…
Reference in new issue