LibiadaWeb.Models.Repositories.Catalogs.NotationRepository.GetSelectListWithNature C# (CSharp) 메소드

GetSelectListWithNature() 공개 메소드

The get select list with nature.
public GetSelectListWithNature ( ) : IEnumerable
리턴 IEnumerable
        public IEnumerable<SelectListItemWithNature> GetSelectListWithNature()
        {
            return Notations.Select(n => new SelectListItemWithNature
            {
                Value = n.Id.ToString(),
                Text = n.Name,
                Selected = false,
                Nature = (byte)n.Nature
            });
        }

Same methods

NotationRepository::GetSelectListWithNature ( List notationIds ) : IEnumerable
NotationRepository::GetSelectListWithNature ( List notationIds, int selectedNotation ) : IEnumerable
NotationRepository::GetSelectListWithNature ( int selectedNotation ) : IEnumerable