/// <summary>
        /// Constructor of <see cref="SearchLayerCreator"/>
        /// </summary>
        /// <param name="map">Map</param>
        /// <param name="searchResult">Search result</param>
        /// <param name="searchSettings">Seacrh settings </param>
        public SearchLayerCreator(IMap map, SearchResult searchResult, SearchSettings searchSettings)
        {
            if (map == null) throw new ArgumentNullException("map");
            if (searchResult == null) throw new ArgumentNullException("searchResult");
            if (searchSettings == null) throw new ArgumentNullException("searchSettings");

            _map = map;
            _searchResult = searchResult;
            _searchSettings = searchSettings;
        }
 public CompletedEventArgs(SearchResult result, CompletedReasones reason, IProgressHandler progressHandler)
 {
     Result = result;
     Reason = reason;
     ProgressHandler = progressHandler;
 }