TraktPlugin.GUI.GUISearch.GetSearchListName C# (CSharp) Метод

GetSearchListName() приватный Метод

private GetSearchListName ( SearchType type ) : string
type SearchType
Результат string
        private string GetSearchListName(SearchType type)
        {
            string listName = string.Empty;

            switch (type)
            {
                case SearchType.movies:
                    listName = Translation.Movies;
                    break;

                case SearchType.shows:
                    listName = Translation.TVShows;
                    break;

                case SearchType.episodes:
                    listName = Translation.Episodes;
                    break;

                case SearchType.people:
                    listName = Translation.People;
                    break;

                case SearchType.users:
                    listName = Translation.Users;
                    break;

                case SearchType.lists:
                    listName = Translation.Lists;
                    break;
            }

            return listName;
        }