public NuspecGenerationPlan PlanFor(Solution solution, SemanticVersion version) { var plan = new NuspecGenerationPlan(solution, version); var templates = _finder.Templates(solution); templates.Each(template => { var child = new NuspecPlan(template, version); var context = new NuspecTemplateContext(template, templates, solution, version); child.AddDependencies(_sources.SelectMany(x => x.DetermineDependencies(context))); plan.Add(child); }); return(plan); }
public NuspecGenerationPlan PlanFor(Solution solution, SemanticVersion version) { var plan = new NuspecGenerationPlan(solution, version); var templates = _finder.Templates(solution); templates.Each(template => { var child = new NuspecPlan(template, version); var context = new NuspecTemplateContext(template, templates, solution, version); child.AddDependencies(_sources.SelectMany(x => x.DetermineDependencies(context))); plan.Add(child); }); return plan; }
public void Add(NuspecPlan plan) { _plans.Fill(plan); }
protected bool Equals(NuspecPlan other) { return _template.Equals(other._template); }
protected bool Equals(NuspecPlan other) { return(_template.Equals(other._template)); }