/// <summary> /// 进行初始化 /// </summary> /// <param name="_userManager"></param> /// <param name="DB"></param> /// <param name="_roleManager"></param> public TestController(ICommDB _commdb, UserManager <Users> _userManager, BangumiProjectContext _DB, RoleManager <IdentityRole> _roleManager, IMemoryCache memoryCache) { this._userManager = _userManager; this._DB = _DB; this._roleManager = _roleManager; _cache = memoryCache; this._commdb = _commdb; }
public FilesController( UserManager <User> _userManager, ICommDB _DBService, IAuthorizationService _authorizationService ) { this._userManager = _userManager; this._DBService = _DBService; this._authorizationService = _authorizationService; }
public BangumiSubsController( ICommDB _DBServices, UserManager <User> _userManager, SignInManager <User> _signInManager, IAuthorizationService _authorizationService ) { this._userManager = _userManager; this._DBServices = _DBServices; this._signInManager = _signInManager; this._authorizationService = _authorizationService; }
/// <summary> /// 依赖注入 /// </summary> /// <param name="_DBService"></param> public VideoController(ICommDB _DBService) { this._DBService = _DBService; }
/// <summary> /// 得到动画的分集信息 /// </summary> public static void GetAnimeNumInfo(int AnimeID, ICommDB _DB) { }