A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class ICatalogSystemExtensions

Inheritance
System.Object
ICatalogSystemExtensions
Namespace: EPiServer.Commerce.Catalog
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public static class ICatalogSystemExtensions : Object

Methods

GetCatalogsBySite(ICatalogSystem, Guid)

Get catalog ids by site

Declaration
public static IEnumerable<int> GetCatalogsBySite(this ICatalogSystem catalogSystem, Guid siteId)
Parameters
Type Name Description
ICatalogSystem catalogSystem

The catalog system

System.Guid siteId

The site id.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Int32>

IsEntryValidForSite(ICatalogSystem, String, Guid)

Check entry is valid for site

Declaration
public static bool IsEntryValidForSite(this ICatalogSystem catalogSystem, string code, Guid siteId)
Parameters
Type Name Description
ICatalogSystem catalogSystem

The catalog system.

System.String code

The code.

System.Guid siteId

The site if.

Returns
Type Description
System.Boolean