Search Results for

    Show / Hide Table of Contents
    View Source

    Class DictionaryPresentationFactory

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Api.Management.Factories
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class DictionaryPresentationFactory : IDictionaryPresentationFactory

    Constructors

    View Source

    DictionaryPresentationFactory(IUmbracoMapper, ILanguageService)

    Declaration
    public DictionaryPresentationFactory(IUmbracoMapper umbracoMapper, ILanguageService languageService)
    Parameters
    Type Name Description
    IUmbracoMapper umbracoMapper
    ILanguageService languageService

    Methods

    View Source

    CreateDictionaryImportViewModel(UdtFileUpload)

    Declaration
    public UploadDictionaryResponseModel CreateDictionaryImportViewModel(UdtFileUpload udtFileUpload)
    Parameters
    Type Name Description
    UdtFileUpload udtFileUpload
    Returns
    Type Description
    UploadDictionaryResponseModel
    View Source

    CreateDictionaryItemViewModelAsync(IDictionaryItem)

    Declaration
    public async Task<DictionaryItemResponseModel> CreateDictionaryItemViewModelAsync(IDictionaryItem dictionaryItem)
    Parameters
    Type Name Description
    IDictionaryItem dictionaryItem
    Returns
    Type Description
    Task<DictionaryItemResponseModel>
    View Source

    MapCreateModelToDictionaryItemAsync(CreateDictionaryItemRequestModel)

    Declaration
    public async Task<IDictionaryItem> MapCreateModelToDictionaryItemAsync(CreateDictionaryItemRequestModel createDictionaryItemUpdateModel)
    Parameters
    Type Name Description
    CreateDictionaryItemRequestModel createDictionaryItemUpdateModel
    Returns
    Type Description
    Task<IDictionaryItem>
    View Source

    MapUpdateModelToDictionaryItemAsync(IDictionaryItem, UpdateDictionaryItemRequestModel)

    Declaration
    public async Task<IDictionaryItem> MapUpdateModelToDictionaryItemAsync(IDictionaryItem current, UpdateDictionaryItemRequestModel updateDictionaryItemRequestModel)
    Parameters
    Type Name Description
    IDictionaryItem current
    UpdateDictionaryItemRequestModel updateDictionaryItemRequestModel
    Returns
    Type Description
    Task<IDictionaryItem>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DictionaryPresentationFactory(IUmbracoMapper, ILanguageService)
    • Methods
      • CreateDictionaryImportViewModel(UdtFileUpload)
      • CreateDictionaryItemViewModelAsync(IDictionaryItem)
      • MapCreateModelToDictionaryItemAsync(CreateDictionaryItemRequestModel)
      • MapUpdateModelToDictionaryItemAsync(IDictionaryItem, UpdateDictionaryItemRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX