Class ConversionUnitFieldTypeProviderBase
- Namespace
- Dynamicweb.Ecommerce.Products.FieldTypeProviders
- Assembly
- Dynamicweb.Ecommerce.dll
[Serializable]
public abstract class ConversionUnitFieldTypeProviderBase : ProductFieldTypeProvider, IParameterOptions
- Inheritance
-
ConversionUnitFieldTypeProviderBase
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
ConversionUnitFieldTypeProviderBase()
public ConversionUnitFieldTypeProviderBase()
Properties
DecimalPlaces
[AddInParameter("Decimal places")]
[AddInParameterEditor(typeof(IntegerNumberParameterEditor), "")]
[AddInParameterGroup("Source")]
public int DecimalPlaces { get; set; }
Property Value
- int
LanguageUnits
[AddInParameter("Language Units")]
[AddInParameterEditor(typeof(LanguageUnitParameterEditor), "")]
[AddInParameterGroup("Source")]
public string LanguageUnits { get; set; }
Property Value
- string
Methods
GetAppenderInfo(string, Dictionary<string, string>)
public override string GetAppenderInfo(string languageId, Dictionary<string, string> settings)
Parameters
languageId
string
settings
Dictionary<string, string>
Returns
- string
GetAppenderInfo(string, string)
public override string GetAppenderInfo(string languageId, string settings)
Parameters
languageId
string
settings
string
Returns
- string
GetAppenderTitle(string, Dictionary<string, string>)
public override string GetAppenderTitle(string languageId, Dictionary<string, string> settings)
Parameters
languageId
string
settings
Dictionary<string, string>
Returns
- string
GetParameterOptions(string)
public IEnumerable<ParameterOption> GetParameterOptions(string parameterName)
Parameters
parameterName
string
Returns
- IEnumerable<ParameterOption>
GetProductValue(Product, object, string, Dictionary<string, string>)
public override object GetProductValue(Product product, object value, string languageId, Dictionary<string, string> settings)
Parameters
product
Product
value
object
languageId
string
settings
Dictionary<string, string>
Returns
- object
GetValue(object, string, Dictionary<string, string>)
public override object GetValue(object value, string languageId, Dictionary<string, string> settings)
Parameters
value
object
languageId
string
settings
Dictionary<string, string>
Returns
- object