Table of Contents

Class ImagePatternExtenderBase

Namespace
Dynamicweb.Ecommerce
Assembly
Dynamicweb.Ecommerce.dll
public abstract class ImagePatternExtenderBase : IComparable<ImagePatternExtenderBase>
Inheritance
ImagePatternExtenderBase
Implements
Inherited Members

Properties

Rank

public virtual int Rank { get; set; }

Property Value

int

Methods

CompareTo(ImagePatternExtenderBase)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(ImagePatternExtenderBase other)

Parameters

other ImagePatternExtenderBase

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

Value Meaning
Less than zero This instance precedes other in the sort order.
Zero This instance occurs in the same position in the sort order as other.
Greater than zero This instance follows other in the sort order.

ReplaceFilePath(string, ImagePatternProductInfo)

FilePath to the image.

public virtual string ReplaceFilePath(string filePath, ImagePatternProductInfo product)

Parameters

filePath string

Path the the image on disk. Relative path.

product ImagePatternProductInfo

Product that is being fetched images for

Returns

string

filePath

ReplaceImagePath(string, ImagePatternProductInfo)

ImagePath based upon ImagePattern before the file lookup.

public virtual string ReplaceImagePath(string imagePath, ImagePatternProductInfo product)

Parameters

imagePath string

Image path based upon an imagepattern

product ImagePatternProductInfo

Product that is being fetched images for

Returns

string

imagePath

To top