View Source
Class PreValueMigratorBase
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class PreValueMigratorBase : IPreValueMigrator
Methods
View Source
CanMigrate(String)
Declaration
public abstract bool CanMigrate(string editorAlias)
Parameters
Type |
Name |
Description |
System.String |
editorAlias |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
GetBoolValue(Dictionary<String, PreValueDto>, String, Boolean)
Declaration
protected bool GetBoolValue(Dictionary<string, PreValueDto> preValues, string alias, bool defaultValue = false)
Parameters
Type |
Name |
Description |
Dictionary<System.String, PreValueDto> |
preValues |
|
System.String |
alias |
|
System.Boolean |
defaultValue |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
GetConfiguration(Int32, String, Dictionary<String, PreValueDto>)
Declaration
public abstract object GetConfiguration(int dataTypeId, string editorAlias, Dictionary<string, PreValueDto> preValues)
Parameters
Type |
Name |
Description |
System.Int32 |
dataTypeId |
|
System.String |
editorAlias |
|
Dictionary<System.String, PreValueDto> |
preValues |
|
Returns
Type |
Description |
System.Object |
|
View Source
GetDecimalValue(Dictionary<String, PreValueDto>, String, Decimal)
Declaration
protected decimal GetDecimalValue(Dictionary<string, PreValueDto> preValues, string alias, decimal defaultValue = 0M)
Parameters
Type |
Name |
Description |
Dictionary<System.String, PreValueDto> |
preValues |
|
System.String |
alias |
|
System.Decimal |
defaultValue |
|
Returns
Type |
Description |
System.Decimal |
|
View Source
GetNewAlias(String)
Declaration
public virtual string GetNewAlias(string editorAlias)
Parameters
Type |
Name |
Description |
System.String |
editorAlias |
|
Returns
Type |
Description |
System.String |
|