/// <summary> /// 字段及依赖注入构造器 /// </summary> /// <param name="userPresenter">用户呈现器接口</param> /// <param name="authenticationContract">身份认证服务接口</param> /// <param name="userContract">用户服务接口</param> /// <param name="systemPresenter">信息系统呈现器接口</param> public UserController(IUserPresenter userPresenter, IAuthenticationContract authenticationContract, IUserContract userContract, IInfoSystemPresenter systemPresenter) { this._userPresenter = userPresenter; this._authenticationContract = authenticationContract; this._userContract = userContract; this._systemPresenter = systemPresenter; }
/// <summary> /// 依赖注入构造器 /// </summary> /// <param name="rolePresenter">角色呈现器接口</param> /// <param name="systemPresenter">信息系统呈现器接口</param> /// <param name="authorityPresenter">权限呈现器接口</param> /// <param name="authorizationContract">权限服务接口</param> public RoleController(IRolePresenter rolePresenter, IInfoSystemPresenter systemPresenter, IAuthorityPresenter authorityPresenter, IAuthorizationContract authorizationContract) { this._rolePresenter = rolePresenter; this._systemPresenter = systemPresenter; this._authorityPresenter = authorityPresenter; this._authorizationContract = authorizationContract; }
/// <summary> /// 依赖注入构造器 /// </summary> public MenuController(IMenuPresenter menuPresenter, IInfoSystemPresenter infoSystemPresenter, IAuthorizationContract authorizationContract) { this._menuPresenter = menuPresenter; this._infoSystemPresenter = infoSystemPresenter; this._authorizationContract = authorizationContract; }
/// <summary> /// 依赖注入构造器 /// </summary> public InfoSystemController(IInfoSystemPresenter infoSystemPresenter, IAuthorizationContract authorizationContract) { this._infoSystemPresenter = infoSystemPresenter; this._authorizationContract = authorizationContract; }