BetterMembership.Web.BetterProfileProvider.ExtractProfileInfoFromRows C# (CSharp) Method

ExtractProfileInfoFromRows() private static method

private static ExtractProfileInfoFromRows ( List rows, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
rows List
totalRecords int
return System.Web.Profile.ProfileInfoCollection
        private static ProfileInfoCollection ExtractProfileInfoFromRows(List<dynamic> rows, out int totalRecords)
        {
            var profiles = new ProfileInfoCollection();
            totalRecords = 0;
            if (rows.Any())
            {
                totalRecords = GetTotalRecords(rows);
                rows.ForEach(row => profiles.Add(CreateProfileInfo(row)));
            }

            return profiles;
        }