Search Results for

    Show / Hide Table of Contents

    Method GetPluginFiles

    | Improve this Doc View Source

    GetPluginFiles()

    Gets the full path to each plugin file from a configuration source.

    Declaration
    public abstract IEnumerable<string> GetPluginFiles()
    Returns
    Type Description
    IEnumerable<String>

    A collection of plugin files that also contains the paths;

    or

    Returns an empty enumerable when the plugin files could not be obtained.

    This method never returns null.

    Remarks

    Plugin files must be in the plugins directory of the current directory where the host application is running.

    Each plugin file must have a .dll extension and must be in its own directory.

    Example:

    /HostApp/bin/Debug/net7.0/plugins/MyPlugin1/MyPlugin1.dll
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 CPlugin.Net