collection for integrations

This commit is contained in:
2020-12-16 13:22:18 +01:00
parent f099bbecaa
commit 4e2dbee4eb
11 changed files with 373 additions and 235 deletions
+2 -2
View File
@@ -3,9 +3,9 @@ using zero.Core.Integrations;
namespace zero.Core.Options
{
public class IntegrationOptions : ZeroBackofficeCollection<IIntegration>, IZeroCollectionOptions
public class IntegrationOptions : ZeroBackofficeCollection<IIntegrationType>, IZeroCollectionOptions
{
public void Add<T>() where T : IIntegration, new()
public void Add<T>() where T : IIntegrationType, new()
{
Items.Add(new T());
}