private void Execute(CatalogueCombineable catalogueCombineable, bool publish) { var cmd = catalogueCombineable.GenerateAggregateConfigurationFor(BasicActivator, _targetCohortAggregateContainer, !SkipMandatoryFilterCreation); if (cmd != null) { _postImportCommand = new ExecuteCommandAddAggregateConfigurationToCohortIdentificationSetContainer(BasicActivator, cmd, _targetCohortAggregateContainer) { DoNotClone = true, NoPublish = !publish }; _postImportCommand.Execute(); } }
public override void Execute() { base.Execute(); var cmd = _catalogueCombineable.GenerateAggregateConfigurationFor(BasicActivator, _targetCohortAggregateContainer, !SkipMandatoryFilterCreation); if (cmd != null) { _postImportCommand = new ExecuteCommandAddAggregateConfigurationToCohortIdentificationSetContainer(BasicActivator, cmd, _targetCohortAggregateContainer) { DoNotClone = true }; _postImportCommand.Execute(); } }