NuGet.Dialog.Providers.RecentProvider.CreateSortDescriptors C# (CSharp) Метод

CreateSortDescriptors() защищенный Метод

protected CreateSortDescriptors ( ) : IList
Результат IList
        protected override IList<IVsSortDescriptor> CreateSortDescriptors()
        {
            return new List<IVsSortDescriptor> {
                        new PackageSortDescriptor(Resources.Dialog_RecentPackagesDefaultSort, "LastUsedDate", ListSortDirection.Descending),
                        new PackageSortDescriptor(String.Format(CultureInfo.CurrentCulture, "{0}: {1}", Resources.Dialog_SortOption_Name, Resources.Dialog_SortAscending), new[] { "Title", "Id" }, ListSortDirection.Ascending),
                        new PackageSortDescriptor(String.Format(CultureInfo.CurrentCulture, "{0}: {1}", Resources.Dialog_SortOption_Name, Resources.Dialog_SortDescending), new[] { "Title", "Id" }, ListSortDirection.Descending)
                  };
        }