Webiant Logo Webiant Logo
  1. No results found.

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

IThemeProvider.cs

namespace Nop.Services.Themes;

/// 
/// Represents a theme provider
/// 
public partial interface IThemeProvider
{
    /// 
    /// Get theme descriptor from the description text
    /// 
    /// Description text
    /// Theme descriptor
    ThemeDescriptor GetThemeDescriptorFromText(string text);

    /// 
    /// Get all themes
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the list of the theme descriptor
    /// 
    Task> GetThemesAsync();

    /// 
    /// Get a theme by the system name
    /// 
    /// Theme system name
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the me descriptor
    /// 
    Task GetThemeBySystemNameAsync(string systemName);

    /// 
    /// Check whether the theme with specified system name exists
    /// 
    /// Theme system name
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains true if the theme exists; otherwise false
    /// 
    Task ThemeExistsAsync(string systemName);
}