public UsageGraph(FixtureLibrary library, IUsageGraphListener listener) { _library = library; _listener = listener; _fixtures.OnMissing = name => { var fixture = library.FixtureFor(name); return new FixtureUsage(fixture); }; }
public UsageGraph(FixtureLibrary library, IUsageGraphListener listener) { _library = library; _listener = listener; _fixtures.OnMissing = name => { var fixture = library.FixtureFor(name); return(new FixtureUsage(fixture)); }; }