<commit_before>﻿namespace Merchello.Web
{
    using Merchello.Core.Models;
    using Merchello.Web.Workflow;

    /// <summary>
    /// Extension methods for customer classes.
    /// </summary>
    public static class CustomerExtensions
    {
        /// <summary>
        /// Returns the <see cref="IBasket"/> for the customer
        /// </summary>
        /// <param name="customer">The <see cref="ICustomerBase"/></param>
        /// <returns>The <see cref="IBasket"/></returns>
        public static IBasket Basket(this ICustomerBase customer)
        {
            return Workflow.Basket.GetBasket(customer);
        }
    }
}<commit_msg>Adds the WishList extension to ICustomer<commit_after>﻿namespace Merchello.Web
{
    using Merchello.Core.Models;
    using Merchello.Web.Workflow;

    /// <summary>
    /// Extension methods for customer classes.
    /// </summary>
    public static class CustomerExtensions
    {
        /// <summary>
        /// Returns the <see cref="IBasket"/> for the customer
        /// </summary>
        /// <param name="customer">The <see cref="ICustomerBase"/></param>
        /// <returns>The <see cref="IBasket"/></returns>
        public static IBasket Basket(this ICustomerBase customer)
        {
            return Workflow.Basket.GetBasket(customer);
        }

        /// <summary>
        /// The wish list.
        /// </summary>
        /// <param name="customer">
        /// The customer.
        /// </param>
        /// <returns>
        /// The <see cref="IWishList"/>.
        /// </returns>
        public static IWishList WishList(this ICustomer customer)
        {
            return Workflow.WishList.GetWishList(customer);
        }
    }
}
{'fraction_non_alphanumeric': 0.14252199413489736, 'fraction_numerical': 0.0, 'mean_word_length': 1.8964346349745331, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2479198', 'n_tokens_mistral': 475, 'n_tokens_neox': 472, 'n_words': 110}