1
wangxinhui
2025-07-25 b91c166e2da452578c71423138a0291558b36344
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace WIDESEA_Core.Filter
{
    public class UseServiceDIAttribute : ActionFilterAttribute
    {
 
        protected readonly ILogger<UseServiceDIAttribute> _logger;
        //private readonly IBlogArticleServices _blogArticleServices;
        private readonly string _name;
 
        public UseServiceDIAttribute(ILogger<UseServiceDIAttribute> logger/*, IBlogArticleServices blogArticleServices*/, string Name = "")
        {
            _logger = logger;
            /*_blogArticleServices = blogArticleServices;*/
            _name = Name;
        }
 
 
        public override void OnActionExecuted(ActionExecutedContext context)
        {
            //var dd =await _blogArticleServices.Query();
            base.OnActionExecuted(context);
            DeleteSubscriptionFiles();
        }
 
        private void DeleteSubscriptionFiles()
        {
 
        }
    }
}