13 lines
257 B
C#
13 lines
257 B
C#
|
|
using zero.Core.Mapper;
|
||
|
|
|
||
|
|
namespace zero.Core.Options
|
||
|
|
{
|
||
|
|
public class MapperOptions : ZeroBackofficeCollection<IMapperConfig>, IZeroCollectionOptions
|
||
|
|
{
|
||
|
|
public void Add<T>() where T : IMapperConfig, new()
|
||
|
|
{
|
||
|
|
Items.Add(new T());
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|