/// <summary>
 /// Creates a new instance.
 /// </summary>
 public DependencyList(IList <IModReference> dependencies, DependencyResolveLayout resolveLayout)
     : base(dependencies)
 {
     ResolveLayout = resolveLayout;
 }
 /// <summary>
 /// Creates a new instance from a given <see cref="IModDependencyList"/>.
 /// </summary>
 public DependencyList(IModDependencyList dependencyList) : base(dependencyList.ToList())
 {
     ResolveLayout = dependencyList.ResolveLayout;
 }