Exemple #1
0
        /// <summary>
        ///     Returns an <see cref="Miner.Interop.IMMSearchConfiguration" /> object that contains the
        ///     <see cref="ESRI.ArcGIS.esriSystem.IPropertySet" /> specific to the search being conducted.
        /// </summary>
        /// <param name="optionFlags">The option flags.</param>
        /// <returns>
        ///     Returns the <see cref="Miner.Interop.IMMSearchConfiguration" /> that contains the
        ///     <see cref="ESRI.ArcGIS.esriSystem.IPropertySet" /> specific to the search.
        /// </returns>
        public virtual IMMSearchConfiguration GetSearchConfiguration(mmSearchOptionFlags optionFlags)
        {
            IMMSearchConfiguration config = new SearchConfiguration();

            config.SearchParameters = this.GetSearchParameters(optionFlags);
            return(config);
        }
Exemple #2
0
 /// <summary>
 ///     Gets the search parameters for the <see cref="Miner.Interop.IMMSearchStrategy" />
 /// </summary>
 /// <param name="searchOptions">The search options.</param>
 /// <returns>
 ///     The search parameters that are passed into the <see cref="Miner.Interop.IMMSearchStrategy" />.
 /// </returns>
 protected virtual object GetSearchParameters(mmSearchOptionFlags searchOptions)
 {
     return(null);
 }