public override void Initialize() { base.Initialize(); UserConnection = Context.UserConnection; ServiceApi = Context.ServiceApi; BulkEmailEventLogger = new BulkEmailEventLogger(UserConnection); }
/// <summary> /// Initializes a new instance of the <see cref="BulkEmailRecipientValidatorBuilder"/> class. /// </summary> /// <param name="serviceApi">Service for working with api.</param> public BulkEmailRecipientValidatorBuilder(ICESApi serviceApi) { _serviceApi = serviceApi; }
public BulkEmailValidator(UserConnection userConnection, ICESApi cesApi) { _serviceApi = cesApi; UserConnection = userConnection; }