Exemplo n.º 1
0
 /// <summary>
 ///     构造函数
 /// </summary>
 /// <param name="apiAuthorize">IApiAuthorize</param>
 /// <param name="appCfgService">IAppConfigService</param>
 protected AuthorizeController(IApiAuthorize apiAuthorize, IAppConfigService appCfgService)
 {
     ValidateOperator.Begin()
     .NotNull(apiAuthorize, "IApiAuthorize")
     .NotNull(appCfgService, "IAppConfigService");
     ApiAuthorize  = apiAuthorize;
     AppCfgService = appCfgService;
 }
Exemplo n.º 2
0
 public AccountController(IApiAuthorize apiAuthorize, IAppConfigService appCfgService) : base(
         apiAuthorize,
         appCfgService)
 {
 }