public ProjectFeature(string name, IEnumerable <DbObject> dbObjects) { Name = name; DbObjects.AddRange(dbObjects); }
/// <summary> /// Initializes a new instance of <see cref="ProjectFeature{TProjectSettings}"/> class /// </summary> /// <param name="name">Feature name</param> /// <param name="dbObjects">Sequence of <see cref="IDbObject"/> for the feature</param> /// <param name="project">Project to which it belongs</param> public ProjectFeature(string name, IEnumerable <IDbObject> dbObjects, IProject <TProjectSettings> project) { Name = name; DbObjects.AddRange(dbObjects); Project = project; }