private void addCloseGenericPolicyTo(PluginGraph graph) { var policy = new CloseGenericFamilyPolicy(graph); graph.AddFamilyPolicy(policy); graph.Profiles.Each(addCloseGenericPolicyTo); }
private void addCloseGenericPolicyTo(PluginGraph graph) { var policy = new CloseGenericFamilyPolicy(graph); graph.AddFamilyPolicy(policy); graph.AddFamilyPolicy(new FuncBuildByNamePolicy()); graph.AddFamilyPolicy(new EnumerableFamilyPolicy()); graph.Profiles.Each(addCloseGenericPolicyTo); }