using zero.Core.Entities; namespace zero.Core.Options { public class FeatureOptions : ZeroBackofficeCollection, IZeroCollectionOptions { public void Add() where T : Feature, new() { Items.Add(new T()); } public void Add(string alias, string name, string description) { Items.Add(new Feature() { Alias = alias, Name = name, Description = description }); } } }