/// <summary> /// Constructor for your class. /// </summary> /// <param name="configuration">IConfiguration dependency provided argument.</param> /// <param name="client">POP3 client implementation</param> public MailPop3Fetch(IConfiguration configuration, contracts.IPop3Client client) { _configuration = configuration; _client = client; }
/// <summary> /// Constructor for your class. /// </summary> /// <param name="server">Connection settings for connecting to POP3 server.</param> /// <param name="client">POP3 client implementation</param> public MailPop3Fetch(ConnectionSettingsPop3 server, contracts.IPop3Client client) { _server = server; _client = client; }