Sicherung
This commit is contained in:
28
Kalk/Kalk.Core/Modules/AllModule.cs
Normal file
28
Kalk/Kalk.Core/Modules/AllModule.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Kalk.Core.Modules
|
||||
{
|
||||
/// <summary>
|
||||
/// Import all modules.
|
||||
/// </summary>
|
||||
[KalkExportModule("All")]
|
||||
public partial class AllModule : KalkModule
|
||||
{
|
||||
public AllModule()
|
||||
{
|
||||
Modules = new List<KalkModule>();
|
||||
RegisterDocumentationAuto();
|
||||
}
|
||||
|
||||
public List<KalkModule> Modules { get; }
|
||||
|
||||
protected override void Import()
|
||||
{
|
||||
base.Import();
|
||||
foreach (var module in Modules)
|
||||
{
|
||||
module.InternalImport();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user