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();
            }
        }
예제 #2
0
        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();
            }
        }