示例#1
0
 /// <summary>
 ///     构造函数
 /// </summary>
 /// <param name="apiAuthenticate">IApiAuthenticate</param>
 /// <param name="appCfgService">appCfgService</param>
 protected AuthenticateAttribute(IApiAuthenticate apiAuthenticate, IAppConfigService appCfgService)
 {
     ValidateOperator.Begin()
     .NotNull(apiAuthenticate, "IApiAuthenticate")
     .NotNull(appCfgService, "IAppConfigService");
     ApiAuthenticate = apiAuthenticate;
     AppCfgService   = appCfgService;
 }
示例#2
0
 public UserLoggedInAttribute(IApiAuthenticate apiAuthenticate, IAppConfigService appCfgService) : base(
         apiAuthenticate, appCfgService)
 {
 }