Priya.InfoList.Views.InfoDetailView.GetListDetailView C# (CSharp) Method

GetListDetailView() public static method

public static GetListDetailView ( long pageNo, long itemsPerDetail, long dataIndex, string templateSuffix, long infoSectionId, bool loadList ) : string
pageNo long
itemsPerDetail long
dataIndex long
templateSuffix string
infoSectionId long
loadList bool
return string
        public static string GetListDetailView(long pageNo, long itemsPerDetail, long dataIndex, string templateSuffix, long infoSectionId, bool loadList)
        {
            string htmlListAllItem = "";
            if (loadList == true)
            {
                htmlListAllItem = GetListAllItemView(pageNo, itemsPerDetail, dataIndex, templateSuffix, infoSectionId);
            }

            string message;
            var templateListDetail = new TemplateInfoDetailListDetail
            {
                ListItem = htmlListAllItem,
                InfoSectionId = infoSectionId.ToString()
            };
            string htmlListDetail = templateListDetail.GetFilled(templateSuffix, UtilsGeneric.Validate,
                                                                            UtilsGeneric.ThrowException, out message);
         
            return htmlListDetail;
        }