/// <summary>创建常规控制器选项
        /// </summary>
        /// <param name="assembly">程序集</param>
        /// <param name="optionsAction">控制器设置</param>
        /// <returns></returns>
        public ConventionalControllerOptions Create(Assembly assembly, Action <ConventionalControllerSetting> optionsAction = null)
        {
            var setting = new ConventionalControllerSetting(assembly, DefaultRootPath);

            optionsAction?.Invoke(setting);
            setting.Initialize();
            ConventionalControllerSettings.Add(setting);
            return(this);
        }
        public AbpConventionalControllerOptions Create(Assembly assembly, [CanBeNull] Action <ConventionalControllerSetting> optionsAction = null)
        {
            var setting = new ConventionalControllerSetting(assembly, ModuleApiDescriptionModel.DefaultRootPath);

            optionsAction?.Invoke(setting);
            setting.Initialize();
            ConventionalControllerSettings.Add(setting);
            return(this);
        }
        public AutoApiConventionalControllerOptions Create(
            Assembly assembly,
            Action <ConventionalControllerSetting> optionsAction = null)
        {
            var setting = new ConventionalControllerSetting(
                assembly,
                ModuleApiDescriptionModel.DefaultRootPath,
                ModuleApiDescriptionModel.DefaultRemoteServiceName
                );

            optionsAction?.Invoke(setting);
            setting.Initialize();
            ConventionalControllerSettings.Add(setting);
            return(this);
        }