Files
mixtape/zero.Core/Options/IntegrationOptions.cs
T

14 lines
300 B
C#
Raw Normal View History

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());
}
}
}