/// <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 AuthorityController(IInfoSystemPresenter infoSystemPresenter, IAuthorityPresenter authorityPresenter, IAuthorizationContract authorizationContract) { this._infoSystemPresenter = infoSystemPresenter; this._authorityPresenter = authorityPresenter; this._authorizationContract = authorizationContract; }