Search Results for

    Show / Hide Table of Contents
    View Source

    Class PreValueMigratorBase

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_0_0.DataTypes
    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
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CanMigrate(String)
      • GetBoolValue(Dictionary<String, PreValueDto>, String, Boolean)
      • GetConfiguration(Int32, String, Dictionary<String, PreValueDto>)
      • GetDecimalValue(Dictionary<String, PreValueDto>, String, Decimal)
      • GetNewAlias(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX