Try your search with a different keyword or use * as a wildcard.
using Nop.Web.Framework.Models;
namespace Nop.Web.Models.Sitemap;
///
/// Represents sitemap URL model
///
public partial record SitemapUrlModel : BaseNopModel
{
#region Ctor
///
/// Initializes a new instance of the sitemap URL model
///
/// URL of the page
/// List of the page urls
/// Update frequency
/// Updated on
public SitemapUrlModel(string location, IList alternateLocations, UpdateFrequency frequency, DateTime updatedOn)
{
Location = location;
AlternateLocations = alternateLocations ?? new List();
UpdateFrequency = frequency;
UpdatedOn = updatedOn;
}
///
/// Initializes a new instance of the sitemap URL model based on the passed model
///
/// URL of the page
/// The another sitemap url
public SitemapUrlModel(string location, SitemapUrlModel sitemapUrl)
{
Location = location;
AlternateLocations = sitemapUrl.AlternateLocations;
UpdateFrequency = sitemapUrl.UpdateFrequency;
UpdatedOn = sitemapUrl.UpdatedOn;
}
#endregion
#region Properties
///
/// Gets or sets URL of the page
///
public string Location { get; set; }
///
/// Gets or sets localized URLs of the page
///
public IList AlternateLocations { get; set; }
///
/// Gets or sets a value indicating how frequently the page is likely to change
///
public UpdateFrequency UpdateFrequency { get; set; }
///
/// Gets or sets the date of last modification of the page
///
public DateTime UpdatedOn { get; set; }
#endregion
}