/// <summary>
 /// Adds a sequence of resources to <see cref="Resource.Resources"/>.
 /// </summary>
 /// <param name="resource">Current resource.</param>
 /// <param name="resources">Child resources to add to the current resource.</param>
 public static void AddResources(this Resource resource, IEnumerable <Resource> resources) =>
 resource.Resources.AddEnumerable(resources);
 /// <summary>
 /// Adds a dictionary of tag key values to <see cref="Resource.Tags"/>.
 /// </summary>
 /// <param name="resource">Current resource.</param>
 /// <param name="tags">Tags to add to the current resource.</param>
 public static void AddTags(this Resource resource, IDictionary <string, string> tags) =>
 resource.Tags.AddEnumerable(tags);
 /// <summary>
 /// Adds a sequence of resources to <see cref="Resource.DependsOn"/>.
 /// </summary>
 /// <param name="resource">Cuurent resource.</param>
 /// <param name="dependencies">Resources to add as dependencies.</param>
 public static void AddDependencies(this Resource resource, IEnumerable <Resource> dependencies) =>
 resource.DependsOn.AddEnumerable(dependencies);