Ejemplo n.º 1
0
 private bool SearchingSupported(SearchActionName searchAction)
 {
     return(!unavailableActions.Keys.Contains(searchAction));
 }
 public static IDictionary <string, string> Without(this IDictionary <string, string> dictionary, SearchActionName action)
 {
     dictionary.Remove(action.ToString());
     return(dictionary);
 }
Ejemplo n.º 3
0
 private ISearcher <TParameters> GetSearcher <TParameters>(SearchActionName action, ISearcher <TParameters> functionalSearcher)
     where TParameters : ISearchParameters
 {
     return(SearchingSupported(action)? functionalSearcher : new NotSupportedSearcher <TParameters>(unavailableActions[action].GetErrorMessage()));
 }