RelativeSource Class |
Namespace: Telogis.GeoBase.Geocoding
The RelativeSource type exposes the following members.
Name | Description | |
---|---|---|
GroupName |
The group name of the search source. Related sources can share search arguments by
using the same group name. Can be overridden by subclasses to specify a group name, which
is then used as the prefix for argument names when presented to users of
LocationSearch. Defaults to null,
meaning that Name is used
as the argument name prefix instead.
(Inherited from LocationSearchSource.) | |
HandledResultTypes |
Specifies the result types handled by this source.
(Overrides LocationSearchSourceHandledResultTypes.) | |
Name |
The name of the search source, for use for things such as prefixing custom search
arguments. Must be unique across search source.
(Inherited from LocationSearchSource.) | |
SearchesRemotely |
Indicates whether the search spends most of its time waiting for results from an
external server. If true, this indicates that the Location Search can continue searching
other sources while waiting for this source to complete, reducing total search time.
(Inherited from LocationSearchSource.) |
Name | Description | |
---|---|---|
CreateSearchOperation |
Creates a new LocationSearchOperation for this specialized search source with the given arguments.
(Overrides LocationSearchSourceCreateSearchOperation(LocationSearchBaseArgs).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetCustomSearchArgs |
Returns a list of custom arguments for this search source that can be specified
in the CustomArgs
property of a LocationSearchBaseArgs object.
Argument names are automatically prefixed by the search source group name or name when
presented to users of LocationSearch, however
will always be provided to individual search sources without these prefixes.
(Inherited from LocationSearchSource.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIgnoredTypesForApplicableSearches |
Specifies result types that will be excluded for search sources with a lower priority than this when
IsApplicableToSearch(LocationSearchBaseArgs) returns true for the same search arguments.
This could be used, for example, to restrict further searching for queries that match a format specific
to this source, but for which there are no results.
(Overrides LocationSearchSourceGetIgnoredTypesForApplicableSearches(LocationSearchBaseArgs).) | |
GetIgnoredTypesForMatchingSearches |
Specifies result types that will be excluded for search sources with a lower priority than
this when the source returns any results. If it does not return results, searching of other
sources will continue as normal. This should generally be used only when the presence of
results from this source implies that results from other sources are unlikely.
(Inherited from LocationSearchSource.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsApplicableToSearch |
Determines whether the search source is applicable for a particular search.
(Overrides LocationSearchSourceIsApplicableToSearch(LocationSearchBaseArgs).) | |
IsValidOuterQuery |
Overridden by subclasses to determine wheter an outer query (i.e., the portion of the query
describing the type of result to return, such as "hotels" in "hotels near aliso viejo") is
valid. Generally, this method should return true only if the outer query is fully formed
(i.e., not a prefix). The source is applicable if, and only if, this method
returns true; this method will only be called if the query is a relative query, and
subclasses should override this method instead of
IsApplicableToSearch(LocationSearchBaseArgs). By default,
further sources will not be searched if this method returns true.
| |
PriorityForSearch |
Determines the priority of the search source for a particular search. The priority is used to determine the order
in which search sources are queried; sources with a higher priority are searched first.
(Overrides LocationSearchSourcePriorityForSearch(LocationSearchBaseArgs).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |