AspNet.Mvc.TypedRouting.Test.LinkGeneration.CustomControllerConventionAttribute.Apply C# (CSharp) Method

Apply() public method

public Apply ( Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller ) : void
controller Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel
return void
        public void Apply(ControllerModel controller)
        {
            controller.ControllerName = "ChangedController";
        }
    }
CustomControllerConventionAttribute