/// <summary> /// Initializes a new instance of the <see cref="GroupSelector"/> class. /// </summary> /// <param name="groupImportEngine">The object that matches group imports with group exports.</param> /// <param name="compositionGraph">The object that stores the connections between the different selected groups.</param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="groupImportEngine"/> is <see langword="null" />. /// </exception> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="compositionGraph"/> is <see langword="null" />. /// </exception> public GroupSelector(IConnectGroups groupImportEngine, ICompositionLayer compositionGraph) { { Lokad.Enforce.Argument(() => groupImportEngine); Lokad.Enforce.Argument(() => compositionGraph); } m_GroupImportEngine = groupImportEngine; m_Graph = compositionGraph; }