Table of Contents

Class FieldOptionValueViewModelExtensionMethods

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll
public static class FieldOptionValueViewModelExtensionMethods
Inheritance
FieldOptionValueViewModelExtensionMethods
Inherited Members

Methods

GetColor(FieldOptionValueViewModel)

Gets the color model.

public static ColorViewModel GetColor(this FieldOptionValueViewModel model)

Parameters

model FieldOptionValueViewModel

Returns

ColorViewModel

ColorViewModel if value kind is color

IsColor(FieldOptionValueViewModel)

Gets value indicated if the field value is color

public static bool IsColor(this FieldOptionValueViewModel model)

Parameters

model FieldOptionValueViewModel

Returns

bool
To top