namespace Nop.Web.Framework.Mvc.Routing; /// /// Represents default values related to routing /// public static partial class NopRoutingDefaults { #region Route names public static partial class RouteName { public static partial class Generic { /// /// Gets the generic route name /// public static string GenericUrl => "GenericUrl"; /// /// Gets the generic route (with language code e.g. en/) name /// public static string GenericUrlWithLanguageCode => "GenericUrlWithLanguageCode"; /// /// Gets the generic catalog route (with language code e.g. en/) name /// public static string GenericCatalogUrl => "GenericCatalogUrl"; /// /// Gets the generic catalog route name /// public static string GenericCatalogUrlWithLanguageCode => "GenericCatalogUrlWithLanguageCode"; /// /// Gets the generic product catalog route name /// public static string ProductCatalog => "ProductCatalog"; /// /// Gets the generic product route name /// public static string Product => "ProductDetails"; /// /// Gets the generic category route name /// public static string Category => "Category"; /// /// Gets the generic manufacturer route name /// public static string Manufacturer => "Manufacturer"; /// /// Gets the generic vendor route name /// public static string Vendor => "Vendor"; /// /// Gets the generic news item route name /// public static string NewsItem => "NewsItem"; /// /// Gets the generic blog post route name /// public static string BlogPost => "BlogPost"; /// /// Gets the generic topic route name /// public static string Topic => "TopicDetails"; /// /// Gets the generic product tag route name /// public static string ProductTag => "ProductsByTag"; } } #endregion #region Route values keys public static partial class RouteValue { /// /// Gets default key for action route value /// public static string Action => "action"; /// /// Gets default key for controller route value /// public static string Controller => "controller"; /// /// Gets default key for permanent redirect route value /// public static string PermanentRedirect => "permanentRedirect"; /// /// Gets default key for url route value /// public static string Url => "url"; /// /// Gets default key for blogpost id route value /// public static string BlogPostId => "blogpostId"; /// /// Gets default key for category id route value /// public static string CategoryId => "categoryid"; /// /// Gets default key for manufacturer id route value /// public static string ManufacturerId => "manufacturerid"; /// /// Gets default key for newsitem id route value /// public static string NewsItemId => "newsitemId"; /// /// Gets default key for product id route value /// public static string ProductId => "productid"; /// /// Gets default key for product tag id route value /// public static string ProductTagId => "productTagId"; /// /// Gets default key for topic id route value /// public static string TopicId => "topicid"; /// /// Gets default key for vendor id route value /// public static string VendorId => "vendorid"; /// /// Gets language route value /// public static string Language => "language"; /// /// Gets default key for se name route value /// public static string SeName => "SeName"; /// /// Gets default key for catalog route value /// public static string CatalogSeName => "CatalogSeName"; } #endregion /// /// Gets language parameter transformer /// public static string LanguageParameterTransformer => "lang"; }