Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IUploadService.cs

using System.Globalization;
using Microsoft.AspNetCore.Http;

namespace Nop.Services.Plugins;

/// 
/// Represents a service for uploading application extensions (plugins or themes) and favicon and app icons
/// 
public partial interface IUploadService
{
    /// 
    /// Upload plugins and/or themes
    /// 
    /// Archive file
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the list of uploaded items descriptor
    /// 
    Task> UploadPluginsAndThemesAsync(IFormFile archivefile);

    /// 
    /// Upload favicon and app icons
    /// 
    /// Archive file which contains a set of special icons for different OS and devices
    /// A task that represents the asynchronous operation
    Task UploadIconsArchiveAsync(IFormFile archivefile);

    /// 
    /// Upload single favicon
    /// 
    /// Favicon
    /// A task that represents the asynchronous operation
    Task UploadFaviconAsync(IFormFile favicon);

    /// 
    /// Upload locale pattern for current culture
    /// 
    /// CultureInfo
    /// A task that represents the asynchronous operation
    Task UploadLocalePatternAsync(CultureInfo cultureInfo = null);
}