files: added 'scope' attribute for several classes

This commit is contained in:
Alexey Bannov 2021-03-22 19:10:14 +03:00
parent c750a55e36
commit 11e3738090

View File

@ -30,6 +30,7 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Web; using System.Web;
using ASC.Common;
using ASC.Common.Logging; using ASC.Common.Logging;
using ASC.Common.Threading; using ASC.Common.Threading;
using ASC.Core; using ASC.Core;
@ -250,7 +251,7 @@ namespace ASC.Web.Files.Services.DocumentService
TaskInfo.SetProperty("exception", Exception); TaskInfo.SetProperty("exception", Exception);
} }
} }
[Scope]
public class DocbuilderReportsUtility public class DocbuilderReportsUtility
{ {
private readonly DistributedTaskQueue tasks; private readonly DistributedTaskQueue tasks;
@ -322,6 +323,7 @@ namespace ASC.Web.Files.Services.DocumentService
} }
} }
[Scope]
public class DocbuilderReportsUtilityHelper public class DocbuilderReportsUtilityHelper
{ {
public DocbuilderReportsUtility DocbuilderReportsUtility { get; } public DocbuilderReportsUtility DocbuilderReportsUtility { get; }