Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

559 B
Raw Blame
namespace Grand.Infrastructure.Plugins;

/// <summary>
///     Interface for Plugin
///     the editing interface.
/// </summary>
public interface IPlugin
{
    /// <summary>
    ///     Gets or sets the plugin info
    /// </summary>
    PluginInfo PluginInfo { get; set; }

    /// <summary>
    ///     Gets a configuration URL
    /// </summary>
    string ConfigurationUrl();

    /// <summary>
    ///     Install plugin
    /// </summary>
    Task Install();

    /// <summary>
    ///     Uninstall plugin
    /// </summary>
    Task Uninstall();
}