コード例 #1
0
 /// <summary>
 /// Return a snapshot of the mapping from display names to visible
 /// IDs for this service.  This set will not change as factories
 /// are added or removed, but the supported ids will, so there is
 /// no guarantee that all and only the ids in the returned map will
 /// be visible and supported by the service in subsequent calls,
 /// nor is there any guarantee that the current display names match
 /// those in the set.  The display names are sorted based on the
 /// comparer provided.
 /// </summary>
 public virtual SortedDictionary <string, string> GetDisplayNames(ULocale locale, CompareInfo com, string matchID)
 {
     return(GetDisplayNames(locale, com.ToComparer(), matchID));
 }
コード例 #2
0
 internal UiListItemComparator(CompareInfo collator, bool useSelf) // ICU4N specific overload, since CompareInfo doesn't implement IComparer<string>
     : this(collator.ToComparer(), useSelf)
 {
 }