public void BuildChains(TypePool pool, CommandGraph graph) { pool .TypesMatching(TypeFilters.Matches) .Each(t => { graph.AddChainForNew(new CommandChain(t)); graph.AddChainForExisting(new CommandChain(t)); }); }