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 CatalogNodeRowExtensions

Inheritance
System.Object
CatalogNodeRowExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog.Dto
Assembly: EPiServer.Business.Commerce.dll
Version: 9.24.1
Syntax
public static class CatalogNodeRowExtensions

Methods

EndDate(CatalogNodeDto.CatalogNodeRow, String)

Get node end date in the specific language.

Declaration
public static DateTime EndDate(this CatalogNodeDto.CatalogNodeRow catalogNodeRow, string language)
Parameters
Type Name Description
CatalogNodeDto.CatalogNodeRow catalogNodeRow

The catalog node row.

System.String language

The language.

Returns
Type Description
System.DateTime

IsAvailable(CatalogNodeDto.CatalogNodeRow)

Determines whether the specified catalog node row is available (is active, startdate and enddate are correct)

Declaration
public static bool IsAvailable(this CatalogNodeDto.CatalogNodeRow catalogNodeRow)
Parameters
Type Name Description
CatalogNodeDto.CatalogNodeRow catalogNodeRow

The catalog node row.

Returns
Type Description
System.Boolean

true if the specified catalog node row is available; otherwise, false.

IsAvailable(CatalogNodeDto.CatalogNodeRow, String)

Determines whether the specified catalog node row is available (is published, startdate and enddate are correct) in the specific language.

Declaration
public static bool IsAvailable(this CatalogNodeDto.CatalogNodeRow catalogNodeRow, string language)
Parameters
Type Name Description
CatalogNodeDto.CatalogNodeRow catalogNodeRow

The catalog node row.

System.String language

The language.

Returns
Type Description
System.Boolean

true if the specified catalog node row is available; otherwise, false.

IsPublished(CatalogNodeDto.CatalogNodeRow, String)

Checks if the node is published in the specific language.

Declaration
public static bool IsPublished(this CatalogNodeDto.CatalogNodeRow row, string language)
Parameters
Type Name Description
CatalogNodeDto.CatalogNodeRow row

The node row.

System.String language

The language to check if the node is published.

Returns
Type Description
System.Boolean

true if the node is published in this language, otherwise false.

StartDate(CatalogNodeDto.CatalogNodeRow, String)

Get node start date in the specific language.

Declaration
public static DateTime StartDate(this CatalogNodeDto.CatalogNodeRow catalogNodeRow, string language)
Parameters
Type Name Description
CatalogNodeDto.CatalogNodeRow catalogNodeRow

The catalog node row.

System.String language

The language.

Returns
Type Description
System.DateTime