2020-12-10 15:57:59 +01:00
|
|
|
using zero.Core.Entities;
|
|
|
|
|
using zero.Core.Integrations;
|
|
|
|
|
|
|
|
|
|
namespace zero.Core.Options
|
|
|
|
|
{
|
2020-12-16 13:22:18 +01:00
|
|
|
public class IntegrationOptions : ZeroBackofficeCollection<IIntegrationType>, IZeroCollectionOptions
|
2020-12-10 15:57:59 +01:00
|
|
|
{
|
2020-12-16 13:22:18 +01:00
|
|
|
public void Add<T>() where T : IIntegrationType, new()
|
2020-12-10 15:57:59 +01:00
|
|
|
{
|
|
|
|
|
Items.Add(new T());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|