using System;
using System.Collections.Generic;
using System.Text;

namespace GreenTree.Maschinenbestellungen.Services.Geolocator
{
    public interface IGeocodingService
    {
        /// <summary>
        /// Checks an address search string for valid street address
        /// </summary>
        /// <param name="searchString">The address search string.</param>
        public bool IsValidAddress(string searchString);

        /// <summary>
        /// Checks an address search string for valid street address
        /// </summary>
        /// <param name="searchString">The address search string.</param>
        /// <param name="addressComponents">The address components the API result shall be checked for.</param>
        public bool IsValidAddress(string searchString, string[] addressComponents);
    }
}
