/// <summary> /// Create a new instance RegisterController api /// </summary> /// <param name="accountAppService"></param> /// <param name="smsAppService"></param> /// <param name="msgAppService"></param> /// <param name="vipAppService"></param> public RegisterController(IAccountAppService accountAppService, ISmsAppService smsAppService, IVipAppService vipAppService, IMsgAppService msgAppService) { if (accountAppService == null) { throw new ArgumentNullException("accountAppService"); } if (smsAppService == null) { throw new ArgumentNullException("smsAppService"); } if (vipAppService == null) { throw new ArgumentNullException("vipAppService"); } if (msgAppService == null) { throw new ArgumentNullException("msgAppService"); } this._accountAppService = accountAppService; this._smsAppService = smsAppService; this._vipAppService = vipAppService; this._msgAppService = msgAppService; }
/// <summary> /// Create a new instance RegisterController api /// </summary> /// <param name="accountAppService"></param> /// <param name="smsAppService"></param> /// <param name="msgAppService"></param> /// <param name="vipAppService"></param> public SpecwayController(IAccountAppService accountAppService, ISpecwayAppService specwayAppService, IMsgAppService msgAppService, IVipAppService vipAppService) { if (accountAppService == null) { throw new ArgumentNullException("accountAppService"); } if (specwayAppService == null) { throw new ArgumentNullException("specwayAppService"); } if (msgAppService == null) { throw new ArgumentNullException("msgAppService"); } if (vipAppService == null) { throw new ArgumentNullException("vipAppService"); } this._accountAppService = accountAppService; this._specwayAppService = specwayAppService; this._msgAppService = msgAppService; this._vipAppService = vipAppService; }
/// <summary> /// Create a new instance RegisterController api /// </summary> /// <param name="msgAppService"></param> public MsgController(IMsgAppService msgAppService) { if (msgAppService == null) { throw new ArgumentNullException("msgAppService"); } this._msgAppService = msgAppService; }