Introduced a common module interface to avoid repeated code

This commit is contained in:
Kenneth Skovhede
2026-01-14 09:52:37 +01:00
parent 6ac07531bd
commit b2db71685f
6 changed files with 42 additions and 61 deletions
@@ -0,0 +1,17 @@
namespace Duplicati.Library.Interface;
public interface ICommonModule : IDynamicModule
{
/// <summary>
/// Gets the module key
/// </summary>
string Key { get; }
/// <summary>
/// Gets the display name of the module
/// </summary>
string DisplayName { get; }
/// <summary>
/// Gets the description of the module
/// </summary>
string Description { get; }
}