コード例 #1
0
        public void BuildWorkflow(IRabbitMqBusFactoryConfigurator busFactoryConfigurator, IRabbitMqHost host,
                                  IComponentRegistry componentRegistry)
        {
            _activityConfigurator.ConfigureActivity <ICreateActiveDirectoryUserActivity, ICreateActiveDirectoryUserArguments, ICreateActiveDirectoryUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureActivity <ICreateIdentityServerUserActivity, ICreateIdentityServerUserArguments, ICreateIdentityServerUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureActivity <IUpdateActiveDirectoryUserActivity, IUpdateActiveDirectoryUserArguments, IUpdateActiveDirectoryUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureActivity <IDeleteActiveDirectoryUserActivity, IDeleteActiveDirectoryUserArguments, IDeleteActiveDirectoryUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureActivity <IDeleteIdentityServerUserActivity, IDeleteIdentityServerUserArguments, IDeleteIdentityServerUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));

            _activityConfigurator.ConfigureExecuteActivity <IUserCreatedActivity, IUserCreatedArguments>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureExecuteActivity <IUpdateIdentityServerUserActivity, IUpdateIdentityServerUserArguments>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
        }
コード例 #2
0
        public void BuildWorkflow(IRabbitMqBusFactoryConfigurator busFactoryConfigurator, IRabbitMqHost host,
                                  IComponentRegistry componentRegistry)
        {
            _activityConfigurator.ConfigureActivity <ICreateDatabaseCompanyActivity, ICreateDatabaseCompanyArguments, ICreateDatabaseCompanyLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));

            _activityConfigurator.ConfigureActivity <ICreateActiveDirectoryComapnyActivity, ICreateActiveDirectoryCompanyArguments, ICreateActiveDirectoryCompanyLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));

            _activityConfigurator.ConfigureExecuteActivity <ICompanyCreatedActivity, ICompanyCreatedArguments>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));

            _activityConfigurator.ConfigureActivity <IAssignCatalogActivity, IAssignCatalogArguments, IAssignCatalogLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));

            _activityConfigurator.ConfigureActivity <IAddCallbackRedirectUriActivity, IAddCallbackRedirectUriArguments, IAddCallbackRedirectUriLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));

            _activityConfigurator.ConfigureActivity <IRemoveCallbackRedirectUriActivity, IRemoveCallbackRedirectUriArguments, IRemoveCallbackRedirectUriLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
        }
コード例 #3
0
        public void BuildWorkflow(IRabbitMqBusFactoryConfigurator busFactoryConfigurator, IRabbitMqHost host,
                                  IComponentRegistry componentRegistry)
        {
            _activityConfigurator
            .ConfigureActivity <IRemoveUserRolesActivity, IRemoveUserRolesArguments, IRemoveUserRolesLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator
            .ConfigureActivity <IDeletePartnerPlatformUserActivity, IDeletePartnerPlatformUserArguments,
                                IDeletePartnerPlatformUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <ISoftDeleteDatabaseUserActivity, ISoftDeleteDatabaseUserArguments,
                                ISoftDeleteDatabaseUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IRestorePartnerPlatformUserActivity, IRestorePartnerPlatformUserArguments,
                                IRestorePartnerPlatformUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IActivateSoftDeletedDatabaseUserActivity, IActivateSoftDeletedDatabaseUserArguments,
                                IActivateSoftDeletedDatabaseUserLog>(busFactoryConfigurator, host,
                                                                     new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <ICreatePartnerPlatformCustomerActivity, ICreatePartnerPlatformCustomerArguments,
                                ICreatePartnerPlatformCustomerLog>(busFactoryConfigurator, host,
                                                                   new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <ICreateDatabaseCustomerActivity, ICreateDatabaseCustomerArguments,
                                ICreateDatabaseCustomerLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IAddCustomerDomainPartnerPortalActivity, IAddCustomerDomainPartnerPortalArguments,
                                IAddCustomerDomainPartnerPortalLog>(busFactoryConfigurator, host,
                                                                    new LifetimeScope(componentRegistry),
                                                                    executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator
            .ConfigureActivity <IPartnerPlatformCustomerSubscriptionActivity,
                                IPartnerPlatformCustomerSubscriptionArguments, IPartnerPlatformCustomerSubscriptionLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IDecreasePartnerPlatformCustomerSubscriptionActivity,
                                IDecreasePartnerPlatformCustomerSubscriptionArguments,
                                IDecreasePartnerPlatformCustomerSubscriptionLog>(busFactoryConfigurator, host,
                                                                                 new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IDatabaseCustomerSubscriptionActivity, IDatabaseCustomerSubscriptionArguments,
                                IDatabaseCustomerSubscriptionLog>(busFactoryConfigurator, host,
                                                                  new LifetimeScope(componentRegistry),
                                                                  executeConfigurator =>
            {
                executeConfigurator.UseRetry(r => { r.Interval(30, TimeSpan.FromSeconds(10)); });
            });
            _activityConfigurator
            .ConfigureActivity <IDecreaseDatabaseCustomerSubscriptionActivity,
                                IDecreaseDatabaseCustomerSubscriptionArguments, IDecreaseDatabaseCustomerSubscriptionLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <ICreatePartnerPlatformUserActivity, ICreatePartnerPlatformUserArguments,
                                ICreatePartnerPlatformUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                                                               executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator
            .ConfigureActivity <ICreateDatabaseUserActivity, ICreateDatabaseUserArguments, ICreateDatabaseUserLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IRemoveLicensePartnerPortalUserActivity, IRemoveLicensePartnerPortalUserArguments,
                                IRemoveLicensePartnerPortalUserLog>(busFactoryConfigurator, host,
                                                                    new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IRemoveLicenseDatabaseUserActivity, IRemoveLicenseDatabaseUserArguments,
                                IRemoveLicenseDatabaseUserLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IMultiPartnerPlatformCustomerSubscriptionActivity,
                                IMultiPartnerPlatformCustomerSubscriptionArguments, IMultiPartnerPlatformCustomerSubscriptionLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IMultiDatabaseCustomerSubscriptionActivity,
                                IMultiDatabaseCustomerSubscriptionArguments, IMultiDatabaseCustomerSubscriptionLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IAddMultiDomainToDatabaseActivity, IAddMultiDomainToDatabaseArguments,
                                IAddMultiDomainToDatabaseLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <ICreateDatabaseSubscriptionActivity, ICreateDatabaseSubscriptionArguments,
                                ICreateDatabaseSubscriptionLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureActivity <ICreateOrderActivity, ICreateOrderArguments, ICreateOrderLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IUpdateDatabaseSubscriptionActivity, IUpdateDatabaseSubscriptionArguments,
                                IUpdateDatabaseSubscriptionLog>(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IUpdateDatabaseSubscriptionQuantityActivity,
                                IUpdateDatabaseSubscriptionQuantityArguments, IUpdateDatabaseSubscriptionQuantityLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IUpdatePartnerPlatformSubscriptionQuantityActivity,
                                IUpdatePartnerPlatformSubscriptionQuantityArguments, IUpdatePartnerPlatformSubscriptionQuantityLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <ISuspendDatabasesubscriptionActivity, ISuspendDatabasesubscriptionArguments,
                                ISuspendDatabasesubscriptionLog>(busFactoryConfigurator, host,
                                                                 new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <ISuspendPartnerPlatformSubscriptionActivity,
                                ISuspendPartnerPlatformSubscriptionArguments, ISuspendPartnerPlatformSubscriptionLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IActivateSuspendedDatabaseSubscriptionActivity,
                                IActivateSuspendedDatabaseSubscriptionArguments, IActivateSuspendedDatabaseSubscriptionLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IActivateSuspendedPartnerPlatformSubscriptionAcivity,
                                IActivateSuspendedPartnerPlatformSubscriptionArguments,
                                IActivateSuspendedPartnerPlatformSubscriptionLog>(busFactoryConfigurator, host,
                                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureActivity <IDatabaseProvisionedStatusProvisionedActivity,
                                IDatabaseProvisionedStatusProvisionedArguments, IDatabaseProvisionedStatusProvisionedLog>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IUpdateDatabaseSubscriptionStateActivity,
                                       IUpdateDatabaseSubscriptionStateArguments>(busFactoryConfigurator, host,
                                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureExecuteActivity <IGetUserRolesActivity, IGetUserRolesArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator.ConfigureExecuteActivity <IAssignUserRolesActivity, IAssignUserRolesArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator
            .ConfigureExecuteActivity <IFederateCustomerDomainActivity, IFederateCustomerDomainArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator
            .ConfigureExecuteActivity <IFederateCustomerDomainDatabaseStatusActivity,
                                       IFederateCustomerDomainDatabaseStatusArguments>(busFactoryConfigurator, host,
                                                                                       new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IHardDeletePartnerPlatformUserActivity,
                                       IHardDeletePartnerPlatformUserArguments>(busFactoryConfigurator, host,
                                                                                new LifetimeScope(componentRegistry),
                                                                                executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator.ConfigureExecuteActivity <IDeleteDatabaseUserActivity, IDeleteDatabaseUserArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateTempPartnerPlatformAdminUserActivity,
                                       ICreateTempPartnerPlatformAdminUserArguments>(busFactoryConfigurator, host,
                                                                                     new LifetimeScope(componentRegistry),
                                                                                     executeConfigurator =>
            {
                executeConfigurator.UseConcurrencyLimit(1);
            });

            _activityConfigurator
            .ConfigureExecuteActivity <IVerifyCustomerDomainActivity, IVerifyCustomerDomainArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                executeConfigurator =>
            {
                executeConfigurator.UseConcurrencyLimit(1);
            });

            _activityConfigurator.ConfigureExecuteActivity <ISetImmutableIdActivity, SetImmutableIdArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                executeConfigurator =>
            {
                executeConfigurator.UseConcurrencyLimit(1);
            });

            _activityConfigurator
            .ConfigureExecuteActivity <IVerifyCustomerDomainDatabaseStatusActivity,
                                       IVerifyCustomerDomainDatabaseStatusArguments>(busFactoryConfigurator, host,
                                                                                     new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IAddCustomerDomainToDatabaseActivity, IAddCustomerDomainToDatabaseArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IGetCustomerDomainTxtRecordsActivity, IGetCustomerDomainTxtRecordsArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry),
                executeConfigurator => { executeConfigurator.UseConcurrencyLimit(1); });
            _activityConfigurator
            .ConfigureExecuteActivity <ISendCustomerDomainTxtRecordsActivity, ISendCustomerDomainTxtRecordsArguments
                                       >(busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IUpdateDatabaseCustomerSubscriptionActivity,
                                       IUpdateDatabaseCustomerSubscriptionArguments>(busFactoryConfigurator, host,
                                                                                     new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IAssignLicenseToPartnerPlatformUserActivity,
                                       IAssignLicenseToPartnerPlatformUserArguments>(busFactoryConfigurator, host,
                                                                                     new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IAssignLicenseToDatabaseUserActivity, IAssignLicenseToDatabaseUserArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator.ConfigureExecuteActivity <ISendUserSetupEmailActivity, ISendUserSetupEmailArguments>(
                busFactoryConfigurator, host, new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveAllLicensesPartnerPortalUserActivity,
                                       IRemoveAllLicensesPartnerPortalUserArguments>(busFactoryConfigurator, host,
                                                                                     new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ITransitionDispatchCreatingUsersActivity,
                                       ITransitionDispatchCreatingUsersArguments>(busFactoryConfigurator, host,
                                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateOrderWithMultiItemsActivity,
                                       ICreateOrderWithMultiItemsArguments>(busFactoryConfigurator, host,
                                                                            new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IUpdateMultiDatabaseSubscriptionActivity,
                                       IUpdateMultiDatabaseSubscriptionArguments>(busFactoryConfigurator, host,
                                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IUpdateMultiDatabaseSubscriptionStateActivity,
                                       IUpdateMultiDatabaseSubscriptionStateArguments>(busFactoryConfigurator, host,
                                                                                       new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IActivateMultiSuspendedDatabaseSubscriptionActivity,
                                       IActivateMultiSuspendedDatabaseSubscriptionArguments>(busFactoryConfigurator, host,
                                                                                             new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IActivateMultiSuspendedPartnerPlatformSubscriptionActivity,
                                       IActivateMultiSuspendedPartnerPlatformSubscriptionArguments>(busFactoryConfigurator, host,
                                                                                                    new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IUpdateMultiDatabaseSubscriptionQuantityActivity,
                                       IUpdateMultiDatabaseSubscriptionQuantityArguments>(busFactoryConfigurator, host,
                                                                                          new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IUpdateMultiPartnerPlatformSubscriptionQuantityActivity,
                                       IUpdateMultiPartnerPlatformSubscriptionQuantityArguments>(busFactoryConfigurator, host,
                                                                                                 new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateSecurityGroupMemberActivity,
                                       ICreateSecurityGroupMemberArguments>(busFactoryConfigurator, host,
                                                                            new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDatabaseSecurityGroupMemberActivity,
                                       ICreateDatabaseSecurityGroupMemberArguments>(busFactoryConfigurator, host,
                                                                                    new LifetimeScope(componentRegistry));

            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDatabaseDistributionGroupActivity,
                                       ICreateDatabaseDistributionGroupArguments>(busFactoryConfigurator, host,
                                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDatabaseDistributionGroupMemberActivity,
                                       ICreateDatabaseDistributionGroupMemberArguments>(busFactoryConfigurator, host,
                                                                                        new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDatabaseO365GroupActivity,
                                       ICreateDatabaseO365GroupArguments>(busFactoryConfigurator, host,
                                                                          new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDatabaseO365GroupMemberActivity,
                                       ICreateDatabaseO365GroupMemberArguments>(busFactoryConfigurator, host,
                                                                                new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDatabaseSecurityGroupActivity,
                                       ICreateDatabaseSecurityGroupArguments>(busFactoryConfigurator, host,
                                                                              new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDistributionGroupActivity,
                                       ICreateDistributionGroupArguments>(busFactoryConfigurator, host,
                                                                          new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateDistributionGroupMemberActivity,
                                       ICreateDistributionGroupMemberArguments>(busFactoryConfigurator, host,
                                                                                new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateO365GroupActivity,
                                       ICreateO365GroupArguments>(busFactoryConfigurator, host,
                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateO365GroupMemberActivity,
                                       ICreateO365GroupMemberArguments>(busFactoryConfigurator, host,
                                                                        new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <ICreateSecurityGroupActivity,
                                       ICreateSecurityGroupArguments>(busFactoryConfigurator, host,
                                                                      new LifetimeScope(componentRegistry));

            _activityConfigurator
            .ConfigureExecuteActivity <RemoveDatabaseDistributionGroupActivity,
                                       IRemoveDatabaseDistributionGroupArguments>(busFactoryConfigurator, host,
                                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveDatabaseDistributionGroupMemberActivity,
                                       IRemoveDatabaseDistributionGroupMemberArguments>(busFactoryConfigurator, host,
                                                                                        new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveDatabaseO365GroupActivity,
                                       IRemoveDatabaseO365GroupArguments>(busFactoryConfigurator, host,
                                                                          new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveDatabaseO365GroupMemberActivity,
                                       IRemoveDatabaseO365GroupMemberArguments>(busFactoryConfigurator, host,
                                                                                new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveDatabaseSecurityGroupActivity,
                                       IRemoveDatabaseSecurityGroupArguments>(busFactoryConfigurator, host,
                                                                              new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveDistriputionGroupMemberActivity,
                                       IRemoveDistriputionGroupMemberArguments>(busFactoryConfigurator, host,
                                                                                new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveO365GroupActivity,
                                       IRemoveO365GroupArguments>(busFactoryConfigurator, host,
                                                                  new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveO365GroupMemberActivity,
                                       IRemoveO365GroupMemberArguments>(busFactoryConfigurator, host,
                                                                        new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveSecurityGroupActivity,
                                       IRemoveSecurityGroupArguments>(busFactoryConfigurator, host,
                                                                      new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveSecurityGroupMemberActivity,
                                       IRemoveSecurityGroupMemberArguments>(busFactoryConfigurator, host,
                                                                            new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveDatabaseSecurityGroupMemberActivity,
                                       IRemoveDatabaseSecurityGroupMemberArguments>(busFactoryConfigurator, host,
                                                                                    new LifetimeScope(componentRegistry));
            _activityConfigurator
            .ConfigureExecuteActivity <IRemoveDistriputionGroupActivity,
                                       IRemoveDistriputionGroupArguments>(busFactoryConfigurator, host,
                                                                          new LifetimeScope(componentRegistry));
        }