예제 #1
0
        public ControllerAssemblySettingBuilder CreateControllersForAppServices(
            Assembly assembly,
            string moduleName             = ControllerAssemblySetting.DefaultServiceModuleName,
            bool useConventionalHttpVerbs = true)
        {
            var setting = new ControllerAssemblySetting(moduleName, assembly, useConventionalHttpVerbs);

            ControllerAssemblySettings.Add(setting);
            return(new ControllerAssemblySettingBuilder(setting));
        }
 public ControllerAssemblySettingBuilder(ControllerAssemblySetting setting)
 {
     _setting = setting;
 }