Beispiel #1
0
        public StudioXControllerAssemblySettingBuilder CreateControllersForAppServices(
            Assembly assembly,
            string moduleName             = StudioXControllerAssemblySetting.DefaultServiceModuleName,
            bool useConventionalHttpVerbs = true)
        {
            var setting = new StudioXControllerAssemblySetting(moduleName, assembly, useConventionalHttpVerbs);

            ControllerAssemblySettings.Add(setting);
            return(new StudioXControllerAssemblySettingBuilder(setting));
        }
 public StudioXControllerAssemblySettingBuilder(StudioXControllerAssemblySetting setting)
 {
     this.setting = setting;
 }